/* SERO Landing — Sitewerk-Look, mobil 390px first */
:root {
  --bg: #151310;
  --bg-2: #1c1915;
  --ink: #f2efe9;
  --mut: #8d877c;
  --line: #2a2620;
  --navy: #1a4a8c;
  --tint: #2f6fd0;
  --tint-soft: rgba(47, 111, 208, 0.22);
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: #000; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(21, 19, 16, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 26px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 500; }
.top-nav a { color: var(--mut); text-decoration: none; }
.top-nav a:hover { color: var(--ink); text-decoration: none; }
.top-cta {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--bg) !important;
  font-weight: 600; font-size: 13px; text-decoration: none !important;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.top-cta:hover { background: #fff; transform: translateY(-1px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  text-decoration: none !important; border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: linear-gradient(165deg, #3a7ad8, #1a4a8c);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 32px rgba(26, 74, 140, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(26, 74, 140, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #3d3830; }

.hero {
  position: relative;
  min-height: min(100dvh, 920px);
  display: grid;
  align-items: end;
  padding: 28px 20px 48px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% -10% 20% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(47, 111, 208, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 45% at 20% 60%, rgba(26, 74, 140, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 35% at 50% 90%, rgba(141, 135, 124, 0.12), transparent 70%);
  pointer-events: none;
  animation: glowDrift 14s var(--ease) infinite alternate;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 233, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 34rem; }
.hero-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #7aa0c2; margin-bottom: 14px;
  animation: rise 0.7s var(--ease) both;
}
.hero-brand {
  font-family: var(--display); font-weight: 800; font-size: clamp(52px, 14vw, 96px);
  letter-spacing: 0.02em; line-height: 0.95; color: var(--ink);
  margin-bottom: 10px;
  animation: rise 0.8s 0.05s var(--ease) both;
}
.hero-line {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 5.5vw, 34px); letter-spacing: 0.02em;
  color: var(--ink); margin-bottom: 16px;
  animation: rise 0.8s 0.1s var(--ease) both;
}
.hero-sub {
  font-size: 16px; color: var(--mut); max-width: 28rem; margin-bottom: 28px;
  animation: rise 0.8s 0.16s var(--ease) both;
}
.hero-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  animation: rise 0.8s 0.22s var(--ease) both;
}
.store-soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-2);
  color: var(--ink); min-height: 52px;
  cursor: default; user-select: none;
}
.store-soon .apple { width: 22px; height: 22px; flex: none; }
.store-soon .meta { display: flex; flex-direction: column; line-height: 1.15; }
.store-soon .meta small {
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mut);
}
.store-soon .meta strong {
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.04em;
}
.hero-visual {
  position: absolute; right: -8%; bottom: 4%;
  width: min(72vw, 420px); z-index: 1; pointer-events: none;
  animation: floatCam 7s ease-in-out infinite;
}
.hero-cam {
  width: 100%;
  filter: drop-shadow(0 28px 60px rgba(0,0,0,.45));
  mix-blend-mode: screen; opacity: 0.88;
}
.hero-orbit {
  position: absolute; inset: 8% 4%;
  border: 1px solid rgba(141, 135, 124, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.section {
  position: relative;
  padding: 72px 20px;
  border-top: 1px solid var(--line);
}
.section-inner { max-width: 920px; margin: 0 auto; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.section h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 4.5vw, 34px); letter-spacing: 0.03em;
}
.section-lead { color: var(--mut); font-size: 15px; max-width: 36rem; margin-bottom: 28px; }

.steps {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.step {
  flex: 0 0 min(78vw, 300px); scroll-snap-align: center;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-2); padding: 22px 18px;
  transition: transform 0.25s, border-color 0.25s;
}
.step:hover { transform: translateY(-3px); border-color: #3d3830; }
.step-num {
  font-family: var(--display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.14em; color: #7aa0c2; margin-bottom: 12px;
}
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { color: var(--mut); font-size: 14.5px; }

.feat-list { display: grid; gap: 0; }
.feat {
  display: grid; gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feat:first-child { border-top: 1px solid var(--line); }
.feat h3 {
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.06em;
}
.feat p { color: var(--mut); font-size: 15px; max-width: 40rem; }

.math { display: grid; gap: 14px; }
.math-item {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; background: var(--bg-2);
}
.math-item.accent { border-color: rgba(47, 111, 208, 0.45); box-shadow: 0 0 0 1px var(--tint-soft); }
.math-item h3 { font-size: 15px; color: var(--mut); margin-bottom: 6px; font-weight: 500; }
.math-item .v {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 6vw, 36px);
  letter-spacing: 0.02em; margin-bottom: 10px;
}
.math-item p { color: var(--mut); font-size: 14.5px; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat {
  font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; background: rgba(255,255,255,.03);
}

.guide-grid { display: grid; gap: 14px; }
.guide-panel {
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); overflow: hidden;
}
.guide-panel summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 18px;
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.08em;
}
.guide-panel summary::-webkit-details-marker { display: none; }
.guide-panel summary::after {
  content: "+"; color: var(--mut); font-family: var(--body); font-size: 20px; line-height: 1;
}
.guide-panel[open] summary::after { content: "–"; }
.guide-body { padding: 0 18px 20px; color: var(--mut); font-size: 14.5px; }
.guide-body ol { margin: 8px 0 0 1.1rem; display: grid; gap: 8px; }
.guide-body li { padding-left: 2px; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 4px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 16px;
  font-weight: 600; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: #a9c4dd; }
.faq details p {
  padding: 0 16px 16px; color: var(--mut); font-size: 14.5px; max-width: 40rem;
}

.cta-block {
  text-align: left;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(47, 111, 208, 0.18), transparent 60%),
    var(--bg);
}
.cta-block .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.foot {
  padding: 36px 20px max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center; color: var(--mut); font-size: 13px;
}
.foot img { margin: 0 auto 14px; opacity: 0.85; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.foot-links a { color: var(--mut); }
.foot-links a:hover { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatCam {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 2%) scale(1.05); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 820px) {
  .top { padding-left: 40px; padding-right: 40px; }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 48px 40px 64px;
    gap: 24px;
  }
  .hero-visual {
    position: relative; right: auto; bottom: auto;
    width: min(100%, 480px); justify-self: end;
  }
  .hero-cam { mix-blend-mode: normal; opacity: 1; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .section { padding: 88px 40px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .step { flex: none; }
  .math { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
}

@media (max-width: 390px) {
  .hero-brand { font-size: 48px; }
  .top-nav a:not(.top-cta) { display: none; }
}

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