/* ============================================================
   crenley.com — one stylesheet. Navy and gold from the Crenley mark,
   Cormorant Garamond for display, Inter for reading, all served from this origin.
   ============================================================ */

@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/mono-500.woff2") format("woff2"); }

:root {
  --navy-950: #061323;
  --navy-900: #0A1A31;
  --navy-850: #0D2140;
  --navy-800: #102A52;
  --navy-700: #14336B;
  --gold-200: #F0DDB3;
  --gold-300: #E2C48A;
  --gold-400: #D4AE6C;
  --gold-500: #B8914E;
  --gold-700: #8F6B2E;
  --ivory: #F7F3EA;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --ink: #0B1830;
  --ink-2: #33405A;
  --muted: #5E6A80;
  --line: #E7E2D6;
  --line-dark: rgba(226, 196, 138, .16);
  --on-dark: #F3EEE3;
  --on-dark-2: rgba(243, 238, 227, .72);
  --danger: #B4413A;
  --ok: #1E7F5C;

  --serif: "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-phone: 0 40px 80px -30px rgba(3, 10, 22, .65), 0 18px 36px -18px rgba(3, 10, 22, .5);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }   /* nothing that animates in from the side or glows behind a phone widens the page */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-300); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-300); color: var(--navy-950); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--gold-700); }
.display {
  font: 600 clamp(44px, 6.4vw, 84px)/1.02 var(--serif);
  letter-spacing: -.01em; color: var(--white); margin-top: 22px;
}
.display__line { display: inline-block; }
.title { font: 600 clamp(32px, 4vw, 50px)/1.08 var(--serif); letter-spacing: -.005em; color: var(--ink); margin-top: 14px; }
.title--light { color: var(--white); }
.sub { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
.sub--light { color: var(--on-dark-2); }
.lead { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--on-dark-2); max-width: 34em; }
.swash { width: min(320px, 70%); height: 18px; margin-top: 10px; overflow: visible; }
.swash path { fill: none; stroke: var(--gold-300); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.6s var(--ease) .7s forwards; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy-800); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(3px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn--gold {
  --bg: linear-gradient(180deg, #EBD3A3 0%, var(--gold-300) 45%, var(--gold-400) 100%); --fg: var(--navy-950);
  box-shadow: 0 10px 30px -12px rgba(226, 196, 138, .65), inset 0 1px 0 rgba(255, 255, 255, .5);
  position: relative; overflow: hidden;
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 36px -12px rgba(226, 196, 138, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { --bg: rgba(255, 255, 255, .04); --fg: var(--on-dark); border-color: rgba(243, 238, 227, .28); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-200); }
.btn--navy { --bg: var(--navy-800); box-shadow: 0 12px 30px -14px rgba(16, 42, 82, .7); }
.btn--navy:hover { --bg: var(--navy-700); }
.btn--outline { --bg: transparent; --fg: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold-500); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--navy-800); border-bottom: 1px solid transparent; transition: border-color .2s, gap .25s var(--ease); }
.link:hover { border-color: var(--gold-500); gap: 12px; }
.link .i { width: 18px; height: 18px; color: var(--gold-500); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 16px;
  border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.store__mark { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; font: 600 20px/1.05 var(--sans); letter-spacing: -.01em; }
.store small { font: 500 11px/1.3 var(--sans); letter-spacing: .02em; opacity: .85; }
.store:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .8); }
.link--light { color: var(--gold-200); margin-top: 44px; }
.link--light:hover { border-color: var(--gold-300); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
body:not(.has-hero) .nav, .nav.is-scrolled { background: rgba(6, 19, 35, .94); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__bar { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .35s var(--ease); }
.nav.is-scrolled .nav__bar { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 46px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__word { font: 600 30px/1 var(--serif); letter-spacing: .01em; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 16px; font: 500 15px/1 var(--sans); color: var(--on-dark); opacity: .88; transition: opacity .2s, color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 1px; background: var(--gold-300); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; color: var(--gold-200); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(243, 238, 227, .22); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav__sheet { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(860px, 100svh); padding: 128px 0 32px; color: var(--on-dark); background: var(--navy-950); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; }
.hero__sky { position: absolute; inset: 0; z-index: -1; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("/img/hero/london.jpg") 100% 50% / cover no-repeat;
  transform-origin: 72% 55%; animation: bgzoom 30s ease-in-out infinite alternate;
}
.hero__sky::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 35, .9) 0%, rgba(6, 19, 35, .72) 30%, rgba(6, 19, 35, .18) 58%, rgba(6, 19, 35, 0) 75%),
    linear-gradient(180deg, rgba(6, 19, 35, .55) 0%, rgba(6, 19, 35, 0) 22%, rgba(6, 19, 35, 0) 72%, rgba(6, 19, 35, .9) 100%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; opacity: .5;
  background:
    radial-gradient(60% 45% at 78% 72%, rgba(232, 155, 90, .32) 0%, rgba(232, 155, 90, 0) 70%),
    radial-gradient(40% 30% at 60% 85%, rgba(226, 196, 138, .22) 0%, rgba(226, 196, 138, 0) 70%);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero__trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: .55; }
.hero__trail path { fill: none; stroke-linecap: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.trail-a { stroke-width: 1.6; animation: draw 3.2s var(--ease) .6s forwards; }
.trail-b { stroke-width: 1; opacity: .5; animation: draw 3.6s var(--ease) .9s forwards; }

.hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 640px); align-items: center; flex: 1; }
.hero__copy .lead { text-shadow: 0 1px 18px rgba(6, 19, 35, .6); }
.display { text-shadow: 0 2px 30px rgba(6, 19, 35, .45); }

.showcase { padding: clamp(80px, 9vw, 130px) 0; background: radial-gradient(70% 80% at 80% 50%, rgba(20, 51, 107, .6) 0%, rgba(6, 19, 35, 0) 65%), var(--navy-950); color: var(--on-dark); overflow: hidden; }
.showcase__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ticks--light li { color: var(--on-dark); }
.ticks--light .i { background: rgba(226, 196, 138, .16); color: var(--gold-300); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: var(--on-dark); }
.hero__notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__notes .i { color: var(--gold-300); width: 18px; height: 18px; }

.hero__devices { position: relative; height: 600px; }
.phone {
  position: relative; width: 300px; padding: 9px; border-radius: 50px;
  background: linear-gradient(145deg, #2A2F3A 0%, #0D1016 45%, #20242D 100%);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: auto; border-radius: 42px; }
.screens { position: relative; border-radius: 42px; overflow: hidden; }
.screens img { animation: screen 16s ease-in-out infinite; opacity: 0; }
.screens img + img { position: absolute; inset: 0; }
.screens img:nth-child(1) { animation-delay: -.6s; }
.screens img:nth-child(2) { animation-delay: 3.4s; }
.screens img:nth-child(3) { animation-delay: 7.4s; }
.screens img:nth-child(4) { animation-delay: 11.4s; }
.phone::after { content: ""; position: absolute; inset: 9px; border-radius: 42px; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%); }
.hero__devices .phone--front { position: absolute; right: 6%; top: 0; z-index: 2; }
.hero__devices .phone--back { position: absolute; right: 44%; top: 70px; width: 260px; z-index: 1; opacity: .9; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: rgba(10, 26, 49, .72); border: 1px solid rgba(226, 196, 138, .25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--on-dark);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.chip .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(226, 196, 138, .14); color: var(--gold-300); }
.chip b { display: block; font: 600 14px/1.25 var(--sans); }
.chip small { display: block; font: 500 12px/1.3 var(--mono); color: var(--on-dark-2); }
.chip--a { left: 2%; bottom: 120px; }
.chip--b { right: 0; bottom: 30px; }

.strip {
  position: relative; z-index: 3; margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: 20px; background: rgba(10, 26, 49, .62); border: 1px solid var(--line-dark);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.strip li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; font: 500 15px/1.3 var(--sans); color: var(--on-dark); text-align: center; position: relative; transition: color .3s; }
.strip li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-dark); }
.strip .i { width: 34px; height: 34px; color: var(--on-dark); transition: transform .4s var(--ease), color .3s; }
.strip li:hover { color: var(--gold-200); }
.strip li:hover .i { transform: translateY(-4px); color: var(--gold-300); }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.head { max-width: 760px; }
.head--center { margin: 0 auto; text-align: center; }
.head--center .sub { margin-left: auto; margin-right: auto; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 64px; position: relative; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 62px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.flow.is-in::before { transform: scaleX(1); }
.flow li { position: relative; padding: 26px 22px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.flow li:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(11, 24, 48, .35); border-color: rgba(184, 145, 78, .5); }
.flow__n { font: 500 12px/1 var(--mono); color: var(--gold-700); letter-spacing: .08em; }
.flow .i { display: block; width: 44px; height: 44px; margin: 18px 0 18px; padding: 10px; border-radius: 12px; background: var(--navy-900); color: var(--gold-300); position: relative; z-index: 1; }
.flow h3 { font: 600 24px/1.15 var(--serif); }
.flow p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.feature { padding: clamp(70px, 8vw, 120px) 0; overflow: hidden; }
.feature--alt { background: var(--ivory); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature__grid--flip .feature__copy { order: 2; }
.feature__media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.feature__media--pair { gap: 22px; }
.feature__media .phone { width: 300px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.feature__media .phone--sm { width: 250px; }
.feature__media--pair .phone--sm:last-child { margin-top: 90px; }
.feature__media .phone:hover { transform: translateY(-8px); box-shadow: 0 60px 90px -36px rgba(3, 10, 22, .55), 0 22px 40px -20px rgba(3, 10, 22, .45); }
.halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 51, 107, .2) 0%, rgba(20, 51, 107, 0) 65%); animation: pulse 7s ease-in-out infinite; }
.halo--gold { background: radial-gradient(circle, rgba(212, 174, 108, .3) 0%, rgba(212, 174, 108, 0) 65%); }

.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .i { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: rgba(184, 145, 78, .14); color: var(--gold-700); }

.stats { display: flex; flex-wrap: wrap; gap: 26px 44px; margin-top: 34px; }
.stat b { display: block; font: 600 40px/1 var(--serif); color: var(--navy-800); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.trust { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(80% 60% at 85% 0%, rgba(20, 51, 107, .55) 0%, rgba(6, 19, 35, 0) 60%), var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 360px; background: url("/img/mark-gold.png") center / contain no-repeat; opacity: .04; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card { padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .015) 100%); border: 1px solid var(--line-dark); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(226, 196, 138, .45); background: linear-gradient(180deg, rgba(226, 196, 138, .08) 0%, rgba(255, 255, 255, .02) 100%); }
.card .i { width: 30px; height: 30px; color: var(--gold-300); }
.card h3 { margin-top: 20px; font: 600 24px/1.2 var(--serif); color: var(--white); }
.card p { margin-top: 10px; color: var(--on-dark-2); font-size: 15px; line-height: 1.6; }

.price-teaser { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: linear-gradient(135deg, var(--white) 0%, var(--ivory) 100%); border: 1px solid var(--line); box-shadow: 0 40px 80px -60px rgba(11, 24, 48, .4); }
.price-teaser__cta { display: flex; flex-direction: column; align-items: flex-start; flex: none; }
.price-teaser__cta .link { margin-top: 18px; }

.band { position: relative; padding: clamp(90px, 11vw, 150px) 0; color: var(--on-dark); text-align: center; overflow: hidden; background: var(--navy-950); isolation: isolate; }
.band__sky { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(70% 90% at 50% 120%, rgba(232, 155, 90, .35) 0%, rgba(232, 155, 90, 0) 60%),
    radial-gradient(50% 60% at 50% 110%, rgba(226, 196, 138, .3) 0%, rgba(226, 196, 138, 0) 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-850) 100%); }
