/* Repliwave: "Maison de nuit". A five-star lobby at 3 AM.
   Night stays all the way down; champagne gold is the only accent; hairlines instead of boxes;
   Bodoni Moda (a Didone, the type of luxury houses) for display, Geist light for reading.
   Luxury in the form, plain words and visible prices in the content. */
:root {
  --night: #070a14;
  --night-2: #0d1222;
  --glass: rgba(239, 233, 220, .04);
  --text: #efe9dc;
  --muted: #9c9fae;
  --gold: #d6bf8c;
  --gold-2: #a89a74;
  --hair: rgba(214, 191, 140, .28);
  --hair-2: rgba(239, 233, 220, .12);
  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --serif: 'Instrument Serif', serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(22px, 6vw, 96px);
  /* kept for older markup */
  --paper: var(--text); --ink: var(--night); --pencil: var(--muted); --pen: var(--gold); --marker: var(--gold); --rule: var(--hair-2);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; -webkit-font-smoothing: antialiased; background: var(--night); color: var(--text); }
body.paper { background: var(--night); }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--gold); color: var(--night); padding: 8px 12px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: var(--mono); }

/* material: a fixed film grain and one slow lamp light drifting across the whole page */
body::before {
  content: ''; position: fixed; inset: -30%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 30% at 50% 50%, rgba(214, 191, 140, .10), transparent 70%);
  animation: lamp 26s ease-in-out infinite alternate;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes lamp { from { transform: translate(-28%, -18%); } to { transform: translate(26%, 22%); } }

/* ------------------------------------------------ header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gut); color: var(--text); transition: background-color .6s var(--ease), padding .6s var(--ease); }
.top.top-paper, body.scrolled .top { background: rgba(7, 10, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 16px; padding-bottom: 16px; box-shadow: 0 0.5px 0 var(--hair); }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 400 25px var(--display); letter-spacing: .01em; text-decoration: none; color: inherit; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 34px; margin-right: auto; margin-left: 48px; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .02em; color: var(--muted); transition: color .3s; }
.nav a:hover { color: var(--text); }
.top-right { display: flex; align-items: center; gap: 22px; }
.try, button.try { border: 0; background: none; color: var(--text); font: 400 14px var(--sans); letter-spacing: .02em; padding: 6px 0; border-bottom: 0.5px solid var(--gold); border-radius: 0; cursor: pointer; text-decoration: none; }
.try:hover { color: var(--gold); }
.try[hidden] { display: none; }
.clock { font-size: 12px; color: var(--gold-2); letter-spacing: .08em; }
.clock::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 9px; vertical-align: 2px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: .1em; color: var(--muted); padding: 6px 0; }
.langs summary::-webkit-details-marker { display: none; }
.langs[open] summary, .langs summary:hover { color: var(--text); }
.langs div { position: absolute; right: 0; top: calc(100% + 12px); background: var(--night-2); border: 0.5px solid var(--hair); padding: 8px 0; min-width: 160px; display: grid; }
.langs div a { text-decoration: none; padding: 9px 18px; font-size: 14px; color: var(--muted); }
.langs div a:hover, .langs div a[aria-current] { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font: 400 14px var(--sans); letter-spacing: .04em; border-bottom: 0.5px solid var(--gold); padding: 6px 0; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 19; background: var(--night); padding: 110px var(--gut) 120px; display: flex; flex-direction: column; gap: 30px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font: 400 42px/1.1 var(--display); text-decoration: none; padding: 8px 0; border-bottom: 0.5px solid var(--hair-2); }
.menu nav a.menu-sub { font: 300 16px var(--sans); padding: 10px 0 10px 20px; color: var(--muted); }
.menu-try { align-self: flex-start; }
.menu-langs { display: flex; gap: 22px; font-size: 14px; }
.menu-langs a { text-decoration: none; color: var(--muted); }
.menu-langs a[aria-current] { color: var(--gold); }
body.menu-open { overflow: hidden; }
/* open menu: nothing of the page may show through (iOS draws page content under its translucent bars) */
body.menu-open main, body.menu-open .hero, body.menu-open .story, body.menu-open .foot { visibility: hidden; }
body.menu-open .top { background: var(--night); }
.menu { overscroll-behavior: contain; }

/* ------------------------------------------------ type and sections */
main { position: relative; z-index: 1; color: var(--text); transition: background-color .4s linear; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(110px, 16vw, 220px) 0 0; position: relative; }
.sec-first { padding-top: clamp(160px, 20vw, 260px); }
.sec-contact { padding-bottom: clamp(110px, 14vw, 200px); }
.hour { font: 400 11px var(--mono); letter-spacing: .14em; color: var(--gold-2); margin-bottom: 26px; }
.hour::before { content: ''; display: inline-block; width: 22px; height: 0.5px; background: var(--gold); margin-right: 12px; vertical-align: 3px; }
.h1, .sec-about .h1 { font: 400 clamp(56px, 9vw, 150px)/0.9 var(--display); letter-spacing: -.035em; max-width: 13ch; }
.h2 { font: 400 clamp(44px, 6.6vw, 110px)/0.92 var(--display); letter-spacing: -.03em; margin-bottom: clamp(36px, 5vw, 70px); max-width: 15ch; }
.h1 em, .h2 em { font-style: italic; color: var(--gold); }
.h3 { font: italic 400 34px var(--display); margin-bottom: 20px; }
.lead { font: 300 clamp(17px, 1.45vw, 20px)/1.75 var(--sans); color: var(--muted); max-width: 46ch; margin-top: 34px; }
.sec-about .lead { color: var(--text); opacity: .86; }
.link { color: var(--text); }
.link:hover { color: var(--gold); }
.btn, .btn-ghost, .btn-marker { display: inline-flex; align-items: center; gap: 14px; background: none; color: var(--text); font: 400 15px var(--sans); letter-spacing: .03em; text-decoration: none; border: 0.5px solid var(--gold); border-radius: 99px; padding: 15px 28px; cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease); }
.btn:hover, .btn-ghost:hover, .btn-marker:hover { background: var(--gold); color: var(--night); }
.btn:disabled { opacity: .4; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 120px); margin-top: 70px; align-items: start; }

