/* hobbyist marketing — cream base + #046A38 accent */
:root {
  --background: #f0f4f1;
  --background-muted: #e2ebe6;
  --surface: #fffcfa;
  --surface-2: #fbfef9;
  --text: #1a2430;
  --text-muted: #5a6470;
  --accent: #046a38;
  --primary: #046a38;
  --primary-light: #0a9d55;
  --primary-soft: #d4ede3;
  --primary-pressed: #035a2f;
  --primary-dark: #023b1f;
  --primary-mid: #025c32;
  --primary-deep: #012a16;
  --primary-glow: rgba(4, 106, 56, 0.35);
  --border: #bfc9c0;
  --border-soft: #dee8e2;
  --success-muted: #d4ede3;
  --tint-cream: #f4f0ea;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', 'Georgia', serif;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --content-max: 70rem;
  --header-h: 3.75rem;
  --shadow-sm: 0 1px 2px rgba(22, 28, 24, 0.05);
  --shadow-md: 0 6px 24px rgba(22, 28, 24, 0.08);
  --shadow-lg: 0 20px 50px rgba(22, 28, 24, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.33, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

main section[id],
section.install {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__shot-card--main,
  .hero__shot-card--streak,
  .g-page-grain,
  body.is-ready .bg-blob--1,
  body.is-ready .bg-blob--2,
  body.is-ready .bg-blob--3,
  body.is-ready .bg-blob--4 {
    animation: none !important;
  }
  .g-page-grain {
    opacity: 0.2;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.0625rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: linear-gradient(180deg, #f4f7f4 0%, var(--background) 32%, #e8f0ec 100%);
  overflow-x: clip;
}

::selection {
  background: var(--primary-soft);
  color: var(--text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Subtle paper grain (premium) */
.g-page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%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)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(3) infinite;
}

@keyframes grainShift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-0.3%, 0.2%);
  }
  50% {
    transform: translate(0.2%, -0.1%);
  }
  75% {
    transform: translate(-0.1%, 0.15%);
  }
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 10px;
  clip-path: inset(100%);
  transition: clip-path 0.2s var(--ease-out);
}

.skip-link:focus {
  clip-path: inset(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  transition: transform 0.4s var(--ease-out);
}

body.is-ready .bg-blob--1 {
  animation: blobDrift 18s ease-in-out infinite;
}

body.is-ready .bg-blob--2 {
  animation: blobDrift 24s ease-in-out infinite 2s;
}

body.is-ready .bg-blob--3 {
  animation: blobDrift 20s ease-in-out infinite 4s;
}

body.is-ready .bg-blob--4 {
  animation: blobDrift 16s ease-in-out infinite 1s;
}

@keyframes blobDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2%, 3%) scale(1.03);
  }
  66% {
    transform: translate(-2%, 1%) scale(0.98);
  }
}

