/* Tjekly.dk v2 — design system */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.35);
  --teal: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.14);
  --coral: #ef4444;
  --coral-soft: rgba(239, 68, 68, 0.12);
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --navy-soft: #334155;
  --text: #1e293b;
  --text-muted: rgba(30, 41, 59, 0.62);
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --max: 1140px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ─── Header ─── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.75rem;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.header-cta {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-nav a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.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); }

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--blue-glow);
}

.btn-primary:hover { box-shadow: 0 8px 24px var(--blue-glow); }

.btn-secondary {
  background: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }

.btn-app-store {
  background: #000;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  gap: 0.75rem;
}

.btn-app-store svg { flex-shrink: 0; }

.btn-app-store small {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
  text-align: left;
}

.btn-app-store strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: linear-gradient(165deg, #0b1220 0%, var(--navy) 45%, #1a2744 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: rgba(37, 99, 235, 0.35);
}

.hero::after {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -60px;
  background: rgba(13, 148, 136, 0.25);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.hero-badge-text--short { display: none; }

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.02em;
}

.hero-intro {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat strong,
.hero-stat-flag {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-stat strong {
  font-weight: 700;
}

.hero-stat-flag,
.flag-emoji {
  font-weight: 400;
  font-style: normal;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.hero-stat > span:not(.hero-stat-flag) {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-origin {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.hero-origin .flag-emoji {
  margin-right: 0.2rem;
}

/* Device mockup */

.hero-visual { position: relative; min-height: 480px; }

.device-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 9/16;
}

.device {
  position: absolute;
  width: 72%;
  transition: transform 0.6s var(--ease);
}

.device-frame {
  background: #0a0a0a;
  border-radius: 2.25rem;
  padding: 0.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Screenshots include iOS status bar — no extra notch overlay */
.device-notch {
  display: none;
}

.device-frame img {
  border-radius: 1.75rem;
  width: 100%;
}

.device--main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 68%;
}

.device--left {
  left: 0;
  top: 12%;
  transform: rotate(-8deg) translateX(-5%);
  z-index: 1;
  opacity: 0.85;
}

.device--right {
  right: 0;
  top: 18%;
  transform: rotate(8deg) translateX(5%);
  z-index: 2;
  opacity: 0.9;
}

.hero-visual:hover .device--left { transform: rotate(-10deg) translateX(-8%); }
.hero-visual:hover .device--main { transform: translate(-50%, -52%); }
.hero-visual:hover .device--right { transform: rotate(10deg) translateX(8%); }

/* ─── Sections ─── */

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin: 0 0 0.875rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-header p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section-alt { background: var(--bg-alt); }

/* Trust bar */

.trust-bar {
  padding: 2rem 0;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 400;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* Feature cards */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card.is-highlight {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(13, 148, 136, 0.06) 100%);
  border-color: rgba(37, 99, 235, 0.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.feature-icon--blue { background: rgba(37, 99, 235, 0.12); }
.feature-icon--teal { background: var(--teal-soft); }
.feature-icon--coral { background: var(--coral-soft); }

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

.feature-tag--live {
  background: rgba(13, 148, 136, 0.14);
  color: var(--teal);
}

.feature-tag--soon {
  background: rgba(30, 41, 59, 0.08);
  color: var(--navy-soft);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--blue-glow);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Showcase split */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-reverse .showcase-content { order: 2; }
.showcase-reverse .showcase-visual { order: 1; }

.showcase-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.showcase-content > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.showcase-phone {
  max-width: 300px;
  margin-inline: auto;
}

.showcase-phone .device-frame {
  box-shadow: var(--shadow-lg);
}

/* Roadmap */

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.roadmap-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.roadmap-card.is-current {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1), var(--shadow);
}

.roadmap-card.is-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.roadmap-version {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.375rem;
}

.roadmap-card.is-current .roadmap-version { color: var(--teal); }

.roadmap-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.roadmap-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.roadmap-card li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.roadmap-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.roadmap-status {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
}

.roadmap-status--live { background: var(--teal-soft); color: var(--teal); }
.roadmap-status--now { background: rgba(37, 99, 235, 0.12); color: var(--blue); }
.roadmap-status--review { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.roadmap-status--future { background: rgba(30, 41, 59, 0.06); color: var(--navy-soft); }

/* CTA band */

.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 2rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* FAQ preview */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item[open] summary::after { content: "−"; }

.faq-body {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-body p { margin: 0 0 0.75rem; }
.faq-body p:last-child { margin: 0; }
.faq-body a { color: var(--blue); text-decoration: underline; }

/* Footer */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { color: #fff; margin-bottom: 1rem; }

.footer-brand p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── Subpages ─── */

main { padding-top: var(--header-h); }

main:has(> .hero) { padding-top: 0; }

.subpage-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, transparent 100%);
}

.subpage-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.subpage-hero > .container > p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--blue); }

.subpage-body { padding: 2.5rem 0 5rem; }

.subpage-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.subpage-sidebar nav {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.subpage-sidebar a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.subpage-sidebar a:hover,
.subpage-sidebar a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.prose {
  max-width: 52rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin: 0 0 1rem; }

.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.prose li { margin-bottom: 0.375rem; }

.prose a { color: var(--blue); text-decoration: underline; }

.prose .updated {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.info-box--teal { background: var(--teal-soft); border: 1px solid rgba(13, 148, 136, 0.2); }
.info-box--blue { background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.15); }
.info-box--coral { background: var(--coral-soft); border: 1px solid rgba(239, 68, 68, 0.2); }

.info-box-icon { font-size: 1.5rem; flex-shrink: 0; }

.info-box-content strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.info-box-content p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

/* Forms */

.subpage-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-note { font-size: 0.8125rem; color: var(--text-muted); }

.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.9375rem;
}

.form-success.is-visible { display: block; }

.form-error {
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-sm);
  background: var(--coral-soft);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--navy);
  font-size: 0.9375rem;
}

.form-error strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--coral);
}

