/* =========================================================
   Get A Geek — "Sunny Serif" style system
   Edit the tokens below to retheme the whole site.
   ========================================================= */

:root {
  /* Colours */
  --paper:  #f9fbf2;   /* page background */
  --ink:    #130e30;   /* text, dark panels */
  --sage:   #eff2e5;   /* soft card fill */
  --sun:    #ffe228;   /* accent — buttons only */
  --sun-hover: #ffd800;
  --muted:  #5f5c6e;   /* secondary text */
  --go:     #0e6b3a;   /* success only — the "enquiry sent" panel, nothing else */
  --line:   #222222;   /* borders */
  --white:  #ffffff;
  --ink-hover: #2a2350;
  --on-ink-muted: #c9c6d6;

  /* Type */
  --serif: 'Hedvig Letters Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Shape & rhythm */
  --radius: 24px;
  --radius-sm: 16px;
  --pill: 999px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 100px);
  --section: clamp(56px, 8vw, 96px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.serif, h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; text-wrap: balance; }
h2.h2--small { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.eyebrow--sun { color: var(--sun); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-bottom: var(--section); }
.section__head { max-width: 760px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.section__head--tight { margin-bottom: 0; }
.section__head .eyebrow { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: var(--pill); z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: var(--pill);
  font-weight: 700; font-size: 16px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  font-family: inherit; text-align: center;
}
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-hover); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-hover); color: var(--paper); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); font-weight: 600; }
.btn--ghost:hover { background: var(--sage); color: var(--ink); }
.btn--block { width: 100%; }
.btn--nav { min-height: 44px; padding: 10px 22px; font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav { padding: 20px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--serif); font-size: 22px;
}
.brand:hover { color: inherit; }
.brand__bracket { height: 0.86em; width: auto; flex-shrink: 0; color: var(--sun); }
.brand__name { letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 80px) 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: var(--pill); background: var(--sage); font-size: 14px; font-weight: 600;
}

.hero__art { position: relative; padding: 0 0 28px; }
.hero__example { display: block; }
.hero__example img { width: 100%; height: auto; }
.mock {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.mock__bar { display: flex; align-items: center; gap: 8px; }
.mock__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--sun); }
.mock__title { font-family: var(--serif); font-size: 17px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__tag {
  white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--sage); padding: 3px 8px; border-radius: var(--pill);
}
.mock__pill { margin-left: auto; width: 64px; height: 26px; border-radius: var(--pill); background: var(--ink); }
.mock__photo {
  height: 160px; border-radius: var(--radius-sm); background: var(--sage);
  display: grid; place-items: center; font-size: 13px; color: var(--muted); font-weight: 500;
}
.mock__headline { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__tiles span { height: 52px; border-radius: 12px; background: var(--sage); }
.price-tag {
  position: absolute; right: 0; bottom: -8px; background: var(--sun); border-radius: var(--radius-sm);
  padding: 12px 18px; transform: rotate(3deg); display: flex; flex-direction: column; line-height: 1;
}
.price-tag span { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.price-tag strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid--top { align-items: start; gap: 64px; }

.card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--sage { background: var(--sage); }
.card--outline { background: var(--white); border: 1px solid var(--line); }
.card__icon { color: var(--ink); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.card p { font-size: 15px; color: var(--muted); }

.panel { border-radius: var(--radius); padding: clamp(28px, 4vw, 64px); }
.panel--ink { background: var(--ink); color: var(--paper); }
.panel--ink .section__head { margin-bottom: 48px; }
.panel--sun { background: var(--sun); }
.panel--sun .eyebrow { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.steps__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--ink);
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px;
}
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.steps p { font-size: 15px; color: var(--on-ink-muted); }

/* ---------- Pricing ---------- */
.plan { padding: 36px; gap: 24px; }
.plan.card--outline { border-width: 2px; }
.plan h3 { font-size: 28px; }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan__top .muted { font-size: 15px; margin-top: 6px; }
.badge {
  flex-shrink: 0; padding: 6px 12px; border-radius: var(--pill); background: var(--sun);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__amount { font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.plan__note { font-size: 15px; font-weight: 600; padding: 14px 16px; background: var(--sage); border-radius: var(--radius-sm); color: var(--ink); }
.plan__note--white { background: var(--white); }
.plan .muted { color: var(--muted); font-size: 15px; }
.plan .btn { margin-top: auto; }
.ticks { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }

.addons { margin-top: 56px; }
.addons .section__head { margin-bottom: 28px; }
.addon { padding: 24px; gap: 6px; }
.card .addon__price { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); }
.card .addon__unit { font-size: 12px; color: var(--muted); }
.addon h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin-top: 8px; }
.addon p:last-child { font-size: 14px; }

/* ---------- Why ---------- */
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.6; }
.byline { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.byline__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.byline div { display: flex; flex-direction: column; }
.byline strong { font-weight: 400; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 24px; }
.faq__item { padding: 22px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq__item p { font-size: 15px; color: var(--muted); }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 0; min-height: 44px; border-radius: 0; width: 100%;
}
.form textarea { resize: vertical; }
.form select { cursor: pointer; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-width: 2px; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-bottom: 2px solid #b3261e; }
.upload {
  flex-direction: row !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border: 1px dashed var(--ink); border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 500 !important; margin-top: 8px; padding: 0 16px; text-align: center;
}
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hp { position: absolute; left: -9999px; }
.form .btn { margin-top: 8px; }
.form__status { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form__status.is-error { color: #b3261e; }
.form[hidden] { display: none; }

/* Sending state — the button says what's happening and stops taking clicks */
.btn[disabled] { cursor: not-allowed; }
.btn--busy { opacity: 0.8; }
.btn__spinner {
  display: none; width: 16px; height: 16px; margin-right: 10px; flex-shrink: 0;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.btn--busy .btn__spinner { display: block; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spinner { animation-duration: 2.4s; } }

/* Confirmation once the enquiry is away */
.sent {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--go); color: var(--white);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
}
.sent[hidden] { display: none; }
.sent:focus { outline: none; }
.sent__icon { flex-shrink: 0; margin-top: 2px; }
.sent__title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.sent__note { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, 0.86); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 4px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--top { gap: 40px; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .hero__grid, .grid--2, .grid--3, .steps, .faq { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; }
  .plan { padding: 28px; }
  .grid--top { gap: 28px; }
  .panel--ink .section__head { margin-bottom: 32px; }
}

@media (max-width: 560px) {
  .btn-row .btn { width: 100%; }
  .btn--nav { padding: 10px 16px; font-size: 14px; }
  .brand { font-size: 19px; gap: 8px; }
  .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .plan__top { flex-direction: column; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__art { padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
