/* ArtOfMenu topic pages (/<lang>/<slug>/): the Apple-style design of classic.html, for reading */
html, body { background: #FBFBFD; }
:root {
  --bg: #FBFBFD; --bg-2: #F5F5F7; --ink: #1D1D1F; --ink-2: #424245; --muted: #6E6E73; --line: rgba(0, 0, 0, .08);
  --brand: #1F3A9E; --brand-2: #2C49BF; --brand-soft: #E4EAFF;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.4, .64, 1); --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1120px; --read: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: -.011em; color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p, ul, ol { margin: 0; }
a { color: inherit; }
::selection { background: rgba(31, 58, 158, .18); }
:focus-visible { outline: 3px solid #8EA2FF; outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.read { width: min(var(--read), 100% - 40px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 253, .86); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(251, 251, 253, .72); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); } }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.top-logo img { width: auto; height: 22px; }
.top-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; }
.top-nav > a { text-decoration: none; color: var(--ink-2); }
.top-nav > a:hover { color: var(--ink); }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 16px; height: 16px; }
.langs ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px; list-style: none; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -20px rgba(0,0,0,.3); }
.langs li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--bg-2); }

/* ---------- Buttons (CTA has a live arrow and a sheen; see seo.js for the magnetic pull) ---------- */
.cta {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 8px 0 24px;
  border: 0; border-radius: 99px; overflow: hidden; cursor: pointer; text-decoration: none;
  font: 600 16px/1 var(--font); letter-spacing: -.01em; color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 34px -14px rgba(31, 58, 158, .75);
  transform: translate(var(--mx), var(--my)); transition: transform .5s var(--spring), box-shadow .3s;
}
.cta::after { /* a light sheen that crosses the button on hover */
  content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none;
}
.cta:hover::after { transform: translateX(120%); }
.cta:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 40px -14px rgba(31, 58, 158, .85); }
.cta:active { transform: translate(var(--mx), var(--my)) scale(.97); }
.cta-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .45s var(--spring), background-color .2s; }
.cta-arrow svg { width: 14px; height: 14px; }
.cta:hover .cta-arrow { transform: translateX(4px) rotate(-8deg); background: rgba(255,255,255,.26); }
.cta.small { min-height: 38px; padding: 0 6px 0 16px; gap: 8px; font-size: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.cta.small .cta-arrow { width: 26px; height: 26px; }
.ghost-link { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); background: rgba(0,0,0,.05); transition: background-color .2s; }
.ghost-link:hover { background: rgba(0,0,0,.08); }

/* ---------- Hero ---------- */
.crumbs { padding-top: 26px; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hero { position: relative; padding: 44px 0 72px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #DCE4FF, transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.soon { padding: 5px 10px; border-radius: 99px; background: var(--brand-soft); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero .lead { margin-top: 22px; max-width: 34rem; font-size: 20px; line-height: 1.5; color: var(--muted); letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 520px); }
/* tall pictures (Ada standing) are held to the height of the copy beside them */
.hero-art img { width: auto; max-width: 100%; max-height: min(64svh, 600px); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(30, 40, 90, .18)); animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-12px) rotate(.6deg); } }

/* ---------- Answer card ---------- */
.answer { margin-top: -20px; }
.answer-card { padding: 28px 32px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(20, 30, 80, .35); }
.answer-card b { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.answer-card p { font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Article ---------- */
.body { padding: 80px 0 40px; }
.body section + section { margin-top: 56px; }
.body h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.body p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.body ul { margin-top: 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.body li { position: relative; padding-left: 28px; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); }
.body li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---------- Steps ---------- */
.steps { padding: 40px 0 40px; }
.steps h2 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; }
.steps ol { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 24px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; }
.steps h3 { margin-top: 16px; font-size: 18px; letter-spacing: -.015em; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Feature cards ---------- */
.feats { padding: 90px 0; background: var(--bg-2); margin-top: 60px; }
.feats h2, .plans h2, .faq h2, .related h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.feat-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feat { padding: 30px 26px; border-radius: 26px; background: #fff; text-align: center; transition: transform .5s var(--spring), box-shadow .4s; }
.feat img { height: 120px; width: auto; max-width: 80%; margin: 0 auto 20px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(30, 30, 60, .14)); transition: transform .6s var(--spring); }
.feat h3 { font-size: 19px; letter-spacing: -.02em; }
.feat p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (hover: hover) { .feat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.2); } .feat:hover img { transform: translateY(-6px) scale(1.05); } }

