/* ---------- Tokens ---------- */
:root {
  --paper: #f5f1ea;
  --paper-2: #ece6db;
  --card: #fffdf9;
  --ink: #17201c;
  --muted: #5b655f;
  --line: #e0d8cb;
  --accent: #1f55d6;
  --accent-deep: #173fa6;
  --green: #1f6b4f;
  --mint: #dcefe4;
  --sun: #f1c550;
  --night: #12241d;
  --night-2: #1b3329;
  --radius: 22px;
  --radius-s: 14px;
  --bar-h: 68px;
  --shadow: 0 1px 2px rgba(23, 32, 28, .05), 0 12px 32px -12px rgba(23, 32, 28, .18);
  --shadow-lg: 0 2px 4px rgba(23, 32, 28, .05), 0 34px 70px -28px rgba(23, 32, 28, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
main { display: block; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--slim { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.h1, .h2, .h3 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 7.2vw, 5rem); line-height: .98; font-weight: 800; }
.h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); line-height: 1.06; font-weight: 700; }
.h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.mark { position: relative; white-space: nowrap; color: var(--accent); }
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em;
  background: var(--sun); border-radius: 99px; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: sweep .9s var(--ease) .7s forwards;
}
@keyframes sweep { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: 99px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(31, 85, 214, .7); }
.btn--solid:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(31, 85, 214, .75); }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--pale { background: var(--paper); color: var(--ink); }
.btn--pale:hover { background: var(--sun); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--night); }
.btn--small { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn--wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; }
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 241, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.top.is-stuck::before { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(23, 32, 28, .5); }
.top.is-open::before { background: var(--paper); }
.top__bar { display: flex; align-items: center; gap: 28px; height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__sign { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--night); transition: transform .5s var(--ease); }
.brand__sign img { width: 22px; filter: brightness(0) invert(1); }
.brand:hover .brand__sign { transform: rotate(-8deg) scale(1.06); }
.menu { display: none; gap: 4px; margin-right: auto; }
.menu a { white-space: nowrap; position: relative; padding: 8px 12px; font-weight: 500; font-size: .98rem; color: var(--muted); border-radius: 10px; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.top__acts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top__login { display: none; padding: 8px 12px; font-weight: 600; }
.top__login:hover { color: var(--accent); }
.top__acts .btn { display: none; }

.burger { position: relative; width: 46px; height: 46px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease), background-color .25s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.top.is-open .burger { background: var(--ink); border-color: var(--ink); }
.top.is-open .burger span { background: var(--paper); }
.top.is-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.top.is-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.top.is-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; left: 0; right: 0; top: var(--bar-h); height: calc(100vh - var(--bar-h)); height: calc(100dvh - var(--bar-h));
  display: flex; flex-direction: column; gap: 24px;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease), opacity .3s, visibility 0s linear .5s;
}
.top.is-open .drawer { visibility: visible; opacity: 1; clip-path: inset(0); transition: clip-path .5s var(--ease), opacity .2s, visibility 0s; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 2px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em;
}
.drawer__nav a .ico { color: var(--accent); width: 22px; height: 22px; }
.drawer__nav a[aria-current] { color: var(--accent); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }
.drawer__note { text-align: center; font-size: .9rem; color: var(--muted); padding-top: 6px; }
.drawer__nav a, .drawer__foot > * { opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .3s; }
.top.is-open .drawer__nav a, .top.is-open .drawer__foot > * {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease) calc(.12s + var(--i, 0) * .055s), transform .6s var(--ease) calc(.12s + var(--i, 0) * .055s);
}

@media (min-width: 960px) {
  :root { --bar-h: 76px; }
  .menu { display: flex; }
  .top__login { display: inline-flex; }
  .top__acts .btn { display: inline-flex; }
  .burger, .drawer { display: none; }
}

