/* Shared look for the Ezora feature pages (one page per feature, same parts).
   The colours, type, buttons, phone demo, cards and motion are the same
   as the ezora.co home page (content.html), so these pages read as one site.
   If the home page's look changes, change it here too. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/landing/bricolage.woff2') format('woff2');
}
:root {
  --paper: #FAFAF7; --card: #FFFFFF; --ink: #17211B; --muted: #5C6B63; --hairline: #E4E5DC;
  --green: #0E6B4A; --green-bright: #1FA268; --green-tint: #EAF4EE; --green-line: #C8E2D3;
  --amber: #C25E2E; --amber-tint: #F9EEE6; --ink-band: #0F2A1F;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav (same as home) ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 247, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 16px 24px; max-width: 1120px; margin: 0 auto; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.wordmark span { color: var(--green-bright); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 12px 24px; border-radius: 10px; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--green); color: #fff; border: 1px solid var(--green); }
.btn-solid:hover { background: #0C5E41; border-color: #0C5E41; }
.btn-ghost { color: var(--ink); border: 1px solid var(--hairline); background: var(--card); }
.btn-ghost:hover { border-color: var(--green); }
.nav .btn { padding: 9px 18px; }

/* ---------- hero (same as home) ---------- */
.hero { padding-top: 88px; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; margin: 18px 0 22px; }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.micro { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.micro b { color: var(--ink); font-weight: 600; }

/* ---------- phone demo (same as home) ---------- */
.phone { background: var(--card); border: 1px solid var(--hairline); border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px -30px rgba(23, 33, 27, 0.35); max-width: 420px; margin-left: auto; }
.phone-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; }
.phone-head .when { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.chip { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.chip-amber { background: var(--amber-tint); color: var(--amber); }
.chip-green { background: var(--green-tint); color: var(--green); }
.feed { display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.94rem; line-height: 1.45; }
.msg-caller { background: #F0EFE8; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-agent { background: var(--green-tint); border: 1px solid var(--green-line); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-agent .who, .msg-caller .who { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.msg-agent .who { color: var(--green); }
.msg-caller .who { color: var(--muted); }
.sysline { align-self: center; font-family: var(--mono); font-size: 0.76rem; color: var(--muted); display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; text-align: center; }
.sysline.amber { color: var(--amber); }
.booked { align-self: center; width: 100%; background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; }
.booked b { color: var(--green); }
.booked small { display: block; color: var(--muted); margin-top: 2px; font-size: 0.8rem; }
/* landing.js adds .play, so without the script every message simply shows */
.feed.play > * { opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.45s ease; }
.feed.play > .shown { opacity: 1; transform: none; }
.phone-cap { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 0.84rem; color: var(--muted); text-align: center; }

/* ---------- trusted (same as home) ---------- */
.trusted { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 26px 0; }
.trusted-inner { display: flex; align-items: center; gap: 20px 36px; flex-wrap: wrap; justify-content: center; }
.trusted .label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.trusted .name { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #8A968E; letter-spacing: 0.01em; white-space: nowrap; }

/* ---------- sections and cards (same as home) ---------- */
section.block { padding-top: 96px; }
.block-head { max-width: 620px; margin-bottom: 48px; }
.block-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 14px 0 16px; }
.block-head .lede { color: var(--muted); font-size: 1.08rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 > *, .grid3 > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 30px; }
.card.tint { background: var(--green-tint); border-color: var(--green-line); }
.card h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: 6px; }
.card .outcome { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.card .outcome:last-child { margin-bottom: 0; }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.card ul li { font-size: 0.94rem; padding-left: 22px; position: relative; }
.card ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--green-bright); border-radius: 2px; }
.card .verdict { margin-top: 16px; font-weight: 600; font-size: 0.98rem; }

/* how it runs (the home page's steps; six here, so two rows) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
.step { border-top: 2px solid var(--green); padding-top: 22px; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--green); line-height: 1; }
.step h3 { font-size: 1.2rem; font-weight: 600; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }
.aside { margin-top: 28px; background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 12px; padding: 14px 18px; font-size: 0.94rem; }
.aside b { color: var(--green); }

/* the same enquiry, two ways: a timeline inside a card */
.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 5.6em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 0.96rem; }
.card.tint .timeline li { border-color: var(--green-line); }
.timeline time { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.card.tint .timeline time { color: var(--green); }
.verdict.lost { color: var(--amber); }
.verdict.won { color: var(--green); }

/* calculator */
.calc { padding: 0; overflow: hidden; }
.calc label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 15px 30px; border-bottom: 1px solid var(--hairline); font-size: 0.96rem; }
.calc .field { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px; padding: 0 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .field:focus-within { border-color: var(--green); }
.calc input { width: 6ch; border: 0; background: transparent; font: inherit; color: inherit; padding: 8px 0; text-align: right; -moz-appearance: textfield; }
.calc input:focus-visible { outline: none; }
.calc input.wide { width: 8.5ch; }
.calc input::-webkit-outer-spin-button, .calc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .result { padding: 24px 30px 28px; background: var(--amber-tint); }
.calc .result .label { font-size: 0.88rem; color: var(--muted); }
.calc output { display: block; overflow-wrap: anywhere; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--amber); font-variant-numeric: tabular-nums; }

