/* ============================================================
   Trust — Desktop Planner landing
   ============================================================ */

:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #4a5568;
  --line: #e4e8e4;
  --accent: #059669;
  --accent-dark: #047857;
  --accent-soft: #e6f6f0;
  --navy: #0b1220;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(11, 18, 32, .18);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container--narrow { width: min(760px, 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.7rem; border-radius: 12px;
  font: 600 .95rem var(--font-body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(5, 150, 105, .55);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 246, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo__mark { color: var(--accent); display: inline-flex; }
.logo__img { width: 30px; height: 30px; border-radius: 8px; display: block; box-shadow: 0 2px 8px rgba(11, 18, 32, .12); }
.logo__text { font: 700 1.25rem var(--font-head); letter-spacing: -.02em; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.header__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 5.5rem 0 4.5rem; overflow: hidden;
  background:
    radial-gradient(45% 55% at 85% 10%, rgba(5, 150, 105, .10), transparent 65%),
    radial-gradient(35% 45% at 5% 90%, rgba(11, 18, 32, .05), transparent 70%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem; border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(5, 150, 105, .22);
  color: var(--accent-dark);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.3rem;
}
.badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.accent { color: var(--accent); }
.lead { margin: 1.3rem 0 1.8rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 32rem; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__points { list-style: none; margin-top: 1.8rem; display: grid; gap: .55rem; }
.hero__points li { font-size: .92rem; color: var(--ink-soft); padding-left: 1.8rem; position: relative; }
.hero__points li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}

/* App mockup */
.hero__visual { position: relative; }
.app-window {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(1.2deg);
}
.app-window__bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .95rem; border-bottom: 1px solid var(--line);
  background: #fbfbfb;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #f26d6d; } .dot--y { background: #f0be4f; } .dot--g { background: #59c26e; }
.app-window__title { margin-left: .6rem; font-size: .78rem; color: var(--ink-soft); }
.app-window__body { display: grid; grid-template-columns: 130px 1fr; min-height: 300px; }
.app-side { border-right: 1px solid var(--line); padding: .9rem .6rem; display: grid; gap: .3rem; align-content: start; background: #fbfdfb; }
.app-side__item { font-size: .8rem; padding: .45rem .6rem; border-radius: 8px; color: var(--ink-soft); }
.app-side__item.is-active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.app-main { padding: 1.1rem 1.2rem; display: grid; gap: .55rem; align-content: start; }
.app-main__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; font-size: .92rem; }
.app-progress { width: 110px; height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.app-progress i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.task {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; padding: .6rem .7rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.task .check { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.task.is-done { color: var(--ink-soft); text-decoration: line-through; }
.task.is-done .check { border-color: var(--accent); background: var(--accent); }
.task--note { display: block; background: #fffbea; border-color: #f2e7b6; font-style: italic; color: #7a6c2c; }
.hero__glow {
  position: absolute; inset: 8% -12% -8% 18%; z-index: 1;
  background: radial-gradient(closest-side, rgba(5,150,105,.22), transparent 70%);
  filter: blur(10px);
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 1.7rem 0; text-align: center;
}
.strip__item { padding: 0 1.5rem; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item strong { display: block; font: 700 1.15rem var(--font-head); color: var(--accent-dark); letter-spacing: -.01em; }
.strip__item span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section__head p { color: var(--ink-soft); margin-top: .8rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .75rem var(--font-body);
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent-dark); margin-bottom: .9rem;
}
.kicker::before, .kicker::after {
  content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .5;
}
.kicker--light { color: #7be3bd; }

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

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(11, 18, 32, .22);
  border-color: rgba(5, 150, 105, .35);
}
.card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(145deg, var(--accent-soft), #f2fbf7);
  border: 1px solid rgba(5, 150, 105, .18);
  color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--ink-soft); }

/* Steps */
.steps { counter-reset: step; }
.step {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem; position: relative;
}
.step__num {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--navy); color: #fff;
  font: 700 1.05rem var(--font-head); margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(5, 150, 105, .28), transparent 60%),
    linear-gradient(160deg, #101a2e, var(--navy) 60%);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #eef2f7;
  border-radius: 24px; padding: 3.2rem;
  max-width: 900px; margin: 0 auto;
  box-shadow: 0 32px 64px -28px rgba(11, 18, 32, .45);
}
.price-card__label { font-size: .8rem; font-weight: 600; color: #7be3bd; text-transform: uppercase; letter-spacing: .12em; }
.price-card__price { font: 800 4rem/1 var(--font-head); margin: .9rem 0; }
.price-card__price sup { font-size: 1.6rem; vertical-align: super; margin-right: .1rem; }
.price-card__price span { display: block; font: 500 .95rem var(--font-body); color: #9aa7b8; margin-top: .4rem; }
.price-card__note { font-size: .88rem; color: #9aa7b8; margin-bottom: 1.6rem; max-width: 24rem; }
.price-card__list { list-style: none; display: grid; gap: .85rem; align-content: center; }
.price-card__list li { padding-left: 1.9rem; position: relative; font-size: .95rem; }
.price-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(123, 227, 189, .14); color: #7be3bd;
  font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.1rem 1.3rem;
}
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: .98rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Order ---------- */
.order {
  background:
    radial-gradient(60% 90% at 80% 0%, rgba(5,150,105,.35), transparent 60%),
    var(--navy);
}
.order__card {
  background: var(--surface); border-radius: 24px;
  padding: 3rem clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__field { display: grid; gap: .35rem; }
.form__field label { font-size: .88rem; font-weight: 600; }
.form__field small { font-size: .78rem; color: var(--ink-soft); }
.form__field input {
  font: 500 .95rem var(--font-body); padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfbfb;
  transition: border-color .15s, box-shadow .15s;
}
.form__field input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .15); background: #fff;
}
.form__field input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.form__consent input { margin-top: .25rem; accent-color: var(--accent); }
.form__consent a { color: var(--accent-dark); }
.form__error { color: #dc2626; font-size: .88rem; font-weight: 500; }
.form__small { font-size: .78rem; color: var(--ink-soft); text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form__success { text-align: center; padding: 2rem 0; }
.form__success-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1.8rem; font-weight: 700;
  display: grid; place-items: center;
}
.form__success p { color: var(--ink-soft); margin-top: .6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9aa7b8; padding-top: 3.5rem; }
.footer__inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2.5rem;
}
.footer .logo--light .logo__text { color: #fff; }
.footer .logo--light .logo__mark { color: #7be3bd; }
.footer__brand p { font-size: .9rem; margin-top: .8rem; max-width: 20rem; }
.footer__links { display: grid; gap: .55rem; align-content: start; }
.footer__links a, .footer__contact a { text-decoration: none; font-size: .9rem; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: .55rem; align-content: start; font-size: .9rem; }
.footer__contact span { font-weight: 600; color: #cdd6e0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.2rem; font-size: .82rem;
}

/* ---------- Legal pages ---------- */
.legal { padding: 4.5rem 0; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.legal .updated { color: var(--ink-soft); font-size: .88rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .95rem; }
.legal ul { padding-left: 1.3rem; margin-top: .5rem; }
.legal a { color: var(--accent-dark); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero { padding-top: 3.5rem; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .price-card { grid-template-columns: 1fr; padding: 2.2rem; gap: 1.8rem; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; }
  .strip__item:nth-child(odd) { border-left: 0; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav, .header__cta { display: none; }
  .header__burger {
    display: grid; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .header__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav.is-open {
    display: grid; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem 4%; gap: 1rem;
  }
  .grid--3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .app-window { transform: none; }
  .section { padding: 4rem 0; }
}
