@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-wght.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* Brand colors from the Solairin logo guide. Gold is for text only on navy; use bronze for gold-toned text on light. */
:root {
  --ink: #16233f;
  --ink-soft: #4a5672;
  --gold: #c9973f;
  --gold-hover: #d4a556;
  --bronze: #8a6420;
  --ivory: #fbf7f0;
  --paper: #ffffff;
  --line: #e6ddcd;
  --navy-2: #1f2e50;
  --navy-3: #0f1a31;
  --on-dark-soft: #c5cddd;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .link-arrow svg, .feature-more svg { transition: transform 0.15s; }
  .link-arrow:hover svg, .feature:hover .feature-more svg { transform: translateX(3px); }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  color: var(--bronze);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.serif-title { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
.line-icon { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 13px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 0.94rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.link-arrow:hover { text-decoration-thickness: 2px; }
.link-arrow svg, .feature-more svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.text-link { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.9);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { display: block; width: auto; height: 41px; }
.site-nav { margin-left: auto; }
.nav-links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-links a { padding-block: 6px; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current], .nav-links a.is-section { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }

.menu-btn {
  display: none; align-items: center; gap: 8px; flex: none;
  min-height: 42px; padding: 9px 16px 9px 14px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 600 0.94rem/1.2 var(--font-text); cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-btn .menu-close-icon, .menu-btn[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-btn[aria-expanded="true"] .menu-close-icon { display: inline; }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding-block: 8px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  box-shadow: 0 24px 40px -24px rgba(22, 35, 63, 0.35);
}
.mobile-menu[hidden] { display: none; }
.mobile-links { margin: 0 auto; list-style: none; }
.mobile-links a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.85rem; line-height: 1.15; text-decoration: none;
}
.mobile-links a[aria-current], .mobile-links a.is-section { color: var(--bronze); }
.mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
.mobile-call { justify-self: start; padding-block: 6px; font-weight: 600; text-underline-offset: 4px; }
/* Dims the page under the open phone menu. A tap on it closes the menu (site.js). */
.menu-is-open body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(15, 26, 49, 0.4); }
.menu-is-open .site-header { background: var(--ivory); }

/* Home hero */
.hero, .page-hero {
  position: relative; overflow: hidden;
  background: var(--ivory);
}
.hero { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 112px); }
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; right: -360px; top: -600px;
  width: 1100px; height: 1100px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 151, 63, 0.2), rgba(201, 151, 63, 0));
  pointer-events: none;
}
.hero-grid, .page-hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.page-hero-text { position: relative; }
.hero h1 { max-width: 13ch; font-size: clamp(2.9rem, 1.4rem + 5vw, 5.4rem); line-height: 0.98; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 1.4rem + 4.2vw, 4.7rem); line-height: 1; }
.hero h1 em, .page-hero h1 em { color: var(--bronze); }
.lead { max-width: 52ch; margin-top: 28px; color: var(--ink-soft); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; }
.lead a { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.fine { max-width: 50ch; margin-top: 18px; color: var(--ink-soft); font-size: 0.94rem; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap;
  margin: 0 0 24px; padding: 0; list-style: none;
  color: var(--ink-soft); font-size: 0.92rem;
}
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-inline: 10px; color: var(--bronze); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* Hero illustrations: a phone in the arch-and-sun frame, with a card floating beside it */
.hero-art {
  position: relative; justify-self: center;
  display: flex; justify-content: center;
  width: 100%; max-width: 400px; padding: 48px 0 76px;
}
.hero-art::before {
  content: ""; position: absolute; inset: 0 0 0 0;
  border: 1.5px solid rgba(201, 151, 63, 0.7);
  border-radius: 200px 200px 0 0;
}
.hero-art::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 64%; aspect-ratio: 2 / 1; transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(201, 151, 63, 0.75), rgba(201, 151, 63, 0.45));
}
.phone {
  position: relative; z-index: 1; width: 272px; padding: 10px;
  border-radius: 46px; background: var(--ink);
  box-shadow: inset 0 0 0 1.5px #33456e, 0 50px 80px -40px rgba(22, 35, 63, 0.6);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; z-index: 2;
  width: 82px; height: 22px; border-radius: 12px; transform: translateX(-50%);
  background: var(--ink);
}
.phone-screen {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 512px; padding: 14px 16px 18px;
  border-radius: 36px; background: var(--paper);
}
.phone-bar { display: flex; justify-content: space-between; padding: 0 8px 10px; font-size: 0.72rem; font-weight: 600; }
.mock-url { padding: 5px 10px; border-radius: 999px; background: #f4f1eb; color: #5b6478; font-size: 0.7rem; text-align: center; }
.mock-title { margin-top: 6px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; }
.mock-field { display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border: 1px solid #e9e3d8; border-radius: 12px; }
.mock-label { color: #5b6478; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-value { font-size: 0.86rem; line-height: 1.35; }
.mock-photos { display: flex; gap: 8px; }
.mock-photos i { display: block; width: 54px; height: 54px; border-radius: 9px; }
.mock-photos i:nth-child(1) { background: radial-gradient(ellipse 45% 35% at 32% 62%, rgba(74, 92, 112, 0.55), transparent 70%), linear-gradient(180deg, #d9d1c3 0 58%, #b3a690 58%); }
.mock-photos i:nth-child(2) { background: radial-gradient(ellipse 55% 22% at 55% 82%, rgba(88, 128, 166, 0.75), transparent 72%), linear-gradient(112deg, #d3ccbf 0 52%, #aca395 52%); }
.mock-photos i:nth-child(3) { background: radial-gradient(circle at 50% 70%, #59626c 0 9%, transparent 10%), radial-gradient(ellipse 60% 30% at 50% 72%, rgba(88, 128, 166, 0.5), transparent 70%), linear-gradient(180deg, #e2dccf 0 38%, #a29b8f 38%); }
.mock-send { margin-top: auto; padding: 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.9rem; font-weight: 600; text-align: center; }
.mock-text {
  position: absolute; left: -56px; top: 26px; z-index: 3;
  display: flex; align-items: flex-start; gap: 10px;
  width: 244px; padding: 12px 14px;
  border-radius: 16px; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(22, 35, 63, 0.06), 0 24px 48px -18px rgba(22, 35, 63, 0.38);
}
.mock-text.is-low { top: auto; bottom: 34px; left: auto; right: -48px; }
.mock-text-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--gold); }
.mock-text-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mock-text-body { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.38; }
.mock-text-body b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 0.84rem; }

/* Website mock */
.mock-site-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; }
.mock-logo { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.mock-logo::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--ink), #3a5280); }
.mock-burger { display: grid; gap: 4px; width: 18px; }
.mock-burger i { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.mock-photo {
  height: 132px; border-radius: 14px;
  background:
    radial-gradient(ellipse 30% 22% at 72% 30%, rgba(255, 244, 214, 0.9), transparent 70%),
    linear-gradient(180deg, transparent 0 56%, #8f9a7f 56% 100%),
    linear-gradient(160deg, #c9d6e3 0%, #e9e2d3 60%);
  position: relative; overflow: hidden;
}
.mock-photo::before {
  content: ""; position: absolute; left: 22%; bottom: 30%; width: 52%; height: 46%;
  background: #f7f1e6; box-shadow: inset 0 -10px 0 #ddd3c2;
}
.mock-photo::after {
  content: ""; position: absolute; left: 18%; bottom: 74%; width: 60%; height: 22%;
  background: #4a5672; clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.mock-stars { display: flex; align-items: center; gap: 8px; color: var(--bronze); font-size: 0.86rem; letter-spacing: 0.08em; }
.mock-stars span { color: #5b6478; font-size: 0.72rem; letter-spacing: 0; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips span { padding: 4px 10px; border-radius: 999px; background: #f4f1eb; color: #4f586c; font-size: 0.7rem; font-weight: 600; }
.mock-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.mock-buttons span { margin-top: 0; padding: 10px 4px; font-size: 0.8rem; white-space: nowrap; }
.mock-ghost { border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; text-align: center; }

/* Booking mock */
.mock-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-days span, .mock-slots span { border: 1px solid #e9e3d8; border-radius: 12px; text-align: center; }
.mock-days span { display: grid; padding: 7px 0; font-size: 1rem; font-weight: 600; line-height: 1.2; }
.mock-days b { color: #5b6478; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-slots span { padding: 7px 0; font-size: 0.82rem; font-weight: 600; }
.mock-days .is-on, .mock-slots .is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.mock-days .is-on b { color: var(--on-dark-soft); }
.mock-slots .is-off { color: #8c93a3; text-decoration: line-through; }

/* Chat mock */
.mock-chat-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid #e9e3d8; font-size: 0.9rem; }
.mock-chip { padding: 3px 8px; border-radius: 999px; background: #f4f1eb; color: #5b6478; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 0.8rem; line-height: 1.38; }
.bubble-customer { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--ink); color: var(--paper); }
.bubble-assistant { align-self: flex-start; border-bottom-left-radius: 5px; background: #f4f1eb; }
.mock-input { margin-top: auto; padding: 10px 14px; border: 1px solid #e9e3d8; border-radius: 999px; color: #5b6478; font-size: 0.8rem; }

/* Portal mock */
.mock-panel { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.mock-panel .mock-label { color: var(--gold); }
.mock-panel .mock-value { font-size: 0.92rem; }
.mock-pill { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.74rem; font-weight: 600; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.84rem; }
.mock-row + .mock-row { padding-top: 6px; border-top: 1px solid #f0ebe1; }
.mock-tag { padding: 2px 8px; border-radius: 999px; background: #f4f1eb; color: #5b6478; font-size: 0.66rem; font-weight: 600; }
.mock-tag.is-paid { background: #e5efe6; color: #2f5b3a; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0; padding-block: 26px; list-style: none;
}
.trust-list li { display: flex; align-items: center; gap: 12px; padding-inline: 24px; font-weight: 500; line-height: 1.3; }
.trust-list li:first-child { padding-left: 0; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list svg { width: 24px; height: 24px; flex: none; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--ink); color: var(--paper); }
.section-head { max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.04; }
.sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.12rem; }
.sub a { color: var(--ink); }
.on-dark .sub { color: var(--on-dark-soft); }
.section-foot { max-width: 70ch; margin-top: 40px; color: var(--ink-soft); }
.section-foot strong { color: var(--ink); font-weight: 600; }
.section-foot .link-arrow { color: var(--ink); }

/* Feature grids */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.feature { position: relative; display: flex; flex-direction: column; padding-top: 26px; border-top: 1px solid var(--ink); }
.feature svg.line-icon { width: 30px; height: 30px; margin-bottom: 20px; }
.feature p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.feature h3 a { text-decoration: none; }
.feature h3 a::after { content: ""; position: absolute; inset: 0; }
.feature h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.feature-link { transition: border-color 0.15s; }
.feature-link:hover { border-top-color: var(--gold); }
.feature-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 0.95rem; font-weight: 600; }

.trades { margin-top: clamp(64px, 8vw, 96px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--ivory); }
.trades h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; }
.trades-intro { margin-top: 10px; color: var(--ink-soft); }
.trade-list { margin: 28px 0 0; }
.trade {
  display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 6px 32px;
  padding-block: 18px; border-top: 1px solid var(--line);
}
.trade dt { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.trade dt svg { width: 22px; height: 22px; flex: none; }
.trade dd { margin: 0; color: var(--ink-soft); }
.trade dd a { color: var(--ink); }
.trade dd .link-arrow { display: flex; width: fit-content; min-height: 32px; margin-top: 4px; text-underline-offset: 4px; }
.trade-list-wide .trade { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); padding-block: 22px; }
.trade-list-wide dt { align-items: flex-start; font-size: 1.08rem; }
.trade-list-wide dt svg { margin-top: 2px; }
.trades-note { padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.98rem; }
.trades-note strong { color: var(--ink); font-weight: 600; }

/* Services overview */
.service-list { border-top: 1px solid var(--ink); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px 72px;
  padding-block: clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line);
}
.service-row svg.line-icon { width: 34px; height: 34px; margin-bottom: 18px; }
.service-row h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.service-row p { max-width: 50ch; margin-top: 14px; color: var(--ink-soft); font-size: 1.07rem; }
.service-row .checks { margin-top: 0; padding-top: 0; border-top: 0; }
.service-meta { display: grid; justify-items: start; gap: 2px; margin-top: 22px; }
.service-price { font-weight: 600; }

/* Split sections: a heading on one side, text on the other */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px clamp(32px, 6vw, 88px); align-items: start; }
.split-copy > p { color: var(--ink-soft); font-size: 1.07rem; }
.split-copy > p + p { margin-top: 18px; }
.split-copy .checks { margin-top: 24px; }
.split-copy .link-arrow { margin-top: 18px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.plan h3 { font-size: 2.1rem; line-height: 1.05; }
.plan-featured { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.badge {
  position: absolute; top: -13px; left: 28px;
  padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.plan-for { min-height: 3.3em; margin-top: 8px; color: var(--ink-soft); font-size: 0.98rem; }
.price { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.amount { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.9; letter-spacing: -0.01em; }
.amount small { font-family: var(--font-text); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.price-note { padding-bottom: 2px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.35; }
.plan-featured .plan-for, .plan-featured .price-note { color: var(--on-dark-soft); }
.checks {
  display: grid; gap: 11px;
  margin: 22px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line); list-style: none; font-size: 0.97rem;
}
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6420' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan-featured .checks { border-top-color: rgba(255, 255, 255, 0.16); }
.plan-featured .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9973f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
}
.plan-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; }
.plan-time { font-size: 0.95rem; font-weight: 600; }
.plans-note { max-width: 70ch; margin-top: 24px; color: var(--ink-soft); font-size: 0.98rem; }
.plans-note a { color: var(--ink); }

.addon {
  display: flex; align-items: flex-start; gap: 20px;
  margin-top: 20px; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.addon > svg { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.addon h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.addon p { max-width: 72ch; margin-top: 6px; color: var(--ink-soft); }
.addon p strong { color: var(--ink); font-weight: 600; }
.addon .link-arrow { min-height: 44px; margin-top: 4px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { padding-top: 24px; border-top: 1px solid var(--ink); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  color: var(--bronze); font-family: var(--font-display); font-size: 2.8rem; line-height: 1;
}
.steps p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.guarantee {
  display: flex; align-items: flex-start; gap: 22px;
  margin-top: clamp(48px, 6vw, 72px); padding: 30px 32px;
  border: 1px solid var(--gold); border-radius: var(--radius); background: var(--ivory);
}
.guarantee > svg { width: 40px; height: 40px; flex: none; }
.guarantee h3 { font-size: 1.9rem; line-height: 1.1; }
.guarantee p { margin-top: 8px; color: var(--ink-soft); font-size: 1.05rem; }
.section-ivory .guarantee { background: var(--paper); }

/* Two-up cards, such as web app versus app store app */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare .plan h3 { font-size: 1.9rem; }
.compare .plan-for { min-height: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.07rem; }
.about-copy p + p:not(.eyebrow) { margin-top: 18px; }
.about-copy .link-arrow { margin-top: 14px; }
.about-card {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius); background: var(--ink); color: var(--paper);
}
.about-card::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 151, 63, 0.42), rgba(201, 151, 63, 0));
  pointer-events: none;
}
.pull { position: relative; z-index: 1; margin: 0; }
.pull blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); font-style: italic; line-height: 1.08; }
.pull figcaption { margin-top: 14px; color: var(--on-dark-soft); font-size: 0.95rem; }
.facts { position: relative; z-index: 1; margin: 30px 0 0; padding: 0; list-style: none; }
.facts li { padding-block: 15px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fact-label {
  display: block; margin-bottom: 2px;
  color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }
.prose p + p { margin-top: 20px; }

/* FAQ */
.faq { max-width: 880px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.7rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6420' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s;
}
.faq summary:hover::after { border-color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 68ch; padding-bottom: 24px; color: var(--ink-soft); }
.faq details p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Contact */
.contact-hero { padding-block: clamp(56px, 7vw, 104px); }
.contact-hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 1.4rem + 4.2vw, 4.7rem); line-height: 1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact-grid .btn { margin-top: 32px; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-item { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-2); }
.contact-label { color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.contact-item a { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-item a[href^="tel:"] { white-space: nowrap; }
.contact-item .muted { color: var(--on-dark-soft); }
.copy {
  padding: 6px 15px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px;
  background: transparent; color: var(--paper);
  font: 600 0.85rem var(--font-text); cursor: pointer;
}
.copy:hover { border-color: var(--paper); }
.copy[hidden] { display: none; }

/* Call to action at the end of most pages */
.cta-band { padding-block: clamp(64px, 8vw, 104px); background: var(--ink); color: var(--paper); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px 64px; align-items: center; }
.cta-actions { display: grid; gap: 12px; justify-self: end; width: min(100%, 320px); }

/* Footer */
.site-footer { padding-block: clamp(56px, 6vw, 80px) 28px; background: var(--navy-3); color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; width: auto; height: 37px; }
.footer-about > p { max-width: 38ch; margin-top: 18px; }
.footer-contact, .footer-links { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-contact { margin-top: 18px; }
.footer-contact a, .footer-links a { display: inline-block; padding-block: 4px; color: var(--paper); text-decoration: none; }
.footer-contact a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-title { margin-bottom: 10px; color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 1060px) {
  .features, .features-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-for { min-height: 0; }
  .service-row { grid-template-columns: 1fr; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}
@media (max-width: 860px) {
  .js .site-nav { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .header-cta { margin-left: auto; }
  .no-js .header-row { flex-wrap: wrap; height: auto; padding-block: 14px; gap: 10px 20px; }
  .no-js .site-nav { order: 3; width: 100%; margin-left: 0; }
  .no-js .header-cta { margin-left: auto; }
  .no-js .nav-links { flex-wrap: wrap; gap: 6px 22px; }
  .hero::before, .page-hero::before { opacity: 0.6; } /* the glow sits behind the eyebrow here; keep bronze text at 4.5:1 */
  .hero-grid, .page-hero-grid, .about-grid, .contact-grid, .split, .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-self: start; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .trust-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .compare, .plans-2, .steps-3 { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .trade, .trade-list-wide .trade { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features, .features-3, .steps { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; }
  .guarantee, .addon { flex-direction: column; gap: 14px; }
  .js .header-cta { display: none; }
  .js .menu-btn { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 520px) {
  .trust-list { grid-template-columns: 1fr; gap: 14px; padding-block: 22px; }
  .trust-list li, .trust-list li + li { padding-inline: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .phone { width: 244px; }
  .phone-screen { min-height: 472px; }
  .hero-art { max-width: 340px; padding: 40px 0 64px; }
  .mock-text { left: -10px; top: 18px; width: 218px; }
  .mock-text.is-low { top: auto; bottom: 24px; left: auto; right: -10px; }
}
@media (max-width: 380px) {
  .brand img { height: 34px; }
  .no-js .header-cta { padding-inline: 14px; }
}
