:root {
  --background: #fdfcf8;   /* rice paper   */
  --foreground: #2c2c24;   /* deep loam    */
  --primary: #5d7052;      /* moss green   */
  --primary-fg: #f3f4f1;   /* pale mist    */
  --primary-deep: #4a5a41; /* pressed moss */
  --secondary: #c18c5d;    /* terracotta   */
  --secondary-fg: #ffffff;
  --secondary-deep: #a9744a;
  --accent: #e6dccd;       /* sand         */
  --accent-fg: #4a4a40;    /* bark         */
  --muted: #f0ebe5;        /* stone        */
  --muted-fg: #78786c;     /* dried grass  */
  --border: #ded8cf;       /* raw timber   */
  --destructive: #a85448;  /* burnt sienna */
  --card: #fefefa;         /* warm white   */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-xxl: 32px;
  --r-pill: 999px;
  --shadow-subtle: 0 2px 6px rgba(93, 112, 82, 0.08);
  --shadow-soft: 0 4px 10px rgba(93, 112, 82, 0.15);
  --shadow-float: 0 10px 20px rgba(193, 140, 93, 0.20);
  --shadow-float-lg: 0 24px 50px -12px rgba(193, 140, 93, 0.28);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-max: 1120px;
  --gutter: clamp(20px, 5vw, 40px);

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--foreground);
  font-optical-sizing: auto;
}

h1 { font-weight: 700; }

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 11vw, 128px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
}

.section-head { max-width: 40rem; }
.section-head .lede {
  color: var(--muted-fg);
  font-size: clamp(17px, 2.2vw, 20px);
  margin-top: 18px;
}
h2.section-title {
  font-size: clamp(30px, 5.2vw, 48px);
  margin-top: 22px;
}

.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease-spring),
    background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.btn:active { transform: scale(0.95); }

