:root {
  color-scheme: light dark;
  --bg: #f7f1e7;
  --surface: rgba(255, 250, 241, 0.82);
  --surface-solid: #fffaf1;
  --ink: #24231f;
  --muted: #70695f;
  --hairline: rgba(52, 47, 40, 0.13);
  --accent: #d28a43;
  --accent-strong: #9f5b28;
  --sage: #7f9078;
  --sage-dark: #354132;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(247, 241, 231, 0) 34rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: rgba(210, 138, 67, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(52, 47, 40, 0.08);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-shell,
.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(68, 54, 35, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.58);
}

.nav-links a,
.nav-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.nav-cta {
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: calc(100svh - 72px);
  padding-block: clamp(54px, 8vw, 106px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 7.4rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.45rem);
}

.hero-lede,
.page-lede {
  margin: 26px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 760;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background 190ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffaf1;
  background: #282820;
  box-shadow: 0 16px 38px rgba(36, 35, 31, 0.22);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--hairline);
  background: rgba(255, 250, 241, 0.72);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  isolation: isolate;
  animation: floatIn 760ms ease both;
}

.phone-shadow {
  position: absolute;
  width: min(80%, 360px);
  height: 78%;
  border-radius: 48px;
  background: linear-gradient(150deg, rgba(210, 138, 67, 0.24), rgba(127, 144, 120, 0.22));
  filter: blur(28px);
  transform: rotate(-8deg) translateY(22px);
  z-index: -1;
}

.phone {
  position: relative;
  width: min(100%, 342px);
  aspect-ratio: 0.492;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(145deg, #3a3934, #151511);
  box-shadow: 0 34px 90px rgba(52, 43, 30, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-side {
  position: absolute;
  width: 4px;
  border-radius: 8px;
  background: #292821;
}

.side-left {
  left: -3px;
  top: 116px;
  height: 72px;
}

.side-right {
  right: -3px;
  top: 154px;
  height: 110px;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 43px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(244, 237, 224, 0.96));
  padding: 56px 18px 18px;
}

.dynamic-island {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 94px;
  height: 28px;
  border-radius: 999px;
  background: #11110f;
  transform: translateX(-50%);
}

.app-topbar,
.list-item,
.activity-row {
  display: flex;
  align-items: center;
}

.app-topbar {
  justify-content: space-between;
  gap: 12px;
}

.app-topbar span,
.progress-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-topbar strong {
  display: block;
  margin-top: 2px;
  font-size: 1.68rem;
}

.circle-button,
.add-button {
  border: 0;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.circle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.search-pill {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(52, 47, 40, 0.08);
  font-size: 0.92rem;
  font-weight: 620;
}

.progress-card,
.feature-card,
.collab-panel,
.aisle-card,
.support-card,
.legal-stack article,
.mini-list {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(68, 54, 35, 0.08);
}

.progress-card {
  margin-top: 16px;
  padding: 16px;
}

.progress-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.18rem;
}

.progress-track {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(127, 144, 120, 0.18);
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--accent));
}

.item-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.list-item {
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(52, 47, 40, 0.08);
}

.check-dot {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fffaf1;
  border: 1px solid rgba(52, 47, 40, 0.13);
}

.list-item.is-done .check-dot {
  background: var(--sage-dark);
}

.list-item strong {
  display: block;
  font-size: 0.93rem;
}

.list-item p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.list-item em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 720;
}

.add-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #282820;
  color: #fffaf1;
  font-size: 1.55rem;
  box-shadow: 0 18px 36px rgba(36, 35, 31, 0.25);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 28px 92px;
}

.feature-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 66px rgba(68, 54, 35, 0.12);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-dark);
  background: rgba(127, 144, 120, 0.14);
  font-size: 1.2rem;
}

.feature-card h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.05;
}

.feature-card p,
.section-copy p,
.cta-section p,
.legal-stack p,
.site-footer p {
  color: var(--muted);
}

.split-section,
.organization-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding-block: 86px;
  border-top: 1px solid rgba(52, 47, 40, 0.08);
}

.organization-section {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 0.95fr);
}

.section-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
}

.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered p {
  margin-inline: auto;
}

.collab-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.activity-row {
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fffaf1;
  background: var(--accent-strong);
  font-weight: 800;
}

.avatar-sage {
  background: var(--sage-dark);
}

.activity-row p {
  margin: 2px 0 0;
  color: var(--muted);
}

.shared-note {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: var(--sage-dark);
  border-radius: var(--radius);
  background: rgba(127, 144, 120, 0.13);
  font-weight: 760;
}

