@layer reset, base, layout, components, utilities;

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

  html {
    min-height: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body,
  h1,
  h2,
  h3,
  p,
  dl,
  dd,
  ol {
    margin: 0;
  }

  body {
    min-height: 100dvh;
    overflow-x: clip;
  }

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

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

@layer base {
  :root {
    color-scheme: light;
    --bg: oklch(98.7% 0.008 145);
    --bg-elevated: oklch(100% 0 0);
    --surface: oklch(99.6% 0.004 140);
    --surface-soft: oklch(96.7% 0.016 148);
    --surface-wait: oklch(96.2% 0.038 88);
    --surface-memory: oklch(96.5% 0.024 315);
    --fg: oklch(18% 0.02 150);
    --muted: oklch(47% 0.018 150);
    --subtle: oklch(69% 0.016 150);
    --border: oklch(89.5% 0.012 145);
    --accent: oklch(55% 0.13 150);
    --accent-strong: oklch(38% 0.105 150);
    --secondary: oklch(56% 0.112 316);
    --soil: oklch(48% 0.08 68);
    --soil-dark: oklch(30% 0.055 68);
    --sky: oklch(61% 0.1 220);
    --remove: oklch(57% 0.15 28);
    --wait: oklch(73% 0.13 82);
    --unknown: oklch(58% 0.04 285);
    --shadow-soft: 0 22px 58px color-mix(in oklch, var(--fg) 10%, transparent);
    --shadow-card: 0 14px 40px color-mix(in oklch, var(--fg) 7%, transparent);
    --shadow-tiny: 0 8px 22px color-mix(in oklch, var(--fg) 7%, transparent);
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;
    --page-gutter: 22px;
    --content: 1180px;
  }

  body {
    overflow-x: hidden;
    background:
      linear-gradient(180deg, color-mix(in oklch, var(--sky) 12%, var(--bg)) 0 360px, var(--bg) 760px),
      var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1,
  h2,
  h3 {
    color: var(--fg);
    font-family: var(--font-display);
    font-weight: 760;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 21px;
    line-height: 1.16;
  }

  p {
    text-wrap: pretty;
  }

  ::selection {
    color: var(--bg-elevated);
    background: var(--accent-strong);
  }

  :focus-visible {
    outline: 3px solid color-mix(in oklch, var(--sky) 70%, white);
    outline-offset: 4px;
  }
}

@layer layout {
  .skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    transform: translateY(-140%);
    border-radius: var(--radius-pill);
    background: var(--fg);
    color: var(--bg);
    padding: 10px 14px;
    font-weight: 720;
    transition: transform 180ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    padding: 12px var(--page-gutter) 0;
  }

  .nav-shell {
    width: min(var(--content), 100%);
    min-height: 62px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    border: 1px solid color-mix(in oklch, var(--border) 72%, transparent);
    border-radius: var(--radius-pill);
    padding: 8px 10px 8px 14px;
    background: color-mix(in oklch, var(--surface) 82%, transparent);
    box-shadow: var(--shadow-tiny);
    backdrop-filter: blur(22px);
  }

  .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--surface-soft) 68%, transparent);
  }

  .nav-links a,
  .nav-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 8px 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-action:hover {
    color: var(--fg);
    background: color-mix(in oklch, var(--bg-elevated) 86%, transparent);
  }

  .nav-action {
    justify-self: end;
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 11%, var(--bg-elevated));
  }

  .hero {
    position: relative;
    overflow: hidden;
    min-height: 82svh;
    padding: 72px var(--page-gutter) 64px;
    isolation: isolate;
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    width: min(var(--content), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 48px;
  }

  .hero-copy {
    max-width: 640px;
    min-width: 0;
    display: grid;
    gap: 22px;
  }

  .hero-lede {
    max-width: 600px;
    color: color-mix(in oklch, var(--fg) 78%, var(--muted));
    font-size: 20px;
    line-height: 1.45;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .hero-signals {
    width: min(100%, 610px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 8px;
  }

  .hero-signals div {
    min-width: 0;
    border: 1px solid color-mix(in oklch, var(--border) 84%, transparent);
    border-radius: var(--radius-lg);
    padding: 14px;
    background: color-mix(in oklch, var(--surface) 78%, transparent);
    box-shadow: var(--shadow-tiny);
    backdrop-filter: blur(18px);
  }

  .hero-signals dt {
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 780;
    line-height: 1;
  }

  .hero-signals dd {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
  }

  .hero-visual {
    min-width: 0;
    display: grid;
    justify-items: center;
  }

  .section {
    width: min(var(--content), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
    padding: 92px 0;
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }

  .section-heading {
    max-width: 720px;
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-heading p:not(.eyebrow),
  .workflow-copy p:not(.eyebrow),
  .closing-inner p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
  }

  .promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .workflow-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: 22px;
  }

  .workflow-copy {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 96px;
  }

  .workflow-list {
    list-style: none;
    display: grid;
    gap: 12px;
    padding: 0;
    counter-reset: workflow;
  }

  .memory-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 18px;
    align-items: stretch;
  }

  .screen-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .closing-section {
    padding: 34px var(--page-gutter) 72px;
  }

  .closing-inner {
    width: min(var(--content), 100%);
    min-height: 390px;
    margin: 0 auto;
    display: grid;
    align-content: center;
    gap: 18px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl);
    padding: 58px;
    background:
      linear-gradient(120deg, color-mix(in oklch, var(--accent) 16%, transparent), transparent 48%),
      linear-gradient(330deg, color-mix(in oklch, var(--sky) 16%, transparent), transparent 42%),
      var(--fg);
    color: var(--bg-elevated);
  }

  .closing-inner::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: -12px;
    width: 210px;
    height: 250px;
    border-radius: 48% 48% 0 0;
    background:
      linear-gradient(90deg, transparent 48%, color-mix(in oklch, var(--accent) 70%, white) 49% 51%, transparent 52%),
      radial-gradient(ellipse at 36% 50%, color-mix(in oklch, var(--accent) 72%, white) 0 20%, transparent 21%),
      radial-gradient(ellipse at 64% 46%, color-mix(in oklch, var(--accent) 62%, white) 0 18%, transparent 19%);
    opacity: 0.42;
  }

  .closing-inner > * {
    position: relative;
    z-index: 1;
    max-width: 700px;
  }
}