.btn--secondary { --btn-bg: var(--secondary); --btn-fg: var(--secondary-fg); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--secondary-deep);
  border: 2px solid var(--secondary);
  box-shadow: none;
}
.btn--outline:hover { box-shadow: var(--shadow-subtle); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--primary);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--muted); box-shadow: none; }

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 20px;
  border-radius: var(--r-pill);
  background: var(--foreground);
  color: var(--background);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease-spring);
}
.appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.appstore:active { transform: scale(0.96); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-copy { display: flex; flex-direction: column; line-height: 1.15; }
.appstore .as-small { font-size: 11px; font-weight: 600; opacity: 0.82; letter-spacing: 0.02em; white-space: nowrap; }
.appstore .as-big {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.blob {
  position: absolute;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.32;
  pointer-events: none;
  border-radius: 42% 58% 63% 37% / 43% 38% 62% 57%;
}
.blob--moss { background: var(--primary); }
.blob--clay { background: var(--secondary); }
.blob--sand { background: var(--accent); opacity: 0.5; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(24px, -26px) rotate(12deg); }
}
.blob--float { animation: drift 16s ease-in-out infinite; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-stuck {
  box-shadow: var(--shadow-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary-fg);
  background: var(--primary);
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  box-shadow: var(--shadow-subtle);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a.nav-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted-fg);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a.nav-link:hover { color: var(--foreground); background: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--card);
  cursor: pointer;
  place-items: center;
  color: var(--foreground);
}
.nav-toggle svg { width: 22px; height: 22px; }

.hero {
  position: relative;
  z-index: 2;
  min-height: clamp(600px, calc(100svh - 75px), 920px);
  display: flex;
  align-items: center;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero > .wrap { width: 100%; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { max-width: 34rem; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 76px);
  margin-top: 26px;
  letter-spacing: -0.025em;
}
.hero h1 .ink { color: var(--primary); font-style: italic; }
.hero .subline {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted-fg);
  margin-top: 24px;
  max-width: 30rem;
}
.hero .cta-row { margin-top: 34px; }
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted-fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

.hero-visual { position: relative; display: grid; place-items: center; }

.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 300 / 620;
  background: var(--foreground);
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-float-lg);
  z-index: 2;
}
.phone::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 128px;
  width: 3px;
  height: 58px;
  background: var(--foreground);
  border-radius: 3px;
}
.phone-screen {
  position: relative;
  height: 100%;
  background: var(--background);
  border-radius: 37px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 22px;
  background: var(--foreground);
  border-radius: var(--r-pill);
  z-index: 5;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 18px 12px;
}
.app-bar .sync-blob {
  width: 34px;
  height: 34px;
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  flex: none;
}
.app-bar .sync-blob svg { width: 17px; height: 17px; }
.app-bar .app-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.app-bar .app-add {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
}
.app-bar .app-add svg { width: 16px; height: 16px; }
.app-search {
  margin: 2px 18px 12px;
  height: 38px;
  border-radius: var(--r-pill);
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 14px;
  color: var(--muted-fg);
  font-size: 13px;
  font-weight: 600;
}
.app-search svg { width: 15px; height: 15px; }
.app-chips { display: flex; gap: 7px; padding: 0 18px 14px; }
.app-chips .chip {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-fg);
}
.app-chips .chip.is-on { background: var(--primary); color: var(--primary-fg); border-color: transparent; }
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  padding: 0 18px 18px;
  overflow: hidden;
}
.inv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-subtle);
}
.inv-card .thumb {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.inv-card .thumb svg { width: 34px; height: 34px; }
.inv-card:nth-child(1) .thumb { background: #5d7052; }
.inv-card:nth-child(2) .thumb { background: #b47548; }
.inv-card:nth-child(3) .thumb { background: #a2895f; }
.inv-card:nth-child(4) .thumb { background: #6f8262; }
.inv-card .c-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.inv-card .c-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
  margin-top: 2px;
}

.ai-pop {
  position: absolute;
  z-index: 3;
  right: -6px;
  bottom: 46px;
  width: min(224px, 62vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px 24px 22px 26px;
  padding: 15px 16px;
  box-shadow: var(--shadow-float);
}
.ai-pop .ai-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ai-pop .ai-spark {
  width: 30px;
  height: 30px;
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  flex: none;
}
.ai-pop .ai-spark svg { width: 16px; height: 16px; }
.ai-pop .ai-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.ai-pop .ai-sub { font-size: 11px; color: var(--muted-fg); font-weight: 700; }
.ai-pop .ai-items { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-pop .ai-items span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--muted);
  color: var(--accent-fg);
  border: 1px solid var(--border);
}
.float-y { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.trust {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border);
  background: #f6f2ea;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  padding-block: 22px;
}
.trust .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-fg);
}
.trust .item svg { width: 20px; height: 20px; color: var(--primary); flex: none; }

.problem { background: var(--background); }
.problem .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.problem-quote {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px 24px 34px 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.problem-quote .q-mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--accent);
  height: 40px;
  display: block;
}
.problem-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.28;
}
.problem-quote .attrib {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-fg);
}
.problem-copy h2 { font-size: clamp(30px, 5vw, 46px); }
.problem-copy p { color: var(--muted-fg); margin-top: 22px; font-size: 19px; }
.problem-copy p + p { margin-top: 16px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px 26px 32px;
  box-shadow: var(--shadow-soft);
}
.step:nth-child(1) { border-radius: 30px 20px 26px 22px; }
.step:nth-child(2) { border-radius: 22px 30px 20px 28px; }
.step:nth-child(3) { border-radius: 26px 22px 30px 20px; }
.step .step-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--secondary-deep);
  letter-spacing: 0.08em;
}
.step .step-ico {
  width: 60px;
  height: 60px;
  margin: 16px 0 20px;
  display: grid;
  place-items: center;
  color: var(--primary-fg);
  background: var(--primary);
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  box-shadow: var(--shadow-subtle);
}
.step:nth-child(2) .step-ico { background: var(--secondary); }
.step .step-ico svg { width: 28px; height: 28px; }
.step h3 { font-size: 23px; }
.step p { color: var(--muted-fg); margin-top: 12px; font-size: 16px; }
.step-line {
  position: absolute;
  top: 100px;
  right: -22px;
  width: 22px;
  height: 2px;
  background: var(--border);
  z-index: 3;
}
.step:last-child .step-line { display: none; }

