/* Kerbsites. Mobile first; the one breakpoint is 900px. */

:root {
  --ink: #14123a;
  --ink-2: #211e57;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --bg: #faf8f4;
  --paper: #ffffff;
  --text: #1c1a33;
  --muted: #5d5b72;
  --line: #e7e4ee;
  --soft: #f2f0fb;
  --warm: #c2703d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 18, 58, .06), 0 10px 30px -12px rgba(20, 18, 58, .22);
  --shadow-lg: 0 2px 4px rgba(20, 18, 58, .06), 0 30px 70px -25px rgba(20, 18, 58, .45);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); line-height: 1.02; }
h1 em { font-style: italic; font-weight: 500; color: var(--indigo); }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.08; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--muted); margin-top: 18px; }
.lead.center { max-width: 600px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }

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

/* ---- logo ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff;
  font-weight: 800; font-size: 17px; box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .6);
}
.logo__word { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); }
.logo--light .logo__word { color: #fff; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1.5px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(20, 18, 58, .55); }
.btn:active { transform: none; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.btn--big {
  min-height: 58px; padding: 0 26px; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--indigo), var(--violet)); border-color: transparent;
  box-shadow: 0 14px 30px -14px rgba(79, 70, 229, .75);
}
.btn__price { font-weight: 600; opacity: .8; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--block { width: 100%; }

.tick { width: 20px; height: 20px; flex: none; color: var(--indigo); }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .86); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.top__nav { display: none; gap: 28px; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.top__nav a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero { position: relative; padding: 44px 0 56px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(124, 58, 237, .16), transparent 62%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; }
.hero__copy .lead { max-width: 560px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hero__facts .tick { width: 18px; height: 18px; }

.hero__art { position: relative; display: flex; justify-content: center; padding: 10px 0 34px; }

/* ---- phone mockup ---- */
.phone {
  margin: 0; width: min(280px, 72vw); padding: 10px; border-radius: 42px;
  background: linear-gradient(160deg, #2a2760, #0d0b26); box-shadow: var(--shadow-lg);
}
.phone__screen { border-radius: 33px; overflow: hidden; aspect-ratio: 9 / 18.5; background: #f4ece4; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--tilt { transform: rotate(-3deg); }
/* getinstaquote.com, cropped above its sticky bar, so the screen takes its shape. */
.phone--live .phone__screen { aspect-ratio: 750 / 1478; background: #0f2a1f; }

/* "We built this one": a real link, so anyone can check it's live. */
.built {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 24px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px 10px 12px; font-size: .86rem; line-height: 1.3; color: var(--muted);
  text-decoration: none; box-shadow: var(--shadow);
}
.built:hover { border-color: var(--indigo); }
.built strong { color: var(--ink); }
.built__dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none; background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}

/* ---- "See yours in 10 seconds" ---- */
.tryit {
  margin-top: 24px; padding: 18px 18px 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.tryit__title { margin: 0 0 12px; font-weight: 800; color: var(--ink); font-size: 1.02rem; letter-spacing: -0.01em; }
.tryit__row { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; }
.field span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: 600 16px/1.2 var(--sans); appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2314123a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .16); background: #fff; }
.field input::placeholder { color: #a3a1b5; font-weight: 500; }
.tryit__note { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }

/* The real phone and the preview phone share one slot; the class on #hero-art
   picks which one shows. Both badges the same. */
.hero__stack { position: relative; }
.phone--pv, .built--pv { display: none; }
.is-preview .phone--pv { display: block; }
.is-preview .built--pv { display: flex; }
.is-preview .phone--real, .is-preview .built--real { display: none; }
.built--pv { margin: 0; }
.phone--pv .phone__screen { aspect-ratio: 750 / 1478; background: #f7f1e8; }

/* The mini site, drawn the way the build bot draws them (see the Hughes
   sample): cream paper, warm brown, serif headline, the Book button as hero. */
.pv {
  --pv-ink: #1c1a17; --pv-warm: #a8602f; --pv-muted: #5f5850; --pv-line: #e6dccf;
  position: relative; font-family: var(--sans); color: var(--pv-ink); font-size: 8.5px; line-height: 1.45;
}
.pv__top {
  display: flex; align-items: center; gap: 6px; padding: 9px 10px; background: #fff; border-bottom: 1px solid var(--pv-line);
}
.pv__mark {
  width: 22px; height: 22px; border-radius: 6px; background: var(--pv-ink); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 12px; flex: none;
}
.pv__brand { display: grid; line-height: 1.1; min-width: 0; flex: 1; }
.pv__brand b { font-family: var(--serif); font-weight: 600; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__brand small { font-size: 6px; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-muted); font-weight: 700; }
.pv__pill { flex: none; background: var(--pv-ink); color: #fff; border-radius: 999px; padding: 5px 8px; font-size: 7px; font-weight: 700; }
.pv__hero { padding: 16px 12px 14px; background: linear-gradient(180deg, #f3e6d8, #f7f1e8 70%); }
.pv__eyebrow { margin: 0 0 6px; font-size: 6.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--pv-warm); }
.pv__h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.08; letter-spacing: -0.02em; color: var(--pv-ink); }
.pv__h1 em { font-style: italic; color: var(--pv-warm); }
.pv__lead { margin: 8px 0 10px; color: var(--pv-muted); font-size: 8px; }
.pv__btn, .pv__ghost { display: inline-block; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 8px; }
.pv__btn { background: var(--pv-warm); color: #fff; }
.pv__ghost { border: 1px solid var(--pv-line); margin-left: 4px; color: var(--pv-ink); }
.pv__ticks { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--pv-line); display: grid; gap: 5px; }
.pv__ticks li { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 7.5px; }
.pv__ticks svg { width: 9px; height: 9px; color: var(--pv-warm); flex: none; }
.pv__what { padding: 14px 12px; background: #fff; }
.pv__what ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.pv__what li { padding: 6px 8px; border: 1px solid var(--pv-line); border-radius: 8px; font-weight: 600; font-size: 7.5px; }
.pv__bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; padding: 8px 10px;
  background: linear-gradient(180deg, rgba(247, 241, 232, 0), #f7f1e8 40%);
}
.pv__bar span { flex: 1; text-align: center; border-radius: 999px; padding: 7px 0; font-weight: 700; font-size: 8px; background: #fff; border: 1px solid var(--pv-line); }
.pv__bar .pv__bar-book { background: var(--pv-warm); color: #fff; border-color: var(--pv-warm); }

/* ---- example ---- */
.example { padding: 72px 0; background: var(--paper); border-block: 1px solid var(--line); }
.example__phones { display: flex; justify-content: center; gap: 20px; margin-top: 44px; flex-wrap: wrap; }
.example__phones .phone { width: min(260px, 78vw); }
.example__notes { list-style: none; padding: 0; margin: 44px auto 0; display: grid; gap: 14px; max-width: 980px; }
.example__notes li {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; color: var(--muted); line-height: 1.55;
}
.example__notes strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

/* ---- built for your trade ---- */
.trades { padding: 64px 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem;
  text-decoration: none; box-shadow: var(--shadow);
}
.chip:hover { border-color: var(--indigo); color: var(--indigo); }
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- how ---- */
.how { padding: 80px 0; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 16px; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--shadow);
}
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; font-weight: 800;
}
.step p { margin-top: 8px; color: var(--muted); }

/* ---- price ---- */
.price { padding: 80px 0; background: var(--soft); border-block: 1px solid var(--line); }
.price__grid { display: grid; gap: 36px; align-items: center; }
.card {
  background: var(--paper); border-radius: 24px; padding: 30px 26px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.card__name { font-weight: 700; color: var(--indigo); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.card__price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.card__amount { font-family: var(--serif); font-size: 4rem; font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.card__per { color: var(--muted); font-weight: 600; }
.card__alt { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.card__list { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 14px; }
.card__list li { display: flex; gap: 12px; line-height: 1.5; }
.card__small { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--muted); font-weight: 600; }
.card__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }

/* ---- faq ---- */
.faq { padding: 80px 0; }
.faq__list { margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); min-height: 64px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--bg); }
.faq__icon { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--indigo); border-radius: 2px; transform: translate(-50%, -50%); }
.faq__icon::before { width: 11px; height: 2px; }
.faq__icon::after { width: 2px; height: 11px; transition: transform .2s ease; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); line-height: 1.65; }

/* ---- closing band ---- */
.close { padding: 0 0 90px; }
.close__box {
  background: radial-gradient(120% 140% at 85% 0%, #3b2a8f 0%, var(--ink) 55%);
  color: #fff; border-radius: 28px; padding: 48px 26px; text-align: center; max-width: 1080px;
  box-shadow: var(--shadow-lg);
}
.close__box h2 { color: #fff; max-width: 640px; margin-inline: auto; }
.close__box .lead { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 16px auto 28px; }

/* ---- footer ---- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 52px 0 110px; }
.foot__grid { display: grid; gap: 28px; }
.foot__tag { margin-top: 12px; font-size: .95rem; }
.foot nav, .foot__contact { display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .95rem; }
.foot a:hover { color: #fff; }
.foot__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__legal p { font-size: .82rem; line-height: 1.6; max-width: 820px; }

/* ---- sticky phone CTA ---- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky .btn { min-height: 52px; background: linear-gradient(135deg, var(--indigo), var(--violet)); border-color: transparent; }

/* ---- desktop ---- */
@media (min-width: 900px) {
  .wrap { padding-inline: 32px; }
  .top__nav { display: flex; }
  .hero { padding: 76px 0 96px; }
  .hero__grid {
    grid-template-columns: 1.08fr .92fr; grid-template-areas: "copy art" "actions art";
    align-items: center; gap: 0 56px;
  }
  .hero__copy { grid-area: copy; }
  .hero__art { grid-area: art; }
  .hero__actions { grid-area: actions; margin-top: 28px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .tryit__row { grid-template-columns: 1.2fr 1.1fr .9fr; }
  .phone { width: 300px; }
  .example { padding: 100px 0; }
  .example__phones { gap: 40px; }
  .example__phones .phone { width: 280px; }
  .example__phones .phone:nth-child(2) { margin-top: 60px; }
  .example__notes { grid-template-columns: repeat(3, 1fr); }
  .how, .price, .faq { padding: 110px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .price__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .card { padding: 38px 36px; }
  .close__box { padding: 72px 48px; }
  .foot { padding-bottom: 52px; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq__icon::after { transition: none; }
  .phone--tilt { transform: none; }
}