.sorting-section {
  padding-block: 96px;
  border-top: 1px solid rgba(52, 47, 40, 0.08);
}

.aisle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.aisle-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.aisle-card span {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.aisle-card strong {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.organization-visual {
  position: relative;
  min-height: 360px;
}

.mini-list {
  position: absolute;
  width: min(82%, 310px);
  padding: 22px;
  background: rgba(255, 250, 241, 0.86);
}

.mini-list.elevated {
  right: 0;
  bottom: 12px;
  background: rgba(246, 231, 217, 0.88);
}

.mini-list span {
  display: block;
  width: 36px;
  height: 5px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: #d7a6a0;
}

.mini-list.elevated span {
  background: var(--sage);
}

.mini-list strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.mini-list p {
  margin: 0;
  padding-block: 10px;
  color: var(--muted);
  border-top: 1px solid rgba(52, 47, 40, 0.1);
  font-weight: 650;
}

.cta-section {
  max-width: 920px;
  padding-block: 108px 118px;
  text-align: center;
}

.cta-section h2 {
  max-width: 740px;
  margin-inline: auto;
}

.cta-section p {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.centered-actions {
  justify-content: center;
}

.legal-page,
.support-page {
  padding-block: clamp(66px, 10vw, 116px);
}

.legal-page h1,
.support-page h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.legal-stack {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-top: 46px;
}

.legal-stack article {
  padding: clamp(20px, 3vw, 30px);
}

.legal-stack h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.legal-stack p {
  margin: 12px 0 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.support-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(68, 54, 35, 0.12);
}

.support-card strong {
  display: block;
  font-size: 1.18rem;
}

.support-card span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(52, 47, 40, 0.08);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--ink);
}

@keyframes floatIn {
  from {
    transform: translateY(18px) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 900px) {
  .nav-shell,
  .footer-shell,
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 48px 76px;
  }

  h1 {
    max-width: 10ch;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone {
    width: min(86vw, 330px);
  }

  .feature-grid,
  .split-section,
  .organization-section,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    padding-bottom: 70px;
  }

  .split-section,
  .organization-section,
  .sorting-section {
    padding-block: 70px;
  }

  .organization-visual {
    order: 2;
  }

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

@media (max-width: 560px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .nav-cta {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .hero {
    gap: 30px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .phone-stage {
    min-height: 512px;
  }

  .phone {
    width: min(92vw, 292px);
    border-radius: 44px;
    padding: 9px;
  }

  .phone-screen {
    border-radius: 36px;
    padding: 52px 14px 16px;
  }

  .app-topbar strong {
    font-size: 1.42rem;
  }

  .list-item {
    gap: 9px;
    padding: 10px;
  }

  .list-item strong {
    font-size: 0.82rem;
  }

  .list-item em {
    display: none;
  }

  .feature-card {
    min-height: 230px;
  }

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

  .organization-visual {
    min-height: 430px;
  }

  .mini-list,
  .mini-list.elevated {
    width: 88%;
  }

  .mini-list.elevated {
    bottom: 0;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f;
    --surface: rgba(32, 29, 24, 0.82);
    --surface-solid: #1f1c17;
    --ink: #fbf6eb;
    --muted: #b9afa0;
    --hairline: rgba(255, 250, 241, 0.13);
    --accent: #f1b268;
    --accent-strong: #f5c27a;
    --sage: #9daf95;
    --sage-dark: #c7d6bd;
  }

  body {
    background:
      linear-gradient(180deg, rgba(31, 28, 23, 0.84), rgba(18, 17, 15, 0) 34rem),
      var(--bg);
  }

  .brand-logo {
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.34));
  }

  .nav-links,
  .button-secondary,
  .circle-button {
    background: rgba(32, 29, 24, 0.62);
  }

  .button-primary {
    color: #171511;
    background: #fbf6eb;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  }

  .phone {
    background: linear-gradient(145deg, #605b52, #0f0e0c);
  }

  .phone-screen {
    background: linear-gradient(180deg, rgba(39, 35, 29, 0.97), rgba(28, 25, 21, 0.97));
  }

  .search-pill,
  .list-item,
  .activity-row {
    background: rgba(255, 250, 241, 0.07);
  }

  .check-dot {
    border-color: rgba(255, 250, 241, 0.16);
  }

  .list-item.is-done .check-dot,
  .avatar-sage {
    background: #6f805f;
  }

  .add-button {
    color: #171511;
    background: #fbf6eb;
  }

  .mini-list,
  .mini-list.elevated {
    background: rgba(32, 29, 24, 0.88);
  }
}
