/* 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);
}

/* ---- 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; }

/* ---- 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; align-items: center; gap: 56px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .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; }
}
