/* =========================================================
   LittleSteps 2.0 — landing page
   Палитра и настроение взяты из приложения: бумага, терракота,
   шалфей, пыльная роза и мягкий жёлтый.
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Univers";
  src: url("assets/fonts/UniversLTCYR-45Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f7f3ea;
  --bg-soft: #f2ebdd;
  --surface: #fdf8ec;
  --surface-2: #f7efe0;
  --ink: #393631;
  --ink-soft: #635d53;
  --muted: #6f6960;
  --faint: #a79e8f;
  --line: #e6ded0;
  --line-strong: #d6cab6;
  --terracotta: #b86f63;
  --terracotta-deep: #8a4c42;
  --terracotta-hover: #793f37;
  --accent-text: #8a4c42;
  --terracotta-soft: #f3e1da;
  --on-terra: #fff9ef;
  --sage: #a5b19a;
  --sage-deep: #5c6c54;
  --sage-soft: #e7ecdf;
  --rose: #d9b4b0;
  --yellow: #e9d9a9;
  --cream: #fff9ef;
  --gold: #d9b05f;
  --shadow: 0 24px 60px -36px rgba(70, 45, 32, .45);
  --shadow-soft: 0 18px 40px -30px rgba(70, 45, 32, .35);
  --paper: url("assets/paper-light.png");
  --preview-paper: url("assets/paper-light.png");
  --paper-dots: rgba(70, 60, 48, .14);
  --radius: 22px;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --display: "Univers", "Montserrat", "Segoe UI", sans-serif;
  --accent-font: "Montserrat", "Segoe UI", sans-serif;
  --header-bg: rgba(247, 243, 234, .84);
}

[data-theme="dark"] {
  --bg: #242222;
  --bg-soft: #2b2827;
  --surface: #302d2c;
  --surface-2: #362f2b;
  --ink: #e9e1d5;
  --ink-soft: #c6bcaf;
  --muted: #a89e93;
  --faint: #7e7468;
  --line: #494340;
  --line-strong: #5b524b;
  --terracotta: #cf8473;
  --terracotta-deep: #b96c5c;
  --terracotta-hover: #d99a8b;
  --accent-text: #d99a8b;
  --terracotta-soft: #3d2425;
  --on-terra: #2a1917;
  --sage: #96a58d;
  --sage-deep: #b9c7b1;
  --sage-soft: #3a4134;
  --rose: #b98f91;
  --yellow: #c8b77e;
  --cream: #f6ecdd;
  --gold: #e0bd76;
  --shadow: 0 24px 60px -32px rgba(0, 0, 0, .7);
  --shadow-soft: 0 18px 40px -28px rgba(0, 0, 0, .55);
  --paper: url("assets/paper-dark.png");
  --preview-paper: url("assets/paper-dark.png");
  --paper-dots: rgba(255, 247, 235, .07);
  --header-bg: rgba(36, 34, 34, .86);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, var(--paper-dots) 1px, transparent 1.35px),
    var(--paper);
  background-size: 16px 16px, 512px 512px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}

::selection {
  background: var(--terracotta);
  color: var(--on-terra);
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--terracotta);
  color: var(--on-terra);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------------ */
/*  Шапка                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(40, 30, 20, .6);
}
.no-blur .site-header,
.no-blur .main-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 6px 14px -8px rgba(90, 50, 40, .6);
}
.brand-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .015em;
}
.brand-version {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--terracotta-deep);
  background: var(--terracotta-soft);
  border-radius: 999px;
  padding: 3px 8px;
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.icon-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  margin: 3.5px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------------ */
/*  Кнопки                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--terracotta-deep);
  color: var(--on-terra);
  box-shadow: 0 14px 28px -16px rgba(120, 60, 48, .65);
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px rgba(120, 60, 48, .75);
}
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-2px);
}
.btn-small { padding: 10px 18px; font-size: 12px; }
.btn-cream {
  background: var(--cream);
  color: #6b3b32;
  box-shadow: 0 16px 30px -18px rgba(30, 12, 10, .65);
}
.btn-cream:hover { background: #fffdf8; transform: translateY(-2px); }

/* ------------------------------------------------------------------ */
/*  Первый экран                                                       */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(34px, 5vw, 68px) 0 clamp(58px, 7vw, 92px);
  isolation: isolate;
}
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.blob-a {
  width: 560px;
  height: 560px;
  right: -80px;
  top: -120px;
  background: color-mix(in srgb, var(--rose) 62%, transparent);
}
.blob-b {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -150px;
  background: color-mix(in srgb, var(--sage) 55%, transparent);
}
[data-theme="dark"] .blob { opacity: .2; }

