/* ============================================================
   England Voice — landing page
   Zero dependencies. No CDN, no fonts to load, no build step.
   ============================================================ */

:root {
  --ink:        #0C1621;
  --ink-2:      #15242F;
  --ink-3:      #24384A;
  --paper:      #FAF8F5;
  --white:      #FFFFFF;
  --line:       #E5DFD6;
  --line-dark:  #2A3D4E;
  --text:       #17242E;
  --muted:      #5D6B76;
  --muted-dark: #9DB0BF;
  --accent:     #C4462F;
  --accent-dk:  #A2361F;
  --accent-lt:  #F4E4DF;
  --green:      #1E7A5B;

  --wrap: 1140px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(12,22,33,.04), 0 8px 28px rgba(12,22,33,.07);
  --shadow-lg: 0 2px 4px rgba(12,22,33,.05), 0 24px 60px rgba(12,22,33,.13);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.14; }

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  color: var(--white);
  margin-bottom: 22px;
}
h1 em { font-style: italic; color: #F0C9BF; }

.h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.h2.light { color: var(--white); }

.eyebrow {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.light { color: #E9A493; }

.lede { font-size: 1.16rem; line-height: 1.65; color: #C3D2DD; margin: 0 0 32px; max-width: 33em; }
.body { font-size: 1.05rem; color: var(--muted); margin: 0 0 16px; }
.body.light { color: var(--muted-dark); }
.narrow { max-width: 46ch; }
.section-head .narrow { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 30px; font-size: 1.03rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.hero .btn-ghost, .cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.hero .btn-ghost:hover, .cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #E9E4DC; }

.btn-dot {
  width: 9px; height: 9px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.btn[data-state="connecting"] { background: var(--ink-3); }
.btn[data-state="live"] { background: var(--green); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,22,33,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em;
  color: #fff; text-decoration: none;
}
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--accent); color: #fff;
}
.brand-mark svg { width: 17px; height: 17px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #C3D2DD; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(196,70,47,.30), transparent 62%),
    radial-gradient(760px 420px at 6% 105%, rgba(36,56,74,.85), transparent 60%),
    var(--ink);
  padding: clamp(64px, 9vw, 108px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { margin: 0; font-size: .92rem; color: #8FA6B6; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  h1 br { display: none; }
}

/* ---------- Phone mock ---------- */

.phone {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotate(-1.1deg);
}
.phone-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--ink-2); color: #fff; font-size: .84rem;
}
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #43C08B;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.phone-time { color: var(--muted-dark); font-variant-numeric: tabular-nums; }

.phone-log { padding: 20px; display: grid; gap: 14px; }
.turn {
  margin: 0; font-size: .93rem; line-height: 1.5;
  padding: 12px 15px; border-radius: 13px; max-width: 92%;
}
.turn span {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 5px; opacity: .55;
}
.turn.agent { background: var(--accent-lt); color: #5C2114; justify-self: start; border-bottom-left-radius: 4px; }
.turn.caller { background: #EFECE6; color: var(--text); justify-self: end; border-bottom-right-radius: 4px; }

.phone-foot {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: #FDFCFA;
}
.tick { font-size: .82rem; font-weight: 600; color: var(--green); }

@media (max-width: 940px) { .phone { transform: none; max-width: 480px; } }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tint { background: #F2EFE9; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(38px, 5vw, 56px); }

.band { background: var(--white); border-block: 1px solid var(--line); padding: clamp(56px, 7vw, 84px) 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li {
  position: relative; padding-left: 34px; font-size: 1.02rem; color: var(--text);
}
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent-lt); color: var(--accent-dk);
  font-size: .78rem; font-weight: 700;
}

@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Calculator ---------- */

.calc-section { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper); }
.calc {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
.calc-inputs { padding: clamp(28px, 4vw, 44px); display: grid; gap: 30px; align-content: start; }

.field { display: block; }
.field-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: .95rem; font-weight: 600; margin-bottom: 12px;
}
.field-label output {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px; background: var(--line);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(12,22,33,.25);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(12,22,33,.25);
}

.calc-result {
  padding: clamp(28px, 4vw, 44px);
  background: var(--ink);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-label { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E9A493; }
.calc-big {
  margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: clamp(2.6rem, 6vw, 3.5rem); font-variant-numeric: tabular-nums;
}
.calc-per { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted-dark); margin-top: 8px; letter-spacing: 0; }
.calc-sub { margin: 14px 0 0; font-size: .95rem; color: #C3D2DD; }
.calc-rule { border: 0; border-top: 1px solid var(--line-dark); margin: 22px 0; }
.calc-verdict { margin: 0 0 22px; font-size: .97rem; line-height: 1.55; color: #DCE6ED; }

@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  counter-reset: step;
}
.steps li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
}
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 10px; }
.steps p { margin: 0; font-size: .99rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Voice band ---------- */

.voice-band {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(196,70,47,.22), transparent 60%),
    var(--ink-2);
  padding: clamp(64px, 8vw, 100px) 0;
}
.voice-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.voice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.voice-list li {
  padding: 20px 0; border-top: 1px solid var(--line-dark);
}
.voice-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.voice-list strong { display: block; color: #fff; font-size: 1.06rem; margin-bottom: 5px; font-weight: 600; }
.voice-list span { color: var(--muted-dark); font-size: .97rem; }

@media (max-width: 860px) { .voice-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Pricing ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.tier {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.tier-featured {
  border-color: var(--ink); border-width: 2px; box-shadow: var(--shadow-lg);
}
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap;
}
.tier-name { font-size: 1.3rem; margin-bottom: 14px; }
.tier-price {
  margin: 0; font-family: var(--serif); font-size: 2.5rem; font-weight: 600; line-height: 1;
}
.tier-price span { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); }
.tier-setup { margin: 8px 0 24px; font-size: .92rem; color: var(--muted); }
.tier-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; }
.tier-list li { position: relative; padding-left: 26px; font-size: .97rem; line-height: 1.5; }
.tier-list li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.tiers-note {
  margin: 32px auto 0; max-width: 56ch; text-align: center;
  font-size: .93rem; color: var(--muted); line-height: 1.6;
}

@media (max-width: 940px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Verticals ---------- */

.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vertical {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.vertical:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.vertical h3 { font-size: 1.3rem; margin-bottom: 10px; }
.vertical p { margin: 0 0 20px; font-size: .99rem; color: var(--muted); line-height: 1.6; flex: 1; }
.vertical-go { font-size: .92rem; font-weight: 600; color: var(--accent); }

@media (max-width: 900px) { .verticals { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; font-weight: 400; color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -4px 0 24px; padding-right: 44px; color: var(--muted); line-height: 1.65; }

/* ---------- CTA ---------- */

.cta {
  background:
    radial-gradient(700px 380px at 50% -20%, rgba(196,70,47,.32), transparent 62%),
    var(--ink);
  padding: clamp(70px, 9vw, 110px) 0;
}
.cta-inner { text-align: center; }
.cta-inner .narrow { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px 0 20px; }
.cta-mail { margin: 0; font-size: .95rem; color: var(--muted-dark); }
.cta-mail a { color: #fff; }

/* ---------- Footer ---------- */

.foot { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 26px 0; }
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  color: var(--muted-dark); font-size: .9rem;
}
.foot p { margin: 0; }
.foot-links { display: flex; gap: 22px; }
.foot a { color: var(--muted-dark); text-decoration: none; }
.foot a:hover { color: #fff; }