.bg-blob--1 {
  width: min(44rem, 110vw);
  height: min(38rem, 85vh);
  top: -16%;
  right: -10%;
  background: radial-gradient(
    circle at 35% 30%,
    color-mix(in srgb, var(--primary) 45%, #c5e8d8 55%) 0%,
    #a8d4c0 32%,
    transparent 70%
  );
  opacity: 0.55;
}

.bg-blob--2 {
  width: min(36rem, 100vw);
  height: min(32rem, 70vh);
  top: 38%;
  left: -18%;
  background: radial-gradient(circle, #e5dcc8 0%, #ebe3d2 40%, transparent 70%);
  opacity: 0.5;
}

.bg-blob--3 {
  width: 28rem;
  height: 20rem;
  bottom: 6%;
  right: 4%;
  background: radial-gradient(circle, #b0c8b8 0%, transparent 68%);
  opacity: 0.4;
}

.bg-blob--4 {
  width: 22rem;
  height: 24rem;
  top: 12%;
  left: 15%;
  background: radial-gradient(circle, #d4e8e2 0%, transparent 60%);
  opacity: 0.3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
  padding: 0.55rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, #f0f4f1 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  transition: box-shadow 0.32s var(--ease-out), border-color 0.32s var(--ease-out),
    background 0.32s var(--ease-out);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, #f4faf6 92%, transparent);
  box-shadow: 0 8px 32px rgba(22, 28, 24, 0.08);
  border-bottom-color: color-mix(in srgb, var(--border) 65%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand--sm {
  font-size: 1rem;
}

.brand__mark {
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(22, 28, 24, 0.12);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.brand:hover .brand__mark {
  transform: translateY(-1px);
}

.brand__name {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--text) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@supports not (background-clip: text) {
  .brand__name {
    -webkit-text-fill-color: var(--text);
  }
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem 0.35rem;
}

.header-nav__link,
.header-nav__cta {
  position: relative;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.86rem;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}

.header-nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s var(--ease-out);
  opacity: 0.6;
}

.header-nav__link:hover,
.header-nav__link:focus-visible {
  color: var(--text);
  background: color-mix(in srgb, var(--border) 32%, transparent);
}

.header-nav__link:hover::after,
.header-nav__link:focus-visible::after {
  width: 50%;
}

.header-nav__cta {
  color: #fff;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-mid) 100%);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, var(--shadow-sm);
  margin-left: 0.15rem;
}

.header-nav__cta::after {
  display: none;
}

.header-nav__cta:hover,
.header-nav__cta:focus-visible {
  background: linear-gradient(150deg, var(--primary-pressed) 0%, var(--primary-deep) 100%);
  color: #fff;
  outline: none;
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(2.25rem, 4vw, 3rem);
}

.hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.hero__text {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-pressed);
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero__title em {
  font-style: italic;
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-soft);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.1em;
}

.hero__lead {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  max-width: 40ch;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero__micro {
  margin: 0;
  max-width: 40ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6f7870;
}

.hero__shot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1rem 0.25rem 1.5rem;
}

@media (min-width: 900px) {
  .hero__shot {
    min-height: 20rem;
    padding: 1.5rem 0.5rem;
  }
}

.hero__shot-glow {
  position: absolute;
  width: 78%;
  max-width: 17rem;
  height: 78%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(4, 106, 56, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 599px) {
  .hero__shot-glow {
    width: 100%;
  }
}

.hero__shot-card {
  width: 100%;
  max-width: 19.5rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero__shot-card--main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  padding: 1.2rem 1.35rem 1.1rem;
  transform: rotate(-1.1deg) translateY(0);
  animation: cardDrift1 5.5s ease-in-out infinite;
  transition: box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__shot:hover .hero__shot-card--main {
    box-shadow: var(--shadow-lg), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  }
}

@keyframes cardDrift1 {
  0%,
  100% {
    transform: rotate(-1.1deg) translate(0, 0);
  }
  50% {
    transform: rotate(-0.6deg) translate(2px, -2px);
  }
}

.hero__shot-card--streak {
  position: absolute;
  z-index: 1;
  max-width: 12.5rem;
  padding: 0.9rem 1.15rem 0.7rem;
  bottom: 0.35rem;
  right: 0.15rem;
  transform: rotate(4.5deg);
  background: linear-gradient(150deg, #d4ede3 0%, #e8f4ef 100%);
  border: 1px solid #7ab89a;
  border-radius: 14px;
  box-shadow: 0 12px 32px var(--primary-glow);
  animation: cardDrift2 4.8s ease-in-out 0.4s infinite;
}

.streak-sublab {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2d5a40;
  margin-top: 0.35rem;
  font-weight: 600;
}

@media (max-width: 599px) {
  .hero__shot-card--streak {
    right: auto;
    left: 50%;
    margin-left: -4.2rem;
  }
}

@keyframes cardDrift2 {
  0%,
  100% {
    transform: rotate(4.5deg) translate(0, 0);
  }
  50% {
    transform: rotate(3.8deg) translate(-1px, 1px);
  }
}

.hero__shot-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hero__shot-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.hero__shot-sublabel {
  display: block;
  font-size: 0.8rem;
  color: #6a726b;
  margin-bottom: 0.85rem;
}

.hero__shot-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.3rem;
  height: 2.35rem;
}

.hero__shot-bars span {
  flex: 1;
  min-width: 0.35rem;
  max-width: 1.25rem;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: 4px;
  opacity: 0.85;
}

.streak-pill {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}

/* Section divider */
.section-dots {
  max-width: 6rem;
  height: 2px;
  margin: 0 auto 1.15rem;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 55%, #a8d4bc), transparent);
  opacity: 0.35;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: content-box;
  background-clip: padding-box;
}

/* Stats strip */
.stat-strip {
  padding: clamp(1.25rem, 2.5vw, 1.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.stat-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .stat-strip__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

.stat-item {
  text-align: center;
  padding: 1.1rem 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    border-color 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #c0b8a6;
  }
}

.stat-item__kicker {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #5a6a7a;
  margin-bottom: 0.1rem;
}

.stat-item__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--primary-pressed);
  line-height: 1.1;
  margin: 0.1rem 0 0.35rem;
  letter-spacing: -0.02em;
}

.stat-item__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 17rem;
  margin: 0 auto;
}

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.2rem, 4.2vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section--tint {
  background: color-mix(in srgb, var(--primary-soft) 42%, var(--tint-cream) 58%);
  border-top: 1px solid #b8c8c0;
  border-bottom: 1px solid #a8b8b0;
  max-width: none;
  padding-top: clamp(2.2rem, 4.2vw, 3.25rem);
  padding-bottom: clamp(2.2rem, 4.2vw, 3.25rem);
  position: relative;
}

.section--tint::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 20% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 55%);
  pointer-events: none;
}

.section--tint .section__head,
.section--tint .steps {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section__head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.1vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--text);
}

.section__title--left {
  text-align: left;
  margin: 0 0 0.5rem;
}

.section__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Features */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.3s;
}