@layer components {
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 780;
  }

  .brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: var(--radius-pill);
    background:
      linear-gradient(180deg, color-mix(in oklch, var(--accent) 24%, white), color-mix(in oklch, var(--accent) 8%, white));
    box-shadow: inset 0 -8px 14px color-mix(in oklch, var(--accent-strong) 13%, transparent);
  }

  .brand-mark::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 8px;
    width: 2px;
    height: 16px;
    border-radius: var(--radius-pill);
    background: var(--accent-strong);
  }

  .brand-leaf {
    position: absolute;
    bottom: 14px;
    width: 12px;
    height: 9px;
    border-radius: 80% 18% 80% 18%;
    background: var(--accent);
  }

  .brand-leaf-left {
    left: 8px;
    transform: rotate(18deg);
  }

  .brand-leaf-right {
    right: 7px;
    transform: scaleX(-1) rotate(18deg);
  }

  .eyebrow {
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 780;
    letter-spacing: 0;
  }

  .button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 12px 17px;
    font-weight: 780;
    line-height: 1.15;
    box-shadow: var(--shadow-tiny);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  }

  .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px color-mix(in oklch, var(--fg) 12%, transparent);
  }

  .button-primary {
    color: var(--bg-elevated);
    background: var(--accent);
  }

  .button-secondary {
    color: var(--fg);
    border-color: var(--border);
    background: color-mix(in oklch, var(--bg-elevated) 82%, transparent);
    backdrop-filter: blur(18px);
  }

  .hero-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .hero-scene::before {
    content: "";
    position: absolute;
    inset: auto -8% -20% -8%;
    height: 42%;
    background:
      linear-gradient(170deg, transparent 0 23%, color-mix(in oklch, var(--accent) 9%, transparent) 24% 26%, transparent 27%),
      repeating-linear-gradient(176deg, color-mix(in oklch, var(--soil) 25%, var(--surface)) 0 12px, color-mix(in oklch, var(--soil-dark) 14%, var(--surface-soft)) 12px 22px);
    border-radius: 50% 50% 0 0 / 34% 34% 0 0;
    transform: rotate(-2deg);
    opacity: 0.72;
  }

  .soil-row {
    position: absolute;
    left: -4%;
    right: -4%;
    height: 110px;
    border-radius: 50%;
    background: color-mix(in oklch, var(--soil) 18%, transparent);
    opacity: 0.34;
  }

  .soil-row-one {
    bottom: 7%;
    transform: rotate(-3deg);
  }

  .soil-row-two {
    bottom: 19%;
    transform: rotate(2deg);
  }

  .garden-label {
    position: absolute;
    bottom: 30%;
    width: 58px;
    height: 34px;
    border-radius: 7px;
    background: color-mix(in oklch, var(--bg-elevated) 70%, transparent);
    border: 1px solid color-mix(in oklch, var(--border) 80%, transparent);
    box-shadow: var(--shadow-tiny);
    opacity: 0.5;
  }

  .garden-label::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 34px;
    background: color-mix(in oklch, var(--soil-dark) 36%, transparent);
  }

  .label-one {
    right: 18%;
    transform: rotate(5deg);
  }

  .label-two {
    left: 9%;
    bottom: 24%;
    transform: rotate(-7deg);
  }

  .hero-sprout {
    position: absolute;
    bottom: 22%;
    width: 3px;
    height: 58px;
    border-radius: var(--radius-pill);
    background: var(--accent-strong);
    transform-origin: bottom center;
    opacity: 0.46;
  }

  .hero-sprout::before,
  .hero-sprout::after {
    content: "";
    position: absolute;
    top: 12px;
    width: 30px;
    height: 18px;
    border-radius: 70% 16% 70% 16%;
    background: color-mix(in oklch, var(--accent) 70%, white);
  }

  .hero-sprout::before {
    right: 0;
    transform: rotate(-22deg);
    transform-origin: right bottom;
  }

  .hero-sprout::after {
    left: 0;
    transform: scaleX(-1) rotate(-22deg);
    transform-origin: left bottom;
  }

  .sprout-one {
    right: 9%;
    transform: rotate(-8deg) scale(1.1);
  }

  .sprout-two {
    left: 15%;
    bottom: 15%;
    transform: rotate(7deg) scale(0.74);
  }

  .phone-stack {
    position: relative;
    width: min(100%, 520px);
    min-height: 620px;
    display: grid;
    place-items: center;
  }

  .phone {
    position: relative;
    width: 326px;
    min-height: 628px;
    overflow: hidden;
    border: 10px solid oklch(17% 0.018 150);
    border-radius: 46px;
    background: var(--surface-soft);
    box-shadow:
      0 34px 80px color-mix(in oklch, var(--fg) 22%, transparent),
      inset 0 0 0 1px color-mix(in oklch, white 35%, transparent);
  }

  .phone::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 9px;
    width: 92px;
    height: 26px;
    border-radius: 0 0 16px 16px;
    background: oklch(17% 0.018 150);
    transform: translateX(-50%);
  }

  .phone-primary {
    transform: rotate(2deg);
  }

  .phone-top {
    height: 38px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 22px 8px;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 760;
  }

  .phone-top span:last-child {
    width: 42px;
    height: 11px;
    border-radius: var(--radius-pill);
    background:
      linear-gradient(90deg, var(--fg) 0 38%, transparent 39% 46%, var(--fg) 47% 70%, transparent 71% 78%, var(--fg) 79% 100%);
    opacity: 0.6;
  }

  .app-screen {
    display: grid;
    gap: 12px;
    padding: 12px 14px 16px;
  }

  .app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .app-header p,
  .app-panel p:first-child,
  .panel-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 760;
    line-height: 1.2;
  }

  .app-header h2 {
    margin-top: 2px;
    font-size: 27px;
  }

  .icon-camera {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--bg-elevated) 78%, transparent);
  }

  .icon-camera::before {
    content: "";
    position: absolute;
    inset: 12px 9px 10px;
    border: 2px solid var(--fg);
    border-radius: 5px;
    opacity: 0.7;
  }

  .icon-camera::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--fg);
    opacity: 0.7;
  }

  .app-photo {
    position: relative;
    overflow: hidden;
    min-height: 206px;
    border-radius: var(--radius-xl);
    background:
      radial-gradient(circle at 50% 78%, color-mix(in oklch, var(--soil) 28%, var(--surface)) 0 18%, transparent 19%),
      linear-gradient(155deg, color-mix(in oklch, var(--accent) 20%, var(--surface-soft)), var(--bg-elevated));
    box-shadow: 0 20px 42px color-mix(in oklch, var(--fg) 10%, transparent);
  }

  .app-chip {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 10px;
    background: color-mix(in oklch, var(--surface) 78%, transparent);
    color: var(--fg);
    font-size: 11px;
    font-weight: 760;
    backdrop-filter: blur(14px);
  }

  .app-chip-green {
    left: auto;
    right: 12px;
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 11%, var(--surface));
  }

  .plant-art {
    position: absolute;
    inset: 68px 46px 28px;
  }

  .stem {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3px;
    height: 118px;
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--accent-strong) 66%, var(--surface));
    transform: translateX(-50%);
  }

  .leaf {
    position: absolute;
    width: 68px;
    height: 38px;
    border-radius: 70% 18% 70% 18%;
    background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 72%, var(--surface)), color-mix(in oklch, var(--accent-strong) 52%, var(--surface)));
    box-shadow: inset 0 -8px 18px color-mix(in oklch, var(--fg) 9%, transparent);
  }

  .leaf-one {
    left: 22px;
    top: 34px;
    transform: rotate(-18deg);
  }

  .leaf-two {
    right: 14px;
    top: 48px;
    transform: scaleX(-1) rotate(-14deg);
  }

  .leaf-three {
    left: 58px;
    bottom: 22px;
    width: 54px;
    height: 32px;
    transform: rotate(26deg);
  }

  .app-panel {
    display: grid;
    gap: 10px;
    border-radius: var(--radius-lg);
    padding: 14px;
    background: var(--bg-elevated);
    box-shadow: 0 12px 26px color-mix(in oklch, var(--fg) 5%, transparent);
  }

  .app-panel h3 {
    margin-top: 2px;
    font-size: 18px;
  }

  .app-panel-keep {
    background: color-mix(in oklch, var(--accent) 10%, var(--bg-elevated));
  }

  .app-panel-memory {
    background: color-mix(in oklch, var(--secondary) 10%, var(--bg-elevated));
  }

  .app-caption {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .app-pill,
  .memory-score,
  .tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: var(--radius-pill);
    padding: 6px 10px;
    background: color-mix(in oklch, var(--accent) 13%, var(--surface));
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 760;
    white-space: nowrap;
  }

  .meter {
    overflow: hidden;
    height: 8px;
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
  }

  .meter span {
    display: block;
    width: 74%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
  }

  .action-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
  }

  .action-rail span {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--muted);
    font-size: 10px;
    font-weight: 760;
    text-align: center;
  }

  .action-rail span:first-child {
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 12%, var(--bg-elevated));
  }

  .memory-card {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 255px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid color-mix(in oklch, var(--border) 84%, transparent);
    border-radius: var(--radius-lg);
    padding: 12px;
    background: color-mix(in oklch, var(--surface) 82%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
  }

  .memory-card p {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 780;
    line-height: 1.2;
  }

  .memory-card strong {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.25;
  }

  .memory-thumb {
    position: relative;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 17px;
    background:
      radial-gradient(circle at 50% 74%, color-mix(in oklch, var(--soil) 27%, var(--surface)), transparent 0 26%, transparent 27%),
      linear-gradient(150deg, color-mix(in oklch, var(--accent) 18%, var(--surface)), var(--surface-soft));
    border: 1px solid var(--border);
  }

  .memory-thumb::before,
  .memory-thumb::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 15px;
    width: 14px;
    height: 23px;
    border-radius: 13px 13px 2px 13px;
    background: color-mix(in oklch, var(--accent) 62%, var(--surface));
    transform: rotate(34deg);
    transform-origin: bottom left;
  }

  .memory-thumb::after {
    left: 14px;
    transform: scaleX(-1) rotate(34deg);
  }

  .mobile-field-card {
    display: none;
  }

  .value-strip {
    position: relative;
    z-index: 1;
    padding: 0 var(--page-gutter) 12px;
  }

  .strip-inner {
    width: min(var(--content), 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    background: color-mix(in oklch, var(--surface) 88%, transparent);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
  }

  .strip-inner p {
    color: var(--muted);
    font-weight: 700;
  }

  .strip-inner strong {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.3;
    text-wrap: balance;
  }

  .feature-card,
  .workflow-list li,
  .recommendation-panel,
  .zone-board,
  .memory-profile,
  .screen-grid article {
    border: 1px solid color-mix(in oklch, var(--border) 88%, transparent);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-card);
  }

  .feature-card {
    min-height: 254px;
    display: grid;
    align-content: space-between;
    gap: 20px;
    padding: 22px;
  }

  .feature-card:nth-child(2) {
    background: color-mix(in oklch, var(--surface-memory) 64%, var(--bg-elevated));
  }

  .feature-card:nth-child(3) {
    background: color-mix(in oklch, var(--surface-wait) 68%, var(--bg-elevated));
  }

  .feature-kicker {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    color: var(--accent-strong);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 780;
  }

  .feature-card p,
  .workflow-list p,
  .recommendation-panel p,
  .memory-profile p,
  .screen-grid p {
    color: var(--muted);
  }

  .workflow-list li {
    position: relative;
    min-height: 118px;
    display: grid;
    gap: 8px;
    padding: 22px 22px 22px 70px;
  }

  .workflow-list li::before {
    counter-increment: workflow;
    content: counter(workflow);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    color: var(--accent-strong);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 780;
  }

  .workflow-list span {
    font-size: 20px;
    font-weight: 780;
    line-height: 1.15;
  }

  .recommendation-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    background:
      linear-gradient(145deg, color-mix(in oklch, var(--accent) 12%, transparent), transparent 44%),
      var(--bg-elevated);
  }

  .recommendation-panel h3 {
    font-size: 30px;
  }

  .decision-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    padding-top: 8px;
  }

  .decision {
    min-height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    font-size: 11px;
    font-weight: 780;
    line-height: 1.1;
    text-align: center;
  }

  .decision-keep {
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 13%, var(--surface));
  }

  .decision-remove {
    color: var(--remove);
  }

  .decision-move {
    color: var(--sky);
  }

  .decision-pot {
    color: var(--soil);
  }

  .decision-wait {
    color: color-mix(in oklch, var(--wait) 74%, var(--soil));
  }

  .zone-board {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    gap: 12px;
    padding: 16px;
    background: color-mix(in oklch, var(--surface-soft) 65%, var(--bg-elevated));
  }

  .zone {
    display: grid;
    align-content: space-between;
    min-height: 150px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    background: var(--bg-elevated);
  }

  .zone-active {
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 12%, var(--bg-elevated));
  }

  .zone strong {
    font-size: 20px;
    line-height: 1.1;
  }

  .zone span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
  }

  .memory-profile {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 26px;
    background:
      linear-gradient(145deg, color-mix(in oklch, var(--secondary) 10%, transparent), transparent 46%),
      var(--bg-elevated);
  }

  .memory-profile h3 {
    font-size: 36px;
  }

  .memory-score {
    color: var(--secondary);
    background: color-mix(in oklch, var(--secondary) 12%, var(--surface));
  }

  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag-row span {
    color: var(--fg);
    background: color-mix(in oklch, var(--surface-soft) 76%, var(--bg-elevated));
    border: 1px solid var(--border);
  }

  .screen-grid article {
    min-height: 188px;
    display: grid;
    align-content: space-between;
    gap: 16px;
    padding: 20px;
  }

  .screen-grid article:nth-child(2) {
    background: color-mix(in oklch, var(--accent) 10%, var(--bg-elevated));
  }

  .screen-grid article:nth-child(4) {
    background: color-mix(in oklch, var(--wait) 14%, var(--bg-elevated));
  }

  .screen-grid article:nth-child(5) {
    background: color-mix(in oklch, var(--secondary) 10%, var(--bg-elevated));
  }

  .closing-inner h2 {
    color: var(--bg-elevated);
    font-size: 42px;
  }

  .closing-inner p {
    color: color-mix(in oklch, var(--bg-elevated) 76%, transparent);
  }

  .closing-inner .eyebrow {
    color: color-mix(in oklch, var(--wait) 72%, white);
  }
}