.spark {
  position: absolute;
  width: 22px;
  height: 22px;
  fill: var(--gold);
  opacity: .8;
}
.spark-a { top: 16%; right: 46%; transform: rotate(8deg); }
.spark-b { bottom: 12%; right: 9%; width: 15px; height: 15px; opacity: .6; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hero-title {
  margin: 20px 0 24px;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(50px, 6.6vw, 92px);
  line-height: .98;
  letter-spacing: -.03em;
}
.hero-title > span { display: block; }
.hero-title em {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(24px, 3.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -.005em;
  white-space: nowrap;
  color: var(--terracotta);
}

.lead {
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 11.5px;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; }
.hero-meta li + li::before {
  content: "·";
  margin: 0 10px;
  color: var(--faint);
}

.hero-art {
  position: relative;
  height: 720px;
  min-width: 0;
}

.phone {
  background: #2b2623;
  padding: 9px;
  border-radius: 42px;
  box-shadow:
    0 42px 80px -40px rgba(66, 40, 30, .65),
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: var(--surface);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 34px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 32%, transparent 78%, rgba(255, 255, 255, .06));
}
.phone-back,
.phone-front { position: absolute; }

.phone-back {
  width: 256px;
  left: 6px;
  top: 26px;
  z-index: 2;
  transform: rotate(-7deg);
  box-shadow:
    0 34px 60px -38px rgba(66, 40, 30, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-front {
  width: 316px;
  right: 10px;
  top: 68px;
  z-index: 3;
  transform: rotate(1.6deg);
}

.float-note {
  position: absolute;
  z-index: 5;
  top: 4px;
  left: 0;
  width: 228px;
  padding: 19px 20px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.float-note figcaption {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.float-note p {
  font-family: var(--accent-font);
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink);
}
.tape {
  position: absolute;
  width: 72px;
  height: 23px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 7px),
    color-mix(in srgb, var(--rose) 68%, transparent);
  border-left: 1px dashed rgba(255, 255, 255, .45);
  border-right: 1px dashed rgba(255, 255, 255, .45);
  box-shadow: 0 3px 7px -4px rgba(70, 40, 30, .35);
}
.tape-top {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}
.tape-left {
  top: 18px;
  left: -26px;
  transform: rotate(-38deg);
}

.float-mood {
  position: absolute;
  z-index: 6;
  left: -8px;
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}
.float-mood span {
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.float-mood b {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--terracotta-deep);
  background: var(--terracotta-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
[data-theme="dark"] .float-mood b { color: #e2a798; }

.float-date {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: 2px;
  width: 86px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  transform: rotate(6deg);
  text-align: center;
}
.float-date b {
  font-family: var(--display);
  font-weight: 300;
  font-size: 31px;
  line-height: .95;
  color: var(--terracotta);
}
.float-date span {
  font-size: 8.5px;
  line-height: 1.35;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.hero-heart {
  position: absolute;
  z-index: 5;
  right: 34px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  fill: var(--terracotta);
  opacity: .7;
  transform: rotate(12deg);
}

/* ------------------------------------------------------------------ */
/*  Бегущая строка                                                     */
/* ------------------------------------------------------------------ */

.tagline-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  overflow: hidden;
  padding: 15px 0;
}
.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.strip-track:hover { animation-play-state: paused; }
.strip-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.strip-group span {
  font-family: var(--display);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink-soft);
  padding: 0 20px;
}
.strip-group i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--terracotta) 45%, transparent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ */
/*  Общие секции                                                       */
/* ------------------------------------------------------------------ */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: 92px;
}
.section-title {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -.032em;
}
.hand-accent {
  display: inline-block;
  font-family: var(--accent-font);
  font-weight: 400;
  font-size: .92em;
  line-height: 1.08;
  color: var(--terracotta);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}
.section-lead {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.section-head {
  max-width: 680px;
  margin-bottom: 50px;
}
.section-head .section-title { margin-bottom: 16px; }

.check-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.check {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

/* ------------------------------------------------------------------ */
/*  О приложении                                                       */
/* ------------------------------------------------------------------ */

.about {
  background:
    radial-gradient(700px 400px at 88% 20%, color-mix(in srgb, var(--rose) 20%, transparent), transparent 70%),
    var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 72px;
}
.about-copy > p {
  max-width: 560px;
  margin-bottom: 15px;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--ink-soft);
}
.about-copy .section-title { margin-top: 14px; }

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.planner-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 30px 26px;
  background-color: var(--surface);
  background-image: linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 100% 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.planner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--surface) 60%, transparent);
  pointer-events: none;
}
.planner-date {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.planner-date span:first-child {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.planner-date b {
  font-family: var(--display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}
.planner-date span:last-child {
  font-size: 10.5px;
  color: var(--muted);
}
.planner-quote {
  margin: 16px 0 18px;
  font-family: var(--accent-font);
  font-size: 28px;
  line-height: 1.16;
  color: var(--ink);
}
.planner-quote em {
  font-style: normal;
  color: var(--terracotta);
}
.planner-photo {
  position: relative;
  margin: 0 0 18px;
  padding: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transform: rotate(-2deg);
}
.planner-photo img {
  display: block;
  width: 100%;
  border-radius: 3px;
}
.planner-photo span {
  display: block;
  padding-top: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sage-deep);
}
.planner-rows {
  display: grid;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px dashed var(--line-strong);
}
.planner-rows div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.planner-rows small {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-terra { background: var(--terracotta); }
.dot-sage { background: var(--sage); }
.dot-rose { background: var(--rose); }
.planner-heart {
  position: absolute;
  right: 22px;
  bottom: 16px;
  font-size: 17px;
  color: var(--terracotta);
  opacity: .45;
}
.visual-caption {
  margin-top: 22px;
  font-family: var(--accent-font);
  font-size: 17px;
  color: var(--muted);
  transform: rotate(-1deg);
  text-align: center;
}
.visual-caption span + span::before {
  content: "·";
  margin: 0 .45em;
  font-family: var(--sans);
  color: var(--faint);
}
.caption-ui {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .82em;
  color: var(--ink-soft);
}
.caption-ui::before { content: none !important; }

/* ------------------------------------------------------------------ */
/*  Возможности                                                        */
/* ------------------------------------------------------------------ */

.features {
  background:
    radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, var(--sage) 16%, transparent), transparent 70%),
    var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.feature {
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-plans { grid-column: span 7; }
.feature-quote { grid-column: span 5; }
.feature-mood { grid-column: span 4; }
.feature-photo { grid-column: span 4; }
.feature-habits { grid-column: span 4; }
.feature-notes { grid-column: span 6; }
.feature-calendar { grid-column: span 6; }

.feature-kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 9px;
}
.feature h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 7px;
}
.feature p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.feature-note {
  margin-top: 16px;
  font-size: 11.5px !important;
  color: var(--muted);
}

/* макет планов */
.mock-plans {
  margin-top: 22px;
  padding: 16px 18px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.mock-plans-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.mock-plans-head div { display: flex; align-items: baseline; gap: 8px; }
.mock-plans-head span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.mock-plans-head b { font-size: 14px; font-weight: 700; }
.mock-plans-head em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--muted);
}
.mock-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}
.mock-task.done > span:nth-child(2) {
  color: var(--muted);
  text-decoration: line-through;
}
.tick {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.tick.empty {
  background: transparent;
  border: 1.5px solid var(--line-strong);
}
.mock-task .dot { margin-left: auto; }
.mock-event {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 11px;
}
.mock-time {
  width: 36px;
  flex-shrink: 0;
  font-size: 9.5px;
  color: var(--muted);
  padding-top: 2px;
}
.mock-event .dot { margin-top: 5px; }
.mock-event b { display: block; font-size: 11.5px; line-height: 1.35; }
.mock-event small { display: block; font-size: 10px; color: var(--muted); }

/* цитата */
.feature-quote {
  justify-content: space-between;
  background:
    radial-gradient(300px 220px at 100% 0%, color-mix(in srgb, var(--rose) 34%, transparent), transparent 70%),
    linear-gradient(155deg, var(--surface), var(--surface-2));
}
.feature-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 22px 0;
  font-family: var(--accent-font);
  font-size: clamp(30px, 3.3vw, 41px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ink);
}
.quote-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.heart-small { font-size: 12px; }
.quote-spark {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 18px;
  height: 18px;
  fill: var(--gold);
  opacity: .8;
}