@media (min-width: 600px) {
  .feature {
    min-height: 11.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(22, 28, 24, 0.09);
    border-color: #bfae96;
  }
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-soft) 0%, #f0d9c4 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover::before {
    opacity: 0.7;
  }
}

.feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  background: linear-gradient(145deg, #d4ede3 0%, #b8e0d0 100%);
  border-radius: 12px;
  border: 1px solid #6a9e82;
  box-shadow: 0 1px 0 #fff inset;
  margin-bottom: 0.2rem;
}

.feature__icon svg {
  width: 1.38rem;
  height: 1.38rem;
}

.feature__title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.3;
}

.feature__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

/* Why section (split) */
.section--why {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.why {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 2.25rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .why {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 3rem;
  }
}

.why__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.2rem;
}

.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.why__list li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d4840;
  padding-left: 0.1rem;
  position: relative;
  padding-top: 0.15rem;
}

.why__list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0.2rem var(--primary-soft);
}

.why__list li strong {
  color: #243028;
  font-weight: 700;
  display: block;
  margin-bottom: 0.1rem;
}

.why__panel {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, #fff 0%, #f8f2ea 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem 1.4rem;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why__panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(80% 70% at 100% 0%, rgba(4, 106, 56, 0.12) 0%, transparent 75%);
  border-radius: inherit;
  pointer-events: none;
}

.why__quote {
  margin: 0;
  position: relative;
  z-index: 1;
}

.why__quote blockquote {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 500;
  color: #1f2a22;
  letter-spacing: -0.02em;
}

.why__quote blockquote em {
  color: var(--primary-dark);
  font-style: italic;
  font-weight: 600;
}

.why__quote figcaption {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a847b;
  font-weight: 600;
}

.why__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  margin-top: 0.2rem;
}

.why__chips span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: #e8f4ef;
  border: 1px solid #8ab89a;
  color: var(--primary-dark);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (min-width: 900px) {
  .steps {
    flex-direction: row;
  }
}

.step {
  flex: 1;
  padding: 1.55rem 1.4rem;
  border-bottom: 1px solid #e0dad0;
  position: relative;
}

@media (min-width: 900px) {
  .step {
    border-bottom: none;
    border-right: 1px solid #e0dad0;
  }
  .step:last-child {
    border-right: none;
  }
}

@media (max-width: 899px) {
  .step:last-child {
    border-bottom: none;
  }
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 10px var(--primary-glow);
  letter-spacing: 0.02em;
}

.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.step__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Streaks & trophies (landing) */
.section--streaks {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-soft);
}

.streaks-pair {
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
  text-align: left;
}