.features { background: #f6f2ea; border-block: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  margin-top: 56px;
}
.feat {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
  grid-column: span 2;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.feat:nth-child(1) { border-radius: 34px 24px 30px 24px; }
.feat:nth-child(2) { border-radius: 24px 30px 22px 26px; }
.feat:nth-child(3) { border-radius: 26px 22px 30px 22px; }
.feat:nth-child(4) { border-radius: 22px 26px 20px 30px; }
.feat:nth-child(5) { border-radius: 30px 20px 24px 26px; }
.feat:nth-child(6) { border-radius: 24px 30px 26px 20px; }

/* Tall hero feature (AI) spans the left column across two rows;
   the two half cards fill the right column beside it. */
.feat--hero { grid-column: span 3; grid-row: span 2; }
.feat--half { grid-column: span 3; }

.feat .feat-ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 57% 43% / 55% 46% 54% 45%;
  margin-bottom: 22px;
  color: var(--primary-fg);
  background: var(--primary);
  flex: none;
}
.feat .feat-ico svg { width: 26px; height: 26px; }
.feat--clay .feat-ico { background: var(--secondary); }
.feat--sand .feat-ico { background: var(--accent); color: var(--accent-fg); }
.feat h3 { font-size: 22px; }
.feat p { color: var(--muted-fg); margin-top: 12px; font-size: 16px; }

.feat--hero h3 { font-size: clamp(26px, 3vw, 32px); }
.feat--hero p { font-size: 17px; max-width: 34ch; }
.feat--hero .feat-ico { width: 62px; height: 62px; }
.feat--hero .feat-ico svg { width: 30px; height: 30px; }

/* Inline "AI output" demo inside the hero feature card */
.feat-demo {
  margin-top: auto;
  padding-top: 26px;
}
.feat-demo .demo-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 12px;
}
.feat-demo .demo-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.feat-demo .demo-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--muted);
  color: var(--accent-fg);
  border: 1px solid var(--border);
}
.feat-demo .demo-chips span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.use-list {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.use {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 34px 34px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}
.use:nth-child(1) { border-radius: 34px 24px 30px 24px; }
.use:nth-child(2) { border-radius: 24px 34px 24px 30px; }
.use:nth-child(3) { border-radius: 30px 24px 34px 24px; }
.use:nth-child(4) { border-radius: 24px 30px 24px 34px; }
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.use .use-index {
  position: absolute;
  top: 10px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 128px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.use .use-ico {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 60% 40% / 52% 44% 56% 48%;
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 22px;
}
.use:nth-child(even) .use-ico { background: var(--secondary); }
.use .use-ico svg { width: 32px; height: 32px; }
.use h3 { position: relative; z-index: 1; font-size: 23px; }
.use p { position: relative; z-index: 1; color: var(--muted-fg); margin-top: 10px; font-size: 16px; max-width: 40ch; }

.pricing { background: #f6f2ea; border-block: 1px solid var(--border); }
.price-head { text-align: center; margin-inline: auto; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  max-width: 860px;
  margin: 56px auto 0;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xxl);
  padding: 34px 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.plan--pro {
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-float);
  background: var(--card);
}
.plan .plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  white-space: nowrap;
}
.plan .plan-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-fg);
  background: var(--primary);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.plan .plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan .plan-price .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.plan .plan-price .per { color: var(--muted-fg); font-weight: 700; font-size: 15px; }
.plan .plan-tag { margin-top: 8px; font-size: 14px; color: var(--muted-fg); font-weight: 600; }
.plan .plan-trial {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 14px;
  font-weight: 800;
  font-size: 13px;
  color: var(--secondary-deep);
  background: rgba(193, 140, 93, 0.14);
  border: 1px solid rgba(193, 140, 93, 0.3);
  padding: 6px 13px;
  border-radius: var(--r-pill);
}
.plan ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}
.plan li svg { width: 21px; height: 21px; flex: none; margin-top: 1px; color: var(--primary); }
.plan--pro li svg { color: var(--secondary); }
.plan .plan-cta { margin-top: auto; padding-top: 28px; }
.plan .plan-cta .btn, .plan .plan-cta .appstore { width: 100%; min-height: 58px; }
.price-fine {
  text-align: center;
  color: var(--muted-fg);
  font-size: 13px;
  margin: 26px auto 0;
  max-width: 620px;
}

