:root {
  --accent: #0f5c4c;
  --accent-dark: #0a4238;
  --accent-soft: #e6f2ee;
  --accent-ring: rgba(15, 92, 76, .28);
  --ink: #16211d;
  --ink-soft: #4a5a53;
  --muted: #6b7873;
  --line: #e3e8e5;
  --line-strong: #cfd6d2;
  --bg: #ffffff;
  --bg-alt: #f5f7f6;
  --warn: #9a6412;
  --warn-soft: #fdf3e1;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --ok: #1f7a4d;
  --ok-soft: #e3f4ea;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 29, .04), 0 1px 3px rgba(22, 33, 29, .06);
  --shadow-md: 0 8px 24px -12px rgba(22, 33, 29, .18), 0 2px 6px -2px rgba(22, 33, 29, .06);
  --shadow-lg: 0 30px 60px -30px rgba(15, 92, 76, .35), 0 12px 24px -16px rgba(22, 33, 29, .18);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --tap: 44px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { max-width: 720px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-intro h2 { margin-bottom: .5rem; }
.section-intro p { color: var(--ink-soft); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem .8rem; z-index: 99; border-radius: 8px; box-shadow: var(--shadow-md); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
::selection { background: var(--accent-soft); }
@media (max-width: 720px) { .wrap { width: min(1120px, 100% - 2rem); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.15rem; min-height: 42px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; line-height: 1.2; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(10, 66, 56, .25), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-alt); border-color: #b9c3be; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.btn-danger:hover { background: #f9d3cf; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; min-height: 52px; border-radius: 12px; }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; border-radius: 8px; min-height: 36px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) { .btn { min-height: var(--tap); white-space: normal; text-align: center; } .btn-sm { min-height: 40px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); position: sticky; top: 0; z-index: 20; }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); position: relative; display: inline-block; flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.brand-mark::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 2.5px solid #fff; opacity: .95; }
.brand-mark::before { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; }
.brand small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.site-nav { display: flex; gap: .25rem; margin-left: auto; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .75rem; border-radius: 8px; }
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-ghost { display: none; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); background: radial-gradient(1200px 500px at 80% -10%, #e6f2ee 0%, rgba(230,242,238,0) 60%), linear-gradient(180deg, #f7faf8 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin-bottom: .5em; max-width: 15ch; }
.hero .lead { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.75rem 0 1rem; }
.trust-line { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .92rem; margin: 0; }
.trust-line svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero h1 { max-width: none; } .hero-visual { min-height: 0; margin-top: .5rem; } }

/* Phone mock */
.phone { width: 300px; background: #101614; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3330; position: relative; z-index: 2; }
.phone-screen { background: #f6f7f6; border-radius: 30px; overflow: hidden; height: 520px; display: flex; flex-direction: column; }
.phone-notch { width: 96px; height: 24px; background: #101614; border-radius: 0 0 16px 16px; margin: 0 auto -18px; position: relative; z-index: 2; }
.ps-head { display: flex; align-items: center; gap: .6rem; padding: 2.1rem .95rem .7rem; background: #fff; border-bottom: 1px solid var(--line); }
.ps-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; }
.ps-head strong { display: block; font-size: .95rem; line-height: 1.15; }
.ps-head span { font-size: .7rem; color: var(--muted); }
.ps-body { padding: .8rem .9rem; display: grid; gap: .7rem; }
.ps-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 0; }
.ps-chips { display: flex; gap: .35rem; }
.ps-chips span { flex: 1; text-align: center; border: 1px solid var(--line-strong); border-radius: 9px; padding: .45rem 0; font-size: .8rem; font-weight: 600; background: #fff; }
.ps-chips span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-row { display: flex; gap: .35rem; }
.mock-day { flex: 1; text-align: center; font-size: .7rem; padding: .45rem 0; border-radius: 8px; font-weight: 700; display: flex; flex-direction: column; line-height: 1.2; }
.mock-day small { font-weight: 500; font-size: .6rem; opacity: .8; }
.mock-day.plenty, .lg.plenty { background: var(--ok-soft); color: var(--ok); }
.mock-day.limited, .lg.limited { background: var(--warn-soft); color: var(--warn); }
.mock-day.full, .lg.full { background: var(--danger-soft); color: var(--danger); }
.mock-day.closed, .lg.closed { background: #eceeed; color: var(--muted); }
.mock-day.on { box-shadow: inset 0 0 0 2px var(--accent); }
.mock-slots { flex-wrap: wrap; }
.mock-slots span { flex: 1 0 28%; text-align: center; font-size: .78rem; padding: .45rem 0; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 600; background: #fff; }
.mock-slots span.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.mock-slots span.off { opacity: .4; text-decoration: line-through; }
.ps-cta { background: var(--accent); color: #fff; text-align: center; border-radius: 10px; padding: .7rem; font-weight: 700; font-size: .9rem; }
.mock-check { display: flex; align-items: center; gap: .6rem; background: var(--warn-soft); color: var(--warn); padding: .6rem .8rem; border-radius: 10px; font-size: .85rem; font-weight: 600; }
.mock-check.big { font-size: 1.1rem; padding: 1.2rem; flex-direction: column; text-align: center; }
.mock-check small { font-weight: 400; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); animation: pulse 1.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(154,100,18,.5); } 100% { box-shadow: 0 0 0 10px rgba(154,100,18,0); } }
.mock-confirm { background: var(--ok-soft); color: var(--ok); padding: .6rem .8rem; border-radius: 10px; font-size: .85rem; font-weight: 600; }

/* Staff notification card floating beside the phone */
.notif { position: absolute; right: -24px; top: 150px; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .9rem 1rem; z-index: 3; animation: floaty 6s ease-in-out infinite; }
.notif-head { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: .5rem; }
.notif-head .pulse { width: 8px; height: 8px; }
.notif-head time { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; }
.notif strong { font-size: 1.02rem; display: block; }
.notif p { margin: .1rem 0 .7rem; color: var(--ink-soft); font-size: .88rem; }
.notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.notif-actions span { text-align: center; padding: .6rem; border-radius: 9px; font-weight: 700; font-size: .9rem; }
.notif-actions .ok { background: var(--accent); color: #fff; }
.notif-actions .no { background: var(--danger-soft); color: var(--danger); }
.notif-cd { position: absolute; top: .75rem; right: 1rem; font-weight: 800; color: var(--warn); font-size: .95rem; font-variant-numeric: tabular-nums; }
.notif-confirm { position: absolute; left: -10px; bottom: 40px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: .8rem .9rem; z-index: 3; display: flex; gap: .7rem; align-items: center; }
.notif-confirm .tick-sm { width: 30px; height: 30px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.notif-confirm strong { font-size: .9rem; display: block; }
.notif-confirm span { font-size: .8rem; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .notif { right: -10px; } }
@media (max-width: 900px) {
  .hero-visual { justify-content: flex-start; padding-bottom: 2rem; }
  .phone { width: 260px; }
  .phone-screen { height: 480px; }
  .notif { right: auto; left: 200px; top: 60px; width: 240px; }
  .notif-confirm { left: 190px; bottom: 60px; width: 220px; }
}
@media (max-width: 560px) {
  .hero-visual { justify-content: center; }
  .notif { left: auto; right: -8px; top: 140px; width: 230px; }
  .notif-confirm { left: -8px; bottom: 30px; width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .notif, .pulse { animation: none; } }

/* Logos and made for strip */
.made-for { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 1.4rem 0; }
.made-for .wrap { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; justify-content: center; }
.made-for .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.made-for ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem 1.75rem; flex-wrap: wrap; justify-content: center; }
.made-for li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.made-for svg { width: 20px; height: 20px; color: var(--accent); }

/* Steps and features */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step p { margin: 0; color: var(--ink-soft); }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: .9rem; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: 1.02rem; margin: .9rem 0 .35rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.icon { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }
.callout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; background: var(--accent-soft); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); }
.callout-stats { display: grid; gap: .9rem; }
.callout-stats div { background: #fff; border-radius: 12px; padding: 1rem 1.2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.callout-stats strong { font-size: 1.8rem; letter-spacing: -0.02em; color: var(--accent); }
.callout-stats span { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 800px) { .callout { grid-template-columns: 1fr; gap: 1.5rem; } }
.pricing-honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.pricing-honest div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.pricing-honest strong { display: block; font-size: 1.05rem; margin-bottom: .3rem; }
.pricing-honest p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 800px) { .pricing-honest { grid-template-columns: 1fr; } }
.cta-band { background: var(--accent); color: #fff; background-image: radial-gradient(800px 300px at 20% 120%, rgba(255,255,255,.12), transparent 60%); }
.cta-band h2, .cta-band .lead { color: #fff; }
.cta-band .lead { opacity: .9; }
.feature-rows { display: grid; gap: 2rem; }
.feature-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.feature-row:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.feature-row:nth-child(even) > div:first-child { order: 2; }
.feature-row h2 { font-size: 1.5rem; }
.feature-row p:last-child { margin-bottom: 0; }
.feature-art { display: flex; align-items: center; justify-content: center; min-height: 140px; background: var(--bg-alt); border-radius: 14px; padding: 1.5rem; }
@media (max-width: 760px) { .feature-row, .feature-row:nth-child(even) { grid-template-columns: 1fr; gap: 1.25rem; } .feature-row:nth-child(even) > div:first-child { order: 0; } }
.mock-btns { display: flex; gap: .75rem; }
.mock-btns span { padding: 1rem 1.6rem; border-radius: 12px; font-weight: 700; font-size: 1.1rem; }
.mock-btns .ok { background: var(--accent); color: #fff; }
.mock-btns .no { background: var(--danger-soft); color: var(--danger); }
.mock-tables { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.mock-tables span { background: #fff; border: 1px solid var(--line); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.mock-code { display: block; padding: 1rem; font-size: .8rem; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mock-mail { display: flex; flex-direction: column; gap: .3rem; background: #fff; padding: 1rem 1.25rem; border-radius: 12px; border-left: 4px solid var(--accent); box-shadow: var(--shadow-sm); }
.mock-shield { background: var(--ok-soft); color: var(--ok); font-weight: 700; padding: 1rem 2rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; }
.feature-art .mock-row { width: 100%; max-width: 320px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(15,92,76,.55), 0 0 0 1px var(--accent); }
.plan h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.plan-tag { position: absolute; top: -13px; left: 1.5rem; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.plan-blurb { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.035em; margin: .25rem 0 0; line-height: 1.1; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; flex: 1; color: var(--ink-soft); display: grid; gap: .55rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: .05rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f5c4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan .btn { width: 100%; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan.featured { order: -1; } }

/* FAQ */
.faq-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: var(--tap); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%230f5c4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list p { margin: .6rem 0 0; color: var(--ink-soft); max-width: 60ch; }
.faq-list.big summary { font-size: 1.1rem; }

/* Forms */
.form { display: grid; gap: 1rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .muted { font-weight: 400; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), select, textarea) { font: inherit; padding: .7rem .85rem; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; width: 100%; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), select, textarea):hover { border-color: #b9c3be; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
input[disabled], select[disabled], textarea[disabled] { background: var(--bg-alt); color: var(--muted); }
input[type=color] { width: 56px; height: 44px; padding: .2rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
input[type=file] { font: inherit; font-size: .9rem; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%234a5a53' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; padding-right: 2.4rem; }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 20px; height: 20px; flex: none; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; min-height: 28px; }
.check input { margin-top: .15rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.flash-wrap { width: min(1120px, 100% - 2.5rem); margin: 1rem auto 0; display: grid; gap: .5rem; }
.flash { padding: .85rem 1rem; border-radius: 10px; font-weight: 500; border: 1px solid transparent; }
.flash-success { background: var(--ok-soft); color: var(--ok); border-color: #c6e6d3; }
.flash-error { background: var(--danger-soft); color: var(--danger); border-color: #f5c9c4; }
.flash-info { background: var(--accent-soft); color: var(--accent); border-color: #c9e2da; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose p { max-width: 68ch; }
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-card .card { padding: 2rem; }
@media (max-width: 520px) { .auth-card .card { padding: 1.4rem; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.footer-grid nav a { display: block; color: var(--ink-soft); text-decoration: none; margin-bottom: .5rem; font-size: .95rem; padding: .15rem 0; }
.footer-grid nav a:hover { color: var(--accent); }
.footer-grid .brand { margin-bottom: .75rem; }
.footer-about p { max-width: 34ch; }
.footer-about .byline { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; color: var(--muted); font-size: .9rem; }
.footer-about .byline a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.footer-about .byline a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Error page */
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-page main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 3rem 0; }
.error-code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.05em; color: var(--accent-soft); line-height: 1; margin-bottom: .5rem; text-shadow: 0 1px 0 #fff; }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.error-page .cta-row { justify-content: center; }
.error-page footer { border-top: 1px solid var(--line); padding: 1.25rem 0; text-align: center; }

/* ---------- tablez.co.uk additions (same look, more page types) ---------- */

/* Mobile menu */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff; border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: var(--shadow-sm); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-actions { display: none; }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); flex-direction: column; padding: .75rem 1rem 1.25rem; gap: .15rem; }
  .site-nav.open { display: flex; }
  .site-nav a.nav-link { padding: .75rem .75rem; font-size: 1.05rem; min-height: var(--tap); display: flex; align-items: center; }
  .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
  .site-nav .nav-mobile-actions a.btn { font-weight: 600; border-radius: 10px; padding: .7rem 1.15rem; }
  .site-nav .nav-mobile-actions a.btn-primary { color: #fff; background: var(--accent); }
  .site-nav .nav-mobile-actions a.btn-primary:hover { background: var(--accent-dark); color: #fff; }
  .site-nav .nav-mobile-actions a.btn-ghost { color: var(--ink); background: #fff; }
  body.menu-open { overflow: hidden; }
}

/* Breadcrumbs */
.crumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { list-style: none; margin: 0; padding: .6rem 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink); font-weight: 500; }

/* Inner page hero */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: radial-gradient(900px 400px at 85% -20%, #e6f2ee 0%, rgba(230,242,238,0) 60%), linear-gradient(180deg, #f7faf8 0%, #fff 100%); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero .cta-row { margin-bottom: .5rem; }

/* Worldwide strip */
.world-strip { background: var(--accent); color: #fff; padding: 1rem 0; }
.world-strip .wrap { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; text-align: center; font-weight: 500; }
.world-strip svg { width: 22px; height: 22px; flex: none; opacity: .9; }
.world-strip strong { font-weight: 700; }
.world-line { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: .9rem; font-weight: 500; margin: 0; }
.world-line svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Prose for guides, articles and legal pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6rem; }
.prose p, .prose li { max-width: 68ch; color: var(--ink); }
.prose p.lead { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: .9rem 1.2rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; color: var(--ink-soft); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose img { border-radius: 12px; }
.prose .faq-list p { max-width: none; }
.prose pre { margin: 0 0 1.2em; }
.note { background: var(--accent-soft); border: 1px solid #c9e2da; border-radius: 12px; padding: 1rem 1.2rem; margin: 1.25rem 0; color: var(--ink); font-size: .95rem; }
.note strong { color: var(--accent); }
.note p:last-child { margin-bottom: 0; }
.note.warn { background: var(--warn-soft); border-color: #f0dcb4; }
.note.warn strong { color: var(--warn); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.two-col .card h3 { margin-top: 0; }
.two-col .card ul { margin-bottom: 0; }

/* Tables (comparison and maths) */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; }
.table-wrap .yes { color: var(--ok); font-weight: 700; }
.table-wrap .no { color: var(--danger); font-weight: 600; }
.table-wrap .soon { color: var(--warn); font-weight: 600; }
.table-wrap tfoot td { background: var(--bg-alt); font-weight: 700; }
.table-wrap .tz { background: var(--accent-soft); }
.table-wrap.tight table { min-width: 0; }
.table-note { font-size: .85rem; color: var(--muted); margin-top: -.75rem; margin-bottom: 1.5rem; }

/* Code blocks */
pre.code { background: #101614; color: #e8efec; padding: 1rem 1.1rem; border-radius: 12px; overflow-x: auto; font-size: .85rem; line-height: 1.5; margin: 0; }
pre.code code { background: none; color: inherit; padding: 0; font-size: inherit; }
.code-box { position: relative; margin: 1rem 0 1.5rem; }
.code-box .copy { position: absolute; top: .6rem; right: .6rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs button { font: inherit; font-weight: 600; font-size: .9rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); cursor: pointer; min-height: 40px; }
.tabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.slug-field { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .95rem; }
.slug-field input { max-width: 220px; min-height: 40px; padding: .5rem .7rem; }

/* Live demo */
.demo-shell { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--bg-alt); font-size: .8rem; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.demo-bar i:first-child { background: #e8b3ad; }
.demo-bar i:nth-child(2) { background: #f0dcb4; }
.demo-bar i:nth-child(3) { background: #c6e6d3; }
.demo-bar span { margin-left: .5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-soft); }
.demo-frame { display: block; width: 100%; border: 0; min-height: 760px; background: #f6f7f6; }
.demo-live { display: inline-flex; align-items: center; gap: .5rem; background: var(--ok-soft); color: var(--ok); padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.demo-live .pulse { background: var(--ok); }
.demo-live .pulse { animation-name: pulse-ok; }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(31,122,77,.5); } 100% { box-shadow: 0 0 0 10px rgba(31,122,77,0); } }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-card h3 { font-size: 1.08rem; margin: .5rem 0 .4rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 1rem; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; }
.post-meta .tag { background: var(--accent-soft); color: var(--accent); padding: .15rem .55rem; border-radius: 999px; font-weight: 600; }
.post-card .more { font-weight: 600; text-decoration: none; font-size: .92rem; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; } }
.article-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 24ch; }
.article-head .post-meta { margin-bottom: 1rem; }

/* Checklist and stat rows */
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f5c4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.stat-row div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.stat-row strong { display: block; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.stat-row span { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* Plan extras */
.plan .price-alt { color: var(--muted); font-size: .9rem; margin: .1rem 0 0; }
.plan-note { font-size: .85rem; color: var(--muted); margin-top: .9rem; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; } }
.limit-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 760px) { .limit-box { grid-template-columns: 1fr; } }

/* Link lists between pages */
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.link-grid a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.link-grid a span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.link-grid a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) { .link-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .link-grid { grid-template-columns: 1fr; } }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards .card h3 { margin-top: 0; }
.contact-cards .card p:last-child { margin-bottom: 0; }

/* Error page as a normal page */
.error-page main { flex: 1; }
.plan ul { align-content: start; }
@media (max-width: 640px) {
  .table-wrap { padding-top: 1.6rem; position: relative; }
  .table-wrap::before { content: 'Swipe sideways to see the whole table'; position: absolute; top: .45rem; left: 1rem; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
}
.code-box pre.code { padding-right: 5.5rem; }
@media (max-width: 640px) { .code-box pre.code { padding-right: 1.1rem; padding-top: 3rem; } }
.price span { display: inline-block; line-height: 1.25; vertical-align: baseline; }