.streaks-pair p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.streaks-pair__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .streaks-pair {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

/* FAQ */
.section--faq {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

.faq {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq__item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fffcf8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s, background 0.2s;
}

.faq__item[open] {
  border-color: #bfc9bc;
  box-shadow: 0 8px 28px rgba(22, 28, 24, 0.08);
  background: #fffcf6;
}

.faq__q {
  cursor: pointer;
  font: inherit;
  list-style: none;
  display: block;
  position: relative;
  padding: 0.9rem 2.1rem 0.85rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1e2820;
  user-select: none;
}

.faq__q::after {
  content: '';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border: 0 solid var(--primary);
  border-width: 0 2px 2px 0;
  display: block;
  margin-top: -0.1rem;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}

.faq__item[open] .faq__q::after {
  margin-top: 0.1rem;
  transform: translateY(0) rotate(225deg);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__a {
  margin: 0;
  padding: 0 1.15rem 0.9rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #505a50;
  border-top: 1px solid #ece6dd;
  padding-top: 0.75rem;
  margin-top: 0.15rem;
  background: linear-gradient(0deg, rgba(244, 241, 234, 0.45) 0%, transparent 100%);
}

.faq__item[open] .faq__a {
  animation: openFade 0.35s var(--ease-out);
}

@keyframes openFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Buttons + install */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.55rem 1.3rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
  position: relative;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 4px 12px var(--primary-glow);
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  border-radius: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover::after {
    opacity: 1;
  }
}

.btn--lg {
  min-height: 3.15rem;
  padding: 0.5rem 1.55rem;
  font-size: 0.95rem;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(150deg, #0a8f4a 0%, var(--primary-mid) 100%);
  border: 1px solid #023a1f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 20px var(--primary-glow);
}

.btn--primary:hover {
  background: linear-gradient(150deg, #059142 0%, #012a16 100%);
  border-color: #011a0d;
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1) inset, 0 8px 22px var(--primary-glow);
}

.btn--primary:focus-visible {
  outline: 2px solid #5cb88a;
  outline-offset: 3px;
}

.btn--primary:active {
  transform: scale(0.99) translateY(0);
}

.btn--secondary {
  color: var(--text);
  background: linear-gradient(150deg, #fffcf6 0%, #f0ebe3 100%);
  border: 1px solid #c0b4a0;
  box-shadow: 0 1px 0 #fff inset, 0 3px 10px rgba(22, 28, 24, 0.05);
}

.btn--secondary::after {
  display: none;
}

.btn--secondary:hover {
  background: linear-gradient(150deg, #f7f0e4 0%, #e2d9c9 100%);
  border-color: #a99b8a;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 #fff inset, 0 4px 14px rgba(22, 28, 24, 0.08);
}

.btn--secondary:focus-visible {
  outline: 2px solid #9aa395;
  outline-offset: 2px;
}

.btn__icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Install: gradient border frame */
.install {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.25rem, 4.5vw, 3.25rem);
}

.install__inner {
  --pad: 1.5px;
  position: relative;
  text-align: center;
  background: var(--surface);
  border: 1px solid #d0c2af;
  border-radius: 28px;
  padding: clamp(1.7rem, 3.2vw, 2.2rem) clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 18px 48px rgba(22, 28, 24, 0.1), 0 1px 0 #fff inset;
  overflow: hidden;
}

@media (min-width: 700px) {
  .install__inner {
    padding: 2.25rem 2.5rem;
  }
}

.install__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 106, 56, 0.12) 0%, transparent 55%),
    radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.install__title {
  font-family: var(--font-display);
  position: relative;
  z-index: 1;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.install__sub {
  position: relative;
  z-index: 1;
  margin: 0 0 1.4rem;
  color: #5c6658;
  font-size: 1.05rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.install__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 0.9rem;
  margin-bottom: 0.8rem;
}

.install__hint {
  position: relative;
  z-index: 1;
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6f7a6f;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.install__hint code {
  font-size: 0.8em;
  color: #3d5044;
  background: #e8e4da;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  border: 1px solid #c9c0b2;
}

/* Footer */
.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2.2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid #d9d0c0;
  position: relative;
  z-index: 2;
  background: linear-gradient(0deg, rgba(232, 226, 213, 0.35) 0%, transparent 25%);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.25rem;
  margin-bottom: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.1rem;
  font-size: 0.88rem;
}

.footer-nav__a {
  text-decoration: none;
  color: #6a726a;
  font-weight: 600;
  padding: 0.2rem 0.15rem;
  position: relative;
  transition: color 0.2s;
}

.footer-nav__a::after {
  content: '';
  position: absolute;
  left: 0.15rem;
  right: 0.4rem;
  bottom: 0.05rem;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
  opacity: 0.4;
}

.footer-nav__a:hover,
.footer-nav__a:focus-visible {
  color: var(--primary-pressed);
}

.footer-nav__a:hover::after,
.footer-nav__a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer__legal {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6e786e;
  max-width: 36rem;
}

.dev-note {
  margin-top: 1.35rem;
  max-width: 30rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7d887d;
}

.dev-note summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.dev-note summary::-webkit-details-marker {
  display: none;
}

.dev-note[open] summary {
  margin-bottom: 0.3rem;
}

.dev-note p {
  margin: 0;
  line-height: 1.55;
}

.dev-note code {
  font-size: 0.85em;
  background: #e5dfd3;
  padding: 0.1em 0.28em;
  border-radius: 4px;
  border: 1px solid #c9bfa5;
}

/* Session note shorten demo (see app/(onboarding)/flexible-logging.tsx) */
.section--logging .log-demo {
  max-width: 32rem;
  margin: 0 auto;
}

.log-demo__hint {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  min-height: 2.5rem;
}

.log-demo__card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-height: 10rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.1s;
}

.log-demo__card:hover {
  box-shadow: var(--shadow-md);
  border-color: #8aaa98;
}

.log-demo__card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.log-demo__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  min-height: 0.25rem;
}

.log-demo__photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 10px;
  border: 1px dashed #9aacbc;
  background: var(--background-muted);
  flex-shrink: 0;
}

.log-demo__body {
  min-height: 3rem;
}

.log-demo__copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
}

.log-demo__chiprow {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.log-demo__chipicon {
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

.log-demo__chip {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}

.log-demo__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.log-demo__simple {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.log-demo__reset {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-pressed);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.log-demo__reset:hover,
.log-demo__reset:focus-visible {
  color: var(--primary-dark);
  outline: none;
}

.log-blurb {
  max-width: 32rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.log-blurb__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.log-blurb__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 1100px) {
  .header-nav__link {
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .header-nav {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (min-width: 600px) {
  .hero {
    padding-top: clamp(1.5rem, 2.2vw, 2.25rem);
  }
}