/* настроение */
.mood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.mood-chips span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.mood-chips .is-on {
  background: var(--terracotta-soft);
  border-color: color-mix(in srgb, var(--terracotta) 50%, transparent);
  color: var(--terracotta-deep);
  font-weight: 700;
}
[data-theme="dark"] .mood-chips .is-on { color: #e2a798; }

/* кадр дня */
.photo-card {
  margin-top: 18px;
  padding: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  transform: rotate(-1.6deg);
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 3px;
}
.photo-card span {
  display: block;
  padding: 7px 2px 2px;
  font-family: var(--accent-font);
  font-size: 18px;
  color: var(--accent-text);
}

/* привычки */
.habit-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 20px;
}
.habit-dots span {
  aspect-ratio: 1;
  border-radius: 50%;
  justify-self: center;
  width: 100%;
  max-width: 22px;
}
.habit-dots .off {
  background: transparent;
  border: 1px solid var(--line-strong);
}
.habit-dots .on.h-sage { background: var(--sage); }
.habit-dots .on.h-terra { background: var(--terracotta); }
.habit-dots .on.h-rose { background: var(--rose); }
.habit-dots .on.h-yellow { background: var(--yellow); }
.habit-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 10px;
  font-size: 9px;
  color: var(--muted);
}
.habit-legend i {
  display: block;
  border-radius: 50%;
  background: var(--sage);
}
.habit-legend i:nth-of-type(1) { width: 6px; height: 6px; opacity: .4; }
.habit-legend i:nth-of-type(2) { width: 9px; height: 9px; opacity: .7; }
.habit-legend i:nth-of-type(3) { width: 12px; height: 12px; opacity: 1; }
.habit-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 10px;
  color: var(--muted);
}
.habit-stats b {
  font-family: var(--display);
  font-weight: 300;
  font-size: 18px;
  color: var(--ink);
  margin-right: 1px;
}
.habit-bar {
  flex: 1;
  height: 5px;
  min-width: 40px;
  background: var(--sage-soft);
  border-radius: 99px;
  overflow: hidden;
}
.habit-bar i {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--sage);
  border-radius: inherit;
}