/* the marks: when our assistant answers, the sections it used get a gold underline that draws itself */
.sec .h2 { display: inline-block; background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; padding-bottom: 10px; transition: background-size 1.4s var(--ease); }
.sec.lit .h2 { background-size: 100% 1px; }

/* what we build: an index set in italic Bodoni */
.index { list-style: none; padding: 0; border-top: 0.5px solid var(--hair); }
.index li { border-bottom: 0.5px solid var(--hair-2); }
.index a { display: grid; grid-template-columns: minmax(220px, 1.1fr) 1.6fr auto; gap: 32px; align-items: baseline; padding: 30px 0; text-decoration: none; }
.index-name { font: italic 400 clamp(32px, 3.4vw, 54px)/1 var(--display); transition: color .5s var(--ease), transform .7s var(--ease); }
.index-line { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.index-price { font: 400 15px var(--sans); color: var(--gold-2); white-space: nowrap; }
.index a:hover .index-name { color: var(--gold); transform: translateX(10px); }

/* how it works: a real sequence, numerals in Bodoni */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 80px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 0.5px solid var(--hair); padding-top: 26px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: italic 400 72px/1 var(--display); color: var(--gold); display: block; margin-bottom: 22px; }
.steps h3 { font: 400 22px var(--display); margin-bottom: 12px; }
.steps p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* work: the page the assistant read, a sheet of paper in the dark */
.case { display: grid; grid-template-columns: minmax(300px, 1fr) 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.case-card { background: #f4f1ea; color: #16171c; border-radius: 4px; padding: 30px 32px 34px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 0.5px rgba(214, 191, 140, .4); transform: rotate(-2deg); }
.cc-top { display: flex; justify-content: space-between; font: 400 11px var(--mono); letter-spacing: .06em; color: #5f6066; padding-bottom: 16px; border-bottom: 0.5px solid #d8d4c8; margin-bottom: 22px; }
.cc-title { font: italic 400 38px/1 var(--display); margin-bottom: 22px; }
.cc-line { height: 7px; border-radius: 7px; background: #e6e2d8; margin: 11px 0; }
.cc-line.short { width: 70%; } .cc-line.shorter { width: 46%; }
.cc-fact { font-size: 18px; line-height: 1.45; margin: 18px 0 8px; }
.cc-fact mark { background: linear-gradient(transparent 12%, rgba(214, 191, 140, .75) 12%, rgba(214, 191, 140, .75) 92%, transparent 92%); color: inherit; padding: 0 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.case-name { font: italic 400 clamp(46px, 5.4vw, 84px)/0.95 var(--display); }
.case-name a { text-decoration: none; }
.case-where { margin-top: 14px; color: var(--gold-2); font-size: 14px; letter-spacing: .03em; }
.case-facts { list-style: none; padding: 0; margin: 28px 0 34px; }
.case-facts li { padding: 13px 0; border-bottom: 0.5px solid var(--hair-2); font-size: 16px; color: var(--muted); }

/* prices: rows, the number set like a sculpture */
.packs { margin-top: 50px; border-top: 0.5px solid var(--hair); }
.pack { display: grid; grid-template-columns: minmax(170px, .9fr) 1.6fr minmax(220px, auto); gap: 32px; align-items: start; padding: 34px 0; border-bottom: 0.5px solid var(--hair-2); }
.pack-name { font: italic 400 clamp(34px, 3.4vw, 52px)/1 var(--display); }
.pack-for { color: var(--text); font-size: 16px; margin-bottom: 12px; }
.pack-inc { list-style: none; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.pack-inc li::before { content: '— '; color: var(--gold-2); }
.pack-side { text-align: right; }
.pack-price { font: 400 clamp(46px, 5vw, 76px)/0.95 var(--display); letter-spacing: -.03em; }
.pack-price small { font: 300 13px var(--sans); color: var(--gold-2); letter-spacing: .04em; margin-left: 4px; }
.pack-then, .pack-month { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pack-month b { color: var(--text); font-weight: 400; }
.pack-choose { display: inline-block; margin-top: 18px; font-size: 14px; letter-spacing: .03em; text-decoration: none; border-bottom: 0.5px solid var(--gold); padding-bottom: 3px; }
.pack-choose:hover { color: var(--gold); }
.co-sums { min-height: 4.2em; }
.co-line { font-size: 17px; margin: 0 0 6px; }
.co-line b { font-weight: 400; color: var(--gold); }
.co-due { font-size: 14px; color: var(--muted); margin: 0; }
.co select { width: 100%; background: transparent; color: inherit; font: inherit; font-size: 16px; border: 0; border-bottom: 0.5px solid var(--hair-2); padding: 10px 0; border-radius: 0; }
.co select option { background: #070a14; color: #efe9dc; }
.co-pay { margin-top: 56px; }
.cform[hidden], .co-opt[hidden], .co-pay[hidden] { display: none; } /* the form carries display:grid, which would otherwise beat [hidden] and leave it on screen after sending */
.co-pay:focus { outline: none; }
.co-sent { font-size: 17px; margin: 0 0 22px; }
.co-opt { font-size: 15px; margin: 0 0 16px; padding-top: 16px; border-top: 0.5px solid var(--hair-2); }
.co-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.pack-pay { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 0.5px solid var(--hair-2); width: fit-content; padding-bottom: 2px; }
.pack-pay:hover { color: var(--gold); border-color: var(--gold); }
.pack-note { margin-top: 30px; }
.addons { display: grid; grid-template-columns: 1fr auto; }
.addons dt, .addons dd { padding: 14px 0; border-bottom: 0.5px solid var(--hair-2); font-size: 16px; }
.addons dt { color: var(--muted); }
.addons dd { text-align: right; font-family: var(--display); font-size: 19px; }
.rules { padding-left: 1.1em; color: var(--muted); }
.rules li { padding: 9px 0; font-size: 16px; line-height: 1.6; }

/* questions (inner pages) */
.faq { border-top: 0.5px solid var(--hair); max-width: 900px; }
.faq details { border-bottom: 0.5px solid var(--hair-2); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 50px 26px 0; font: 400 clamp(20px, 1.9vw, 26px) var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 22px; font: 300 26px var(--sans); color: var(--gold); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 62ch; }

/* service pages */
.inc { list-style: none; padding: 0; border-top: 0.5px solid var(--hair); }
.inc li { padding: 20px 0; border-bottom: 0.5px solid var(--hair-2); font: 400 22px var(--display); }
.svc-side { position: sticky; top: 130px; }
.svc-price { font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.svc-price b { display: block; font: 400 64px/1 var(--display); color: var(--text); letter-spacing: -.03em; margin-bottom: 6px; }

/* 13:00 ask us anything */
.askbox { display: flex; align-items: flex-end; gap: 24px; margin-top: 50px; max-width: 980px; border-bottom: 0.5px solid var(--gold); }
.askbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: italic 400 clamp(24px, 3vw, 44px) var(--display); padding: 14px 0 18px; }
.askbox input::placeholder { color: #7b7f90; } /* 4.8:1 on the night background (was 2.5:1) */
.askbox input:focus-visible, .cform input:focus-visible, .cform textarea:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.askbox .btn { border: 0; padding: 14px 0 20px; border-radius: 0; font-size: 14px; color: var(--gold); }
.askbox .btn:hover { background: none; color: var(--text); }
.askchips { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; max-width: 980px; }
.askchips button { background: none; border: 0; padding: 4px 0; color: var(--muted); font: 300 15px var(--sans); cursor: pointer; border-bottom: 0.5px solid transparent; transition: color .3s, border-color .3s; }
.askchips button:hover { color: var(--text); border-color: var(--gold); }
.asklog { margin-top: 50px; max-width: 980px; display: grid; gap: 18px; }
.ask-msg.me { font-size: 15px; color: var(--gold-2); letter-spacing: .02em; }
.ask-msg.me::before { content: '— '; }
.ask-msg.bot { font: 400 clamp(26px, 2.7vw, 40px)/1.28 var(--display); color: var(--text); white-space: pre-wrap; min-height: 1.3em; }
.ask-msg.bot.typing::after { content: '…'; color: var(--gold); animation: blink 1.4s infinite; }
@keyframes blink { 0%, 80%, 100% { opacity: .2 } 40% { opacity: 1 } }
.ask-from { font-size: 14px; color: var(--muted); }
.ask-from a { color: var(--gold); margin: 0 6px; }

/* contact: a letter, not a form */
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; margin-top: 60px; max-width: 1000px; }
.cform label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .03em; }
.cform label span { color: var(--gold-2); }
.cform input, .cform textarea { font: 400 22px var(--display); color: var(--text); background: none; border: 0; border-bottom: 0.5px solid var(--hair); border-radius: 0; padding: 10px 0 12px; outline: 0; width: 100%; resize: vertical; }
.cform input:focus, .cform textarea:focus { border-color: var(--gold); }
.cform input::placeholder, .cform textarea::placeholder { color: #7b7f90; }
.cform .wide, .cform fieldset, .cform-msg { grid-column: 1 / -1; }
.cform fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.cform legend { color: var(--gold-2); font-size: 13px; letter-spacing: .03em; margin-bottom: 14px; }
.pill { display: inline-flex !important; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { color: var(--muted) !important; font: 400 19px var(--display); border-bottom: 0.5px solid transparent; padding-bottom: 3px; transition: color .3s, border-color .3s; }
.pill input:checked + span { color: var(--text) !important; border-color: var(--gold); }
.pill input:checked + span::before { content: '✓ '; color: var(--gold); font-family: var(--sans); font-size: 14px; }
.pill input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 4px; }
.cform .btn { justify-self: start; }
.cform-msg { font-size: 15px; min-height: 1.4em; }
.cform-msg.ok { color: var(--gold); }
.cform-msg.err { color: #f0a493; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 21:00: night again */
.sec-night { padding-bottom: clamp(120px, 14vw, 200px); }
.night-line { font: italic 400 clamp(46px, 7vw, 120px)/0.95 var(--display); letter-spacing: -.03em; max-width: 14ch; margin: 0 0 54px; }
.dusk .lead { color: var(--muted); }

/* long-form pages: about, legal notice, privacy */
.prose { max-width: 760px; margin-left: 0; }
.prose .h3 { font: italic 400 clamp(26px, 2.4vw, 34px)/1.15 var(--display); margin: 54px 0 14px; color: var(--text); }
.prose .h3:first-of-type { margin-top: 0; }
.prose p { font-size: 17px; line-height: 1.85; color: var(--muted); }
.prose a { color: var(--text); }
.prose a:hover { color: var(--gold); }
.prose .updated { font-size: 11px; letter-spacing: .12em; color: var(--gold-2); margin-bottom: 40px; }
.beliefs { list-style: none; padding: 0; counter-reset: b; border-top: 0.5px solid var(--hair); }
.beliefs li { counter-increment: b; display: grid; grid-template-columns: 90px minmax(200px, .9fr) 1.4fr; gap: 28px; padding: 32px 0; border-bottom: 0.5px solid var(--hair-2); align-items: baseline; }
.beliefs li::before { content: counter(b, decimal-leading-zero); font: italic 400 34px var(--display); color: var(--gold); }
.beliefs h3 { font: 400 clamp(22px, 2vw, 28px) var(--display); }
.beliefs p { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.about-ctas { margin-top: 50px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.cform-privacy { grid-column: 1 / -1; margin-top: -12px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.cform-privacy a { color: var(--text); }
.cform-privacy a:hover { color: var(--gold); }
.foot-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.foot-legal a { color: var(--muted); text-decoration: none; font-size: 12px; }
.foot-legal a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .beliefs li { grid-template-columns: 1fr; gap: 8px; }
  .beliefs li::before { font-size: 22px; }
}

/* footer: the wordmark across the whole width, four quiet columns, one thin closing line */
.foot { position: relative; z-index: 1; border-top: 0.5px solid var(--hair); padding: clamp(70px, 9vw, 120px) 0 36px; color: var(--text); overflow: hidden; }
/* sized so "Repliwave" in Bodoni spans the column edge to edge (measured: its width is about 3.85 times the font size) */
.foot .foot-logo { font: 400 clamp(48px, calc((min(100vw, 1320px) - 2 * var(--gut)) / 3.95), 340px)/0.86 var(--display); letter-spacing: -.055em; color: var(--text); white-space: nowrap; margin: 0 0 clamp(50px, 7vw, 100px) -0.04em; }
.foot-grid.no-lang { grid-template-columns: 1.8fr 1fr 1fr; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(30px, 5vw, 80px); padding-top: 34px; border-top: 0.5px solid var(--hair-2); }
.foot-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-h { font: 400 11px var(--mono); letter-spacing: .14em; color: var(--gold-2); margin-bottom: 8px; }
.foot-line { font: italic 400 clamp(22px, 2vw, 28px)/1.25 var(--display); color: var(--text); max-width: 20ch; margin-bottom: 10px; }
.foot a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .3s; }
.foot a:hover { color: var(--gold); }
.foot .foot-mail { font: 400 clamp(20px, 1.8vw, 26px) var(--display); color: var(--text); border-bottom: 0.5px solid var(--gold); padding-bottom: 3px; }
.foot .foot-col a[aria-current] { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 110px); padding-top: 22px; border-top: 0.5px solid var(--hair-2); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.foot-open { color: var(--gold-2); font-size: 11px; letter-spacing: .1em; }
@media (max-width: 900px) {
  .foot-grid, .foot-grid.no-lang { grid-template-columns: 1fr 1fr; }
  .foot-first { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------ the 3 AM story (night to dawn, never white) */
.story { --day: 1; position: relative; z-index: 1; background: color-mix(in srgb, #15121c calc(var(--day) * 100%), var(--night)); color: var(--text); }
.st-stage { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1320px; margin: 0 auto; padding: 120px var(--gut) 60px; }
.st-clock { font: 400 clamp(70px, 12vw, 180px)/0.9 var(--display); letter-spacing: -.04em; color: var(--text); }
.st-caps { position: relative; margin-top: 30px; }
.st-cap { font: italic 400 clamp(26px, 2.8vw, 40px)/1.15 var(--display); max-width: 22ch; }
.st-cap + .st-cap { margin-top: 18px; }
.st-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.st-phone { border-radius: 44px; padding: 11px; background: #030409; box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .85), inset 0 0 0 0.5px rgba(214, 191, 140, .35); }
.st-screen { border-radius: 34px; background: #f4f1ea; color: #16171c; height: min(640px, 72vh); overflow: hidden; display: flex; flex-direction: column; padding: 18px 16px 16px; position: relative; }
.st-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; padding: 0 6px 12px; border-bottom: 0.5px solid #d8d4c8; }
.st-chat { list-style: none; padding: 12px 0 0; margin: 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; flex: 1; justify-content: flex-end; }
.st-q, .st-a { font-size: 14px; line-height: 1.35; padding: 8px 12px; max-width: 86%; border-radius: 16px; font-weight: 400; }
.st-q { background: #e6e2d8; border-bottom-left-radius: 4px; display: flex; flex-direction: column; gap: 2px; }
.st-q small { font-size: 10px; color: #5f6066; }
.st-a { margin: 5px 0 0 auto; background: #16171c; color: #f4f1ea; border-bottom-right-radius: 4px; }
.st-owner .st-a { background: var(--gold); color: #16171c; }
.st-summary { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #16171c; color: #f4f1ea; font-size: 13px; }

.story.st-js { height: 620vh; --day: 0; }
.st-js .st-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
/* captions are stacked in one place: hidden ones must not catch clicks meant for the buttons below */
.st-js .st-cap { pointer-events: none; position: absolute; top: 0; left: 0; margin: 0; opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
.st-js .st-cap.on { opacity: 1; transform: none; filter: none; }
.st-js .st-caps { min-height: 5.6em; }
.st-js .st-ctas { opacity: 0; pointer-events: none; transition: opacity .8s; }
.st-js.st-end .st-ctas { opacity: 1; pointer-events: auto; }
.st-js .st-screen { background: color-mix(in srgb, #f4f1ea calc(var(--lit, 0) * 100%), #0c1120); }
.st-js .st-msg { display: none; }
.st-js .st-msg.on { display: block; animation: st-in .7s var(--ease) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.st-js .st-msg.lost .st-q { opacity: .7; }
.st-js .st-a { clip-path: inset(0 calc((1 - var(--a, 0)) * 100%) 0 0 round 16px); }
.st-js .st-a:dir(rtl) { clip-path: inset(0 0 0 calc((1 - var(--a, 0)) * 100%) round 16px); }
.st-js .st-msg:not(.answered) .st-a { visibility: hidden; height: 0; padding: 0; margin: 0; }
.st-js .st-summary { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.st-js.st-morning .st-summary { opacity: 1; transform: none; }
.st-js .st-top { color: color-mix(in srgb, #16171c calc(var(--lit, 0) * 100%), #8a91a8); border-color: color-mix(in srgb, #d8d4c8 calc(var(--lit, 0) * 100%), #1c2336); }

/* ------------------------------------------------ motion: text rises from behind a mask, once */
.rv { overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; } /* the mask must not cut descenders (g, p, y) */
.rv > .rv-in { display: block; transform: translateY(105%); transition: transform 1.5s var(--ease); }
.rv.in > .rv-in { transform: none; }
.fd { opacity: 0; transform: translateY(16px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.fd.in { opacity: 1; transform: none; }

/* the cursor: a thin gold circle (fine pointers only) */
.cur { position: fixed; z-index: 60; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 0.5px solid var(--gold); border-radius: 50%; pointer-events: none; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .5s var(--ease), opacity .3s; opacity: 0; }
.cur.on { opacity: 1; }
.cur.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(214, 191, 140, .08); }

/* ------------------------------------------------ phones */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .top .langs, .top .try-link { display: none; }
  /* the header button gets a short label on phones ("Essayer" / "Try it"), the full one stays in the menu */
  .top button.try { font-size: 0; }
  .top button.try::after { content: attr(data-short); font-size: 14px; }
  .top-right { gap: 14px; }
  .index a { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .steps, .two, .case { grid-template-columns: 1fr; }
  .pack { grid-template-columns: 1fr; gap: 14px; }
  .pack-side { text-align: left; }
  .case-card { transform: none; }
  .cform { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .askbox { flex-direction: column; align-items: stretch; border: 0; }
  .askbox input { border-bottom: 0.5px solid var(--gold); }
  .askbox .btn { align-self: flex-start; padding: 12px 0; }
  .st-stage { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 90px; }
  .st-clock { font-size: 64px; }
  .st-caps { margin-top: 10px; }
  .st-cap { font-size: 21px; }
  .st-js .st-caps { min-height: 7em; }
  .st-ctas { margin-top: 8px; }
  .st-phone { border-radius: 30px; padding: 8px; max-width: 360px; width: 100%; justify-self: center; }
  .st-screen { border-radius: 24px; height: 50vh; height: 50svh; }
  .story.st-js { height: 560vh; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-msg.bot.typing::after { animation: none; }
  .sec .h2 { transition: none; }
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .rv > .rv-in, .fd { transform: none !important; opacity: 1 !important; transition: none !important; }
  .cur { display: none; }
}
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* ================================================== polish (guided by Google's Modern Web Guidance): native page transitions, scroll-driven progress, fluid rem type, native underlines */
:root { color-scheme: dark; accent-color: var(--gold); scrollbar-color: var(--gold-2) var(--night); scrollbar-width: thin; }
html { scroll-padding-top: 96px; }
body { font-size-adjust: from-font; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.top { padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }

/* type: balanced headlines and tidy paragraphs; sizes in rem so they follow the visitor's text size (max is at most 2.5x min) */
.h1, .sec-about .h1 { font-size: clamp(3.5rem, 2rem + 7vw, 8.75rem); text-wrap: balance; }
.h2 { font-size: clamp(2.75rem, 1.4rem + 5vw, 6.875rem); text-wrap: balance; }
.night-line, .case-name, .st-cap, .cc-title, .pack-name, .index-name, .foot-line, .h3 { text-wrap: balance; }
.lead, .index-line, .steps p, .faq details p, .prose p, .case-facts li, .beliefs p, .co-line { text-wrap: pretty; }
.prose p, .lead, .index-line { hyphens: auto; }

/* links: real underlines (thickness, offset, colour) that move on hover, instead of border hacks */
.link, .prose a, .cform-privacy a, .ask-from a, .pack-choose, .foot .foot-mail, .try, button.try, .menu-btn, .pack-pay {
  border-bottom: 0; padding-bottom: 0;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .38em;
  transition: color .3s, text-decoration-color .3s, text-underline-offset .5s var(--ease);
}
.link:hover, .prose a:hover, .cform-privacy a:hover, .ask-from a:hover, .pack-choose:hover, .foot .foot-mail:hover, .try:hover, .menu-btn:hover, .pack-pay:hover { text-decoration-color: currentColor; text-underline-offset: .62em; }
.pack-choose { padding: 4px 0; }

/* buttons answer the hand: lift, glow, press */
.btn, .btn-ghost, .btn-marker { transition: background-color .5s var(--ease), color .5s var(--ease), transform .45s var(--ease), box-shadow .6s var(--ease); }
.btn:hover, .btn-ghost:hover, .btn-marker:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(214, 191, 140, .10), 0 18px 44px -16px rgba(214, 191, 140, .5); }
.btn:active, .btn-ghost:active, .btn-marker:active { transform: translateY(0) scale(.98); box-shadow: none; }
.askbox .btn:hover { transform: none; box-shadow: none; }

/* rows: a gold hairline draws itself across, a soft light follows, the arrow appears */
.pack, .index li { position: relative; }
.pack::before, .index li::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); pointer-events: none; }
.pack:hover::before, .pack:focus-within::before, .index li:hover::before, .index li:focus-within::before { transform: scaleX(1); }
.pack, .index li { transition: background-color .7s var(--ease); }
.pack:hover, .pack:focus-within, .index li:hover, .index li:focus-within { background: linear-gradient(90deg, rgba(214, 191, 140, .06), transparent 72%); }
.index-price::after { content: '\2192'; display: inline-block; margin-left: .7em; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .7s var(--ease); }
.index a:hover .index-price::after, .index a:focus-visible .index-price::after { opacity: 1; transform: none; }
.steps li { transition: border-color .7s var(--ease); }
.steps li:hover { border-top-color: var(--gold); }
.faq summary { transition: color .4s; }
.faq summary:hover { color: var(--gold); }
.case-card { transition: transform 1s var(--ease), box-shadow 1s var(--ease); }
.case-card:hover { transform: rotate(0deg) translateY(-10px); box-shadow: 0 80px 140px -40px rgba(0, 0, 0, .85), 0 0 0 0.5px rgba(214, 191, 140, .6); }

/* a gold hairline under the header that fills as you read the page (compositor only; a script keeps it working where scroll-driven CSS is missing) */
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .top::after { transform: scaleX(0); animation: grow-progress auto linear both; animation-timeline: scroll(root); }
    @keyframes grow-progress { to { transform: scaleX(1); } }
  }
}

/* the languages strip: the assistant says hello the way your customers do */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 0.5px solid var(--hair); padding: clamp(1.1rem, 2.4vw, 2.4rem) 0; background: linear-gradient(180deg, transparent, rgba(214, 191, 140, .035), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.2rem); padding-right: clamp(1.5rem, 3vw, 3.2rem); font: italic 400 clamp(2rem, 1rem + 4vw, 4.6rem)/1 var(--display); color: var(--muted); white-space: nowrap; }
.marquee-track span::after { content: ''; width: .3em; height: .3em; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; }
.marquee-track span[lang='ar'] { font-family: 'Noto Naskh Arabic', 'Segoe UI', var(--display), serif; font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* page to page: the header stays, the page fades and lifts (cross-document view transitions; browsers without them just navigate) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation-duration: .45s; }
  ::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-10px); filter: blur(2px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
}

/* touch: comfortable targets (44px) */
@media (pointer: coarse) {
  .menu-btn, .top .try, .langs summary, .foot a, .askchips button { min-height: 44px; display: inline-flex; align-items: center; }
  .foot a { padding: 2px 0; }
  .foot-col { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .btn:hover, .btn-ghost:hover, .btn-marker:hover, .case-card:hover { transform: none; }
  .top::after { transition: none; }
}

/* Demos: seven sample sites, a ruled list. Hairlines and space; one flat colour mark per demo (--dc). */
.demos-lead { margin-top: 26px; }
.demos { list-style: none; padding: 0; margin: 56px 0 0; border-top: 0.5px solid var(--rule); }
.demo { border-bottom: 0.5px solid var(--rule); }
.demo a { display: grid; grid-template-columns: 3.2rem minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 8px 28px; padding: 30px 0 30px 22px; color: inherit; text-decoration: none; position: relative; transition: padding-inline-start .6s var(--ease); }
.demo a::before { content: ''; position: absolute; inset-inline-start: 0; top: 30px; bottom: 30px; width: 2px; background: var(--dc, var(--gold)); transform-origin: top; transition: transform .6s var(--ease); }
.demo-n { font-size: 11px; letter-spacing: .14em; color: var(--pencil); }
.demo-main { display: grid; gap: 8px; }
.demo-name { font: 400 clamp(30px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.02em; }
.demo-kind { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); }
.demo-line { font: 300 17px/1.55 var(--sans); color: var(--pencil); max-width: 36ch; }
.demo-open { display: inline-flex; align-items: center; gap: 12px; font: 400 14px var(--sans); letter-spacing: .02em; white-space: nowrap; color: var(--pen); }
.demo-open i { width: 28px; height: 0.5px; background: currentColor; position: relative; transition: transform .6s var(--ease); }
.demo-open i::after { content: ''; position: absolute; inset-inline-end: 0; top: -3px; width: 6px; height: 6px; border-top: 0.5px solid currentColor; border-inline-end: 0.5px solid currentColor; transform: rotate(45deg); }
[dir='rtl'] .demo-open i::after { transform: rotate(-135deg); }
.demo a:hover { padding-inline-start: 34px; }
.demo a:hover .demo-open i { transform: translateX(14px); } /* the arrow slides (a transform), it no longer changes width */
[dir='rtl'] .demo a:hover .demo-open i { transform: translateX(-14px); }
.demo a:focus-visible { outline-offset: -2px; }
.demos-note { margin-top: 26px; font: 300 14px/1.6 var(--sans); color: var(--pencil); max-width: 60ch; }
@media (max-width: 860px) {
  .demo a { grid-template-columns: 2.4rem 1fr; padding: 24px 0 24px 18px; }
  .demo a::before { top: 24px; bottom: 24px; }
  .demo-line, .demo-open { grid-column: 2; }
  .demo-open { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo a, .demo a::before, .demo-open i { transition: none; }
}
/* Arabic (right to left). The page flips with dir="rtl"; these rules fix what physical left/right and Latin type settings would break. */
[dir='rtl'] { --display: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, 'Times New Roman', serif; --sans: 'Segoe UI', 'Noto Sans Arabic', Tahoma, system-ui, sans-serif; }
[dir='rtl'] *, [dir='rtl'] *::before, [dir='rtl'] *::after { letter-spacing: 0 !important; } /* letter-spacing breaks the joining of Arabic letters */
[dir='rtl'] em, [dir='rtl'] i, [dir='rtl'] .h1 em, [dir='rtl'] .h2 em { font-style: normal; } /* Arabic has no italic: the browser would only slant it */
[dir='rtl'] .h1, [dir='rtl'] .h2, [dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3, [dir='rtl'] .sec-about .h1 { line-height: 1.3; font-weight: 700; }
[dir='rtl'] body { line-height: 1.8; }
[dir='rtl'] .skip { left: auto; right: -999px; }
[dir='rtl'] .skip:focus { right: 8px; }
[dir='rtl'] .hp { left: auto; right: -9999px; }
[dir='rtl'] .addons dd { text-align: left; }
[dir='rtl'] .mono, [dir='rtl'] .clock, [dir='rtl'] .hour { direction: ltr; unicode-bidi: isolate; }
.alt-lang, .menu-alt, .foot-alt { font: 400 14px var(--sans); color: var(--text); text-decoration: none; border-bottom: 0.5px solid var(--gold); padding: 6px 0; white-space: nowrap; }
.alt-lang:hover, .menu-alt:hover, .foot-alt:hover { color: var(--gold); }
.menu-alts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin: 0; }
.menu-alt { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; text-decoration: underline 0.5px var(--gold); text-underline-offset: .55em; }
.foot-alt { display: table; margin-top: 10px; }
@media (max-width: 860px) { .alt-lang { display: none; } }
/* the phone menu eases in (it used to appear at once) */
.menu:not([hidden]) { animation: menu-in .28s var(--ease) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .menu:not([hidden]) { animation: none; } }
/* more hover states that ease (border colours were missing from their transitions) */
.steps li { transition: border-color .7s var(--ease), border-top-color .7s var(--ease); }
.pack-pay { transition: color .25s, border-color .25s, text-decoration-color .25s, text-underline-offset .25s; }
.alt-lang, .menu-alt, .foot-alt { transition: color .25s; }
.alt-lang + .alt-lang { margin-inline-start: 14px; }

/* Demos gallery: a real picture of each demo, then its name and a link. Hairlines and space; one flat colour mark per demo (--dc). */
.demo-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr)); gap: 44px 28px; }
.demo-card a { display: grid; gap: 18px; color: inherit; text-decoration: none; }
.demo-shot { display: block; position: relative; overflow: hidden; aspect-ratio: 800 / 506; border: 0.5px solid var(--rule); background: #0d1222; }
.demo-shot::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--dc, var(--gold)); transform: scaleX(.16); transform-origin: left; transition: transform .8s var(--ease); }
[dir='rtl'] .demo-shot::after { transform-origin: right; }
.demo-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.demo-card a:hover .demo-shot img, .demo-card a:focus-visible .demo-shot img { transform: scale(1.045); filter: none; }
.demo-card a:hover .demo-shot::after, .demo-card a:focus-visible .demo-shot::after { transform: scaleX(1); }
.demo-card a:focus-visible { outline-offset: 6px; }
.demo-cap { display: grid; gap: 8px; }
.demo-cap .demo-n { font-size: 11px; letter-spacing: .14em; color: var(--pencil); }
.demo-cap .demo-name { font: 400 clamp(28px, 2.8vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.demo-cap .demo-line { font: 300 16px/1.55 var(--sans); color: var(--pencil); max-width: 34ch; }
.demo-cap .demo-open { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .demo-shot img, .demo-shot::after { transition: none; } .demo-card a:hover .demo-shot img { transform: none; } }

[dir='rtl'] .demo-cap .demo-kind { direction: rtl; unicode-bidi: normal; text-transform: none; letter-spacing: 0; } /* Arabic text inside a Latin-style label must read right to left */

/* 7 demos fill two rows exactly: three larger cards, then four. Tablet: two columns, the last card full width. Phone: one column. */
@media (min-width: 1100px) {
  .demo-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .demo-card { grid-column: span 3; }
  .demo-card:nth-child(-n+3) { grid-column: span 4; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .demo-card:last-child:nth-child(odd) .demo-shot { aspect-ratio: 800 / 380; }
}
/* the cards of a row share one height, and each "Open the demo" link sits at the bottom of its card, so the links line up whatever wraps above them */
.demo-card { display: grid; }
.demo-card a { grid-template-rows: auto 1fr; height: 100%; }
.demo-cap { grid-template-rows: auto auto auto 1fr auto; align-content: start; }
.demo-cap .demo-open { align-self: end; margin-top: 10px; }
/* newsletter sign-up (footer): hairline field, gold button, no box */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sub { display: grid; gap: 14px 40px; margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 0.5px solid var(--hair-2); }
.sub-line { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 46ch; margin-top: 6px; }
.sub-row { display: flex; gap: 14px; align-items: flex-end; min-width: 0; }
.sub-row input[type='email'] { flex: 1 1 auto; min-width: 0; font: 400 20px var(--display); color: var(--text); background: none; border: 0; border-bottom: 0.5px solid var(--hair); border-radius: 0; padding: 10px 0 12px; outline: 0; }
.sub-row input[type='email']:focus { border-color: var(--gold); }
.sub-row input[type='email']::placeholder { color: #7b7f90; }
.sub-row button { flex: none; min-height: 44px; font: 500 14px var(--sans); letter-spacing: .04em; color: var(--gold); background: none; border: 0; border-bottom: 0.5px solid var(--gold); padding: 8px 2px; cursor: pointer; }
.sub-row button:hover { text-underline-offset: .5em; border-bottom-width: 1px; }
.sub-row button:disabled { opacity: .5; cursor: default; }
.sub-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sub-msg { min-height: 1.4em; font-size: 14px; color: var(--gold); margin: 0; }
.sub-msg.err { color: #d99a8c; }
@media (min-width: 860px) { .sub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } .sub-msg { grid-column: 2; } }
@media (max-width: 400px) { .sub-row { flex-wrap: wrap; } .sub-row input[type='email'] { flex-basis: 100%; } }
/* very narrow phones: a long headline word hyphenates instead of running off the screen */
@media (max-width: 380px) { .h1 { hyphens: auto; overflow-wrap: break-word; } }
/* the touch-target rule above also matched the inner pages' "try it" link and brought it back on phones, wrapped on three lines */
@media (max-width: 900px) { .top a.try-link { display: none; } }

/* guides: lists and price tables, hairlines only */
.guide ul, .guide ol { color: var(--muted); font-size: 17px; line-height: 1.75; padding-left: 22px; margin: 14px 0; }
.guide ul { list-style: disc; }
.guide ol { list-style: decimal; }
.guide li { margin-bottom: 10px; }
.guide strong { color: var(--text); font-weight: 500; }
.guide h3 { font: 400 21px/1.3 var(--display); color: var(--text); margin: 30px 0 6px; }
.guide h3 + p { margin-top: 0; }
.g-table { overflow-x: auto; margin: 22px 0; }
.g-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: 13px 14px 13px 0; border-bottom: 1px solid rgba(239, 233, 220, .16); font-weight: 400; }
.g-table thead th { font-size: 12px; color: var(--gold); }
.g-table tbody th { color: var(--text); }
.g-table td { color: var(--muted); }
@media (max-width: 640px) {
  .g-table table { min-width: 0; }
  .g-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .g-table table, .g-table tbody, .g-table tr, .g-table th, .g-table td { display: block; }
  .g-table tr { border-bottom: 1px solid rgba(239, 233, 220, .16); padding: 14px 0; }
  .g-table th, .g-table td { border: 0; padding: 3px 0; }
  .g-table tbody th { margin-bottom: 6px; }
  .g-table td { display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .g-table td::before { content: attr(data-label); text-align: left; font-size: 13px; }
}
