:root {
  --ink: oklch(20% 0.025 245);
  --ink-soft: oklch(42% 0.03 240);
  --ink-faint: oklch(56% 0.025 240);
  --surface: oklch(98% 0.005 230);
  --surface-2: oklch(95% 0.012 230);
  --panel: #ffffff;
  --line: oklch(89% 0.012 235);
  --line-soft: oklch(93% 0.008 235);
  --accent: oklch(48% 0.14 245);
  --accent-strong: oklch(38% 0.13 245);
  --accent-soft: oklch(93% 0.04 245);
  --orange: oklch(66% 0.16 55);
  --orange-strong: oklch(45% 0.15 50);
  --green: oklch(58% 0.16 150);
  --shadow-sm: 0 4px 14px rgba(18, 28, 44, 0.08);
  --shadow-md: 0 18px 40px rgba(18, 28, 44, 0.14);
  --shadow-lg: 0 36px 80px rgba(18, 28, 44, 0.22);
  --radius-sm: 0.55rem;
  --radius: 0.9rem;
  --radius-lg: 1.4rem;
  --font-body: "Raleway", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --container: 72rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 30%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.95rem; padding: 0.6rem 1.05rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.btn-lg { padding: 0.8rem 1.4rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-strong)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: color-mix(in oklab, var(--panel) 70%, transparent); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); margin-bottom: 0.6rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 4.2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.025em; }
.brand-dot { color: var(--orange); }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 500; color: var(--ink-soft); }
.site-nav a { position: relative; padding: 0.3rem 0; transition: color 0.15s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width 0.2s var(--ease); }
.site-nav a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 0.6rem; }
.landing-language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--panel) 76%, transparent);
}
.landing-language-switcher button {
  min-width: 2.1rem;
  min-height: 2rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: calc(var(--radius-sm) - 0.16rem);
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}
.landing-language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 2rem + 6vw, 6.5rem) 0 clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 0.8rem; margin: 1.8rem 0 1.6rem; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--ink-soft); font-size: 0.92rem; }
.hero-trust strong { color: var(--ink); }

/* Hero mockup */
.hero-visual { position: relative; }
.mock-window {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--line); }
.mock-bar .dot:nth-child(1) { background: #ff5f57; }
.mock-bar .dot:nth-child(2) { background: #febc2e; }
.mock-bar .dot:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 0.7rem; font-size: 0.78rem; color: var(--ink-soft); }
.mock-body { display: grid; grid-template-columns: 4.5rem 1fr; min-height: 19rem; }
.mock-side { background: linear-gradient(180deg, var(--accent), var(--accent-strong)); padding: 0.9rem 0.7rem; display: flex; flex-direction: column; gap: 0.7rem; }
.mock-logo { display: grid; place-items: center; height: 2rem; margin-bottom: 0.3rem; }
.mock-link { display: flex; align-items: center; gap: 0.4rem; }
.mock-link::before { content: ""; flex: 0 0 auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255,255,255,0.45); }
.mock-link::after { content: ""; flex: 1; height: 0.5rem; border-radius: 0.3rem; background: rgba(255,255,255,0.28); }
.mock-link.is-active::before { background: #fff; }
.mock-link.is-active::after { background: rgba(255,255,255,0.85); }
.mock-main { padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.mock-head-title { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.mock-head-btn { font-size: 0.72rem; font-weight: 600; color: #fff; background: var(--accent); padding: 0.25rem 0.6rem; border-radius: 999px; }
.mock-cal { display: flex; flex-direction: column; gap: 0.45rem; }
.mock-cal .cell { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--surface); }
.mock-cal .cell.is-free { border-style: dashed; background: transparent; }
.mock-cal .cell b { flex: 0 0 auto; font-size: 0.74rem; line-height: 1.4; color: var(--ink-soft); width: 2.6rem; }
.cell-free { font-size: 0.74rem; color: var(--ink-soft); }
.tag { display: inline-flex; align-items: center; max-width: 100%; font-style: normal; font-size: 0.74rem; line-height: 1.4; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0.18rem 0.5rem; border-radius: 999px; }
.t-blue { background: var(--accent-soft); color: var(--accent-strong); }
.t-orange { background: color-mix(in oklab, var(--orange) 22%, white); color: var(--orange-strong); }
.t-green { background: color-mix(in oklab, var(--green) 20%, white); color: oklch(40% 0.13 150); }
.mock-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 0.9rem 1.05rem; display: flex; align-items: center; gap: 0.8rem;
}
.mc-text { display: flex; flex-direction: column; gap: 0.25rem; }
.mc-qr { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 6px; }
.mock-float { position: absolute; right: -0.9rem; bottom: -1.4rem; width: 16rem; }
.mc-title { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }
.mc-line { font-size: 0.82rem; color: var(--ink-soft); }
.mc-muted { color: var(--ink-faint); }

/* ---------- Stats ---------- */
.stats { padding: 1.2rem 0 2.4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.2rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 42rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.2rem); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.section-sub { color: var(--ink-soft); margin-top: 0.7rem; font-size: 1.08rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.feat-ic { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.8rem; font-size: 1.5rem; background: var(--accent-soft); margin-bottom: 1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.feature p { color: var(--ink-soft); font-size: 0.96rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(180deg, var(--accent), var(--accent-strong)); margin-bottom: 0.9rem; }
.step h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); text-align: center; }
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow-md); position: relative; }
.price-badge { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--accent), var(--accent-strong)); color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.price-tag { display: inline-block; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; color: var(--accent); background: var(--accent-soft); padding: 0.3rem 0.8rem; border-radius: 999px; }
.price { margin: 1rem 0 0.4rem; min-height: 3.4rem; display: flex; align-items: baseline; justify-content: center; gap: 0.3rem; line-height: 1; }
.price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.price-amount.is-custom { font-size: 1.9rem; }
.price-per { color: var(--ink-faint); font-size: 1rem; }
.price-users { color: var(--ink-soft); font-weight: 600; margin: 0 0 1.9rem; min-height: 1.5rem; }
.price-list { list-style: none; margin: 0 0 1.5rem; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.price-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-faint); }
@media (max-width: 820px) { .price-wrap { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: #fff; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.cta-inner p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

/* Footer */
.site-footer { background: var(--ink); color: oklch(86% 0.02 235); padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 0.7rem; color: oklch(74% 0.02 235); max-width: 28ch; }
.footer-legal { display: block; margin-top: 1rem; font-style: normal; font-size: 0.84rem; line-height: 1.7; color: oklch(66% 0.02 235); }
.footer-col h2 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: oklch(70% 0.02 235); margin-bottom: 0.9rem; }
.footer-col a { display: block; margin-bottom: 0.5rem; color: oklch(88% 0.02 235); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-muted { color: oklch(66% 0.02 235); font-size: 0.86rem; margin-top: 0.3rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: 0.84rem; color: oklch(66% 0.02 235); flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .lead { max-width: none; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; padding-right: 0.4rem; gap: 0.5rem; }
  .header-cta .btn { padding: 0.5rem 0.7rem; font-size: 0.88rem; }
  .landing-language-switcher button { min-width: 1.9rem; padding-inline: 0.42rem; }
}
@media (max-width: 560px) {
  .hero-actions .btn-lg { flex: 1 1 0; min-width: 0; text-align: center; padding: 0.7rem 0.6rem; font-size: 0.88rem; }
}
@media (max-width: 560px) {
  .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .mock-float { right: 0; width: 13rem; }
  .mock-float .mc-qr { width: 2.8rem; height: 2.8rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