.band__inner { display: flex; flex-direction: column; align-items: center; }
.band__mark { width: 92px; height: auto; animation: hover 6s ease-in-out infinite; }
.band .title { margin-top: 26px; max-width: 18em; }
.band .sub { margin-left: auto; margin-right: auto; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ---------- inner pages ---------- */
.pagehead { position: relative; padding: 170px 0 90px; color: var(--on-dark); background: var(--navy-950); overflow: hidden; isolation: isolate; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(55% 80% at 90% 100%, rgba(232, 155, 90, .22) 0%, rgba(232, 155, 90, 0) 65%),
    radial-gradient(60% 90% at 10% 0%, rgba(20, 51, 107, .7) 0%, rgba(20, 51, 107, 0) 70%); }
.pagehead svg.pagehead__trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.pagehead__trail path { fill: none; stroke: url(#trail-sm); stroke-width: 1.4; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 3s var(--ease) .3s forwards; }
.pagehead h1 { font: 600 clamp(40px, 5.4vw, 68px)/1.05 var(--serif); color: var(--white); margin-top: 18px; max-width: 16em; }
.pagehead .lead { margin-top: 20px; }

.prose { max-width: 760px; }
.prose h2 { font: 600 30px/1.2 var(--serif); margin: 48px 0 12px; color: var(--ink); }
.prose h3 { font: 600 17px/1.4 var(--sans); margin: 28px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.prose a { color: var(--navy-700); border-bottom: 1px solid rgba(184, 145, 78, .5); }
.prose .meta { font-size: 14px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--ivory); }

.layout-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.layout-side--aside { grid-template-columns: minmax(0, 1fr) 340px; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14px; }
.toc a { padding: 8px 12px; border-radius: 10px; color: var(--muted); transition: background .2s, color .2s; }
.toc a:hover { background: var(--ivory); color: var(--ink); }

/* feature groups */
.groups { display: grid; gap: clamp(80px, 9vw, 120px); }
.group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; scroll-margin-top: 100px; }
.group:nth-child(even) .group__copy { order: 2; }
.group__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 34px; }
.group__list li h4 { display: flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--sans); color: var(--ink); }
.group__list li h4 .i { color: var(--gold-700); width: 20px; height: 20px; }
.group__list li p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* pricing */
.plan-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: stretch; margin-top: -60px; position: relative; z-index: 2; }
.plan { padding: clamp(32px, 4vw, 52px); border-radius: 28px; background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%); color: var(--on-dark); border: 1px solid var(--line-dark); box-shadow: 0 50px 100px -50px rgba(6, 19, 35, .8); position: relative; overflow: hidden; }
.plan::after { content: ""; position: absolute; right: -60px; top: -40px; width: 300px; height: 210px; background: url("/img/mark-gold.png") center / contain no-repeat; opacity: .07; }
.plan__tag { display: inline-block; padding: 7px 12px; border-radius: 999px; background: rgba(226, 196, 138, .14); color: var(--gold-200); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.plan h2 { margin-top: 22px; font: 600 46px/1.05 var(--serif); color: var(--white); }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan__price b { font: 600 22px/1.2 var(--sans); color: var(--gold-300); }
.plan__price span { color: var(--on-dark-2); }
.plan .ticks li { color: var(--on-dark); }
.plan .ticks .i { background: rgba(226, 196, 138, .16); color: var(--gold-300); }
.plan .btn { margin-top: 36px; }
.plan-side { display: grid; gap: 20px; }
.note { padding: 28px 30px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.note .i { width: 28px; height: 28px; color: var(--gold-700); }
.note h3 { margin-top: 14px; font: 600 24px/1.2 var(--serif); }
.note p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(184, 145, 78, .55); box-shadow: 0 20px 40px -32px rgba(11, 24, 48, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font: 600 17px/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--gold-700), var(--gold-700)) center / 14px 1.6px no-repeat,
  linear-gradient(var(--gold-700), var(--gold-700)) center / 1.6px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .faq__a p + p { margin-top: 10px; }
.faq h3.faq__group { font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); margin: 34px 0 6px; }
.faq h3.faq__group:first-child { margin-top: 0; }