/* заметки */
.note-stack {
  position: relative;
  height: 216px;
  margin-top: 18px;
}
.note-card {
  position: absolute;
  width: 87%;
  padding: 17px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.note-card b { display: block; font-size: 12.5px; margin-bottom: 5px; }
.note-card p { font-size: 11px; line-height: 1.55; color: var(--muted); }
.note-card small {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: var(--muted);
}
.note-a {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-2deg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 29px;
}
.note-b {
  right: 0;
  bottom: 0;
  transform: rotate(2.2deg);
  background: var(--surface-2);
}
.note-pin {
  position: absolute;
  top: -9px;
  left: 32px;
  width: 52px;
  height: 17px;
  background: color-mix(in srgb, var(--sage) 55%, transparent);
  transform: rotate(-4deg);
}

/* календарь */
.mini-cal {
  margin-top: 18px;
  padding: 14px 15px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.mini-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
}
.mini-cal-head em {
  font-style: normal;
  letter-spacing: .25em;
  color: var(--muted);
  font-size: 10px;
}
.mini-cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 9px 0 4px;
  font-size: 8.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mini-cal-grid span {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10.5px;
  color: var(--ink);
}
.mini-cal-grid .muted { color: var(--muted); }
.mini-cal-grid .today {
  background: var(--terracotta-deep);
  color: var(--on-terra);
  font-weight: 700;
}
.mini-cal-grid i {
  position: absolute;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--terracotta);
}
.mini-cal-grid .today i { background: var(--on-terra); }

/* ------------------------------------------------------------------ */
/*  Экраны                                                             */
/* ------------------------------------------------------------------ */

