/* EasyKwote website. White page, left-aligned copy, real app screenshots in
   square frames. KlientRush palette: orange accent, near-black ink, navy for
   the one dark band. Square edges throughout. Phone first. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 106%;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #0d1117;
  --navy: #111827;
  --muted: #525866;
  --line: #e6e3de;
  --soft: #fdf3ee;
  --orange: #e8501a;
  --orange-ink: #c2410c;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --section: 96px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font: inherit; font-weight: 700; font-size: 16px; padding: 12px 22px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn.primary { background: var(--orange-ink); border-color: var(--orange-ink); color: var(--white); }
.btn.primary:hover { background: #a9380a; border-color: #a9380a; }
.label { font-size: 14px; font-weight: 700; color: var(--orange-ink); margin-bottom: 14px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.label::before { content: ""; flex: none; width: 22px; height: 3px; margin-top: .55em; background: var(--orange); }

/* Header */
header.top { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; min-height: 44px; }
.logo .mark { width: 28px; height: 28px; background: var(--orange); display: grid; place-items: center; flex: none; }
.logo .k { color: var(--orange-ink); }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); padding: 10px 0; }
.nav nav a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.nav .short { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 72px 88px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 20px; color: var(--muted); margin-top: 24px; max-width: 36ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--orange-ink); flex: none; }
.hero-media { position: relative; z-index: 0; }
.shots { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.shots::before { content: ""; position: absolute; left: -22px; top: 36px; width: 58%; height: 78%; background: var(--orange); z-index: -1; }
.shot { margin: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(13, 17, 23, .10); }
.shot img { width: 100%; aspect-ratio: 1 / 2; }
.shots .shot:nth-child(2) { margin-top: 64px; }

/* Sections */
section { padding-block: var(--section); border-top: 1px solid var(--line); }
.h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 20ch; }
.sub { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 56ch; }

/* Problems solved */
.solve { margin-top: 48px; border-top: 2px solid var(--ink); }
.srow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.srow .prob { font-size: 20px; font-weight: 700; line-height: 1.35; }
.srow .prob small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 6px; }
.srow .fix { display: flex; gap: 16px; }
.srow .fix::before { content: ""; flex: none; width: 3px; background: var(--orange); }
.srow .fix b { display: block; font-size: 17px; }
.srow .fix span { color: var(--muted); font-size: 16px; }

/* Features */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 56px; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat.flip .copy { order: 2; }
.feat h3 { font-size: clamp(24px, 3vw, 36px); }
.feat .copy p { color: var(--muted); margin-top: 14px; font-size: 18px; max-width: 46ch; }
.feat ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat li { display: flex; gap: 12px; font-weight: 600; }
.feat li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--orange); }
.media-box { display: flex; justify-content: center; padding: 40px 24px; background: var(--soft); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; width: 100%; max-width: 500px; }
.pair .shot:nth-child(2) { margin-top: 40px; }
.single { width: 100%; max-width: 260px; }

