:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-alt: #f1f7f9;
  --border: #e2e8f0;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 1em; }
h3 { font-size: 1.15rem; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.button { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--primary); transition: background .15s, transform .15s; text-align: center; }
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.button--small { padding: 8px 16px; font-size: .95rem; }
.button--large { padding: 14px 28px; font-size: 1.05rem; }
.button--outline { background: transparent; color: var(--primary); }
.button--outline:hover { color: #fff; }
.button--ghost { background: transparent; color: var(--primary); border-color: transparent; }
.button--ghost:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
.button--light { background: #fff; color: var(--primary-dark); border-color: #fff; }
.button--light:hover { background: #ecfeff; border-color: #ecfeff; }

/* Header */
.header { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; margin: 0; }
.nav__menu { display: flex; align-items: center; gap: 20px; }
.nav__menu a:not(.button) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav__menu a:not(.button):hover { color: var(--primary); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 64px 0 56px; background: radial-gradient(circle at 85% 10%, #cffafe 0, transparent 45%), linear-gradient(180deg, #f0fdff 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.mock { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(14,116,144,.35); overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #f8fafc; }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock__body { padding: 20px; }
.mock__title { font-weight: 700; margin: 0 0 12px; }
.mock__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__slots span { border: 1px solid var(--border); border-radius: 10px; text-align: center; padding: 8px 0; font-weight: 600; color: var(--muted); }
.mock__slots span.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.mock__confirm { margin-top: 16px; background: #ecfdf5; color: #047857; border-radius: 10px; padding: 10px 12px; font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 12px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.feature__icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 500; background: #fff; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 32px 0 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan--highlight { border: 2px solid var(--primary); box-shadow: 0 18px 40px -20px rgba(14,116,144,.45); }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #111827; font-weight: 700; font-size: .8rem; padding: 3px 12px; border-radius: 999px; }
.plan__price { margin: 4px 0 8px; }
.plan__price strong { font-size: 2rem; font-weight: 800; }
.plan__price span { color: var(--muted); }
.plan ul { padding-left: 1.2em; margin: 8px 0 24px; flex: 1; }
.plan li { margin: 4px 0; }

/* FAQ */
.faq { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--primary); font-weight: 800; }
.faq[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* CTA + footer */
.cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { color: #cffafe; margin-bottom: 24px; }
.footer { border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer__grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--primary); }

/* Legal pages */
.legal h1 { font-size: 2rem; text-align: left; }
.legal h2 { font-size: 1.25rem; text-align: left; margin: 2em 0 .5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal { overflow-wrap: anywhere; }

/* Mobile */
@media (max-width: 860px) {
  .hero__grid, .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .section { padding: 56px 0; }
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav__menu--open { display: flex; }
  .nav__menu a { padding: 12px 0; }
  .nav__menu .button { margin-top: 8px; }
  .actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Demonstration server (sandbox): yellow warning bar on top of every page. */
.env-bar { position: relative; z-index: 6; background: #facc15; color: #1f2937; padding: 6px 16px; text-align: center; font-weight: 600; font-size: 14px; }