@layer utilities {
  @media (prefers-reduced-motion: no-preference) {
    .phone-primary {
      animation: float-phone 7s ease-in-out infinite;
    }

    .memory-card {
      animation: float-card 6s ease-in-out infinite;
    }

    .hero-sprout::before,
    .hero-sprout::after {
      animation: leaf-breathe 5s ease-in-out infinite;
    }
  }

  @keyframes float-phone {
    0%,
    100% {
      transform: translateY(0) rotate(2deg);
    }

    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  }

  @keyframes float-card {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(8px);
    }
  }

  @keyframes leaf-breathe {
    0%,
    100% {
      scale: 1;
    }

    50% {
      scale: 1.04;
    }
  }

  @media (min-width: 1180px) {
    h1 {
      font-size: 74px;
    }

    h2 {
      font-size: 48px;
    }

    .hero-lede {
      font-size: 22px;
    }
  }

  @media (max-width: 1060px) {
    .hero-inner {
      grid-template-columns: 1fr;
      gap: 26px;
    }

    .hero-copy {
      max-width: 760px;
    }

    .phone-stack {
      min-height: 570px;
    }

    .phone {
      width: 306px;
      min-height: 586px;
    }

    .memory-card {
      right: calc(50% - 265px);
    }

    .promise-grid,
    .workflow-section,
    .memory-layout {
      grid-template-columns: 1fr;
    }

    .workflow-copy {
      position: static;
    }

    .screen-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 760px) {
    :root {
      --page-gutter: 16px;
    }

    body {
      font-size: 15px;
    }

    h1 {
      font-size: 50px;
    }

    h2,
    .closing-inner h2 {
      font-size: 34px;
    }

    .site-header {
      padding-top: 8px;
    }

    .nav-shell {
      grid-template-columns: 1fr auto;
      min-height: 58px;
      padding: 8px 8px 8px 12px;
    }

    .nav-links {
      display: none;
    }

    .nav-action {
      min-height: 38px;
      padding: 8px 12px;
      font-size: 13px;
    }

    .hero {
      min-height: auto;
      padding-top: 42px;
      padding-bottom: 22px;
    }

    .hero-inner {
      gap: 22px;
    }

    .hero-copy {
      gap: 16px;
    }

    .hero-lede {
      font-size: 18px;
    }

    .hero-signals {
      grid-template-columns: repeat(3, 1fr);
      gap: 7px;
    }

    .hero-signals div {
      display: grid;
      gap: 6px;
      padding: 10px;
    }

    .hero-signals dd {
      margin-top: 0;
      font-size: 11px;
    }

    .hero-signals dt {
      font-size: 22px;
    }

    .phone-stack {
      min-height: 394px;
    }

    .phone {
      width: 224px;
      height: 428px;
      min-height: 0;
      border-width: 8px;
      border-radius: 38px;
    }

    .phone::before {
      width: 74px;
      height: 21px;
    }

    .phone-top {
      height: 30px;
      padding-inline: 18px;
      font-size: 9px;
    }

    .app-screen {
      gap: 9px;
      padding: 9px 10px 12px;
    }

    .app-header h2 {
      font-size: 22px;
    }

    .icon-camera {
      width: 34px;
      height: 34px;
    }

    .app-photo {
      min-height: 126px;
      border-radius: 26px;
    }

    .plant-art {
      inset: 44px 28px 18px;
    }

    .stem {
      height: 68px;
    }

    .leaf {
      width: 42px;
      height: 24px;
    }

    .leaf-one {
      left: 18px;
      top: 24px;
    }

    .leaf-two {
      right: 10px;
      top: 34px;
    }

    .leaf-three {
      left: 38px;
      width: 36px;
      height: 22px;
    }

    .app-panel {
      gap: 7px;
      border-radius: 20px;
      padding: 10px;
    }

    .app-panel h3 {
      font-size: 14px;
    }

    .app-caption {
      font-size: 10px;
    }

    .action-rail {
      gap: 5px;
    }

    .action-rail span {
      min-height: 34px;
      border-radius: 12px;
      font-size: 8px;
    }

    .memory-card {
      right: calc(50% - 178px);
      bottom: 18px;
      width: 204px;
      grid-template-columns: 42px 1fr;
      border-radius: 20px;
      padding: 10px;
    }

    .memory-thumb {
      width: 42px;
      height: 42px;
      border-radius: 14px;
    }

    .memory-card strong {
      font-size: 12px;
    }

    .value-strip {
      padding-bottom: 0;
    }

    .strip-inner {
      display: grid;
      gap: 8px;
      border-radius: var(--radius-lg);
      padding: 16px;
    }

    .strip-inner strong {
      font-size: 18px;
    }

    .section {
      padding: 64px 0;
    }

    .feature-card,
    .workflow-list li,
    .recommendation-panel,
    .memory-profile,
    .screen-grid article {
      border-radius: 22px;
    }

    .screen-grid {
      grid-template-columns: 1fr;
    }

    .zone-board {
      grid-template-columns: 1fr;
      border-radius: 22px;
    }

    .zone {
      min-height: 116px;
      border-radius: 20px;
    }

    .decision-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .decision-row .decision:last-child {
      grid-column: 1 / -1;
    }

    .closing-section {
      padding-bottom: 46px;
    }

    .closing-inner {
      min-height: 420px;
      border-radius: 26px;
      padding: 30px 22px;
    }

    .closing-inner::after {
      width: 150px;
      height: 190px;
      right: -14px;
      opacity: 0.28;
    }
  }

  @media (max-width: 560px) {
    :root {
      --mobile-column: min(100%, 430px);
    }

    h1 {
      font-size: 46px;
    }

    .nav-shell,
    .hero-inner,
    .strip-inner {
      width: var(--mobile-column);
      max-width: none;
      margin-inline: auto;
    }

    .section {
      width: min(430px, calc(100% - (var(--page-gutter) * 2)));
      max-width: none;
      margin-inline: auto;
    }

    .nav-shell {
      grid-template-columns: 1fr;
    }

    .nav-action {
      display: none;
    }

    .button {
      width: 100%;
    }

    .hero-actions {
      width: 100%;
    }

    .hero-signals {
      display: none;
    }

    .hero-visual {
      justify-items: stretch;
    }

    .phone-stack {
      display: none;
    }

    .mobile-field-card {
      width: 100%;
      display: grid;
      gap: 13px;
      overflow: hidden;
      border: 1px solid color-mix(in oklch, var(--border) 88%, transparent);
      border-radius: 26px;
      padding: 14px;
      background:
        linear-gradient(145deg, color-mix(in oklch, var(--accent) 11%, transparent), transparent 44%),
        var(--bg-elevated);
      box-shadow: var(--shadow-card);
    }

    .field-card-top,
    .field-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .field-card-top h2 {
      margin-top: 4px;
      font-size: 25px;
      line-height: 1.08;
    }

    .field-score {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: var(--radius-pill);
      color: var(--accent-strong);
      background: color-mix(in oklch, var(--accent) 12%, var(--surface));
      font-family: var(--font-mono);
      font-size: 18px;
      font-weight: 780;
    }

    .field-card-photo {
      position: relative;
      min-height: 128px;
      overflow: hidden;
      border-radius: 20px;
      background:
        radial-gradient(circle at 50% 82%, color-mix(in oklch, var(--soil) 30%, var(--surface)) 0 22%, transparent 23%),
        linear-gradient(155deg, color-mix(in oklch, var(--accent) 18%, var(--surface-soft)), var(--surface));
    }

    .field-soil {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -18px;
      height: 54px;
      border-radius: 50% 50% 0 0;
      background: color-mix(in oklch, var(--soil) 22%, var(--surface));
    }

    .field-stem {
      position: absolute;
      left: 50%;
      bottom: 30px;
      width: 3px;
      height: 72px;
      border-radius: var(--radius-pill);
      background: var(--accent-strong);
      transform: translateX(-50%);
    }

    .field-leaf {
      position: absolute;
      top: 48px;
      width: 64px;
      height: 34px;
      border-radius: 70% 18% 70% 18%;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 76%, var(--surface)), color-mix(in oklch, var(--accent-strong) 52%, var(--surface)));
      box-shadow: inset 0 -8px 16px color-mix(in oklch, var(--fg) 9%, transparent);
    }

    .field-leaf-left {
      left: calc(50% - 70px);
      transform: rotate(-17deg);
    }

    .field-leaf-right {
      right: calc(50% - 70px);
      transform: scaleX(-1) rotate(-17deg);
    }

    .field-tag {
      position: absolute;
      left: 12px;
      top: 12px;
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      padding: 6px 10px;
      color: var(--accent-strong);
      background: color-mix(in oklch, var(--surface) 82%, transparent);
      font-size: 12px;
      font-weight: 760;
      backdrop-filter: blur(14px);
    }

    .field-card-copy {
      display: grid;
      gap: 4px;
    }

    .field-card-copy strong {
      font-size: 18px;
      line-height: 1.2;
    }

    .field-card-copy p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.38;
    }

    .field-actions {
      justify-content: start;
      flex-wrap: wrap;
      gap: 7px;
    }

    .field-actions span {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      border-radius: var(--radius-pill);
      padding: 7px 10px;
      background: color-mix(in oklch, var(--surface-soft) 72%, var(--bg-elevated));
      color: var(--fg);
      font-size: 12px;
      font-weight: 760;
    }

    .field-actions span:first-child {
      color: var(--accent-strong);
      background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    }
  }
}
