/* Storva Studios: one stylesheet for every page.
   Mobile-first. Breakpoints sit where the content breaks: 440 / 560 / 760 / 900 / 1100. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Brand: exact UCLA colours. One navy (Darkest Blue) for all text and every navy element. */
  --blue: #2774ae;          /* UCLA Blue: headlines, footer, stripes, icons (large text only on the page bg) */
  --blue-deep: #003b5c;     /* UCLA Darkest Blue */
  --blue-night: #003b5c;    /* UCLA Darkest Blue */
  --blue-light: #8bb8e8;    /* UCLA Lighter Blue: dividers, borders, table highlights */
  --blue-wash: #daebfe;     /* UCLA Lightest Blue */
  --gold: #ffd100;          /* UCLA Gold */
  --gold-wash: #fff3bf;

  --paper: #daebfe;         /* page background: UCLA Lightest Blue */
  --card: #ffffff;
  --ink: #003b5c;
  --ink-soft: #003b5c;
  --line: #8bb8e8;
  --line-strong: #8bb8e8;
  --on-dark: #ffffff;
  --on-dark-soft: #daebfe;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(0 59 92 / 8%), 0 8px 24px rgb(0 59 92 / 10%);
  --container: 1160px;
  --gutter: 20px;
  --nav-h: 64px;
  --focus: 3px solid var(--blue-deep);
  color-scheme: light; /* light-only design; keeps native controls light in dark mode */
}

*, *::before, *::after { box-sizing: border-box; }

a, button, summary, label, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(39 116 174 / 18%);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 56px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  color: var(--blue);
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw + 0.5rem, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw + 0.6rem, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-night); }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--blue-night);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

.nowrap { white-space: nowrap; }

/* Anything Krish still has to supply */
.placeholder {
  background: var(--gold-wash);
  border: 1px dashed #b38f00;
  border-radius: 4px;
  padding: 0 0.3em;
  color: var(--ink);
  font-style: normal;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--blue-night); border-color: var(--gold); }
.btn--primary:hover { background: #ffdc3d; color: var(--blue-night); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--blue { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.btn--blue:hover { background: var(--blue-night); border-color: var(--blue-night); color: #fff; }
.btn--light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--blue-night); }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(218 235 254 / 94%);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  min-height: 44px;
}
.brand__logo { width: auto; height: 34px; }
.nav__cta { flex: none; min-height: 44px; padding: 0.55em 1.1em; font-size: 0.95rem; }
.nav__links {
  order: 3;
  flex-basis: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--blue-deep); text-decoration: underline; }
.nav__links a[aria-current="page"] {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--gold);
}
.nav__cta-long { display: none; }

@media (max-width: 399px) {
  .brand__logo { height: 30px; }
}

/* Smallest phones: logo and call button still share one row */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .nav { column-gap: 8px; }
  .brand__logo { height: 28px; }
  .nav__cta { padding-inline: 0.85em; font-size: 0.9rem; }
  .nav__links a { font-size: 0.92rem; }
}

@media (min-width: 440px) {
  .nav__cta-long { display: inline; }
  .nav__cta-short { display: none; }
  .nav__links { justify-content: flex-start; gap: 18px; }
}
@media (min-width: 900px) {
  .nav { flex-wrap: nowrap; min-height: var(--nav-h); }
  .nav__links { order: 0; flex-basis: auto; gap: 26px; margin-right: 10px; }
  html { scroll-padding-top: calc(var(--nav-h) + 16px); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--blue-wash); }