.contact { display: grid; gap: 18px; position: sticky; top: 110px; }
.contact .note a { color: var(--navy-700); font-weight: 600; overflow-wrap: anywhere; }

/* contact form */
.contact-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; scroll-margin-top: 90px; }
#contact { scroll-margin-top: 70px; }
.form-card { padding: clamp(22px, 4vw, 44px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 50px 100px -60px rgba(11, 24, 48, .45); min-width: 0; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 14px/1.3 var(--sans); color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font: 400 16px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--gold-700) 50%), linear-gradient(135deg, var(--gold-700) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background-color: var(--white); box-shadow: 0 0 0 4px rgba(212, 174, 108, .2); }
.field .err { font-size: 13px; color: var(--danger); }
.input-validation-error { border-color: var(--danger) !important; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-top: 26px; }
.form-actions small { color: var(--muted); font-size: 13.5px; }
.form-actions small a { color: var(--navy-700); border-bottom: 1px solid rgba(184, 145, 78, .5); }
.form-alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: #fbebeb; color: #7a2520; font-size: 14.5px; }
.form-alert a { font-weight: 600; text-decoration: underline; }
.done { text-align: center; padding: 26px 6px; }
.done__icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(30, 127, 92, .1); color: var(--ok); animation: pop .7s var(--ease) both; }
.done__icon .i { width: 36px; height: 36px; }
.done h2 { margin-top: 20px; font: 600 36px/1.1 var(--serif); }
.done p { margin: 10px auto 0; color: var(--muted); max-width: 30em; }