.closing { position: relative; z-index: 2; overflow: hidden; }
.closing .wrap { position: relative; }
.closing-card {
  position: relative;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: clamp(28px, 5vw, 48px);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.closing-card h2 {
  color: var(--primary-fg);
  font-size: clamp(30px, 5.4vw, 54px);
}
.closing-card p {
  margin: 20px auto 0;
  max-width: 34rem;
  font-size: clamp(17px, 2.3vw, 20px);
  color: rgba(243, 244, 241, 0.86);
}
.closing-card .cta-row { justify-content: center; margin-top: 32px; }
.closing-card .appstore { background: var(--background); color: var(--foreground); }
.closing-card .btn--ghost {
  color: var(--primary-fg);
  border: 2px solid rgba(243, 244, 241, 0.4);
}
.closing-card .btn--ghost:hover { background: rgba(243, 244, 241, 0.12); }

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
  background: var(--background);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted-fg); font-size: 15px; max-width: 24rem; }
.footer-by { margin-top: 12px; font-weight: 700; }
.footer-by a { color: var(--primary); text-decoration: none; }
.footer-by a:hover { text-decoration: underline; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-fg);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.footer-bottom p { color: var(--muted-fg); font-size: 14px; }
.footer-bottom a { color: var(--primary); font-weight: 700; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom .made svg { width: 15px; height: 15px; color: var(--secondary); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.08s; }
.reveal[data-delay='2'] { transition-delay: 0.16s; }
.reveal[data-delay='3'] { transition-delay: 0.24s; }
.reveal[data-delay='4'] { transition-delay: 0.32s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { animation: rise 0.8s var(--ease-spring) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero-visual { animation: rise 1s var(--ease-spring) 0.3s both; }

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero .cta-row, .hero-note { justify-content: center; }
  .hero .subline { margin-inline: auto; }
  .hero-visual { margin-top: 20px; }
  .problem .wrap { grid-template-columns: 1fr; }
  .problem-copy { order: -1; }
  .feat--hero { grid-column: span 6; grid-row: auto; }
  .feat--half { grid-column: span 3; }
}

@media (max-width: 820px) {
  .nav, .header-cta .appstore { display: none; }
  .nav-toggle { display: grid; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .feat, .feat--hero, .feat--half { grid-column: span 1; grid-row: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .use-list { grid-template-columns: 1fr; }
  .use:hover { transform: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .ai-pop { right: 50%; transform: translateX(50%); bottom: -18px; }
  .float-y { animation: none; }
}

.doc {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 88px);
}
.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted-fg);
  margin-bottom: 28px;
}
.doc .back svg { width: 18px; height: 18px; }
.doc .back:hover { color: var(--primary); }
.doc h1 { font-size: clamp(34px, 6vw, 52px); }
.doc .updated { color: var(--muted-fg); font-size: 14px; font-weight: 700; margin-top: 14px; }
.doc h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  margin-top: 44px;
}
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc p, .doc li { color: var(--accent-fg); font-size: 17px; margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.doc .placeholder {
  background: rgba(193, 140, 93, 0.1);
  border: 1px dashed var(--secondary);
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: var(--secondary-deep);
  font-weight: 700;
  font-size: 14px;
  margin-top: 18px;
}
.doc .doc-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-fg);
  font-size: 14px;
}
.doc-info {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin-top: 28px;
}
.doc-info p { margin-top: 6px; color: var(--foreground); font-size: 15px; }
.doc-info p:first-child { margin-top: 0; }
.doc-info strong { color: var(--foreground); }
.doc address {
  font-style: normal;
  margin-top: 14px;
  line-height: 1.7;
  color: var(--accent-fg);
  font-size: 16px;
}
.doc strong { color: var(--foreground); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(253, 252, 248, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-spring), visibility 0.4s;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu .mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}
.mobile-menu nav { margin-top: 30px; display: grid; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mm-cta { margin-top: 32px; }
.mobile-menu .mm-cta .appstore { width: 100%; }