/* ---------- Plans (prices filled by pricing.js) ---------- */
.plans { padding: 100px 0; }
.plans .sub { margin: 14px auto 0; max-width: 36rem; text-align: center; color: var(--muted); font-size: 18px; }
.billing { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: max-content; margin: 26px auto 0; padding: 4px; border-radius: 99px; background: rgba(0,0,0,.05); --bi: 0; }
.billing-bg { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); transform: translateX(calc(var(--bi) * 100%)); transition: transform .45s var(--spring); }
.billing button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; background: none; border-radius: 99px; font: 500 15px/1 var(--font); color: var(--muted); cursor: pointer; }
.billing button[aria-checked="true"] { color: var(--ink); }
.billing-save { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 4px 8px; border-radius: 99px; }
.plan-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.plan.hl { background: var(--ink); color: #fff; }
.plan h3 { font-size: 26px; letter-spacing: -.03em; }
.plan .tag { margin-top: 6px; font-size: 15px; color: var(--muted); }
.plan.hl .tag { color: rgba(255,255,255,.65); }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-size: 34px; font-weight: 700; letter-spacing: -.035em; }
.price-per { font-size: 15px; color: var(--muted); }
.plan.hl .price-per { color: rgba(255,255,255,.6); }
.plan ul { margin-top: 18px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; }
.plan.hl ul { border-color: rgba(255,255,255,.14); }
.plan li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.plan.hl li::before { border-color: #8EA2FF; }
.plans .note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; background: var(--bg-2); }
.faq-list { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Closing call with the Hairline figure ---------- */
.closing { padding: 100px 0; }
.closing-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 34px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(20, 30, 80, .4); }
.closing h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.closing p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.closing .cta { margin-top: 26px; }
.figure { position: relative; --hairline-plate: #fff; --hairline-hi: #1F3A9E; --hairline-edge: #9AA6D6; --hairline-mid: #C9D0EC; --hairline-lo: #E3E7F5; }
.figure-read { position: absolute; right: 8px; top: 4px; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--brand); letter-spacing: .04em; min-height: 1em; }

/* ---------- Related ---------- */
.related { padding: 20px 0 100px; }
.rel-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rel { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--line); text-decoration: none; transition: transform .5s var(--spring), box-shadow .3s; }
.rel b { font-size: 17px; letter-spacing: -.015em; }
.rel span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.rel i { margin-top: auto; padding-top: 6px; font-style: normal; color: var(--brand); font-weight: 600; font-size: 14px; }
@media (hover: hover) { .rel:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(0,0,0,.25); } }

/* ---------- Footer ---------- */
.foot { padding: 64px 0 40px; background: #0B0F33; color: rgba(245,245,247,.62); font-size: 14px; }
.foot a { text-decoration: none; color: #F5F5F7; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 36px; }
.foot-logo img { color: #fff; font-weight: 700; font-size: 22px; width: auto; height: 64px; }
.foot p.tag { margin-top: 16px; max-width: 22rem; line-height: 1.5; }
.foot h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,245,247,.5); }
.foot ul { margin-top: 14px; list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-pages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.foot-legal { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.foot-pay { margin-top: 24px; }
.foot-pay img { display: block; width: auto; height: 26px; max-width: 100%; }
.foot-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }


/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .top-nav > a.hide-s { display: none; }
  .hero-grid, .closing-in, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 26px; }
  .hero-art { width: min(80%, 380px); }
  .plan-grid { grid-template-columns: 1fr; }
  .closing-in { padding: 28px 22px; }
  .answer-card { padding: 22px; }
  .answer-card p { font-size: 17px; }
}
@media (max-width: 560px) { .top-nav .cta span.l { display: none; } .top-nav .cta.small { padding: 0 6px; } .foot-pages ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } .js [data-reveal] { opacity: 1; transform: none; transition: none; } .cta { transition: none; } }
