/* Spike 235 — the public home page. Colours and type copied from css/app.css,
   not imported: the app's stylesheet is about screens this page does not have. */
:root {
  --paper: #faf8f5;
  --surface: #ffffff;
  --slot: #f1ece5;
  --border: #e9e3db;
  --border-control: #958c85;
  --ink: #1b1917;
  --quiet: #6f6862;
  --faint: #b0a7a0;
  --petrol: #125c5f;
  --petrol-dark: #0d4648;
  --petrol-soft: #e4efee;
  --petrol-border: #c5dcda;
  --petrol-text: #d8e8e8;
  --amber: #c8862a;
  --gold: #e3c25a;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Lora", Georgia, serif;
  --measure: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}
a { color: var(--petrol); }
a:hover { color: var(--petrol-dark); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--petrol); color: #fff; }
.btn--primary:hover { background: var(--petrol-dark); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); font-size: 17px; padding: 14px 26px; }
.btn--gold:hover { background: #d9b74a; color: var(--ink); }
.btn--outline { background: transparent; color: var(--petrol); border: 1.5px solid var(--petrol-border); }

/* header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 42% 18%;
  background: var(--slot);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-nav a:hover { color: var(--petrol); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { color: var(--quiet); font-size: 14px; text-decoration: none; padding: 8px 6px; }

/* hero */
.hero {
  background: var(--petrol);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-block: 88px 72px;
}
.hero__copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero h1 { font-size: 60px; line-height: 1.08; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero__lead { font-size: 20px; max-width: 520px; color: var(--petrol-text); }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 8px;
}
.hero__note { font-size: 15px; color: var(--petrol-text); }
.hero__art { flex: 0 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__art img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgb(0 0 0 / 30%));
}

.steps-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.steps-copy { flex: 1 1 480px; min-width: 0; }
.steps-phone { flex: 0 1 320px; min-width: 0; display: flex; justify-content: center; }

.edge { display: block; width: 100%; height: 24px; color: var(--paper); }

/* phone mock */
.phone {
  width: 300px;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 30%);
}
.phone__screen {
  background: var(--paper);
  border-radius: 30px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
}
.phone__bar {
  padding: 18px 16px 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.phone__bar strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.phone__bar span { font-size: 12px; color: var(--quiet); }
.phone__photo {
  margin: 0 16px;
  height: 120px;
  border-radius: 12px;
  background: var(--slot);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.label {
  width: 170px;
  height: 64px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}
.label i { display: block; height: 6px; border-radius: 3px; background: #d9d1c8; }
.label i:first-child { height: 8px; width: 80px; background: var(--amber); }
.label i:nth-child(2) { width: 120px; }
.label i:nth-child(3) { width: 96px; }
.phone__read {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  color: var(--petrol);
  font-weight: 600;
}
.phone__fields { padding: 12px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.phone__fields div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.phone__fields div:last-of-type { border-bottom: 0; }
.phone__fields span { color: var(--quiet); }
.phone__fields strong { font-weight: 600; text-align: right; }
.phone__save {
  margin-top: 6px;
  background: var(--petrol);
  color: #fff;
  text-align: center;
  padding: 11px;
  border-radius: 999px;
  font-weight: 600;
}

/* sections */
.section { padding-block: 72px; }
.section--white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--petrol { background: var(--petrol); color: #fff; }
.section h2 { font-size: 40px; }
.section__intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 36px; }
.section__intro p { color: var(--quiet); font-size: 18px; }
.section--petrol .section__intro p { color: var(--petrol-text); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step__n { font-family: var(--font-display); font-size: 44px; color: var(--amber); line-height: 1; }
.step p { color: var(--quiet); }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature h3 { font-size: 22px; }
.feature p { color: var(--quiet); }
.feature svg { width: 32px; height: 32px; }

.pricing .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-block: 80px;
}
.pricing__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pricing__copy p { font-size: 18px; color: var(--petrol-text); max-width: 520px; }
.price-card {
  flex: 0 1 360px;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 20%);
}
.price-card .eyebrow { color: var(--amber); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1; }
.price span { color: var(--quiet); }
.price-card .fine { color: var(--quiet); font-size: 15px; }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--petrol); font-weight: 700; }
.price-card .btn { margin-top: 10px; font-size: 17px; padding: 14px 20px; }

.help .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  padding-block: 64px 40px;
}
.help__col { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.help__col h2 { font-size: 28px; }
.help__col p { color: var(--quiet); }
.help__col a { font-weight: 600; }

/* privacy and the other plain pages */
.policy { max-width: 40rem; padding-block: 48px 64px; display: flex; flex-direction: column; gap: 14px; }
.policy h1 { font-size: 36px; margin-bottom: 8px; }
.policy h2 { font-size: 22px; margin-top: 16px; }
.policy__lead { font-size: 18px; }
.policy p { color: var(--ink); }

.site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 24px;
  font-size: 14px;
  color: var(--quiet);
}
.site-footer a { color: var(--quiet); }
.site-footer .lang-switch { margin-left: auto; }

/* phone width */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header .wrap { gap: 10px; }
  .site-nav { display: none; }
  .header-actions .btn--primary { display: none; }
  .hero .wrap { padding-block: 40px 36px; gap: 28px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__note { text-align: center; }
  .hero__art { flex-basis: 100%; }
  .hero__art img { max-width: 280px; }
  .steps-row { gap: 28px; }
  .steps-phone { flex-basis: 100%; }
  .phone { width: 250px; border-radius: 34px; padding: 10px; }
  .phone__screen { border-radius: 26px; font-size: 12px; }
  .phone__photo { height: 90px; }
  .section { padding-block: 40px; }
  .section h2 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .step { flex-direction: row; gap: 16px; }
  .step__n { font-size: 34px; width: 28px; flex: 0 0 auto; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature { padding: 18px; }
  .pricing .wrap { padding-block: 40px; gap: 24px; }
  .price-card { padding: 22px; flex-basis: 100%; }
  .price strong { font-size: 40px; }
  .help .wrap { padding-block: 40px 24px; }
  .site-footer .lang-switch { margin-left: 0; }
}