.section--dark { background: var(--blue-night); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--gold); }
.section--dark :focus-visible { outline-color: var(--gold); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lede { font-size: 1.15rem; color: var(--ink-soft); }
.section--dark .section__lede { color: var(--on-dark-soft); }
.section__more { margin-top: 32px; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__lede { font-size: clamp(1.1rem, 1vw + 0.9rem, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0; padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 0.97rem;
}
.hero__perks li { display: flex; align-items: center; gap: 8px; }
.hero__perks svg, .check { width: 20px; height: 20px; flex: none; color: var(--blue); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}

/* Page heroes on inner pages */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw + 0.6rem, 3.5rem); max-width: 16em; }
.page-hero p { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }

/* ---------- Signature: the storefront window ---------- */

.storefront { margin: 0; }
.storefront__scene { position: relative; padding-bottom: 28px; }
.storefront__awning {
  position: relative;
  height: 46px;
  border-radius: 10px 10px 0 0;
  background: repeating-linear-gradient(90deg, var(--blue) 0 28px, var(--gold) 28px 56px);
}
.storefront__awning::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px); /* 1px overlap hides the anti-aliased seam */
  height: 15px;
  background:
    radial-gradient(circle at 14px 1px, var(--blue) 13.5px, transparent 14px) 0 0 / 56px 15px repeat-x,
    radial-gradient(circle at 42px 1px, var(--gold) 13.5px, transparent 14px) 0 0 / 56px 15px repeat-x;
}
.storefront__window {
  margin-inline: 10px;
  border: 10px solid var(--blue-night);
  border-top-width: 22px;
  background: var(--blue-night);
}
.storefront__window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.storefront__sill {
  height: 14px;
  border-radius: 0 0 6px 6px;
  background: var(--blue-night);
}
.storefront__sign {
  position: absolute;
  top: 66px; left: 30px;
  z-index: 2;
  padding: 4px 12px 5px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--blue-night);
  font: 800 0.85rem/1 var(--font-display);
  letter-spacing: 0.06em;
  box-shadow: 0 3px 0 rgb(0 0 0 / 18%);
  transform: rotate(-4deg);
}
.storefront__phone {
  position: absolute;
  right: -4px; bottom: 0;
  z-index: 2;
  width: 26%;
  min-width: 96px;
  max-width: 150px;
  padding: 5px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.storefront__phone img { border-radius: 15px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.storefront__caption { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }

@media (min-width: 560px) {
  .storefront__phone { right: -14px; }
}

/* The one motion moment: the awning unrolls and the sign swings into place on load.
   Reduced motion turns animations off, which leaves both in their final position. */
@keyframes awning-unroll { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sign-swing {
  0% { transform: rotate(-38deg); opacity: 0; }
  55% { transform: rotate(6deg); opacity: 1; }
  80% { transform: rotate(-7deg); }
  100% { transform: rotate(-4deg); }
}
.storefront__awning { transform-origin: top; animation: awning-unroll 650ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both; }
.storefront__sign { transform-origin: 50% -8px; animation: sign-swing 1000ms ease-out 650ms both; }

/* A plain phone frame, used where the full storefront would repeat itself */
.phone {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 8px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 26px; }

/* ---------- Problem / solution ---------- */

.compare { display: grid; gap: 28px 48px; align-items: start; }
.compare__col--before { color: var(--ink-soft); }
.compare__col--after {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--card);
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}
.compare__col h3 { display: flex; align-items: center; gap: 10px; }
.compare__col--before h3 { color: var(--ink-soft); }
@media (min-width: 760px) {
  .compare__col--before { padding-top: clamp(22px, 3vw, 32px); }
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { margin-top: 3px; }
.ticks--muted svg { color: var(--ink-soft); }

@media (min-width: 760px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Process steps ---------- */

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 0 32px 68px;
  counter-increment: step;
}
.step:last-child { padding-bottom: 0; }
/* the line that joins one step to the next */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px; top: 52px; bottom: 6px;
  width: 2px;
  background: var(--line-strong);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-night);
  color: var(--gold);
  font: 800 1.3rem/1 var(--font-display);
}
.step h3 { margin: 8px 0 0.3em; }
.step p { margin: 0; max-width: 65ch; color: var(--ink-soft); }
.step__note { margin-top: 0.6em !important; font-size: 0.95rem; }

@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row .step { padding: 64px 28px 0 0; }
  .steps--row .step h3 { margin-top: 0; }
  .steps--row .step:not(:last-child)::after { left: 56px; right: 12px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Pricing ---------- */

.billing {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
}
.billing__btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 650 0.97rem/1 var(--font-body);
  cursor: pointer;
}
.billing__btn:hover { background: var(--blue-wash); }
.billing__btn[aria-pressed="true"] { background: var(--blue-night); color: #fff; }
.billing__save { font-weight: 500; }
.billing__btn[aria-pressed="true"] .billing__save { color: var(--gold); }

.plans { display: grid; gap: 20px; align-items: start; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute;
  top: -14px; left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-night);
  font-size: 0.85rem;
  font-weight: 700;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 0.2em; }
.plan__for { color: var(--ink-soft); margin-bottom: 18px; min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.plan__amount { font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan__period { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.plan__alt { margin: 8px 0 20px; font-size: 0.93rem; color: var(--ink-soft); min-height: 1.5em; }
.plan .ticks { margin-bottom: 26px; font-size: 0.98rem; }
.plan .btn { margin-top: auto; }

@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.terms {
  display: grid;
  gap: 10px 32px;
  margin: 32px 0 0; padding: 22px 24px;
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px dashed var(--line-strong);
}
.terms li { display: flex; gap: 10px; align-items: flex-start; }
.terms svg { margin-top: 3px; }
@media (min-width: 760px) {
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Full comparison table */
.table-wrap {
  position: relative; /* keeps the absolutely positioned .sr-only labels inside the scroll box */
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.97rem;
  font-variant-numeric: tabular-nums;
}
.compare-table caption { text-align: left; padding: 16px 20px 0; color: var(--ink-soft); font-size: 0.9rem; }
.compare-table th, .compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare-table thead th { font: 700 1.1rem/1.2 var(--font-display); background: var(--blue-wash); }
.compare-table tbody th { text-align: left; font-weight: 600; width: 34%; }
.row-note { display: block; font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table .col-featured { background: rgb(39 116 174 / 8%); }
.compare-table thead .col-featured { background: var(--blue-light); }
.compare-table .tag {
  display: block;
  margin-top: 4px;
  font: 700 0.75rem/1.2 var(--font-body);
  color: var(--blue-deep);
}
.compare-table svg { display: inline-block; vertical-align: middle; width: 20px; height: 20px; }
.yes { color: var(--blue); }
.no { color: #8a94a3; }

/* One-time builds */
.onetime { display: grid; gap: 16px; }
.onetime__card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.onetime__card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.onetime__card p { margin: 0; }
.onetime__price { font: 800 1.9rem/1.1 var(--font-display); }
.addons { display: grid; gap: 16px; margin-top: 16px; }
.addon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--card);
}
.addon strong { font: 800 1.3rem/1.2 var(--font-display); }
.addon span { color: var(--ink-soft); }
@media (min-width: 760px) {
  .onetime, .addons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Case study ---------- */

.case { display: grid; gap: 40px; align-items: center; }
.case__facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.case__facts li { display: flex; gap: 12px; align-items: flex-start; }
.case__facts svg { margin-top: 3px; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .case--flip > :first-child { order: 2; }
}

.case-detail { display: grid; gap: 36px 48px; }
.case-detail__block h2 { font-size: 1.5rem; }
.case-detail__block p:last-child, .case-detail__block ul:last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .case-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-detail__block--wide { grid-column: 1 / -1; }
}

.soon {
  padding: 28px;
  border-radius: var(--radius);
  border: 2px dashed var(--line-strong);
  text-align: center;
  color: var(--ink-soft);
}
.soon strong { display: block; font: 750 1.35rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 6px; }

.quote {
  margin: 0;
  padding: 24px 28px;
  border-left: 6px solid var(--gold);
  background: var(--card);
  border-radius: 0;
}
.quote p { font: 600 1.2rem/1.45 var(--font-display); margin-bottom: 10px; }
.quote footer { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq--center { margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-deep); }
.faq summary:hover::after { background: var(--blue-light); }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--card);
  color: var(--blue-deep);
  font: 700 1.2rem/1 var(--font-body);
}
.faq summary::after { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: 2px; border-radius: 4px; }
.faq__answer { max-width: 65ch; padding: 0 0 20px; color: var(--ink-soft); }
.faq__answer p:last-child { margin: 0; }

/* ---------- Closing CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18em; margin-inline: auto; }
.cta-band p { max-width: 34em; margin: 0 auto 28px; color: var(--on-dark-soft); font-size: 1.15rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- About ---------- */

.founder { display: grid; gap: 36px; align-items: start; }
.founder__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-width: 360px;
  border-radius: var(--radius);
  border: 2px dashed #b38f00;
  background: var(--gold-wash);
  color: var(--ink);
  text-align: center;
  padding: 20px;
  font-weight: 600;
}
.founder__bio p { font-size: 1.1rem; }
@media (min-width: 760px) {
  .founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
}

.places { display: grid; gap: 16px; }
.place { padding-top: 16px; border-top: 2px solid var(--line-strong); }
.place h3 { margin-bottom: 0.3em; }
.place p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) {
  .places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Contact ---------- */

.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
.panel {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.panel h2 { font-size: 1.6rem; }
.booking {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 300px;
  margin: 18px 0;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--line-strong);
  background: var(--blue-wash);
  text-align: center;
  color: var(--ink-soft);
}
.booking strong { color: var(--ink); font-size: 1.1rem; }

.direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.direct a { font-weight: 600; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
  border-color: var(--blue-deep);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.field__error { color: #b42318; font-size: 0.93rem; font-weight: 600; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
[hidden] { display: none !important; }
.form__summary {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #b42318;
  background: #fef3f2;
}
.form__summary:focus-visible { outline-offset: 2px; }
.form__summary-title { margin: 0 0 6px; font-weight: 700; color: #b42318; }
.form__summary-list { margin: 0; padding-left: 1.2em; }
.form__summary-list a { color: #b42318; font-weight: 600; }
.form__status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
  font-weight: 600;
}
.form__status:empty { display: none; }
.form__fine { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Legal pages ---------- */

.draft-banner {
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
  border: 1px dashed #b38f00;
  font-weight: 600;
}
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Work grid ---------- */

.future {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 24px;
  border-radius: var(--radius);
  border: 2px dashed var(--line-strong);
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 404 ---------- */

.notfound { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.notfound .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 48px 32px;
  background: var(--blue);
  color: var(--on-dark);
  font-size: 0.97rem;
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--on-dark); text-decoration-thickness: 3px; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer__grid { display: grid; gap: 28px; }
.footer__brand { margin-bottom: 12px; }
.footer__brand img { width: auto; height: 32px; }
.footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__heading { font-weight: 700; color: var(--on-dark); margin-bottom: 6px; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 40%);
  font-size: 0.9rem;
}
.footer__base p { margin: 0; }
.footer__base ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .placeholder { color: var(--ink); }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* =====================================================================
   Motion and interactive components.
   Everything that moves on its own is switched on by script.js (it adds .js to <html>), so without
   JavaScript the page is complete and still. Reduced-motion settings turn all of it off (bottom of file).
   ===================================================================== */

/* Page-to-page fades (browsers without View Transitions simply navigate) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; transition: box-shadow 0.25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 59 92 / 12%); }
::view-transition-old(root) { animation: vt-out 0.18s ease-in both; }
::view-transition-new(root) { animation: vt-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Buttons and cards respond to the pointer */
.btn { transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn--primary:hover { box-shadow: 0 8px 20px rgb(255 209 0 / 45%); }
  .plan, .onetime__card { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s; }
  .plan:hover, .onetime__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}

/* Headline sheen, once, when the home page opens */
.js .hero h1 {
  background: linear-gradient(100deg, var(--blue) 0 40%, var(--blue-light) 50%, var(--blue) 60% 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 1.6s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes sheen { to { background-position: 0 0; } }

/* Sections rise in as they scroll into view (only those starting below the fold) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* the line between steps draws itself */
.js .step.reveal:not(:last-child)::after { transform: scaleY(0); transform-origin: top; transition: transform 0.7s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .step.reveal.is-in:not(:last-child)::after { transform: none; }
@media (min-width: 900px) {
  .js .steps--row .step.reveal:not(:last-child)::after { transform: scaleX(0); transform-origin: left; }
  .js .steps--row .step.reveal.is-in:not(:last-child)::after { transform: none; }
}

/* Monthly / annual toggle: a pill slides between the options, prices roll in */
.billing { position: relative; }
.billing__btn { position: relative; z-index: 1; transition: color 0.25s; }
.js .billing__btn[aria-pressed="true"] { background: transparent; }
.billing__pill {
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: var(--pill-w, 0);
  border-radius: 999px;
  background: var(--blue-night);
  transform: translateX(var(--pill-x, 0));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.is-changing { animation: roll-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes roll-in { from { opacity: 0; transform: translateY(8px); } }

/* FAQ answers open smoothly where the browser supports it */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), content-visibility 0.3s allow-discrete;
}
.faq details[open]::details-content { height: auto; }

/* Pause / play for anything that loops */
.pause-btn {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--ink);
  font: 600 0.9rem/1 var(--font-body);
  cursor: pointer;
}
.pause-btn:hover { background: var(--paper); }

/* ---------- "Built for" strip ---------- */

.trades { padding-block: 14px; background: var(--card); border-block: 1px solid var(--line); }
.trades__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.trades__label { margin: 0; flex: none; font-weight: 700; }
.marquee { flex: 1 1 260px; min-width: 0; display: flex; gap: 10px; }
.marquee__track { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.marquee__track li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}
.marquee__track--clone { display: none; }
.js .marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.js .marquee__track { flex: none; flex-wrap: nowrap; animation: marquee 34s linear infinite; }
.js .marquee__track--clone { display: flex; }
.marquee.is-paused .marquee__track,
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 10px)); } }

/* ---------- "What we look after" tabs ---------- */

.included { overflow: hidden; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs__tab {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255 / 40%);
  background: transparent;
  color: var(--on-dark);
  font: 600 0.97rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tabs__tab:hover { border-color: var(--on-dark); }
.tabs__tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--blue-night); }
.tabs__panel { display: grid; gap: 28px; align-items: center; }
.tabs__panel + .tabs__panel { margin-top: 48px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.js .tabs__panel.is-active { animation: roll-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tabs__panel:focus-visible { outline-color: var(--gold); outline-offset: 6px; }
@media (min-width: 900px) {
  .tabs__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
}
.tabs__copy h3 { color: var(--on-dark); font-size: 1.65rem; }
.tabs__copy p { color: var(--on-dark-soft); font-size: 1.08rem; }
.tabs__fine { font-size: 0.97rem !important; }
.tabs__plan {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-night) !important;
  font-weight: 700;
  font-size: 0.85rem !important;
}
.tabs__visual { position: relative; }
.tabs__visual::before { /* soft glow behind each mock screen */
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: 0;
  background: radial-gradient(closest-side, rgb(39 116 174 / 65%), rgb(39 116 174 / 20%) 60%, transparent);
}
.tabs__visual > * { position: relative; z-index: 1; }

/* Shared look for the mock screens */
.minisite, .browser, .listing, .report {
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(139 184 232 / 70%), 0 24px 60px rgb(0 0 0 / 30%), 0 0 44px rgb(39 116 174 / 40%);
}
.minisite__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--paper); font-size: 0.8rem; }
.minisite__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); }
.minisite__bar span { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--card); }
.minisite__bar svg { width: 13px; height: 13px; flex: none; }
.demo__tag {
  justify-self: start;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  color: var(--on-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Edit demo: a text thread, then the site changes */
.demo { display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 18%); }
.demo__thread { display: grid; gap: 10px; }
.bubble {
  display: grid;
  gap: 2px;
  max-width: 88%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--blue-night);
  font-size: 0.98rem;
  line-height: 1.4;
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bubble__who { font-size: 0.75rem; font-weight: 700; }
.bubble--owner { justify-self: end; background: var(--gold); border-bottom-right-radius: 4px; }
.bubble--studio { justify-self: start; background: var(--card); border-bottom-left-radius: 4px; }
.bubble__text { min-height: 1.4em; }
.minisite__body { padding: 14px 16px 16px; }
.minisite__title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font: 800 1.1rem/1 var(--font-display); color: var(--blue); }
.minisite__live { padding: 4px 9px; border-radius: 999px; background: var(--gold); color: var(--blue-night); font: 700 0.75rem/1 var(--font-body); transition: opacity 0.3s, transform 0.3s; }
.minisite__hours { display: grid; gap: 4px; margin: 0; }
.minisite__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-radius: 8px; transition: background-color 0.4s; }
.minisite__hours dt { font-weight: 600; }
.minisite__hours dd { margin: 0; }
.minisite__changed { background: var(--paper); }
.minisite__changed .old { display: none; text-decoration: line-through; }
.minisite__changed .new { display: inline-block; font-weight: 700; }
.demo__replay {
  justify-self: end;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255 / 50%);
  background: transparent;
  color: var(--on-dark);
  font: 600 0.9rem/1 var(--font-body);
  cursor: pointer;
}
.demo__replay:hover { border-color: var(--on-dark); }
/* steps 0-4 while the demo plays (no data-step = the finished state) */
.demo[data-step="0"] .bubble--owner,
.demo[data-step="0"] .bubble--studio,
.demo[data-step="1"] .bubble--studio { opacity: 0; transform: translateY(8px); }
.demo[data-step="0"] .minisite__changed,
.demo[data-step="1"] .minisite__changed,
.demo[data-step="2"] .minisite__changed { background: transparent; }
.demo[data-step="0"] .minisite__changed .old,
.demo[data-step="1"] .minisite__changed .old,
.demo[data-step="2"] .minisite__changed .old { display: inline; }
.demo[data-step="0"] .minisite__changed .new,
.demo[data-step="1"] .minisite__changed .new,
.demo[data-step="2"] .minisite__changed .new { display: none; }
.demo[data-step="3"] .minisite__changed .new { animation: pop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); }
.demo[data-step="0"] .minisite__live,
.demo[data-step="1"] .minisite__live,
.demo[data-step="2"] .minisite__live,
.demo[data-step="3"] .minisite__live { opacity: 0; transform: scale(0.8); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* Hosting card */
.browser__checks { display: grid; gap: 12px; margin: 0; padding: 18px; list-style: none; font-weight: 600; }
.browser__checks li { display: flex; align-items: center; gap: 10px; }
.js .tabs__panel.is-active .browser__checks li { animation: roll-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .tabs__panel.is-active .browser__checks li:nth-child(2) { animation-delay: 0.08s; }
.js .tabs__panel.is-active .browser__checks li:nth-child(3) { animation-delay: 0.16s; }
.js .tabs__panel.is-active .browser__checks li:nth-child(4) { animation-delay: 0.24s; }

/* Google listing card */
.listing { padding-bottom: 16px; }
.listing__map {
  position: relative;
  height: 130px;
  background:
    linear-gradient(90deg, transparent 47%, var(--card) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 44%, var(--card) 44% 56%, transparent 56%),
    linear-gradient(35deg, transparent 70%, var(--card) 70% 74%, transparent 74%),
    var(--paper);
}
.listing__pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px; height: 24px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--card);
  transform: translate(-50%, -70%) rotate(-45deg);
}
.js .tabs__panel.is-active .listing__pin { animation: pin-drop 0.6s 0.1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes pin-drop { from { opacity: 0; transform: translate(-50%, -230%) rotate(-45deg); } }
.listing__name { margin: 14px 16px 2px; font: 800 1.15rem/1.2 var(--font-display); }
.listing__status { margin: 0 16px 12px; }
.listing__actions { display: flex; gap: 8px; padding: 0 16px; }
.listing__actions span { flex: 1; padding: 8px 4px; border-radius: 999px; border: 1.5px solid var(--blue); text-align: center; font-weight: 600; font-size: 0.9rem; }

/* Monthly report card */
.report { display: grid; gap: 14px; padding: 18px; }
.report .demo__tag { background: var(--paper); color: var(--ink); }
.report__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; font-weight: 600; }
.report__bar { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transform-origin: left; }
.report__bar--1 { width: 82%; }
.report__bar--2 { width: 46%; }
.report__bar--3 { width: 64%; }
.js .tabs__panel.is-active .report__bar { animation: bar-grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .tabs__panel.is-active .report__bar--2 { animation-delay: 0.1s; }
.js .tabs__panel.is-active .report__bar--3 { animation-delay: 0.2s; }
@keyframes bar-grow { from { transform: scaleX(0); } }

/* ---------- Closing call to action with the request box ---------- */

.cta-glow { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cta-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%; right: -10%; bottom: -35%;
  height: 85%;
  background:
    radial-gradient(45% 60% at 30% 70%, rgb(39 116 174 / 50%), transparent 70%),
    radial-gradient(40% 55% at 70% 75%, rgb(255 209 0 / 50%), transparent 70%);
}
.cta-glow h2 { max-width: 18em; margin-inline: auto; }
.cta-glow .section__lede { max-width: 36em; margin-inline: auto; }
.composer {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 18px 18px 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  box-shadow: 0 1px 2px rgb(0 59 92 / 8%), 0 24px 60px rgb(0 59 92 / 20%);
}
.composer__label { margin: 0 0 6px; color: var(--blue); font-size: 0.9rem; font-weight: 700; }
.composer__text { min-height: 2.8em; margin: 0 0 14px; font-size: clamp(1.1rem, 2vw + 0.6rem, 1.35rem); }
.composer__caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: var(--blue); }
.js .composer__caret { animation: caret 1s steps(1) infinite; }
.composer.is-paused .composer__caret { animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.composer__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.cta-glow__alt { margin: 18px 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
