.site .top { flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0; padding-block: .35rem; }
.site .top nav { display: flex; flex-wrap: wrap; column-gap: clamp(.8rem, 3vw, 1.6rem); }
.site .brand { max-width: 100%; overflow-wrap: anywhere; }
.site [aria-current="page"] { text-decoration-thickness: 2px; }
.site-lead { max-width: 65ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.site .actions { margin-top: 1.1rem; }
.site a.site-button { padding: .55rem .9rem; border-radius: .4rem; color: white; background: var(--action); font-weight: 650; text-decoration: none; }
.site a.site-button:hover { background: #0f615f; }
.site-section { margin-top: clamp(1.6rem, 4vw, 3.4rem); }
.site-section > p { margin-top: .7rem; max-width: 75ch; }
.site-grid { display: grid; gap: 1rem; margin-top: 1rem; min-width: 0; }
.site-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-plan :is(h2, h3) { font-size: 1.1rem; }
.site-price { color: var(--action); font-variant-numeric: tabular-nums; }
.site-price strong { font-size: 1.65rem; white-space: nowrap; }
.site-price span { font-size: .88rem; white-space: nowrap; }
.site-plan ul { color: var(--muted); padding-left: 1.1rem; }
.site-plan li + li, .site-plain-list li + li, .site dl > div + div { margin-top: .5rem; }
.site-plain-list { list-style: none; padding: 0; overflow-wrap: anywhere; }
.site dl dd { overflow-wrap: anywhere; }
.public-footer { background: #0e293a; color: #e1ebf1; padding-block: clamp(2.1rem,4vw,3.6rem) 1.6rem; }
.public-footer .footer-wrap { max-width: 86rem; }
.footer-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr) minmax(0,1.25fr) minmax(0,.8fr); gap: 2rem; }
.footer-columns h2 { color: #fff; font-size: 1.125rem; letter-spacing: 0; line-height: 1.35; }
.footer-columns p, .footer-columns ul { margin: .7rem 0 0; }
.footer-columns .site-plain-list li + li { margin-top: .18rem; }
.public-footer a { display: inline-flex; align-items: center; color: #edf8ff; min-height: 44px; }
.public-footer a:hover { color: #7ef2d2; }
.footer-brand .brand-wordmark { width: 11.5rem; max-width: 100%; }
.footer-brand p { max-width: 26ch; line-height: 1.5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1.5rem; margin-top: 1.9rem; padding-top: 1.2rem; border-top: 1px solid #456274; color: #c8d9e6; font-size: 1rem; }
.site-document { max-width: 50rem; margin-inline: auto; line-height: 1.65; overflow-wrap: anywhere; }
.site-document h2 { margin-top: 1.75rem; }
.site-document > * + * { margin-block-start: .85rem; }
.site-document .legal-status { padding: .7rem 1rem; background: #e8f3f5; border-inline-start: .22rem solid var(--action); }
.legal-table { max-width: 100%; overflow-x: auto; }
.legal-table table { min-width: 33rem; border-collapse: collapse; text-align: left; }
.legal-table :is(th,td) { padding: .55rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: #e8f3f5; }
@media (max-width: 930px) {
  .site-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .site-plans, .site-results, .site-steps { grid-template-columns: minmax(0, 1fr); }
}
.site { background: var(--brand-bg); min-height: 100vh; }
.site-tariffs { font-size: 1.125rem; }

/* The wider layout applies only to the public landing page. */
.site-home { --landing-dark: #0c2a3c; --landing-mint: #54f1c0; --landing-text: #10263e; background: #f8fafc; color: var(--landing-text); font-size: 1.125rem; }
.site-home .wrap { max-width: 86rem; }
.site-home > main.wrap { width: 100%; max-width: none; padding: 0 0 2.6rem; }
.site-home > header { background: #0e293a; border-bottom: 1px solid #527382; }
.site-home .top { min-height: 4.5rem; }
.home-brand { display: flex; align-items: center; gap: clamp(1rem,2vw,1.9rem); }
.site-home .brand-wordmark { width: clamp(10rem,16vw,15rem); }
.home-brand > p { border-inline-start: 1px solid #527382; padding-inline-start: 1.5rem; color: #e6f0f6; font-size: .9375rem; line-height: 1.35; }
.site-home .top nav { align-items: center; gap: 0 clamp(.7rem,2vw,2rem); }
.site-home .top nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-home .top nav a:hover { text-decoration: underline; }
.site-home .top .home-login { gap: .45rem; justify-content: center; padding-inline: 1rem; border: 1px solid #f2f7fa; border-radius: 999px; }
.home-login svg { width: 1.15rem; height: 1.15rem; }

.site-home .site-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f4f8fb;
  background: linear-gradient(108deg,#011e2d 0%,#032432 45%,#03343f 100%);
}
.home-hero-inner { position: relative; z-index: 1; display: grid; align-items: center; padding-block: clamp(1.5rem,2.45vw,2.25rem); }
.site-hero h1 { margin: 0; color: #f7fafc; font-size: clamp(2.5rem,3.4vw,3.5rem); line-height: 1.16; font-weight: 720; letter-spacing: -.012em; }
.site-hero h1 em { display: block; color: var(--landing-mint); font-style: normal; }
.site-home .site-hero .site-lead { color: #eef5fa; font-size: clamp(1.0625rem,1.4vw,1.275rem); line-height: 1.38; margin-top: 1rem; max-width: 58ch; }
.site-home .site-hero .actions { gap: .65rem 1.2rem; }
.site-home .site-hero .site-button { gap: .65rem; padding-inline: clamp(.95rem,2vw,1.8rem); color: #082638; background: var(--landing-mint); font-weight: 800; min-height: 48px; border-radius: .65rem; }
.site-home .site-hero .site-button:hover { background: #8ff6d7; }
.site-home .site-hero svg { flex: none; }
.site-home .hero-tariffs { color: #f9fcff; border: 1px solid currentColor; min-height: 48px; padding-inline: 1.6rem; border-radius: .6rem; text-decoration: none; font-weight: 700; }
.site-home .hero-tariffs:hover { background: #ffffff14; }
.hero-points { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; gap: .42rem; align-items: center; color: #edf9fb; font-weight: 650; font-size: 1rem; }
.hero-points li + li { border-inline-start: 1px solid #5b8591; padding-inline-start: .75rem; }
.hero-points svg { color: var(--landing-mint); width: 1.3rem; height: 1.3rem; }

.hero-scene {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin-inline-start: auto;
  /* Fade the source edges, including the cropped lettering at the upper left. */
  mask-image: linear-gradient(to right, transparent, black 2.6%),
    linear-gradient(to bottom, transparent, black 4%),
    radial-gradient(ellipse 15% 19% at 0 22%, transparent 80%, black);
  mask-composite: intersect;
}
@media (min-width: 1100px) {
  .home-hero-inner { min-height: max(25rem, calc(56vw * 358 / 611)); }
  .hero-copy { max-width: min(46vw, 650px); }
  .hero-scene { position: absolute; inset: auto 0 0 auto; width: 56%; pointer-events: none; }
}
@media (max-width: 1099px) {
  .home-hero-inner { padding-bottom: 1rem; }
}

.site-home .site-section { margin-top: clamp(2.65rem,5vw,4.6rem); }
.site-home :is(.feature-intro h2,.home-steps h2,#tariffs h2) { color: var(--landing-text); font-size: clamp(1.85rem,2.8vw,2.55rem); line-height: 1.15; letter-spacing: -.018em; font-weight: 780; }
.feature-intro { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); align-items: center; gap: 1.35rem; }
.feature-intro > p { border-inline-start: 3px solid #008467; padding: .4rem 0 .4rem 1.15rem; color: #245266; font-size: clamp(1.5rem,2vw,1.75rem); line-height: 1.33; font-weight: 650; }
.site-home .site-features { grid-template-columns: repeat(4,minmax(0,1fr)); }
.site-home .site-features .panel { display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: start; gap: .7rem .75rem; border: 0; border-radius: 1rem; padding: clamp(1.15rem,1.7vw,1.6rem); background: #eaf7f1; }
.site-home .site-features .panel:nth-child(2) { background: #e9f4fb; }
.site-home .site-features .panel:nth-child(3) { background: #fcf5e8; }
.site-home .site-features .panel:nth-child(4) { background: #eef0fb; }
.site-home .site-features svg { color: #00744f; width: 2rem; height: 2rem; align-self: start; }
.site-home .site-features h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; font-weight: 750; }
.site-home .site-features p { grid-column: 1 / -1; margin: 0; line-height: 1.5; }
.home-steps { padding-block: clamp(1.8rem,3vw,2.7rem); background: #edf5f8; border-block: 1px solid #d9e7ed; }
.home-steps .actions { margin-top: 1.6rem; }
.home-steps .site-button { gap: .55rem; min-height: 48px; }
#tariffs h2 > span { display: inline-block; color: #31495e; font-size: .66em; font-weight: 550; }
.site-home .site-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.4rem,3.5vw,3.5rem); margin: 1.45rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.site-steps li { position: relative; min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: .85rem; align-content: start; counter-increment: step; }
.site-steps li > span { position: relative; display: grid; place-items: center; grid-row: span 2; width: clamp(3.5rem,5.7vw,5.2rem); aspect-ratio: 1; align-self: start; border-radius: 50%; color: #00744f; background: #d8f5f1; }
.site-steps li > span::after { content: counter(step); position: absolute; bottom: -.37rem; left: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 2px solid #edf5f8; border-radius: 50%; background: #0c3245; color: white; font-size: 1rem; font-weight: 800; }
.site-steps li > span svg { width: 54%; height: 54%; }
.site-steps li h3 { margin: 0; color: var(--landing-text); font-size: 1.6875rem; line-height: 1.24; font-weight: 750; }
.site-steps li p { max-width: 32ch; margin: .4rem 0 0; color: #344b61; line-height: 1.48; }
.site-home .site-plans { gap: 1rem; }
.site-home .site-plan { padding: clamp(1.15rem,1.8vw,1.6rem); border-radius: .85rem; }
.site-home .site-plan:nth-child(3) { background: #e6f8f0; border-color: #369974; }
.site-home .site-plan:nth-child(4) { border-color: #adcae7; }
.site-home .site-plan h3 { color: var(--landing-text); font-size: 1.3rem; line-height: 1.2; font-weight: 750; }
.site-home .site-price { margin-top: .5rem; }
.site-home .site-price strong { color: var(--landing-text); font-size: clamp(2rem,3vw,2.5rem); line-height: 1.13; }
.site-home .site-price span { display: block; color: #43576a; font-size: 1rem; line-height: 1.25; }
.site-home .site-plan :is(ul,.plan-summary), .home-access { color: #334c62; line-height: 1.45; }
.home-access { margin-top: 1.8rem; border-top: 1px solid var(--brand-line); padding-top: .85rem; font-size: 1rem; }

@media (min-width: 1151px) {
  .hero-points { display: grid; grid-template-columns: minmax(0,1.26fr) minmax(0,1fr) minmax(0,1fr); align-items: start; }
  .hero-points li { align-items: start; }
  .site-home .site-plan h3 { min-height: 2.36em; }
  .site-home .site-price { min-height: 4.1rem; }
  .site-steps li:not(:last-child)::after { content: '→'; position: absolute; color: #71889b; top: .75rem; right: -2.6rem; font-size: 2rem; font-weight: 750; }
}
@media (max-width: 1250px) {
  .home-brand > p { display: none; }
}
@media (max-width: 1150px) {
  .footer-columns { gap: 1.5rem; }
}
@media (max-width: 930px) {
  .site-home .site-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-home .site-plans { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-points li + li { border: 0; padding: 0; }
}
@media (max-width: 780px) {
  .site-home .wrap { width: calc(100% - 2rem); }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-home .site-steps { grid-template-columns: minmax(0,1fr); gap: 1.65rem; }
  .site-steps li h3 { font-size: 1.4375rem; }
  .site-steps li > span { grid-row: span 3; }
  .site-steps li:not(:last-child)::after { content: '↓'; color: #547287; margin-top: .22rem; line-height: 1; font-size: 1.65rem; }
  .feature-intro { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .feature-intro > p { border: 0; padding: 0; }
}
@media (max-width: 550px) {
  .site-home, .site-tariffs { font-size: 1rem; }
  .site-home .top nav { gap: 0 .9rem; }
  .site-home .top nav a { font-size: .9375rem; }
  .site-home .top .home-login { border: 0; padding: 0; }
  .site-hero h1 { font-size: clamp(2rem,8.7vw,2.5rem); }
  .site-home .site-hero .site-lead { font-size: 1.0625rem; }
  .site-home .hero-tariffs { min-height: 44px; padding-inline: 1.05rem; }
  .hero-points { gap: .4rem .8rem; }
  .hero-points li { font-size: 1rem; }
  .site-home .site-features, .site-home .site-plans, .site-home .site-steps { grid-template-columns: minmax(0,1fr); }
  .footer-columns { grid-template-columns: minmax(0,1fr); }
}
