/* ============= Tokens ============= */
:root {
  --primary: #0e3a6b;
  --primary-deep: #0a2748;
  --accent: #06b6c9;
  --accent-soft: #d6f3f7;
  --yellow: #f5d300;
  --ink: #0b1626;
  --ink-2: #44546b;
  --ink-3: #8a98ac;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-warm: #f8f6f1;
  --radius: 14px;
  --gap: clamp(20px, 3vw, 32px);
  --container: 1240px;
}

[data-theme="dark"] {
  --primary: #5ec8d8;
  --primary-deep: #06b6c9;
  --accent: #f5d300;
  --accent-soft: #1d3548;
  --ink: #ecf2fb;
  --ink-2: #a4b3c8;
  --ink-3: #6b7a90;
  --line: #1f2c41;
  --bg: #0a1422;
  --bg-soft: #0f1c2f;
  --bg-warm: #0f1c2f;
}

[data-density="compact"] { --gap: 18px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor;
}

h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { color: var(--ink-2); margin: 0; text-wrap: pretty; }

.h-display {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.h-section {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.h-card {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--primary) 70%, black);
}
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: #04222a;
  box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--accent) 80%, black);
}
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============= Header ============= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; }
[data-theme="dark"] .brand-logo { filter: brightness(1.1); }
.brand-pill {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  white-space: nowrap;
}
.nav { display: flex; gap: 28px; align-items: center; flex-shrink: 0; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
@media (max-width: 1040px) { .brand-pill { display: none; } }
@media (max-width: 960px) { .nav { display: none; } }

/* ============= Hero ============= */
.hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero[data-layout="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.hero[data-layout="centered"] .hero-mock { display: none; }
.hero[data-layout="centered"] .hero-cta { justify-content: center; }
.hero[data-layout="centered"] .hero-meta { justify-content: center; }
.hero[data-layout="centered"] .eyebrow { justify-content: center; }
.hero[data-layout="centered"]::after {
  content: "";
  display: block;
  margin: 56px auto 0;
  max-width: 1100px;
  height: 1px; background: var(--line);
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 .accent { color: var(--accent); }
.hero-copy h1 .underline {
  position: relative; white-space: nowrap;
}
.hero-copy h1 .underline::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 10px; background: var(--yellow); opacity: 0.55;
  z-index: -1; border-radius: 2px;
}
.hero-copy .lead {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.55;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  padding-top: 8px;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px color-mix(in oklab, #4ade80 25%, transparent); }
.hero-meta .item { display: flex; gap: 8px; align-items: center; }

/* Mock browser frame */
.hero-mock { position: relative; }
.mock-frame {
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 30px 80px -30px rgba(14, 58, 107, 0.35),
    0 8px 24px -8px rgba(14, 58, 107, 0.15),
    0 0 0 1px var(--line);
  overflow: hidden;
  transform: perspective(2000px) rotateY(-3deg) rotateX(1deg);
  transition: transform .4s ease;
}
.hero-mock:hover .mock-frame { transform: perspective(2000px) rotateY(-1deg) rotateX(0); }
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: #f3f5f8;
  border-bottom: 1px solid #e6ebf2;
}
.mock-bar .light { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .l1 { background: #ff5f57; }
.mock-bar .l2 { background: #febc2e; }
.mock-bar .l3 { background: #28c840; }
.mock-bar .url {
  flex: 1; margin-left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: #fff;
  border: 1px solid #e6ebf2;
  padding: 5px 12px;
  border-radius: 999px;
  color: #44546b;
  display: flex; align-items: center; gap: 8px;
}
.mock-bar .url .lock { width: 10px; height: 10px; border-radius: 2px; background: #06b6c9; }
.mock-img { display: block; width: 100%; }

/* Floating callouts */
.callout {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -16px rgba(14, 58, 107, 0.35), 0 0 0 1px var(--line);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.callout .icon-pill {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.callout strong { font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.callout span.small { color: var(--ink-3); font-size: 11px; }
.callout.c1 { top: -14px; left: -36px; animation-delay: 0s; }
.callout.c2 { bottom: 30px; right: -36px; animation-delay: 1.5s; }
.callout.c1 .icon-pill { background: var(--accent-soft); color: var(--accent); }
.callout.c2 .icon-pill { background: #fff5d2; color: #b8920c; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 920px) {
  .callout.c1 { left: -10px; }
  .callout.c2 { right: -10px; }
}

/* Scanner illustration in hero (decorative grid) */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink-3) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink-3) 8%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

/* ============= Stats strip ============= */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 820px) { .stats .row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
@media (max-width: 820px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat .num {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num .unit { font-size: 0.5em; color: var(--accent); font-weight: 700; }
.stat .label { color: var(--ink-2); font-size: 13px; margin-top: 8px; font-weight: 500; }

/* ============= Sections ============= */
section.pad { padding: clamp(70px, 9vw, 120px) 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.section-head .left { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.section-head .right { color: var(--ink-2); max-width: 360px; font-size: 15px; }

/* ============= Features ============= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  box-shadow: 0 20px 40px -25px rgba(14, 58, 107, 0.3);
}
.feature-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 24px;
  display: block;
}
.feature-card .icon-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--primary) 60%, black);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; line-height: 1.55; }
.feature-card .demo {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px dashed var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.feature-card .demo .val { color: var(--primary); font-weight: 600; }
.feature-card .demo .val.green { color: #16a34a; }
.feature-card .demo .val.warn { color: #b8920c; }

/* ============= Showcase ============= */
.showcase {
  background: var(--bg-warm);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .showcase { background: var(--bg-soft); }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .showcase-grid { grid-template-columns: 1fr; gap: 40px; } }
.showcase-copy { display: flex; flex-direction: column; gap: 22px; }
.showcase-copy ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
.showcase-copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.showcase-copy li .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #04222a;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.showcase-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(14, 58, 107, 0.4),
    0 0 0 1px var(--line);
  background: #fff;
}
.showcase-frame img { width: 100%; display: block; }

/* ============= How it works ============= */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.step .step-num {
  position: absolute;
  top: -20px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--primary) 70%, black);
}
.step h3 { margin: 24px 0 10px; }
.step p { font-size: 14.5px; }
.step .visual {
  margin-top: 24px;
  height: 130px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Scanner visual */
.scan-line {
  position: absolute; left: 12%; right: 12%; top: 50%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(-30px); opacity: 0.4; }
  50% { transform: translateY(30px); opacity: 1; }
}
.barcode {
  display: flex; align-items: end; gap: 2px; height: 60px;
}
.barcode span {
  display: block; width: 3px; background: var(--ink);
}
/* Result visual */
.result-rows { display: flex; flex-direction: column; gap: 6px; padding: 16px; width: 100%; }
.result-rows .row-item {
  display: flex; justify-content: space-between; font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-2);
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--line);
}
.result-rows .row-item strong { color: var(--primary); font-weight: 700; }
/* Decision visual */
.decision { display: flex; gap: 8px; font-size: 22px; }
.decision .chip {
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.decision .chip.ok { color: #16a34a; border-color: #bbf7d0; }
.decision .chip.no { color: #dc2626; border-color: #fecaca; }

/* ============= CTA ============= */
.cta-wrap {
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 50%),
    radial-gradient(circle at 10% 80%, color-mix(in oklab, var(--yellow) 25%, transparent), transparent 50%),
    var(--primary-deep);
  color: #fff;
  border-radius: 24px;
  padding: clamp(50px, 6vw, 80px);
  overflow: hidden;
}
.cta-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-wrap .inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .cta-wrap .inner { grid-template-columns: 1fr; } }
.cta-wrap h2 { color: #fff; }
.cta-wrap p { color: rgba(255,255,255,0.75); font-size: 16px; }
.cta-wrap .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .cta-wrap .cta-buttons { justify-content: flex-start; } }
.cta-wrap .btn-primary { background: var(--accent); color: #04222a; box-shadow: 0 16px 40px -10px rgba(6, 182, 201, 0.6); }
.cta-wrap .btn-primary:hover { background: #fff; color: var(--primary-deep); }
.cta-wrap .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-wrap .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============= Footer ============= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-top h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin: 0 0 16px; font-weight: 700; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-top a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap; gap: 12px;
}

/* ============= Modal ============= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in oklab, var(--primary-deep) 55%, rgba(0,0,0,0.5));
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.5);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  padding: 40px;
  animation: modalUp .25s cubic-bezier(.16,1,.3,1);
}
@keyframes modalUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-head { margin-bottom: 28px; padding-right: 36px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .modal { padding: 28px 22px; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }

/* Calendar */
.cal {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 14px;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cal-title { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.cal-nav {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, opacity .15s;
}
.cal-nav:hover:not(:disabled) { background: var(--line); color: var(--ink); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-bottom: 6px;
}
.cal-dow span {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell {
  aspect-ratio: 1;
  border: none; background: transparent;
  border-radius: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s;
}
.cal-cell.empty { pointer-events: none; }
.cal-cell:not(.empty):not(:disabled):hover { background: var(--accent-soft); }
.cal-cell:disabled { color: var(--ink-3); opacity: 0.4; cursor: not-allowed; }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-cell.sel { background: var(--accent) !important; color: #04222a; box-shadow: none; }

/* Form states */
.form-error {
  background: #fef2f2; color: #b91c1c;
  border: 1px solid #fecaca; border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.form-error .btn { align-self: stretch; justify-content: center; }
[data-theme="dark"] .form-error { background: #2a1414; border-color: #6b2424; color: #fca5a5; }
.modal-success { text-align: center; padding: 16px 8px 8px; display: flex; flex-direction: column; align-items: center; }
.success-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
