/* Zacello marketing site
   Palette: raspberry header/hero/footer, paper body, turquoise accents.
   Turquoise (--mint) is never used as text on light backgrounds; use --mint-ink. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.c0a763e51280.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pink: #D00A6E;
  --pink-deep: #A8085A;
  --pink-tint: #FDEEF5;
  --mint: #63FBC8;
  --mint-tint: #DDFDF1;
  --mint-ink: #087A5C;
  --paper: #FFFDFE;
  --surface: #FAF5F8;
  --ink: #1C1018;
  --ink-2: #54434E;
  --ink-3: #7A6873;
  --line: #EEE4EA;
  --line-strong: #DCCBD5;
  --white: #FFFFFF;
  --on-pink-2: #FFF4F9;
  --on-pink-line: rgba(255, 255, 255, .3);
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --grid-line: rgba(255, 255, 255, .085);
  --shadow-float: 0 28px 56px -22px rgba(72, 0, 36, .5), 0 2px 6px rgba(72, 0, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.pink-zone :focus-visible { outline-color: var(--white); }
.pilot :focus-visible { outline-color: var(--ink); }
::selection { background: var(--mint); color: var(--ink); }
[hidden] { display: none !important; }
code { font-family: var(--mono); font-size: .875em; }

.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: 12px; z-index: 20; transform: translateY(-200%); padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--pink); font-weight: 600; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn-arrow { font-weight: 400; transition: transform 160ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-primary { background: var(--pink); color: var(--white); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-light { background: var(--white); color: var(--pink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--pink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tag-mint { background: var(--mint); color: var(--ink); }
.tag-pink { background: var(--pink-tint); color: var(--pink-deep); }
.tag-line { border: 1px solid var(--line-strong); color: var(--ink-2); }

/* ---------- Header ---------- */
.pink-zone { background-color: var(--pink); color: var(--white); }
.site-header { position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; flex: 0 0 auto; border-radius: 6px; }
.brand img { width: auto; height: 40px; }
.site-nav { flex: 1; display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.nav-pill { padding: 8px 16px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.nav-pill:hover, .nav-pill[aria-current="page"] { background: var(--white); border-color: var(--white); color: var(--pink); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.ledger { background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 72px 72px; background-position: center -1px; }
.hero { position: relative; overflow: hidden; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.hero-inner { padding-block: 28px 72px; }
.pilot-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--on-pink-line); border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color 160ms ease; }
.pilot-chip:hover { background: rgba(255, 255, 255, .22); }
.pilot-chip .tag { padding-block: 3px; }
.hero-stage { position: relative; margin-top: 32px; }
.hero-title { font-size: clamp(52px, 11.6vw, 166px); font-weight: 900; font-stretch: 125%; line-height: .86; letter-spacing: -.035em; text-transform: uppercase; }
.hero-title > span { display: block; width: max-content; }
.hero-title .line-2 { margin-left: 35%; }
.hero-title .line-3 { margin-left: 5%; }
.hero-title .line-1, .hero-title .line-2 { margin-bottom: .02em; }

.hero-card { position: absolute; z-index: 2; width: 278px; padding: 16px 18px 18px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-float); animation: card-in 700ms cubic-bezier(.2, .7, .2, 1) both; }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); }
.hero-card-title { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.hero-card-meta { margin-top: 3px; font-size: 13px; color: var(--ink-2); }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.file-chip { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pink); color: var(--white); font-size: 12px; font-weight: 700; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.who strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.progress { height: 8px; margin-top: 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; width: var(--value, 50%); border-radius: inherit; background: var(--pink); }
.req-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; font-size: 13px; }
.req-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-doc { top: -2%; right: 0; transform: rotate(4deg); animation-delay: 150ms; }
.card-request { top: 33%; left: 0; transform: rotate(-5deg); animation-delay: 300ms; }
.card-review { right: -1%; bottom: -10%; transform: rotate(-2.5deg); animation-delay: 450ms; }
@keyframes card-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.mark { position: absolute; z-index: 3; pointer-events: none; fill: none; stroke: var(--mint); stroke-linecap: round; stroke-linejoin: round; }
.mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms cubic-bezier(.6, 0, .2, 1) forwards; }
.mark path + path { animation-delay: 1.35s; animation-duration: 300ms; }
.mark-tick { width: 120px; right: 21.5%; bottom: 2%; stroke-width: 11; }
.mark-tick path { animation-delay: 1.1s; }
.mark-arrow { width: 150px; left: 22.5%; top: 37%; stroke-width: 7; }
.mark-arrow path:first-child { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--on-pink-line); }
.hero-lede { max-width: 620px; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; }
.hero-note { margin-top: 12px; font-size: 14px; color: var(--on-pink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 8.5vw, 116px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: 56px; }
.h2 { font-size: clamp(36px, 4.7vw, 62px); font-weight: 800; font-stretch: 112%; line-height: 1.02; letter-spacing: -.03em; }
.lede { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.band { background: var(--surface); }
.hl { padding-inline: .04em; background: linear-gradient(transparent 60%, var(--mint) 60%, var(--mint) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Follow one return */
.engagement-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin-bottom: 56px; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.engagement-bar dl { display: contents; }
.engagement-bar div { display: grid; gap: 2px; }
.engagement-bar dt { font-size: 12px; color: var(--ink-3); }
.engagement-bar dd { margin: 0; font-size: 15px; font-weight: 600; }
.engagement-bar .tag-pink { margin-left: auto; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 0; }
.timeline > li { position: relative; padding-right: 32px; }
.tl-marker { display: flex; align-items: center; margin-bottom: 20px; }
.tl-dot { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--ink); }
.tl-dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tl-line { flex: 1; height: 2px; margin-left: 10px; background: var(--mint); }
.timeline > li:nth-child(4n) .tl-line, .timeline > li:last-child .tl-line { display: none; }
.timeline .is-current .tl-dot { background: var(--pink); color: var(--white); box-shadow: 0 0 0 6px var(--pink-tint); }
.timeline .is-current .tl-line, .timeline .is-next .tl-line { background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.timeline .is-next .tl-dot { background: var(--paper); border: 2px dashed var(--line-strong); }
.tl-who { font-size: 13px; font-weight: 600; color: var(--mint-ink); }
.is-current .tl-who { color: var(--pink-deep); }
.is-next .tl-who { color: var(--ink-3); }
.timeline h3 { margin: 4px 0 8px; font-size: 21px; font-stretch: 105%; letter-spacing: -.01em; line-height: 1.2; }
.timeline p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Today vs Zacello */
.compare { width: 100%; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 22px 28px 22px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 16px; line-height: 1.5; }
.compare thead th { padding-block: 0 14px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.compare tbody th { width: 22%; font-size: 17px; font-weight: 700; }
.compare .today { width: 36%; color: var(--ink-2); }
.compare .zacello { position: relative; padding-left: 38px; font-weight: 500; }
.compare .zacello::before { content: ""; position: absolute; left: 0; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1018' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.compare code { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 14px; white-space: nowrap; }

/* Spec sheet */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 64px; }
.spec-group { padding-top: 24px; border-top: 2px solid var(--ink); }
.spec-group h3 { margin-bottom: 12px; font-size: 22px; font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; }
.spec-group ul { list-style: none; }
.spec-group li { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); gap: 4px 24px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.spec-group li strong { font-weight: 600; }
.spec-group li span { color: var(--ink-2); }
.spec-note { margin-top: 40px; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.spec-note strong { color: var(--ink); }

/* Security */
.security-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 56px 72px; align-items: start; }
.security-layout .lede { margin-top: 20px; }
.control-list { list-style: none; margin-top: 36px; }
.control-list li { padding-block: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.control-list li:last-child { border-bottom: 1px solid var(--line); }
.control-list strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; font-weight: 700; }
.perm-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.perm { width: 100%; min-width: 660px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.45; }
.perm caption { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 18px; font-weight: 700; }
.perm caption span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-3); }
.perm th, .perm td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.perm thead th { background: var(--surface); font-size: 13px; font-weight: 700; white-space: nowrap; }
.perm tbody th { width: 32%; padding-left: 22px; font-weight: 500; }
.perm tbody tr:last-child > * { border-bottom: 0; }
.perm .yes, .perm .no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.perm .yes { background: var(--mint); }
.perm .yes svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.perm .no { color: var(--ink-3); font-size: 16px; }
.perm .limited { color: var(--ink-2); }
.perm-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.perm-hint { display: none; margin-bottom: 10px; font-size: 13px; color: var(--ink-3); }

/* Pilot */
.pilot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; padding: clamp(32px, 6vw, 80px); border-radius: var(--radius-xl); background: var(--mint); color: var(--ink); overflow: hidden; }
.pilot .lede { margin-top: 20px; color: var(--ink); }
.pilot .btn { margin-top: 32px; }
.pilot-mark { display: inline-block; position: relative; }
.pilot-mark svg { position: absolute; left: -2%; right: 0; bottom: -.16em; width: 104%; height: .32em; fill: none; stroke: var(--pink); stroke-width: 7; stroke-linecap: round; }
.pilot h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.fit-list { list-style: none; display: grid; gap: 10px; margin-bottom: 36px; }
.fit-list li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363FBC8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.start-steps { list-style: none; display: grid; gap: 0; counter-reset: start; }
.start-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid rgba(28, 16, 24, .18); counter-increment: start; }
.start-steps li::before { content: counter(start); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--mint); font-size: 15px; font-weight: 700; }
.start-steps strong { display: block; font-size: 16px; }
.start-steps span { font-size: 15px; color: var(--ink-2); }
.pilot-foot { margin-top: 24px; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px 72px; align-items: start; }
.faq-layout .lede { margin-top: 20px; }
.faq-layout .lede a { color: var(--pink-deep); font-weight: 600; text-underline-offset: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 56px 22px 0; font-size: 19px; font-weight: 600; line-height: 1.35; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1018' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 200ms ease, background-color 200ms ease; }
.faq summary:hover::after { background-color: var(--pink-tint); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.faq details p { max-width: 680px; padding: 0 56px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(24px, 4vw, 56px); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.footer-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; padding-block: clamp(64px, 8vw, 104px) 64px; border-bottom: 1px solid var(--on-pink-line); }
.footer-cta h2 { max-width: 860px; font-size: clamp(34px, 6.2vw, 88px); font-weight: 900; font-stretch: 120%; line-height: .95; letter-spacing: -.035em; }
.footer-cta p { max-width: 560px; margin-top: 20px; font-size: 18px; color: var(--on-pink-2); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .6fr)); gap: 40px; padding-block: 56px; }
.footer-brand img { width: auto; height: 44px; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 15px; color: var(--on-pink-2); }
.footer-col h3 { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--on-pink-2); }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-block; padding-block: 6px; font-size: 15px; text-decoration: none; text-underline-offset: 4px; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 36px; border-top: 1px solid var(--on-pink-line); font-size: 14px; color: var(--on-pink-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-legal small { font-size: inherit; }
.footer-bottom a { text-underline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-card { width: 250px; }
  .card-review { right: 0; }
  .mark-tick { right: 17%; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline > li:nth-child(4n) .tl-line { display: block; }
  .timeline > li:nth-child(2n) .tl-line { display: none; }
}
@media (max-width: 1024px) {
  .container { width: calc(100% - 56px); }
  .hero-stage { display: grid; }
  .hero-title { font-size: 13.4vw; }
  .hero-title .line-2 { margin-left: 30%; }
  .hero-title .line-3 { margin-left: 0; }
  .hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
  .hero-card { position: relative; inset: auto; width: auto; }
  .card-doc { transform: rotate(2deg); }
  .card-request { transform: rotate(-2deg); }
  .card-review { transform: rotate(1.5deg); }
  .mark-arrow { display: none; }
  .mark-tick { width: 96px; right: -6px; bottom: 120px; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .security-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .pilot { grid-template-columns: minmax(0, 1fr); }
  .spec-grid { gap: 16px 40px; }
  .spec-group li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 0; padding-block: 18px; justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; background: transparent; color: var(--white); font-size: 15px; font-weight: 500; cursor: pointer; }
  .menu-lines { position: relative; width: 16px; height: 10px; border-block: 2px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-lines { border: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before, .menu-toggle[aria-expanded="true"] .menu-lines::after { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 2px; background: currentColor; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-pill { padding: 16px 2px; border: 0; border-top: 1px solid var(--on-pink-line); border-radius: 0; font-size: 18px; }
  .nav-pill:hover, .nav-pill[aria-current="page"] { background: transparent; color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
  .site-nav .btn { margin-top: 10px; }
  .nav-enhanced .site-nav { display: none; }
  .nav-enhanced .site-nav.is-open { display: flex; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .footer-cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding-block: 20px; border-top: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .compare th, .compare td, .compare tbody tr:last-child > * { padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 12px; font-size: 18px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
  .compare .today { width: auto; margin-bottom: 14px; }
  .compare tbody tr > .zacello { padding-left: 34px; }
  .compare .zacello::before { top: 2px; width: 22px; height: 22px; }
  .compare code { white-space: normal; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .brand img { height: 34px; }
  .hero-inner { padding-block: 20px 56px; }
  .hero-stage { margin-top: 32px; }
  .hero-title { font-size: 16.6vw; }
  .hero-title .line-2 { margin-left: 24%; }
  .hero-cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .card-doc { width: 86%; transform: rotate(-2deg); }
  .card-request { display: none; }
  .card-review { width: 86%; justify-self: end; margin-top: -14px; transform: rotate(2deg); }
  .mark-tick { width: 60px; right: -4px; bottom: -26px; stroke-width: 12; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section-head { margin-bottom: 40px; }
  .lede { font-size: 17px; }
  .engagement-bar { gap: 12px 24px; padding: 16px 18px; margin-bottom: 40px; }
  .engagement-bar .tag-pink { margin-left: 0; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 18px; padding: 0 0 32px; }
  .tl-marker { flex-direction: column; grid-row: 1 / span 3; margin: 0; }
  .tl-line, .timeline > li:nth-child(2n) .tl-line, .timeline > li:nth-child(4n) .tl-line { display: block; width: 2px; height: auto; flex: 1; margin: 8px 0 -32px; }
  .timeline > li:last-child .tl-line { display: none; }
  .timeline .is-current .tl-line, .timeline .is-next .tl-line { background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .timeline h3 { margin-top: 2px; }
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
  .perm-hint { display: block; }
  .faq summary { font-size: 17px; }
  .footer-main { gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { flex-direction: column; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero-title .line-2 { margin-left: 18%; }
  .btn { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .mark path { stroke-dashoffset: 0; }
}

/* The AWS application uses the same banner condition as the workspace. */
.marketing-data-notice { padding: 6px 16px; text-align: center; font-size: .8rem; color: var(--ink); background: var(--mint); }
.progress-three-quarters { --value: 75%; }
@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav { gap: 8px; }
  .nav-links { gap: 6px; }
  .nav-pill { padding: 8px 10px; }
}