/* Flow */
.flow { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: s; }
.step { padding: 22px 18px 0 0; }
.step .n { counter-increment: s; font-weight: 800; font-size: 14px; color: var(--orange-ink); }
.step .n::before { content: "0" counter(s); }
.step h3 { font-size: 20px; margin-top: 8px; }
.step p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Local grid */
.grid6 { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell .ic { width: 40px; height: 40px; background: var(--soft); display: grid; place-items: center; color: var(--orange-ink); }
.cell .ic svg { width: 22px; height: 22px; }
.cell h3 { font-size: 19px; margin-top: 18px; font-stretch: 100%; }
.cell p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Pricing */
.offer { margin-top: 28px; border-left: 4px solid var(--orange); background: var(--soft); padding: 16px 20px; font-weight: 600; }
.bill { display: inline-flex; border: 2px solid var(--ink); margin-top: 28px; max-width: 100%; }
.bill button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: var(--white); min-height: 44px; padding: 8px 16px; cursor: pointer; color: var(--ink); }
.bill button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); }
.plan { padding: 30px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); position: relative; }
.plan:last-child { border-right: 0; }
.plan.pick { outline: 2px solid var(--ink); outline-offset: -2px; }
.plan .tag { position: absolute; top: -14px; left: 28px; background: var(--orange-ink); color: var(--white); font-size: 13px; font-weight: 700; padding: 4px 10px; }
.plan h3 { font-size: 22px; font-stretch: 100%; }
.price { font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--orange); }
.extra { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--orange-ink); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* Early access */
.join { background: var(--navy); color: var(--white); border-top: 0; }
.join .label { color: #ff9a6b; }
.join .h2 { color: var(--white); }
.join .sub { color: #c5cad3; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.perks li { display: flex; gap: 12px; }
.perks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--orange); }
form.card { background: var(--white); color: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--orange); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select { font: inherit; font-size: 16px; border: 1px solid #cfcbc4; min-height: 48px; padding: 10px 12px; background: var(--white); color: var(--ink); width: 100%; -webkit-appearance: none; appearance: none; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d1117' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--orange-ink); }
.consent a { color: var(--ink); }
.fine { font-size: 14px; color: var(--muted); margin-top: -6px; }
.fine a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 14px; color: #b42318; min-height: 1em; }
.ok { border-left: 4px solid var(--orange); background: var(--soft); padding: 16px; font-weight: 600; }

/* Footer */
footer { padding-block: 40px 56px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Legal pages */
.legal { padding-block: 56px 80px; }
.legal .doc { max-width: 72ch; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal .meta { color: var(--muted); margin-top: 12px; font-size: 15px; }
.legal h2 { font-size: 22px; font-stretch: 100%; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; font-stretch: 100%; margin: 24px 0 8px; }
.legal p, .legal li { color: #2b313b; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal .box { border-left: 4px solid var(--orange); background: var(--soft); padding: 16px 20px; margin-top: 24px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--soft); }
.table-scroll { overflow-x: auto; }
.toc { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc a { display: inline-block; padding: 9px 0; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 44px 64px; }
  .hero-media { max-width: 560px; margin-left: 22px; }
}
@media (max-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .feat.flip .copy { order: 0; }
  .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .plan.pick { margin-top: 14px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .join-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 760px) {
  .srow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  :root { --section: 56px; }
  body { font-size: 16px; }
  .nav { height: 60px; gap: 12px; }
  .hero { gap: 40px; padding-block: 32px 48px; }
  .lede { font-size: 18px; margin-top: 18px; }
  .cta-row { margin-top: 24px; }
  .cta-row .btn { flex: 1 1 100%; }
  .ticks { flex-direction: column; margin-top: 22px; }
  /* Hero screenshots overlap so each one is big enough to read */
  .hero-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .shots { display: block; padding-bottom: 2%; }
  .shots::before { left: calc(var(--gutter) * -1); top: 12%; width: 58%; height: 76%; }
  .shots .shot:first-child { width: 64%; }
  .shots .shot:nth-child(2) { position: absolute; right: 0; top: 16%; width: 52%; margin-top: 0; }
  .h2 { font-size: clamp(28px, 8vw, 36px); }
  .sub { font-size: 17px; }
  .solve, .flow, .grid6 { margin-top: 32px; }
  .srow { padding: 20px 0; }
  .srow .prob { font-size: 18px; }
  .feat { padding-block: 36px; gap: 24px; }
  .feat .copy p { font-size: 16px; }
  .media-box { padding: 28px 16px; }
  .pair { gap: 12px; }
  .pair .shot:nth-child(2) { margin-top: 28px; }
  .single { max-width: 230px; }
  .grid6 { grid-template-columns: minmax(0, 1fr); }
  .cell { padding: 20px; }
  .cell h3 { margin-top: 14px; }
  .plan { padding: 24px 20px; }
  .plan .tag { left: 20px; }
  .price { font-size: 40px; }
  .bill { display: flex; }
  .bill button { flex: 1; padding-inline: 10px; }
  summary { font-size: 17px; }
  form.card { padding: 20px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn, form.card > .btn { width: 100%; }
  .toc ol { columns: 1; }
  .legal { padding-block: 36px 56px; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 24px; }
  .step { padding: 18px 0 0; }
  .step h3 { font-size: 18px; }
}
@media (max-width: 480px) {
  .nav .long { display: none; }
  .nav .short { display: inline; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .nav .btn { padding: 8px 12px; font-size: 14px; }
  .logo { font-size: 19px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
}
