:root {
  --bg: #F5F3EF;
  --surface: #ECE8E1;
  --ink: #16130F;
  --body: #2B2721;
  --mute: #6B655C;
  --line: #DDD8CF;
  --orange: #F26A1B;
  --white: #FFFFFF;
  --r: 14px;
  --wide: 1180px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245, 243, 239, 0.82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.on { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.brand b { color: var(--orange); font-weight: 700; }
.top nav { display: flex; gap: 28px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--mute); transition: color 0.15s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mute); letter-spacing: 0.01em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, h3 { margin: 0; font-weight: 620; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 { font-size: clamp(52px, 8.4vw, 124px); letter-spacing: -0.05em; line-height: 0.94; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--mute); max-width: 30ch; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: var(--r); background: var(--ink); color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none; }
.pill svg { width: 18px; height: 18px; fill: currentColor; margin-top: -3px; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero .copy { display: grid; gap: 28px; justify-items: start; }
.phones { position: relative; height: 640px; }
.phone { position: absolute; width: 290px; border-radius: 46px; padding: 9px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(22, 19, 15, 0.45), 0 12px 24px -12px rgba(22, 19, 15, 0.25); }
.phone img { border-radius: 38px; width: 100%; }
.phones .phone:nth-child(1) { right: 150px; top: 46px; transform: rotate(-5deg); }
.phones .phone:nth-child(2) { right: -20px; top: 0; transform: rotate(4deg); }

/* Photo band */
.band { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink); color: var(--white); min-height: 520px; display: flex; align-items: flex-end; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0.86; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 19, 15, 0) 35%, rgba(22, 19, 15, 0.78) 100%); }
.band .in { position: relative; z-index: 1; padding: 48px; display: grid; gap: 14px; }
.band h2 { font-size: clamp(28px, 5vw, 68px); }
.band p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 19px; max-width: 34ch; }

section { padding: 56px 0; }
.head { display: grid; gap: 16px; margin-bottom: 44px; }
.head h2 { font-size: clamp(36px, 5.2vw, 72px); }

/* Three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border-radius: 28px; padding: 32px 32px 0; display: grid; gap: 10px; overflow: hidden; }
.step h3 { font-size: 28px; }
.step p { margin: 0 0 22px; color: var(--mute); font-size: 16px; line-height: 1.45; min-height: 2.9em; }
.crop { height: 380px; overflow: hidden; border-radius: 34px 34px 0 0; background: var(--ink); padding: 8px 8px 0; margin: 0 auto; width: min(100%, 270px); box-shadow: 0 -10px 40px -20px rgba(22, 19, 15, 0.35); }
.crop img { border-radius: 27px 27px 0 0; width: 100%; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { border-radius: 28px; background: var(--surface); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: end; min-height: 440px; }
.card .txt { padding: 36px; align-self: start; display: grid; gap: 12px; }
.card h3 { font-size: clamp(26px, 2.6vw, 36px); }
.card p { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.45; }
.card .crop { height: 400px; margin: 40px 28px 0 0; justify-self: end; }
.card.w7 { grid-column: span 7; }
.card.w5 { grid-column: span 5; grid-template-columns: 1fr; }
.card.w5 .crop { height: 300px; margin: 0 auto; justify-self: center; }
.card.dark { background: var(--ink); color: var(--white); }
.card.dark p { color: rgba(255, 255, 255, 0.66); }
.card.dark .crop { background: #2A2621; }
.card.photo { position: relative; grid-template-columns: 1fr; color: var(--white); background: var(--ink); }
.card.photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.card.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 19, 15, 0.1) 30%, rgba(22, 19, 15, 0.82) 100%); }
.card.photo .txt { position: relative; z-index: 1; align-self: end; }
.card.photo p { color: rgba(255, 255, 255, 0.78); }
.card.photo a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }

/* Closing */
.close { text-align: center; padding: 96px 0 104px; }
.close .wrap { display: grid; gap: 30px; justify-items: center; }
.close h2 { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -0.045em; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--mute); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Fade in as the page scrolls. Timed, no bounce. */
.rise { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rise.in { opacity: 1; transform: none; }

/* Privacy, terms, support */
.doc { padding: 72px 0 96px; }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 680px); gap: 72px; justify-content: center; }
.doc header { grid-column: 1 / -1; display: grid; gap: 16px; padding-bottom: 44px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -0.045em; }
.doc .date { margin: 0; color: var(--mute); font-size: 16px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; font-size: 15px; padding-top: 34px; }
.toc a { text-decoration: none; color: var(--mute); padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color 0.15s, border-color 0.15s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--orange); font-weight: 600; }
.prose { padding-top: 34px; color: var(--body); }
.prose > p:first-child { font-size: 20px; line-height: 1.5; color: var(--ink); margin-top: 0; }
.prose h2 { font-size: 26px; letter-spacing: -0.025em; line-height: 1.15; margin: 52px 0 14px; scroll-margin-top: 96px; }
.prose p { margin: 0 0 16px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 16px; border-radius: var(--r); background: var(--surface); }
.prose li { padding: 15px 20px; border-bottom: 1px solid var(--bg); }
.prose li:last-child { border-bottom: 0; }
.prose b { color: var(--ink); font-weight: 620; }
.prose a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mail { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: var(--r); background: var(--ink); color: var(--white) !important; font-weight: 600; text-decoration: none !important; }

@media (max-width: 960px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 520px; margin: 0 auto; width: 100%; max-width: 420px; }
  .phone { width: 236px; border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 32px; }
  .phones .phone:nth-child(1) { right: auto; left: 0; top: 40px; }
  .phones .phone:nth-child(2) { right: 0; }
  .steps { grid-template-columns: 1fr; }
  .step p { min-height: 0; }
  .card.w7, .card.w5 { grid-column: 1 / -1; }
  .card { grid-template-columns: 1fr; min-height: 0; }
  .card .crop, .card.w5 .crop { height: 320px; margin: 0 auto; justify-self: center; }
  .card.photo { min-height: 420px; }
  .band { min-height: 440px; }
  .band .in { padding: 30px; }
  .doc .wrap { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .top nav { gap: 18px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .top nav a.opt { display: none; }
  section { padding: 40px 0; }
  .card .txt, .step { padding-left: 26px; padding-right: 26px; }
  .card .txt { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