/* company */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 10 / 8; box-shadow: 0 50px 90px -50px rgba(6, 19, 35, .7); }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.photo.is-in img { transform: scale(1); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 19, 35, 0) 50%, rgba(6, 19, 35, .55) 100%); }
.photo figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: var(--white); font: 500 italic 22px/1.2 var(--serif); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.principle { padding: 32px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.principle:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(11, 24, 48, .4); }
.principle span { font: 500 12px/1 var(--mono); color: var(--gold-700); }
.principle h3 { margin-top: 14px; font: 600 28px/1.15 var(--serif); }
.principle p { margin-top: 10px; color: var(--muted); }
.not-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.not-list li { padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(184, 145, 78, .45); color: var(--ink-2); font-size: 15px; }

/* forms */

/* security: the path a flight takes */
.vault { display: grid; grid-template-columns: 1fr 130px 1fr 130px 1fr; align-items: center; margin-top: 56px; padding: 34px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); }
.vault__node { text-align: center; padding: 6px 8px; }
.vault__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(160deg, rgba(226, 196, 138, .22), rgba(226, 196, 138, .06)); border: 1px solid rgba(226, 196, 138, .35); color: var(--gold-200); box-shadow: 0 0 0 8px rgba(226, 196, 138, .04); }
.vault__icon .i { width: 30px; height: 30px; }
.vault__node h3 { margin-top: 16px; font: 600 24px/1.2 var(--serif); color: var(--white); }
.vault__node p { margin-top: 8px; font-size: 14.5px; color: var(--on-dark-2); line-height: 1.55; }
.vault__link { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(226, 196, 138, .55) 0 6px, transparent 6px 12px); }
.vault__link small { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--gold-300); padding: 5px 8px; border-radius: 6px; background: rgba(226, 196, 138, .1); }
.vault__pulse { position: absolute; top: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 14px 3px rgba(226, 196, 138, .7); animation: travel 2.8s ease-in-out infinite; }
.trust .cards { margin-top: 28px; }