.form-error p {
  margin: 0.35rem 0 0;
  line-height: 1.55;
  color: var(--text);
}

.form-error-ref {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-error-actions a {
  font-weight: 600;
  color: var(--blue);
}

.form-error--warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.form-error--warning strong {
  color: #b45309;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.is-highlight { grid-column: span 2; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.is-highlight { grid-column: span 2; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 2; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header-actions { display: flex; }

  .header-inner > .nav-toggle { margin-left: auto; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.06);
  }

  .header-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    gap: 0.25rem;
    z-index: 190;
  }

  .header-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav a:not(.btn) {
    padding: 0.875rem 1rem;
    border-radius: 10px;
  }

  .header-nav .btn { width: 100%; margin-top: 0.5rem; }

  .hero-grid,
  .showcase,
  .subpage-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero {
    padding: calc(var(--header-h) + 1.25rem) 0 2.5rem;
    overflow: hidden;
  }

  .hero-badge-text--long { display: none; }
  .hero-badge-text--short { display: inline; }

  .hero h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .hero-tagline { font-size: 1.0625rem; margin-bottom: 1rem; }
  .hero-intro {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.5rem;
  }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 0;
    overflow: visible;
    padding-inline: 0;
  }

  .device-stack {
    display: flex;
    justify-content: center;
    max-width: 240px;
    margin-inline: auto;
    aspect-ratio: auto;
    min-height: 0;
  }

  .device--left,
  .device--right {
    display: none;
  }

  .device {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    opacity: 1;
  }

  .device--main {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 240px;
    margin-inline: auto;
  }

  .hero-visual:hover .device--left,
  .hero-visual:hover .device--main,
  .hero-visual:hover .device--right {
    transform: none;
  }

  section { padding: 3rem 0; }
  .container { width: min(100% - 1.5rem, var(--max)); }

  .showcase-reverse .showcase-content,
  .showcase-reverse .showcase-visual { order: unset; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.is-highlight { grid-column: span 1; grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .roadmap { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