/* weekly report */
.report { padding: 0; overflow: hidden; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 30px; border-bottom: 1px solid var(--hairline); }
.report-head .when { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.figures { display: grid; grid-template-columns: repeat(5, 1fr); }
.figures div { padding: 26px 24px; border-left: 1px solid var(--hairline); }
.figures div:first-child { border-left: 0; }
.figures .label, .figures .note { font-size: 0.84rem; color: var(--muted); }
.figures .figure { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0; font-variant-numeric: tabular-nums; }

/* a card that is a link to another feature page */
a.card.link { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
a.card.link:hover { border-color: var(--green); transform: translateY(-1px); }
a.card.link .chip { display: inline-block; margin-top: 14px; }

/* label and value rows inside the phone demo (a scorecard, CRM fields) */
.kv { align-self: stretch; border: 1px solid var(--hairline); border-radius: 12px; padding: 4px 14px; font-size: 0.88rem; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.kv > div:first-child { border-top: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }

/* a timeline whose first column is a phrase, not a clock time */
.timeline.wide { margin-top: 0; }
.timeline.wide li { grid-template-columns: 15em 1fr; }
.timeline.wide li:first-child { border-top: 0; padding-top: 0; }
.timeline.wide li:last-child { padding-bottom: 0; }
.timeline.wide time { font-family: var(--body); font-size: 0.96rem; font-weight: 600; color: var(--green); padding-top: 0; }
.figures.four { grid-template-columns: repeat(4, 1fr); }

/* questions */
.questions { margin: 0; max-width: 760px; }
.questions > div { padding: 20px 0; border-top: 1px solid var(--hairline); }
.questions > div:last-child { border-bottom: 1px solid var(--hairline); }
.questions dt { font-weight: 600; }
.questions dd { margin: 6px 0 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- CTA band: the home page's band, but light. The home page's is near-black
   green; these pages keep every surface light, so the band is the pale green tint. ---------- */
.band { margin-top: 110px; background: var(--green-tint); border-top: 1px solid var(--green-line); border-bottom: 1px solid var(--green-line); color: var(--ink); padding: 88px 0; }
.band h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; max-width: 15em; }
.band p { color: var(--muted); max-width: 36em; margin: 20px 0 34px; font-size: 1.08rem; }
.band .alt { margin: 18px 0 0; max-width: none; font-size: 0.92rem; color: var(--muted); }
.band .alt a { color: var(--green); display: inline-block; padding: 8px 0; }

/* ---------- footer (same as home) ---------- */
footer { padding: 34px 0 44px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.foot a { color: var(--muted); display: inline-block; padding: 8px 0; }

/* reveals (same as home; landing.js adds .reveal-on so nothing hides without it) */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on .reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed.play > *, .reveal-on .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, a.card.link { transition: none; }
}
@media (max-width: 920px) {
  .hero { padding-top: 56px; padding-bottom: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone { margin: 0 auto; }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .figures, .figures.four { grid-template-columns: 1fr 1fr; }
  .figures div { border-left: 0; border-top: 1px solid var(--hairline); }
  .figures div:first-child { border-top: 0; }
}
@media (max-width: 720px) {
  .grid2 { grid-template-columns: 1fr; }
  section.block { padding-top: 72px; }
  .card { padding: 24px; }
  .calc, .report { padding: 0; }
  .calc label { padding: 14px 20px; }
  .calc .result { padding: 20px 20px 24px; }
  .report-head { padding: 14px 20px; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .figures, .figures.four { grid-template-columns: 1fr; }
  .timeline.wide li { grid-template-columns: 1fr; gap: 4px; }
  .band { margin-top: 80px; padding: 64px 0; }
}