.download { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.download .feature__media { margin-top: 40px; }
.download__card { padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 50px 100px -60px rgba(11, 24, 48, .45); margin-top: -60px; position: relative; z-index: 2; }
.download__small { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--navy-950); color: var(--on-dark-2); padding: 80px 0 34px; border-top: 1px solid var(--line-dark); }
.foot__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 60px; }
.foot__tag { margin-top: 18px; font: 500 italic 22px/1.3 var(--serif); color: var(--gold-200); }
.foot__small { margin-top: 10px; font-size: 14.5px; max-width: 30em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot__cols h4 { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.foot__cols a { display: block; padding: 6px 0; font-size: 15px; transition: color .2s, transform .25s var(--ease); }
.foot__cols a:hover { color: var(--white); transform: translateX(3px); }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }

/* ---------- motion ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes bgzoom { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes screen { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 29%, 100% { opacity: 0; } }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes enter-phone { from { opacity: 0; transform: translate3d(60px, 40px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

.rise { animation: rise 1s var(--ease) var(--d, 0s) both; }
.float { animation: enter-phone 1.2s var(--ease) .4s both, float var(--f, 6s) ease-in-out calc(1.6s + var(--fd, 0s)) infinite; }
.chip.float { animation: rise 1s var(--ease) 1.1s both, float var(--f, 6s) ease-in-out calc(2.1s + var(--fd, 0s)) infinite; }

.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal--left { transform: translate3d(-48px, 0, 0); }
.js .reveal--right { transform: translate3d(48px, 0, 0); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__trail path, .swash path, .pagehead__trail path { stroke-dashoffset: 0; }
  .screens img:first-child { opacity: 1; animation: none; }
  .screens img + img { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 10px 11px; }
  .hero__devices .phone--back { right: 40%; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow::before { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__sheet { display: grid; gap: 4px; padding: 0 var(--gutter); max-height: 0; overflow: hidden; background: rgba(6, 19, 35, .97); transition: max-height .45s var(--ease), padding .45s var(--ease); }
  .nav__sheet a { padding: 14px 4px; font-size: 18px; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
  .nav__sheet .btn { margin: 14px 0 4px; border: 0; justify-content: center; color: var(--navy-950); font-size: 16px; }
  .nav.is-open { background: rgba(6, 19, 35, .97); }
  .nav.is-open .nav__sheet { max-height: 420px; padding-bottom: 22px; }
  .hero { padding-top: 120px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__devices { height: 560px; max-width: 480px; width: 100%; margin: 20px auto 0; }
  .hero__devices .phone--front { right: 8%; width: 260px; }
  .hero__devices .phone--back { right: auto; left: 4%; width: 220px; }
  .chip--a { left: 0; bottom: 70px; }
  .chip--b { right: 0; bottom: 0; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(4)::before { display: none; }
  .strip li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .feature__grid, .group, .split, .plan-wrap, .layout-side, .layout-side--aside, .contact-form, .foot__top { grid-template-columns: minmax(0, 1fr); }
  .feature__grid--flip .feature__copy, .group:nth-child(even) .group__copy { order: 0; }
  .feature__media { min-height: 0; }
  .js .reveal--left, .js .reveal--right { transform: translate3d(0, 34px, 0); }
  .halo { max-width: 100%; }
  .price-teaser { flex-direction: column; align-items: flex-start; }
  .toc { display: none; }
  .contact { position: static; }
  .not-list { grid-template-columns: 1fr 1fr; }
  .download { grid-template-columns: 1fr; }
  .vault { grid-template-columns: 1fr; gap: 0; padding: 26px 20px; }
  .vault__link { width: 2px; height: 64px; margin: 8px auto; background: repeating-linear-gradient(180deg, rgba(226, 196, 138, .55) 0 6px, transparent 6px 12px); }
  .vault__link small { left: 18px; top: 50%; transform: translateY(-50%); }
  .vault__pulse { left: -4px !important; margin-left: 0; animation-name: travel-v; }
  .hero__bg { background-image: url("/img/hero/london-m.jpg"); background-position: 55% 50%; }
  .hero__sky::after { background: linear-gradient(180deg, rgba(6, 19, 35, .78) 0%, rgba(6, 19, 35, .62) 45%, rgba(6, 19, 35, .5) 70%, rgba(6, 19, 35, .92) 100%); }
  .showcase__grid { grid-template-columns: 1fr; }
}
@keyframes travel-v { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__word { font-size: 26px; }
  .brand img { width: 40px; }
  .nav__bar { height: 70px; }
  .hero__devices { height: 470px; }
  .hero__devices .phone--front { width: 220px; right: 4%; border-radius: 40px; padding: 7px; }
  .hero__devices .phone--back { width: 190px; left: 0; top: 50px; border-radius: 36px; padding: 7px; }
  .phone img, .phone::after { border-radius: 33px; }
  .phone::after { inset: 7px; }
  .chip { padding: 9px 12px 9px 9px; }
  .chip .i { width: 28px; height: 28px; padding: 6px; }
  .chip b { font-size: 12.5px; }
  .chip small { font-size: 11px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .strip li:nth-child(odd)::before { display: none; }
  .strip li:nth-child(4)::before { display: block; }
  .strip li:last-child { grid-column: 1 / -1; }
  .strip li:last-child::before { display: none; }
  .flow { grid-template-columns: 1fr; }
  .cards, .principles, .group__list, .form-grid, .not-list { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .faq summary { padding: 18px 18px; font-size: 16px; }
  .faq .faq__a { padding: 0 18px 20px; }
  .prose table { display: block; overflow-x: auto; }
  .feature__media .phone { width: 250px; }
  .feature__media--pair .phone--sm { width: 46%; border-radius: 30px; padding: 6px; }
  .feature__media--pair .phone--sm img, .feature__media--pair .phone--sm::after { border-radius: 25px; }
  .feature__media--pair .phone--sm::after { inset: 6px; }
  .feature__media--pair { gap: 12px; }
  .feature__media--pair .phone--sm:last-child { margin-top: 50px; }
  .halo { width: 320px; height: 320px; }
  .stats { gap: 20px 28px; }
  .stat b { font-size: 30px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .pagehead { padding: 130px 0 80px; }
  .btn--lg { height: 52px; padding: 0 22px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .store { height: 52px; padding: 0 16px 0 12px; }
  .store span { font-size: 17px; }
  .store__mark { width: 24px; height: 24px; }
  .screens { border-radius: 33px; }
}