/* ---------- Sections ---------- */
.block { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.block--tint { background: var(--paper-2); }
.head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(241, 197, 80, .5), rgba(241, 197, 80, 0)); pointer-events: none;
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__trust { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero__trust .ico { color: var(--green); }
.stage { position: relative; padding: 14px 6px 40px; }
.stage__shot { border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: rotate(1.6deg); transition: transform .8s var(--ease); }
.stage:hover .stage__shot { transform: rotate(0deg) scale(1.01); }
.stage__shot img { width: 100%; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.25; animation: bob 6s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; }
.chip__dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--green); }
.chip--a { left: -4px; bottom: 0; }
.chip--b { right: -4px; top: -8px; animation-delay: -3s; background: var(--night); color: #fff; border-color: var(--night); }
.chip--b .chip__dot { background: var(--sun); color: var(--night); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .chip--a { left: -34px; bottom: 4px; }
  .chip--b { right: -22px; top: -14px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--night); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: slide 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 44px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.split { display: grid; gap: 40px; }
.split__copy { display: grid; gap: 18px; align-content: start; }
.points { display: grid; gap: 12px; counter-reset: pt; }
.points li {
  counter-increment: pt; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line);
  font-weight: 500; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.points li::before {
  content: counter(pt, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--green);
  transition: background-color .35s, color .35s;
}
.points li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.points li:hover::before { background: var(--green); color: #fff; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .split__copy--stick { position: sticky; top: calc(var(--bar-h) + 32px); }
}

/* ---------- Calculator ---------- */
.calc { background: var(--night); color: var(--paper); border-radius: clamp(24px, 4vw, 40px); padding: clamp(26px, 5vw, 64px); display: grid; gap: 40px; position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 107, 79, .7), transparent); pointer-events: none; }
.calc > * { position: relative; }
.calc .kicker { color: var(--sun); }
.calc .lead { color: rgba(245, 241, 234, .74); }
.calc__copy { display: grid; gap: 18px; align-content: start; justify-items: start; }
.calc__note { font-size: .92rem; color: rgba(245, 241, 234, .62); border-left: 2px solid var(--sun); padding-left: 14px; max-width: 52ch; }
.calc__panel { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; color: rgba(245, 241, 234, .74); }
.calc__label output { white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
.calc__range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--sun) var(--fill, 30%), rgba(255, 255, 255, .16) var(--fill, 30%)); }
.calc__range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.calc__range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--sun); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); transition: transform .2s; }
.calc__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); }
.calc__range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__sum { display: grid; gap: 2px; padding: 20px 22px; border-radius: var(--radius-s); background: var(--paper); color: var(--ink); }
.calc__sum small { font-size: .9rem; color: var(--muted); }
.calc__sum strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__sum strong em { font-style: normal; font-size: .42em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-right: .3em; }
.presets { display: grid; gap: 8px; }
.presets button {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; text-align: left;
  padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .13); color: rgba(245, 241, 234, .86);
  font-size: .95rem; position: relative; overflow: hidden; transition: border-color .25s, background-color .25s;
}
.presets button b { color: var(--sun); font-weight: 600; white-space: nowrap; }
.presets button i { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.presets button i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--sun); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .3s; }
.is-in .presets button i::after, html:not(.js) .presets button i::after { transform: scaleX(1); }
.presets button:hover, .presets button[aria-pressed="true"] { border-color: var(--sun); background: rgba(241, 197, 80, .08); }
@media (max-width: 560px) { .presets button { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 16px; }
.card {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--mint); color: var(--green); margin-bottom: 8px; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.card__ico .ico { width: 24px; height: 24px; }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.08); background: var(--green); color: #fff; }
.card p { color: var(--muted); }
.card__no { position: absolute; right: 22px; top: 18px; font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--line); }
.after { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Business ---------- */
.biz { display: grid; gap: 36px; align-items: center; }
.biz__copy { display: grid; gap: 20px; justify-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: .97rem; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
.tags li .ico { color: var(--green); width: 18px; height: 18px; transition: color .3s; }
.tags li:hover { transform: translateY(-3px); background: var(--night); color: #fff; border-color: var(--night); }
.tags li:hover .ico { color: var(--sun); }
.frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame__bar i:first-child { background: var(--accent); }
.frame__bar i:nth-child(2) { background: var(--sun); }
.frame img { width: 100%; }
@media (min-width: 900px) { .biz { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: st; }
.step { counter-increment: st; display: grid; gap: 14px; align-content: start; padding: 14px 14px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__pic { border-radius: 14px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.step__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.step:hover .step__pic img { transform: scale(1.05); }
.step__body { display: grid; gap: 8px; padding: 4px 12px 0; }
.step__body::before { content: "Schritt " counter(st); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step p { color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } .step:nth-child(2) { margin-top: 28px; } .step:nth-child(3) { margin-top: 56px; } }

/* ---------- Habit ---------- */
.habit { display: grid; gap: 40px; align-items: center; }
.habit__pic { position: relative; justify-self: center; width: min(320px, 78%); }
.habit__pic::before { content: ""; position: absolute; inset: 8% -22% 4%; border-radius: 40px; background: var(--mint); transform: rotate(-5deg); }
.habit__pic img { position: relative; border-radius: 34px; box-shadow: var(--shadow-lg); }
.habit__copy { display: grid; gap: 20px; justify-items: start; }
.ticks { display: grid; gap: 4px; width: 100%; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.ticks li .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.4; }
@media (min-width: 900px) { .habit { grid-template-columns: .8fr 1.2fr; gap: 72px; } }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto auto 1fr auto; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--top { background: var(--night); color: var(--paper); border-color: var(--night); }
.plan__flag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 99px; background: var(--sun); color: var(--night); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan__for { color: var(--muted); font-size: .98rem; }
.plan--top .plan__for { color: rgba(245, 241, 234, .7); }
.plan__price { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.plan__price small { font-family: var(--body); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan--top .plan__price small { color: rgba(245, 241, 234, .7); }
.plan__list { display: grid; gap: 10px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.plan--top .plan__list { border-color: rgba(255, 255, 255, .14); }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan__list .ico { color: var(--green); margin-top: 3px; stroke-width: 2.4; }
.plan--top .plan__list .ico { color: var(--sun); }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan--top { transform: translateY(-14px); } .plan--top:hover { transform: translateY(-20px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.qa { border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.qa.is-open { border-color: var(--ink); box-shadow: var(--shadow); }
.qa__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; }
.qa__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); transition: background-color .3s, transform .5s var(--ease); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.qa__q i::after { transform: rotate(90deg); }
.qa.is-open .qa__q i { background: var(--accent); transform: rotate(180deg); }
.qa.is-open .qa__q i::before, .qa.is-open .qa__q i::after { background: #fff; }
.qa.is-open .qa__q i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.js .qa:not(.is-open) .qa__a { grid-template-rows: 0fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 22px 22px; color: var(--muted); max-width: 68ch; }
.faq-more { margin-top: 28px; text-align: center; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 2px solid var(--sun); padding-bottom: 2px; transition: border-color .25s, color .25s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link .ico { transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0; color: #fff; background: linear-gradient(120deg, var(--accent-deep), var(--accent) 62%); }
.final::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 2px, transparent 2px 30px); pointer-events: none; }
.final::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sun); transform-origin: left; }
.final__in { position: relative; display: grid; gap: 30px; align-items: center; }
.final__copy { display: grid; gap: 16px; }
.final .h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.final .lead { color: rgba(255, 255, 255, .88); }
.final .cta-row { align-items: center; }
@media (min-width: 940px) { .final__in { grid-template-columns: 1fr auto; gap: 64px; } .final .cta-row { flex-direction: column; align-items: stretch; } }

/* ---------- Inner page hero ---------- */
.intro { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__copy { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Forms ---------- */
.gate { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.gate__grid { display: grid; gap: 40px; align-items: center; }
.gate__box { display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gate__box .h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.form { display: grid; gap: 16px; }
.form__pair { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field__top { font-size: .92rem; font-weight: 600; }
.field__top { display: flex; justify-content: space-between; gap: 12px; }
.field__top a { color: var(--accent); }
.field input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input:hover { border-color: #c9bfae; }
.field input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 107, 79, .14); }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .93rem; color: var(--muted); }
.agree input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); }
.agree a, .gate__alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gate__alt { font-size: .96rem; color: var(--muted); }
.alert { padding: 13px 16px; border-radius: 12px; background: #fbe9e7; color: #a11715; font-size: .95rem; font-weight: 500; animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 80% { transform: translateX(-2px); } }
.done { display: grid; gap: 8px; padding: 22px; border-radius: var(--radius-s); background: var(--mint); color: var(--night); animation: rise .6s var(--ease); }
.done b { font-family: var(--display); font-size: 1.25rem; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.gate__pic { justify-self: center; width: min(300px, 70%); position: relative; }
.gate__pic::before { content: ""; position: absolute; inset: 10% -24% 6%; border-radius: 40px; background: var(--sun); opacity: .55; transform: rotate(5deg); }
.gate__pic img { position: relative; border-radius: 34px; box-shadow: var(--shadow-lg); }
@media (min-width: 560px) { .form__pair { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gate__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

/* ---------- Legal ---------- */
.legal { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.legal__head { display: grid; gap: 14px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__head .h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.legal__date { font-size: .92rem; color: var(--muted); }
.legal__grid { display: grid; gap: 36px; }
.toc { padding: 22px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); align-self: start; }
.toc__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: .94rem; line-height: 1.35; color: var(--muted); transition: background-color .2s, color .2s; }
.toc a::before { content: counter(toc); font-weight: 700; color: var(--accent); }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.legal__body { display: grid; gap: 30px; }
.legal__intro { font-size: 1.1rem; }
.clause { display: grid; gap: 10px; scroll-margin-top: calc(var(--bar-h) + 20px); }
.clause h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.01em; }
.clause p { color: var(--muted); }
.clause a { text-decoration: underline; }
@media (min-width: 940px) { .legal__grid { grid-template-columns: 300px 1fr; gap: 64px; } .toc { position: sticky; top: calc(var(--bar-h) + 24px); } }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; place-items: center; padding: 64px 0 96px; text-align: center; }
.lost__in { display: grid; gap: 20px; justify-items: center; }
.lost__num { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 26vw, 13rem); line-height: .85; letter-spacing: -.05em; color: var(--accent); }
.lost__num span { display: inline-block; animation: wobble 3.6s ease-in-out infinite; }
.lost__num span:nth-child(2) { animation-delay: -.6s; color: var(--sun); }
.lost__num span:nth-child(3) { animation-delay: -1.2s; }
@keyframes wobble { 50% { transform: translateY(-12px) rotate(-4deg); } }
.lost .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgba(245, 241, 234, .76); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .97rem; }
.foot__grid { display: grid; gap: 36px; }
.foot .brand { color: #fff; }
.foot .brand__sign { background: var(--accent); }
.foot__about { display: grid; gap: 16px; align-content: start; max-width: 36ch; }
.foot__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.foot__list { display: grid; gap: 9px; }
.foot a { transition: color .2s; }
.foot a:hover { color: #fff; }
.foot__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.foot__list a:hover { background-size: 100% 1px; }
.foot__base { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.foot__base ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1020px) { .foot__grid { grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 48px; } }

/* ---------- Cookie ---------- */
.cookie { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; max-width: 480px; margin-left: auto; padding: 20px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 14px; font-size: .94rem; animation: rise .6s var(--ease); }
.cookie a { text-decoration: underline; font-weight: 600; }
.cookie__acts { display: flex; gap: 10px; }
.cookie__acts .btn { flex: 1; }

/* ---------- Reveal ---------- */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-rise="left"] { transform: translateX(-32px); }
.js [data-rise="right"] { transform: translateX(32px); }
.js [data-rise="zoom"] { transform: scale(.94); }
.js [data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .mark::after, .presets button i::after { transform: scaleX(1); }
}