.screens {
  background:
    radial-gradient(800px 500px at 50% 0%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.screens .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.screens .section-lead { margin-left: auto; margin-right: auto; }

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 44px;
  padding: 5px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.screen-tab {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.screen-tab:hover { color: var(--ink); }
.screen-tab.is-active {
  background: var(--terracotta-deep);
  color: var(--on-terra);
  box-shadow: 0 8px 18px -12px rgba(140, 75, 60, .8);
}

.screens-stage {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 64px;
  max-width: 980px;
  margin: 0 auto;
}
.phone-viewer {
  position: relative;
  width: 330px;
  max-width: 100%;
  margin: 0 auto;
  transform: rotate(-1deg);
  transition: transform .45s ease;
}
.phone-viewer:hover { transform: rotate(0); }
.phone-viewer img {
  transition: opacity .22s ease, transform .35s ease;
}
.phone-viewer.is-switching img {
  opacity: 0;
  transform: scale(.985);
}

.screens-copy h3 {
  margin: 12px 0 14px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.screens-copy > p {
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.screens-copy .check-list { max-width: 430px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-text);
  transition: gap .2s ease, color .2s ease;
}
.text-link:hover { gap: 12px; color: var(--terracotta-deep); }
.text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ */
/*  Настройки                                                          */
/* ------------------------------------------------------------------ */

.personalize {
  background:
    radial-gradient(800px 500px at 100% 100%, color-mix(in srgb, var(--sage) 18%, transparent), transparent 70%),
    var(--bg);
}
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 76px;
}
.personal-copy > p {
  max-width: 500px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.controls {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.control-label {
  display: block;
  margin-bottom: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.seg button {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.seg button:hover { color: var(--ink); }
.seg button.is-active {
  background: var(--sage);
  color: #2c3628;
}
[data-theme="dark"] .seg button.is-active { color: #1f251c; }
.controls-note {
  margin-top: 18px;
  font-size: 10.5px;
  color: var(--muted);
}

.preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paper-preview {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 32px 30px 26px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  font-family: var(--preview-font, var(--sans));
  overflow: hidden;
}
.paper-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--paper-dots) 1px, transparent 1.35px),
    var(--preview-paper);
  background-size: 16px 16px, 512px 512px;
  opacity: var(--tex-opacity, .5);
  pointer-events: none;
}
.paper-preview > * { position: relative; z-index: 1; }
.paper-preview[data-paper="0"] { --tex-opacity: 0; }
.paper-preview[data-paper="1"] { --tex-opacity: .5; }
.paper-preview[data-paper="2"] { --tex-opacity: 1; }
.font-montserrat { --preview-font: "Montserrat"; }
.font-univers { --preview-font: "Univers"; }
.font-montserrat-bold { --preview-font: "Montserrat"; font-weight: 700; }

.preview-date {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.preview-date span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.preview-date b {
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.preview-date em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--muted);
}
.preview-mood {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
  padding: 8px 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
}
.preview-mood span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.preview-mood b {
  font-size: 10px;
  font-weight: 400;
  color: var(--terracotta-deep);
  background: var(--terracotta-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
[data-theme="dark"] .preview-mood b { color: #e2a798; }
.preview-quote {
  margin: 16px 0;
  font-size: 21px;
  line-height: 1.28;
  color: var(--ink);
}
.font-montserrat-bold .preview-quote { font-size: 20px; line-height: 1.3; }
.preview-list {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.preview-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-soft);
}
.preview-list .tick { width: 17px; height: 17px; font-size: 8px; }
.preview-photo {
  margin-top: 15px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transform: rotate(1.4deg);
}
.preview-photo img { display: block; width: 100%; border-radius: 3px; }
.preview-photo span {
  display: block;
  padding: 6px 2px 1px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-text);
}
.preview-heart {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: var(--terracotta);
  opacity: .35;
  font-size: 15px;
}

/* ------------------------------------------------------------------ */
/*  Манифест                                                           */
/* ------------------------------------------------------------------ */

.manifesto {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
  background-color: #2a2623;
  background-image: url("assets/paper-dark.png");
  background-size: 512px 512px;
  color: #f3e9dc;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(184, 111, 99, .18), transparent 70%),
    radial-gradient(500px 300px at 88% 100%, rgba(165, 177, 154, .12), transparent 70%);
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  text-align: center;
}
.manifesto-spark {
  width: 26px;
  height: 26px;
  fill: #e0bd76;
  opacity: .8;
  margin-bottom: 22px;
}
.manifesto-quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.manifesto-quote em {
  display: inline-block;
  font-family: var(--accent-font);
  font-style: normal;
  font-size: .92em;
  color: #e3b3a1;
  transform: rotate(-1deg);
}
.manifesto-sub {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(243, 233, 220, .58);
}
.manifesto-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(243, 233, 220, .13);
}
.manifesto-stats span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 233, 220, .56);
}
.manifesto-stats b {
  font-family: var(--display);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0;
  color: #f3e9dc;
  margin-right: 3px;
}

/* ------------------------------------------------------------------ */
/*  Скачать                                                            */
/* ------------------------------------------------------------------ */

.download { padding-bottom: clamp(64px, 8vw, 100px); }
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 54px 56px;
  border-radius: 32px;
  background: linear-gradient(145deg, #a86155 0%, #8a4c42 58%, #7b4139 100%);
  color: var(--cream);
  box-shadow: 0 40px 80px -48px rgba(90, 40, 30, .75);
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/paper-dark.png");
  background-size: 512px 512px;
  opacity: .5;
  pointer-events: none;
}
.download-card > * { position: relative; z-index: 1; }
.download-icon {
  flex-shrink: 0;
}
.download-icon img {
  display: block;
  width: 118px;
  height: 118px;
  border-radius: 25px;
  border: 6px solid rgba(255, 249, 239, .88);
  box-shadow: 0 20px 40px -22px rgba(40, 10, 8, .8);
}
.download-copy .eyebrow { color: #f2d5c8; }
.download-copy .eyebrow-dot { background: #f2d5c8; }
.download-copy h2 {
  margin: 14px 0 14px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--cream);
}
.download-copy .hand-accent { color: #f4d9cc; }
.download-copy > p {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 249, 239, .76);
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.download-meta {
  font-size: 10.5px;
  line-height: 1.55;
  color: #EBD2C6;
}
.download-note {
  margin-top: 16px;
  font-size: 10.5px;
  color: #EBD2C6 !important;
}
.download-note + .download-note { margin-top: 7px; }
.download-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.download-decor {
  width: 210px;
  opacity: .28;
  transform: rotate(8deg) translateY(18px);
  filter: saturate(.8);
  pointer-events: none;
}
.download-decor img { display: block; border-radius: 8px; }
.download-sticker {
  position: absolute;
  top: 26px;
  right: 34px;
  font-size: 26px;
  color: rgba(255, 249, 239, .45);
  transform: rotate(13deg);
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/*  Подвал                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 36px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.brand-footer .brand-icon { width: 40px; height: 40px; border-radius: 12px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}
.footer-nav a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--ink); }
.footer-note {
  width: 100%;
  margin-top: 4px;
  padding-top: 17px;
  border-top: 1px dashed var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/*  Появление при скролле                                             */
/* ------------------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/*  Адаптив                                                            */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .hero-art { height: 665px; }
  .phone-front { width: 290px; right: 0; }
  .phone-back { width: 230px; left: 0; }
  .float-note { width: 210px; }
  .about-grid, .personal-grid { gap: 48px; }
  .screens-stage { gap: 44px; }
  .download-card { gap: 32px; padding: 48px 42px; }
  .download-decor { width: 170px; }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-copy { max-width: 680px; }
  .hero-art {
    height: 700px;
    max-width: 600px;
    margin: 6px auto 0;
    width: 100%;
  }
  .phone-front { width: 310px; right: 14%; }
  .phone-back { width: 240px; left: 10%; }
  .float-note { left: 0; }
  .float-mood { left: 2%; }
  .float-date { right: 4%; }
}

@media (max-width: 960px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }

  .hero { padding-top: 40px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-copy { max-width: 680px; }
  .hero-title { font-size: clamp(48px, 9vw, 78px); }
  .hero-art {
    height: 700px;
    max-width: 600px;
    margin: 6px auto 0;
    width: 100%;
  }
  .phone-front { width: 310px; right: 14%; }
  .phone-back { width: 240px; left: 10%; }
  .float-note { left: 0; }
  .float-mood { left: 2%; }
  .float-date { right: 4%; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { align-items: flex-start; }
  .planner-card { margin: 0 auto; }

  .features-grid { gap: 16px; }
  .feature-plans, .feature-quote { grid-column: span 12; }
  .feature-mood, .feature-photo, .feature-habits { grid-column: span 4; }
  .feature-notes, .feature-calendar { grid-column: span 6; }

  .screens-stage {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone-viewer { width: 320px; }
  .screens-copy { max-width: 560px; margin: 0 auto; text-align: center; }
  .screens-copy > p { margin-left: auto; margin-right: auto; }
  .screens-copy .check-list { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }

  .personal-grid { grid-template-columns: 1fr; gap: 48px; }
  .personal-copy { max-width: 620px; }
  .preview-wrap { width: 100%; }

  .download-card {
    grid-template-columns: auto 1fr;
    padding: 44px 38px;
  }
  .download-decor { display: none; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .header-inner { min-height: 68px; gap: 14px; }
  .brand-icon { width: 40px; height: 40px; border-radius: 12px; }
  .brand-name { font-size: 15.5px; }
  .theme-toggle { width: 36px; height: 36px; }
  .nav-toggle { display: grid; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 20px 18px;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(40, 30, 20, .5);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero { padding-top: 28px; }
  .hero-title { font-size: clamp(42px, 12vw, 66px); }
  .lead { font-size: 14.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-art { height: 660px; }
  .phone-front { width: 280px; right: 7%; top: 78px; }
  .phone-back { width: 218px; left: 4%; top: 30px; }
  .float-note { width: 196px; padding: 16px 16px 14px; top: 0; }
  .float-note p { font-size: 18px; }
  .float-mood { left: 0; bottom: 58px; }
  .float-date { width: 72px; height: 72px; top: 4px; right: 2%; }
  .float-date b { font-size: 26px; }

  .tagline-strip { padding: 11px 0; }
  .strip-group span { font-size: 16px; padding: 0 14px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(32px, 8vw, 48px); }

  .about-copy > p { font-size: 14px; }
  .planner-card { padding: 28px 24px 22px; }
  .planner-quote { font-size: 25px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-plans, .feature-quote, .feature-mood, .feature-photo,
  .feature-habits, .feature-notes, .feature-calendar { grid-column: 1 / -1; }
  .card { padding: 24px; }
  .feature h3 { font-size: 23px; }

  .screen-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 16px;
  }
  .screen-tabs::-webkit-scrollbar { display: none; }
  .screen-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .screen-tab { padding: 9px 14px; }
  .phone-viewer { width: 290px; }

  .seg { display: flex; width: 100%; }
  .seg button { flex: 1 1 auto; padding: 9px 10px; }
  .paper-preview { padding: 28px 24px 22px; }

  .manifesto-stats { gap: 12px 20px; }
  .manifesto-stats span { font-size: 8.5px; }

  .download-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 36px 24px 40px;
    border-radius: 26px;
  }
  .download-icon img { width: 96px; height: 96px; border-radius: 21px; }
  .download-copy .eyebrow { justify-content: center; }
  .download-copy > p { margin-left: auto; margin-right: auto; }
  .download-actions { flex-direction: column; gap: 12px; }
  .download-actions .btn { width: 100%; }
  .download-meta { text-align: center; }
  .download-note { text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; gap: 16px; }
  .footer-note { text-align: left; }
}

@media (max-width: 460px) {
  .hero-art { height: 610px; }
  .phone-front { width: 246px; right: 2%; top: 96px; }
  .phone-back { width: 188px; left: 0; top: 22px; }
  .float-note { width: 170px; padding: 14px 14px 12px; }
  .float-note p { font-size: 16px; }
  .float-note figcaption { font-size: 8.5px; }
  .float-mood { bottom: 40px; padding: 8px 10px; }
  .float-mood span { display: none; }
  .float-date { width: 64px; height: 64px; }
  .float-date b { font-size: 23px; }
  .float-date span { font-size: 7.5px; }
  .hero-heart { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { font-size: 10.5px; }
  .hero-meta li + li::before { margin: 0 7px; }

  .planner-card { padding: 24px 20px 20px; }
  .planner-quote { font-size: 23px; }
  .planner-date b { font-size: 38px; }

  .note-stack { height: 230px; }
  .note-card { width: 92%; }
  .mini-cal { padding: 12px 10px; }
  .manifesto-quote { font-size: 32px; }
  .manifesto-quote em { display: block; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}
