:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-muted: #ebe2d2;
  --ink: #23251f;
  --muted: #6f7168;
  --line: #d8cfbe;
  --green: #2f4a39;
  --green-soft: #dfe7da;
  --green-gradient-soft: linear-gradient(145deg, rgba(223, 231, 218, 0.95), rgba(255, 253, 248, 0.94));
  --terracotta: #a96148;
  --amber: #bf9140;
  --sage: #8d9a7d;
  --shadow: 0 24px 70px rgba(52, 48, 39, 0.1);
  --soft-shadow: 0 12px 34px rgba(52, 48, 39, 0.07);
  --radius: 8px;
  --max: 1240px;
  --content: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 32px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(35, 37, 31, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 52%, #f0eadf 100%);
  background-size: 44px 44px, 100% 100%;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - var(--gutter)), var(--content));
  margin: calc(18px + env(safe-area-inset-top)) auto 0;
  padding: 7px 10px;
  border: 1px solid rgba(221, 212, 196, 0.82);
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 12px 36px rgba(52, 48, 39, 0.05);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 44px rgba(52, 48, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.brand-icon {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.site-header .brand {
  gap: 12px;
  font-size: 1.38rem;
}

.site-header .brand-icon {
  width: 52px;
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a,
.site-footer a {
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease,
    opacity 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--green);
  text-decoration-color: rgba(48, 76, 59, 0.34);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 720;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 260ms ease,
    border-color 260ms ease;
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  background: var(--ink);
  color: #fffaf0;
  font-size: 0.94rem;
}

.button {
  padding: 0 24px;
  font-size: 0.98rem;
}

.button:hover,
.nav-cta:hover,
.preview-header button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.68;
  cursor: default;
  transform: none;
}

.button-primary {
  background: var(--green);
  color: #fffaf0;
  box-shadow:
    0 18px 38px rgba(48, 76, 59, 0.28),
    inset 0 1px 0 rgba(255, 253, 248, 0.18);
}

.button-primary:hover {
  background: #263d30;
  box-shadow:
    0 22px 48px rgba(48, 76, 59, 0.34),
    inset 0 1px 0 rgba(255, 253, 248, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.74);
  color: var(--ink);
  box-shadow:
    0 10px 24px rgba(73, 58, 37, 0.07),
    inset 0 1px 0 rgba(255, 253, 248, 0.82);
}

.button-secondary:hover {
  border-color: rgba(48, 76, 59, 0.2);
  box-shadow: 0 14px 30px rgba(73, 58, 37, 0.1);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(72px, 8vw, 106px) 0 clamp(68px, 7vw, 94px);
}

.hero-visual {
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  transition: transform 280ms ease;
  will-change: transform;
}

.hero-visual:hover {
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.006);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 780px;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.35rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.3;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.65vw, 1.28rem);
  line-height: 1.65;
}

.hero-trust {
  margin: 14px 0 0;
  color: rgba(47, 74, 57, 0.68);
  font-size: 0.88rem;
  font-weight: 660;
  letter-spacing: 0.01em;
}

.hero-actions,
.hero-proof,
.proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-proof {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-note {
  max-width: 430px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid rgba(169, 97, 72, 0.42);
  color: var(--muted);
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1.5;
}

.hero-guide-link {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-guide-link a {
  color: var(--green);
  font-weight: 760;
}

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

.hero-proof span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.dashboard-frame,
.app-preview,
.price-card,
.feature-card,
.testimonial,
.final-cta,
details {
  border: 1px solid rgba(221, 212, 196, 0.92);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  padding: 22px 26px 26px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(250, 246, 237, 0.86)),
    var(--surface);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
  box-shadow:
    0 34px 90px rgba(52, 48, 39, 0.13),
    0 8px 22px rgba(48, 76, 59, 0.06);
}

.dashboard-frame:hover {
  transform: translateY(-2px) scale(1.006);
  border-color: rgba(48, 76, 59, 0.16);
  box-shadow:
    0 38px 96px rgba(52, 48, 39, 0.15),
    0 10px 26px rgba(48, 76, 59, 0.08);
}

.dashboard-frame::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(223, 231, 218, 0.55), transparent 44%),
    radial-gradient(circle at 88% 12%, rgba(191, 145, 64, 0.12), transparent 26%);
  pointer-events: none;
  content: "";
}

.window-controls {
  position: relative;
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7c9b6;
}

.dash-topbar,
.week-heading,
.card-row,
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dash-topbar,
.dash-grid,
.week-panel {
  position: relative;
}

.dash-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  text-transform: uppercase;
}

.dash-topbar h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.38rem;
  font-weight: 760;
}

.dash-pill,
.recommend-label {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
}

.dash-pill {
  padding: 8px 12px;
  white-space: nowrap;
}

.dashboard-frame .dash-pill {
  animation: premiumBadgeIn 520ms 360ms ease both;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.98fr);
  gap: 14px;
  margin-top: 22px;
}

.dash-card {
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(221, 212, 196, 0.86);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.76);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.dash-card:hover,
.feature-card:hover,
.price-card:hover {
  transform: translateY(-4px);
}

.featured-card {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  min-height: 326px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 42%),
    var(--green);
  color: #fffaf0;
}

.dash-card p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.74;
}

.dash-card small {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.session-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.session-list span {
  opacity: 0;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.88rem;
  animation: sessionLineIn 520ms ease both;
}

.session-list span:nth-child(1) {
  animation-delay: 420ms;
}

.session-list span:nth-child(2) {
  animation-delay: 540ms;
}

.session-list span:nth-child(3) {
  animation-delay: 660ms;
}

.activity-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #edf2e8;
  color: var(--green);
  font-weight: 820;
}

.activity-icon.amber {
  background: #f4e7c9;
  color: #7a5721;
}

.activity-icon.clay {
  background: #f1ddd4;
  color: #8b4d38;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e3b75c;
  box-shadow: 0 0 0 6px rgba(227, 183, 92, 0.18);
}

.progress-track {
  height: 8px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform-origin: left;
}

.dashboard-frame .progress-track span {
  animation: progressFillOnce 760ms 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.week-panel {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(221, 212, 196, 0.86);
  border-radius: 18px;
  background: #fbf8ef;
}

.week-heading small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  height: 132px;
  margin-top: 18px;
}

.bar-chart span {
  display: block;
  min-height: 20px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--amber), var(--terracotta));
  transform-origin: bottom;
  animation: weeklyBarIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bar-chart span:nth-child(1) {
  animation-delay: 120ms;
}

.bar-chart span:nth-child(2) {
  animation-delay: 180ms;
}

.bar-chart span:nth-child(3) {
  animation-delay: 240ms;
}

.bar-chart span:nth-child(4) {
  animation-delay: 300ms;
}

.bar-chart span:nth-child(5) {
  animation-delay: 360ms;
}

.bar-chart span:nth-child(6) {
  animation-delay: 420ms;
}

.bar-chart span:nth-child(7) {
  animation-delay: 480ms;
}

.day-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.social-proof {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - var(--gutter)), var(--content));
  margin: 0 auto;
  padding: 30px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
}

.social-proof p {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.proof-metrics {
  justify-content: flex-end;
}

.editorial-strip {
  margin-top: clamp(70px, 8vw, 104px);
  padding: 42px 0 6px;
}

.editorial-strip p {
  max-width: 980px;
  margin: 0;
  color: #383a32;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(1.78rem, 2.8vw, 2.7rem);
  line-height: 1.18;
}

.section-block {
  padding: clamp(76px, 8vw, 108px) 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow),
.showcase-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.feature-grid,
.pricing-grid,
.testimonial-grid,
.steps {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  align-items: stretch;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.difference-card {
  min-height: 164px;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid rgba(221, 212, 196, 0.92);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--soft-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.difference-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(73, 58, 37, 0.09);
}

.difference-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.dash-card,
.feature-card,
.price-card,
.testimonial,
.step {
  border-radius: var(--radius);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.feature-card {
  min-height: 252px;
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--soft-shadow);
}

.feature-card:hover,
.price-card:hover,
.testimonial:hover {
  border-color: rgba(48, 76, 59, 0.16);
  box-shadow: 0 18px 46px rgba(52, 48, 39, 0.09);
}

.feature-card-large {
  grid-column: span 2;
  min-height: 326px;
  background:
    linear-gradient(145deg, rgba(223, 231, 218, 0.72), rgba(255, 253, 248, 0.88)),
    var(--surface);
}

.feature-card-tall {
  grid-column: span 2;
  background: #fbf8ef;
}

.feature-card p,
.step p,
.price-card p,
.testimonial figcaption,
details p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--terracotta);
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.mini-list span {
  padding: 8px 11px;
  border: 1px solid rgba(48, 76, 59, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 720;
}

.streak-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 44px;
}

.streak-meter span {
  display: block;
  height: 76px;
  border-radius: 999px 999px 5px 5px;
  background: var(--green-soft);
}

.streak-meter span:nth-child(2),
.streak-meter span:nth-child(4) {
  height: 104px;
  background: #d8c6a0;
}

.streak-meter span:nth-child(3),
.streak-meter span:nth-child(5) {
  height: 92px;
  background: #cfae73;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(221, 212, 196, 0.9);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--soft-shadow);
}

.step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fbf8ef;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--green);
  font-weight: 820;
}

.step h3 {
  margin-bottom: 6px;
}

.step p {
  margin-bottom: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(620px, 1.44fr);
  gap: clamp(48px, 6vw, 78px);
  align-items: center;
  padding-top: clamp(92px, 10vw, 132px);
}

.app-preview {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 548px;
  overflow: hidden;
  border-radius: 22px;
  background: #fffdf8;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.app-preview:hover {
  transform: translateY(-2px) scale(1.004);
  box-shadow: 0 28px 68px rgba(73, 58, 37, 0.12);
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: #f2ecdf;
}

.mini-brand {
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 800;
}

.preview-sidebar a {
  padding: 11px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.96rem;
}

.sidebar-hobbies {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 207, 190, 0.9);
}

.sidebar-hobbies span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.sidebar-hobbies p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.preview-sidebar a.active {
  background: #fffaf0;
  color: var(--ink);
  font-weight: 740;
}

.preview-main {
  padding: clamp(28px, 3vw, 36px);
  background: #fffdf8;
}

.preview-header h3 {
  margin: 0;
  font-size: 1.55rem;
}

.preview-header button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf0;
  font: inherit;
  font-weight: 740;
  cursor: pointer;
  transition: transform 180ms ease;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.preview-cards article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf8ef;
}

.preview-cards span,
.timeline span,
.preview-cards small,
.focus-row p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.preview-cards strong {
  display: block;
  margin-top: 12px;
  font-size: 1.55rem;
}

.preview-cards small {
  margin-top: 8px;
}

.focus-row {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(223, 231, 218, 0.72), rgba(255, 253, 248, 0.9)),
    #fbf8ef;
}

.focus-row strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.24rem;
}

.focus-row p {
  margin: 0;
}

.focus-ring {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf8 0 55%, transparent 56%),
    conic-gradient(var(--green) 0 74%, #e8decc 74% 100%);
}

.focus-ring span {
  color: var(--green);
  font-weight: 820;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.timeline div {
  position: relative;
  padding: 16px 18px;
  padding-right: 86px;
  border-left: 3px solid var(--terracotta);
  background: #f7f3ea;
}

.timeline em {
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(64px, 7vw, 88px);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(48, 76, 59, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(223, 231, 218, 0.78), rgba(255, 253, 248, 0.94)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.install-copy {
  max-width: 680px;
}

.install-copy h2 {
  margin-bottom: 12px;
}

.install-copy p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.install-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 22px;
}

.install-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(48, 76, 59, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 740;
  line-height: 1;
}

.install-badges svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-badges .icon-fill {
  fill: currentColor;
  stroke: none;
}

.install-visual {
  display: flex;
  justify-content: center;
}

.install-phone {
  width: min(100%, 228px);
  padding: 16px;
  border: 1px solid rgba(48, 76, 59, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(180deg, #fffdf8, #f3ecdf),
    var(--surface);
  box-shadow:
    inset 0 0 0 6px rgba(255, 253, 248, 0.72),
    0 22px 54px rgba(52, 48, 39, 0.12);
}

.install-phone-top {
  width: 54px;
  height: 5px;
  margin: 2px auto 16px;
  border-radius: 999px;
  background: rgba(47, 74, 57, 0.22);
}

.install-app-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(48, 76, 59, 0.18);
  border-radius: 18px;
  background: #fffdf8;
}

.install-app-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.install-phone span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 820;
}

.install-phone strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.install-phone p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.install-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.install-mini-row i {
  display: block;
  height: 34px;
  border-radius: 999px 999px 7px 7px;
  background: rgba(47, 74, 57, 0.18);
}

.install-mini-row i:nth-child(2) {
  background: rgba(47, 74, 57, 0.32);
}

.install-mini-row i:nth-child(3) {
  background: rgba(191, 145, 64, 0.2);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  max-width: 1180px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(30px, 3vw, 38px);
}

.price-card.recommended {
  border-color: rgba(48, 76, 59, 0.42);
  background:
    linear-gradient(180deg, rgba(223, 231, 218, 0.45), rgba(255, 253, 248, 0.88)),
    #fbf9f1;
}

.price-card.supporter {
  border-color: rgba(191, 145, 64, 0.35);
  background:
    linear-gradient(180deg, rgba(191, 145, 64, 0.08), rgba(255, 253, 248, 0.92)),
    #fffdf8;
}

.recommend-label {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: min(210px, calc(100% - 40px));
  padding: 7px 10px;
  text-align: right;
}

.price-card strong {
  display: block;
  margin: 28px 0 12px;
  font-size: clamp(2.65rem, 4vw, 3.25rem);
  line-height: 1;
}

.price-card strong span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 620;
}

.price-alt {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.price-card .button {
  margin-top: auto;
}

.price-card li::before {
  margin-right: 10px;
  color: var(--green);
  content: "\2713";
}

.pricing-note {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.pricing-trust {
  margin: 18px 0 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 760;
}

.testimonial-grid {
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 22px;
  align-items: start;
}

.testimonial {
  margin: 0;
  padding: clamp(28px, 3vw, 36px);
  box-shadow: var(--soft-shadow);
}

.testimonial blockquote {
  margin: 0 0 22px;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 62px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  padding: 24px 26px;
  border-radius: var(--radius);
  box-shadow: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

details:hover {
  border-color: rgba(169, 97, 72, 0.32);
  background: rgba(255, 253, 248, 0.94);
}

summary {
  cursor: pointer;
  font-weight: 760;
  font-size: 1.04rem;
}

summary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 106, 77, 0.36);
  outline-offset: 4px;
}

details p {
  margin: 16px 0 0;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-top: clamp(80px, 9vw, 112px);
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(221, 212, 196, 0.94);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(242, 236, 223, 0.82)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.beta-section h2 {
  margin-bottom: 18px;
}

.beta-section p:not(.eyebrow),
.beta-actions p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.beta-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.beta-actions .button {
  width: 100%;
}

.beta-actions p {
  margin: 8px 0 0;
  font-size: 0.94rem;
}

.beta-actions p a {
  color: var(--ink);
  font-weight: 720;
}

.final-cta {
  margin-top: clamp(104px, 11vw, 144px);
  padding: clamp(54px, 7vw, 82px) clamp(24px, 6vw, 72px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(223, 231, 218, 0.92), rgba(255, 253, 248, 0.94)),
    var(--surface);
  text-align: center;
}

.final-cta h2 {
  margin-inline: auto;
}

.site-footer {
  width: min(calc(100% - var(--gutter)), var(--content));
  margin: clamp(62px, 8vw, 96px) auto 0;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(216, 207, 190, 0.88);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 242, 231, 0.9)),
    var(--surface);
  box-shadow: 0 22px 58px rgba(73, 58, 37, 0.07);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand .brand {
  width: max-content;
  gap: 12px;
  font-size: 1.28rem;
}

.footer-brand .brand-icon {
  width: 42px;
  height: 42px;
}

.footer-brand p,
.footer-trust p,
.site-footer p {
  margin: 0;
}

.footer-brand p:nth-of-type(2) {
  width: max-content;
  padding: 7px 11px;
  border: 1px solid rgba(48, 76, 59, 0.12);
  border-radius: 999px;
  background: rgba(223, 231, 218, 0.42);
  color: rgba(47, 74, 57, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand .footer-microcopy {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(101, 99, 91, 0.68);
  font-size: 0.88rem;
  font-weight: 620;
}

.footer-grid nav,
.footer-trust {
  display: grid;
  gap: 11px;
}

.site-footer h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  width: max-content;
}

.footer-trust p {
  position: relative;
  padding-left: 22px;
  color: rgba(101, 99, 91, 0.9);
}

.footer-trust p::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(48, 76, 59, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(223, 231, 218, 0.94), rgba(186, 204, 181, 0.72));
  box-shadow: inset 0 0 0 3px rgba(255, 253, 248, 0.78);
}

.footer-statement {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(24px, 4vw, 34px) 0 0;
  border-top: 1px solid rgba(216, 207, 190, 0.7);
  color: var(--green);
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.35vw, 2.05rem);
  line-height: 1.25;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 207, 190, 0.58);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-bottom nav {
  display: flex;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.guide-page .site-header {
  position: sticky;
}

.guide-shell {
  width: min(calc(100% - var(--gutter)), 940px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) 0 clamp(28px, 5vw, 64px);
}

.guide-article {
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(221, 212, 196, 0.88);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(251, 248, 239, 0.94)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.guide-article h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}

.guide-lede {
  max-width: 760px;
  margin-bottom: clamp(38px, 6vw, 58px);
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.guide-article section {
  margin-top: clamp(34px, 5vw, 52px);
}

.guide-article h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.guide-article p {
  max-width: 760px;
  color: var(--muted);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.guide-card-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(221, 212, 196, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(223, 231, 218, 0.42), rgba(255, 253, 248, 0.9)),
    #fffdf8;
  box-shadow: var(--soft-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.guide-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(52, 48, 39, 0.09);
}

.guide-card-link span {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card-link strong {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.3;
}

.guide-card-link p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.guide-cta {
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(48, 76, 59, 0.16);
  border-radius: 20px;
  background: var(--green-gradient-soft);
}

.guide-cta p {
  margin-bottom: 24px;
}

.app-shell {
  padding-top: clamp(104px, 11vw, 148px);
}

.app-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.app-topline h2 {
  max-width: 760px;
}

.app-topline p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.app-status {
  min-width: 132px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 760;
  text-align: center;
  overflow-wrap: anywhere;
}

.product-frame {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(221, 212, 196, 0.94);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.product-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #f2ecdf;
}

.product-brand {
  margin-bottom: 22px;
}

.product-nav-link,
.active-hobbies-card button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.96rem;
  text-align: left;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.product-nav-link:hover,
.product-nav-link.active {
  background: #fffaf0;
  color: var(--green);
}

.product-nav-link.active {
  font-weight: 760;
}

.muted-link {
  margin-top: auto;
}

.danger-link {
  color: #8b4d38;
}

.product-main {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 244, 235, 0.86)),
    #fffdf8;
}

.product-view {
  display: none;
}

.product-view.active {
  display: block;
  animation: viewIn 360ms ease both;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  min-height: 570px;
}

.auth-layout h3,
.view-heading h3 {
  max-width: 680px;
  margin-bottom: 14px;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
}

.auth-layout p,
.view-heading p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.view-heading {
  margin-bottom: 28px;
}

.view-heading.with-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mobile-quick-card,
.mobile-quick-log-fab,
.mobile-quick-log-sheet {
  display: none;
}

.product-card {
  border: 1px solid rgba(221, 212, 196, 0.94);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: var(--soft-shadow);
}

.form-card,
.onboarding-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.form-message {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(169, 97, 72, 0.28);
  border-radius: 12px;
  background: #f7ece6;
  color: #7d422f;
  font-size: 0.94rem;
  line-height: 1.45;
}

.form-message:empty,
.form-message[hidden] {
  display: none;
}

.form-message[data-type="success"] {
  border-color: rgba(48, 76, 59, 0.24);
  background: var(--green-soft);
  color: var(--green);
}

.guided-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.guided-steps span {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8ef;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 740;
  text-align: center;
}

.onboarding-note {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--terracotta);
  background: #f7f3ea;
  color: var(--muted);
}

.local-data-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  margin-top: -4px;
  padding: 8px 10px;
  border: 1px solid rgba(48, 76, 59, 0.14);
  border-radius: 12px;
  background: rgba(251, 248, 239, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 640;
  line-height: 1.25;
  cursor: pointer;
}

.checkbox-row input {
  position: relative;
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  padding: 0;
  border: 1px solid rgba(48, 76, 59, 0.34);
  border-radius: 5px;
  appearance: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(223, 231, 218, 0.48)),
    #fffdf8;
  cursor: pointer;
}

.checkbox-row input::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  content: "";
  opacity: 0;
  transform: rotate(45deg) scale(0.82);
  transition: opacity 160ms ease;
}

.checkbox-row input:checked {
  border-color: rgba(48, 76, 59, 0.52);
  background: var(--green-soft);
}

.checkbox-row input:checked::after {
  opacity: 1;
}

.checkbox-row input:focus-visible {
  box-shadow: 0 0 0 4px rgba(48, 76, 59, 0.14);
}

.text-button {
  width: max-content;
  min-height: auto;
  margin-top: -8px;
  padding: 3px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.3;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button:focus-visible {
  outline: 3px solid rgba(48, 76, 59, 0.18);
  outline-offset: 3px;
}

.template-guidance,
.session-guidance {
  display: grid;
  gap: 14px;
  margin-top: -2px;
  padding: 16px;
  border: 1px solid rgba(216, 207, 190, 0.86);
  border-radius: 16px;
  background: #fbf8ef;
}

.session-guidance {
  margin-top: -8px;
  padding: 14px;
}

.optional-details {
  border: 1px solid rgba(216, 207, 190, 0.86);
  border-radius: 16px;
  background: #fbf8ef;
}

.optional-details summary {
  min-height: 48px;
  padding: 12px 16px;
  color: var(--green);
  font-weight: 780;
  cursor: pointer;
}

.optional-details summary::marker {
  color: var(--green);
}

.optional-details-content {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
}

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

.template-guidance p {
  margin: 0;
}

.template-guidance span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.template-guidance strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.45;
}

.template-helper {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.suggestion-chip {
  max-width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 74, 57, 0.18);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 740;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.suggestion-chip:hover,
.suggestion-chip:focus-visible {
  border-color: rgba(47, 74, 57, 0.36);
  box-shadow: 0 8px 22px rgba(52, 48, 39, 0.07);
  transform: translateY(-1px);
}

.form-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f3ea;
}

.form-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 740;
  cursor: pointer;
}

.form-switch button.active {
  background: #fffdf8;
  color: var(--green);
  box-shadow: 0 6px 18px rgba(52, 48, 39, 0.07);
}

label,
fieldset {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 740;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(169, 97, 72, 0.56);
  box-shadow: 0 0 0 4px rgba(169, 97, 72, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8ef;
  color: var(--muted);
  font-weight: 720;
}

.choice-grid input {
  width: 16px;
  min-height: auto;
  accent-color: var(--green);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 18px;
  align-items: stretch;
}

.today-plan {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  border-color: rgba(47, 74, 57, 0.2);
  background:
    linear-gradient(145deg, rgba(223, 231, 218, 0.95), rgba(255, 253, 248, 0.94)),
    #fffdf8;
}

.today-plan h4,
.active-hobbies-card h4,
.sessions-card h4,
.weekly-review-card h4,
.milestones-card h4,
.timeline-card h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.today-plan p {
  max-width: 430px;
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-weight: 720;
}

.first-action {
  width: max-content;
  margin-top: 22px;
}

.session-success {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid rgba(47, 74, 57, 0.18);
  border-radius: 14px;
  background: rgba(223, 231, 218, 0.84);
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.45;
}

.session-success[hidden] {
  display: none;
}

.feedback-prompt {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 12px;
  border: 1px solid rgba(47, 74, 57, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.64);
  animation: viewIn 260ms ease both;
}

.feedback-prompt[hidden],
.feedback-choices[hidden],
.feedback-followup[hidden],
#feedbackPromptQuestion[hidden] {
  display: none;
}

.feedback-prompt p {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
}

.install-hint {
  width: max-content;
  max-width: 100%;
  margin: -16px 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 74, 57, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.35;
}

.feedback-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-choices button,
.feedback-followup a {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(47, 74, 57, 0.18);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
}

.feedback-choices button:hover,
.feedback-choices button:focus-visible,
.feedback-followup a:hover,
.feedback-followup a:focus-visible {
  background: var(--green-soft);
}

.feedback-followup {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.feedback-followup strong {
  color: var(--green);
}

.feedback-followup a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.app-progress {
  margin-top: auto;
  background: rgba(48, 76, 59, 0.13);
}

.app-progress span {
  background: var(--green);
}

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

.dashboard-layout > .stat-grid {
  grid-column: 1 / -1;
}

.stat-card {
  padding: 22px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: none;
}

.stat-card span,
.hobby-row span,
.session-feed span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 1.62rem;
  line-height: 1.05;
}

.stat-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-progress {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(48, 76, 59, 0.12);
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.active-hobbies-card {
  grid-column: 1 / -1;
  padding: 24px;
}

.active-hobbies-card .card-row {
  align-items: flex-start;
}

.active-hobbies-card .card-row p {
  max-width: 560px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.weekly-review-card,
.weekly-rhythm-card,
.milestones-card,
.timeline-card {
  padding: 24px;
}

.weekly-review-card,
.weekly-rhythm-card,
.timeline-card {
  grid-column: 1 / -1;
}

.weekly-rhythm-card .card-row p {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rhythm-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.rhythm-day {
  display: grid;
  min-height: 68px;
  place-items: center;
  gap: 7px;
  border: 1px solid rgba(216, 207, 190, 0.72);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--muted);
  font: inherit;
  cursor: default;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.rhythm-day span {
  color: rgba(111, 113, 104, 0.88);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rhythm-day em {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px 999px 999px 70%;
  background: transparent;
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1;
  transform: rotate(-4deg);
}

.rhythm-day:nth-child(2n) em {
  border-radius: 78% 92% 70% 88%;
  transform: rotate(5deg) translateY(1px);
}

.rhythm-day:nth-child(3n) em {
  border-radius: 92% 74% 84% 68%;
  transform: rotate(-7deg) translateX(1px);
}

.rhythm-day:nth-child(4n) em {
  border-radius: 70% 86% 92% 78%;
  transform: rotate(3deg) translate(-1px, 1px);
}

.rhythm-day:nth-child(5n) em {
  border-radius: 86% 72% 76% 94%;
  transform: rotate(-2deg) translateY(-1px);
}

.rhythm-day:hover,
.rhythm-day:focus-visible {
  border-color: rgba(47, 74, 57, 0.22);
  transform: translateY(-1px);
}

.rhythm-empty em {
  border: 1px solid rgba(216, 207, 190, 0.82);
}

.rhythm-light {
  background: linear-gradient(145deg, rgba(245, 241, 232, 0.96), rgba(223, 231, 218, 0.54));
}

.rhythm-light em {
  width: 24px;
  height: 22px;
  background: rgba(223, 231, 218, 0.72);
}

.rhythm-steady {
  background: linear-gradient(145deg, rgba(223, 231, 218, 0.74), rgba(255, 253, 248, 0.9));
  color: var(--green);
}

.rhythm-steady em {
  width: 30px;
  height: 27px;
  background: rgba(190, 208, 184, 0.8);
}

.rhythm-focused {
  background: linear-gradient(145deg, rgba(190, 208, 184, 0.72), rgba(223, 231, 218, 0.82));
  color: var(--green);
}

.rhythm-focused em {
  width: 38px;
  height: 32px;
  background: rgba(141, 154, 125, 0.58);
}

.rhythm-strong {
  background: linear-gradient(145deg, rgba(141, 154, 125, 0.62), rgba(223, 231, 218, 0.88));
  color: var(--green);
}

.rhythm-strong em {
  width: 46px;
  height: 36px;
  background: rgba(47, 74, 57, 0.72);
  color: #fffaf0;
}

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

.review-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf8ef;
}

.review-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.review-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.weekly-review-card > p {
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.45;
}

.review-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.review-insights span {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(47, 74, 57, 0.12);
  border-radius: 999px;
  background: rgba(223, 231, 218, 0.42);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.weekly-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: 14px;
}

.weekly-share button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--green);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.weekly-share .share-primary {
  border-color: rgba(47, 74, 57, 0.28);
  background: var(--green);
  color: #fffaf0;
}

.weekly-share button:hover,
.weekly-share button:focus-visible {
  border-color: rgba(47, 74, 57, 0.28);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.weekly-share .share-primary:hover,
.weekly-share .share-primary:focus-visible {
  background: #263d30;
  color: #fffaf0;
}

.weekly-share span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 680;
}

.progress-card-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.progress-card-panel[hidden] {
  display: none;
}

.story-card {
  position: relative;
  display: flex;
  overflow: hidden;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 24px 24px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(245, 241, 232, 0.9) 58%, rgba(223, 231, 218, 0.82)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.story-card::before {
  position: absolute;
  inset: 18px 16px 16px;
  border: 1px solid rgba(47, 74, 57, 0.09);
  border-radius: 22px;
  pointer-events: none;
  content: "";
}

.story-card-kicker {
  position: relative;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card-title {
  position: relative;
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 9vw, 2.78rem);
  font-weight: 520;
  line-height: 1.02;
}

.story-card h5 {
  position: relative;
  margin: 18px 0 0;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.2;
}

.story-card p {
  position: relative;
  margin: 0;
}

.story-card-focus {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 660;
  line-height: 1.35;
}

.story-card-time {
  margin-top: 8px;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.35;
}

.story-card-stat {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
}

.story-card-rhythm {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 18px 0 18px;
}

.story-rhythm-day {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 4px;
}

.story-rhythm-day em {
  width: 20px;
  height: 18px;
  border-radius: 86% 72% 76% 94%;
  background: transparent;
  transform: rotate(-3deg);
}

.story-rhythm-day:nth-child(2n) em {
  border-radius: 78% 92% 70% 88%;
  transform: rotate(5deg) translateY(1px);
}

.story-rhythm-day:nth-child(3n) em {
  border-radius: 92% 74% 84% 68%;
  transform: rotate(-7deg) translateX(1px);
}

.story-rhythm-day small {
  color: rgba(111, 113, 104, 0.84);
  font-size: 0.58rem;
  font-weight: 780;
  text-transform: uppercase;
}

.story-rhythm-day.rhythm-empty em {
  border: 1px solid rgba(216, 207, 190, 0.85);
}

.story-rhythm-day.rhythm-light em {
  width: 24px;
  height: 21px;
  background: rgba(223, 231, 218, 0.75);
}

.story-rhythm-day.rhythm-steady em {
  width: 28px;
  height: 24px;
  background: rgba(190, 208, 184, 0.82);
}

.story-rhythm-day.rhythm-focused em {
  width: 32px;
  height: 27px;
  background: rgba(141, 154, 125, 0.62);
}

.story-rhythm-day.rhythm-strong em {
  width: 36px;
  height: 30px;
  background: rgba(47, 74, 57, 0.76);
}

.story-card-next {
  padding: 12px;
  border: 1px solid rgba(47, 74, 57, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.35;
}

.story-card-reflection {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(223, 231, 218, 0.72);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.2;
}

.story-card-note {
  position: relative;
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.story-card-brand {
  position: relative;
  margin-top: 5px;
  color: rgba(47, 74, 57, 0.74);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.progress-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-card-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(47, 74, 57, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--green);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
}

.milestone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.milestones-card .card-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.milestone-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8ef;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 740;
}

.milestones-card .card-row > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.reflection-badge {
  border-color: rgba(48, 76, 59, 0.22);
  background: var(--green-soft);
  color: var(--green);
}

.milestone-list .empty-state {
  width: 100%;
  padding: 14px;
}

.active-hobbies-card button {
  width: auto;
  padding: 8px 12px;
  background: #f2ecdf;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 760;
}

.hobby-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.hobby-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 0.74fr) minmax(220px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 14px;
  background: var(--green-gradient-soft);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.66);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.hobby-row:hover {
  border-color: rgba(48, 76, 59, 0.3);
  transform: translateY(-2px);
}

.hobby-row strong {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  margin-bottom: 3px;
}

.focus-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1;
  vertical-align: middle;
}

.hobby-row-title span {
  line-height: 1.35;
}

.hobby-row-progress {
  display: grid;
  gap: 7px;
}

.hobby-row-progress .mini-progress {
  margin-top: 0;
  background: rgba(47, 74, 57, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.45);
}

.hobby-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 780;
}

.hobby-row-next {
  margin: 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.45;
}

.hobby-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hobby-row-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(47, 74, 57, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--green);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 760;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.hobby-row-actions button[data-log-hobby] {
  border-color: rgba(47, 74, 57, 0.28);
  background: var(--green);
  color: #fffaf0;
}

.hobby-row-actions button[data-focus-hobby]:disabled {
  cursor: default;
  opacity: 0.72;
}

.hobby-row-actions button:hover,
.hobby-row-actions button:focus-visible {
  border-color: rgba(47, 74, 57, 0.34);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.hobby-row-actions button[data-log-hobby]:hover,
.hobby-row-actions button[data-log-hobby]:focus-visible {
  background: #263d30;
  color: #fffaf0;
}

.detail-layout {
  display: grid;
  gap: 18px;
}

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

.hobby-journey-card {
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(245, 241, 232, 0.86));
}

.hobby-journey-card .card-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.journey-stats div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(216, 207, 190, 0.82);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

.journey-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.journey-stats strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.journey-insights span {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(47, 74, 57, 0.12);
  border-radius: 999px;
  background: rgba(223, 231, 218, 0.42);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.journey-progression {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(47, 74, 57, 0.11);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.62);
}

.journey-progression strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.journey-progression p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.journey-rhythm {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.journey-rhythm-day {
  display: grid;
  min-height: 48px;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(216, 207, 190, 0.76);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.62);
}

.journey-rhythm-day em {
  width: 14px;
  height: 14px;
  border-radius: 999px 999px 999px 70%;
  background: transparent;
  transform: rotate(-4deg);
}

.journey-rhythm-day:nth-child(2n) em {
  border-radius: 78% 92% 70% 88%;
  transform: rotate(5deg) translateY(1px);
}

.journey-rhythm-day:nth-child(3n) em {
  border-radius: 92% 74% 84% 68%;
  transform: rotate(-7deg) translateX(1px);
}

.journey-rhythm-day small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.journey-rhythm-day.rhythm-empty em {
  border: 1px solid rgba(216, 207, 190, 0.9);
}

.journey-rhythm-day.rhythm-light em {
  width: 17px;
  height: 16px;
}

.journey-rhythm-day.rhythm-steady em {
  width: 20px;
  height: 18px;
}

.journey-rhythm-day.rhythm-focused em {
  width: 24px;
  height: 21px;
}

.journey-rhythm-day.rhythm-strong em {
  width: 28px;
  height: 23px;
}

.compact-select-label {
  min-width: 210px;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.compact-select-label select {
  color: var(--ink);
  text-transform: none;
}

.sessions-card {
  padding: 26px;
}

.session-feed {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.session-feed article {
  position: relative;
  padding: 16px 104px 16px 18px;
  border-left: 3px solid var(--terracotta);
  border-radius: 0 14px 14px 0;
  background: #f7f3ea;
}

.compact-feed {
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 6px;
}

.compact-feed .timeline-entry {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 0.72fr) minmax(190px, 1fr) minmax(180px, 0.86fr) 76px;
  gap: 10px 14px;
  align-items: center;
  padding: 11px 13px 11px 15px;
  border: 1px solid rgba(216, 207, 190, 0.9);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  background: #fbf8ef;
  padding-right: 13px;
}

.compact-feed .session-item-header {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin-bottom: 0;
}

.compact-feed .session-item-meta strong,
.compact-feed .session-item-meta span,
.compact-feed p,
.compact-feed small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-feed .session-item-meta strong {
  white-space: nowrap;
}

.compact-feed .session-item-meta span {
  white-space: nowrap;
}

.timeline-entry-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.timeline-entry-details span {
  display: inline-flex;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(223, 231, 218, 0.8);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.25;
}

.session-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.session-item-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.session-item-meta span {
  margin-top: 2px;
}

.session-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 780;
}

.session-feed p {
  margin: 8px 0 0;
  color: var(--muted);
}

.compact-feed p {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.session-feed small {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 720;
}

.compact-feed small {
  grid-column: 4;
  grid-row: 1;
  margin-top: 0;
  padding: 6px 9px;
  border: 1px solid rgba(47, 74, 57, 0.13);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.7);
  font-size: 0.84rem;
  line-height: 1.35;
}

.timeline-toggle {
  width: max-content;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 74, 57, 0.16);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 760;
  cursor: pointer;
}

.timeline-toggle:hover,
.timeline-toggle:focus-visible {
  background: var(--green-soft);
}

.session-delete {
  position: absolute;
  top: 14px;
  right: 14px;
  width: max-content;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(139, 77, 56, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
  color: #8b4d38;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  cursor: pointer;
  justify-self: end;
}

.compact-feed .session-delete {
  position: relative;
  top: auto;
  right: auto;
  grid-column: 5;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}

.session-delete:hover,
.session-delete:focus-visible {
  background: #f7ece6;
}

.empty-state {
  padding: 18px;
  border: 1px dashed rgba(111, 113, 104, 0.34);
  border-radius: 14px;
  background: #fbf8ef;
}

.empty-state strong {
  display: block;
  margin-bottom: 4px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-soft {
  animation: floatSoft 9s ease-in-out infinite;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes weeklyBarIn {
  from {
    opacity: 0.72;
    transform: scaleY(0.28);
  }
}

@keyframes progressFillOnce {
  from {
    transform: scaleX(0.18);
  }
}

@keyframes sessionLineIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumBadgeIn {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
  }

  to {
    opacity: 1;
    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: 1080px) {
  .site-header {
    border-radius: 24px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .split-section,
  .product-showcase,
  .install-section,
  .faq-section,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding-top: 64px;
  }

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

  .hero-visual {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large,
  .feature-card-tall {
    grid-column: span 1;
  }

  .social-proof,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .product-showcase {
    gap: 42px;
  }

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

  .install-visual {
    justify-content: flex-start;
  }

  .app-topline,
  .product-frame,
  .auth-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .app-status {
    width: max-content;
  }

  .product-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-brand,
  .muted-link {
    grid-column: 1 / -1;
  }

  .muted-link {
    margin-top: 0;
  }

  .active-hobbies-card {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 44px;
    padding: 20px;
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(248, 244, 235, 0.88)),
      var(--surface);
    box-shadow: 0 10px 24px rgba(73, 58, 37, 0.035);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 8px;
  }

  .footer-brand .brand {
    font-size: 1.08rem;
  }

  .footer-brand .brand-icon {
    width: 32px;
    height: 32px;
  }

  .footer-brand p {
    max-width: 32rem;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .footer-brand p:nth-of-type(2) {
    padding: 5px 9px;
    font-size: 0.8rem;
  }

  .footer-grid nav,
  .footer-trust {
    gap: 6px;
  }

  .site-footer h3 {
    margin-bottom: 0;
    font-size: 0.72rem;
  }

  .site-footer a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
  }

  .footer-trust {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
  }

  .footer-trust h3 {
    grid-column: 1 / -1;
  }

  .footer-trust p {
    padding-left: 16px;
    font-size: 0.86rem;
    line-height: 1.32;
  }

  .footer-trust p::before {
    top: 0.34em;
    width: 8px;
    height: 8px;
    box-shadow: inset 0 0 0 2px rgba(255, 253, 248, 0.82);
  }

  .footer-statement {
    margin-top: 18px;
    padding-top: 14px;
    font-size: clamp(1.12rem, 5.2vw, 1.38rem);
    line-height: 1.2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding-top: 12px;
    text-align: center;
    font-size: 0.84rem;
  }

  .footer-bottom nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (max-width: 680px) {
  body.quick-log-open {
    overflow: hidden;
  }

  .section-shell,
  .guide-shell,
  .social-proof,
  .site-footer,
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    margin-top: calc(12px + env(safe-area-inset-top));
    padding: 6px 9px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .site-footer {
    margin-top: 38px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .footer-statement {
    margin-top: 16px;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

  .brand {
    gap: 8px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    gap: 30px;
    padding: 32px 0 40px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(2.34rem, 11.2vw, 3.05rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.84rem, 8.4vw, 2.32rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .showcase-copy p,
  .app-topline p:not(.eyebrow),
  .auth-layout p,
  .view-heading p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.76rem;
  }

  .hero-actions {
    display: grid;
    gap: 9px;
  }

  .hero-actions .button,
  .guide-cta .button,
  .beta-actions .button,
  .price-card .button {
    width: 100%;
  }

  .hero-proof {
    gap: 7px 12px;
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .hero-note {
    margin-top: 20px;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .dashboard-frame {
    padding: 16px;
    border-radius: 20px;
  }

  .dash-grid,
  .feature-grid,
  .difference-grid,
  .testimonial-grid,
  .steps,
  .preview-cards {
    grid-template-columns: 1fr;
  }

  .dash-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dash-topbar h2 {
    font-size: 1.16rem;
  }

  .dash-pill {
    white-space: normal;
  }

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

  .dash-card {
    min-height: auto;
    padding: 16px;
  }

  .progress-track {
    margin-top: 34px;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .focus-row {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mini-brand,
  .sidebar-hobbies {
    grid-column: 1 / -1;
  }

  .sidebar-hobbies {
    margin-top: 12px;
  }

  .preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card {
    padding: 24px;
  }

  .step {
    min-height: auto;
    padding: 18px;
  }

  .price-card strong {
    margin-top: 40px;
  }

  .section-block,
  .product-showcase {
    padding-top: 56px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .guide-shell {
    padding-top: 48px;
  }

  .guide-article {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .guide-article h1 {
    font-size: clamp(2.18rem, 10.5vw, 2.9rem);
  }

  .guide-lede {
    margin-bottom: 34px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-cta {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .editorial-strip {
    margin-top: 42px;
    padding-top: 28px;
  }

  .final-cta {
    margin-top: 88px;
    padding: 38px 22px;
  }

  .beta-section {
    margin-top: 56px;
    padding: 26px 20px;
    border-radius: 20px;
  }

  .install-section {
    margin-top: 56px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .install-copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.58;
  }

  .install-badges {
    display: grid;
    gap: 8px;
    margin: 20px 0 22px;
  }

  .install-badges span {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    gap: 9px;
    padding: 8px 12px;
    background: rgba(255, 253, 248, 0.82);
    color: var(--green);
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .install-badges svg {
    width: 19px;
    height: 19px;
  }

  .install-copy .button {
    width: 100%;
  }

  .install-visual {
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }

  .install-phone {
    width: min(100%, 190px);
    padding: 16px;
    border-radius: 26px;
  }

  .install-phone-top {
    margin-bottom: 16px;
  }

  .install-app-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 16px;
  }

  .install-app-icon img {
    width: 40px;
    height: 40px;
  }

  .install-phone span {
    margin-bottom: 16px;
  }

  .install-phone p {
    margin-bottom: 14px;
  }

  .install-mini-row i {
    height: 28px;
  }

  .timeline div {
    padding-right: 18px;
  }

  .timeline em {
    position: static;
    display: block;
    margin-top: 6px;
  }

  .app-shell {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .app-topline {
    gap: 18px;
  }

  .install-hint {
    width: 100%;
    margin-top: -8px;
    border-radius: 14px;
    overflow-wrap: anywhere;
  }

  .auth-view .form-card {
    gap: 15px;
  }

  .auth-reset-link {
    margin-top: -7px;
    justify-self: start;
  }

  .checkbox-row {
    width: 100%;
    min-height: 42px;
    margin-top: -2px;
    padding: 9px 11px;
  }

  .product-frame {
    border-radius: 20px;
    min-height: auto;
    overflow: visible;
  }

  .product-main {
    padding: 16px;
  }

  .mobile-quick-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px;
    border-color: rgba(48, 76, 59, 0.18);
    background: var(--green-gradient-soft);
  }

  .mobile-quick-card strong {
    display: block;
    margin-bottom: 3px;
    color: var(--green);
    font-size: 1rem;
  }

  .mobile-quick-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .mobile-quick-card .button {
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .mobile-quick-log-fab:not([hidden]) {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 70;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fffaf0;
    box-shadow: 0 18px 42px rgba(48, 76, 59, 0.3);
    font: inherit;
    font-size: 0.96rem;
    font-weight: 820;
    cursor: pointer;
  }

  .mobile-quick-log-sheet:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-items: end;
    padding: 14px;
    background: rgba(37, 31, 24, 0.24);
  }

  .mobile-quick-log-panel {
    max-height: min(86dvh, 720px);
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(216, 207, 190, 0.92);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 244, 235, 0.96)),
      #fffdf8;
    box-shadow: 0 24px 70px rgba(37, 31, 24, 0.22);
  }

  .mobile-quick-log-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }

  .mobile-quick-log-header h3 {
    margin: 0;
    font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.08;
  }

  .mobile-quick-log-header .eyebrow {
    margin-bottom: 6px;
  }

  .mobile-quick-log-header button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(48, 76, 59, 0.16);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    color: var(--green);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 760;
  }

  #mobileQuickLogForm {
    display: grid;
    gap: 12px;
  }

  .mobile-duration-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-duration-chips button {
    min-height: 42px;
    border: 1px solid rgba(48, 76, 59, 0.16);
    border-radius: 999px;
    background: rgba(223, 231, 218, 0.48);
    color: var(--green);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 780;
  }

  .mobile-quick-details {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-quick-details summary {
    min-height: 42px;
    align-content: center;
    color: var(--green);
    font-weight: 780;
  }

  .mobile-quick-details[open] {
    display: grid;
    gap: 12px;
  }

  .product-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 14px;
  }

  .product-brand {
    margin-bottom: 6px;
  }

  .muted-link {
    grid-column: auto;
  }

  .product-nav-link {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .view-heading.with-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-actions,
  .view-actions .button,
  .first-action {
    width: 100%;
  }

  .form-grid,
  .choice-grid,
  .guided-steps,
  .template-guidance-grid,
  .stat-grid,
  .hobby-row,
  .detail-stats,
  .journey-stats,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .form-card,
  .onboarding-card,
  .today-plan,
  .active-hobbies-card,
  .sessions-card,
  .hobby-journey-card,
  .weekly-review-card,
  .weekly-rhythm-card,
  .milestones-card,
  .timeline-card,
  .difference-card {
    min-height: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .auth-layout {
    min-height: auto;
    gap: 22px;
  }

  .auth-layout h3,
  .view-heading h3 {
    font-size: clamp(1.72rem, 8vw, 2.12rem);
    line-height: 1.12;
  }

  .view-heading {
    margin-bottom: 20px;
  }

  .guided-steps {
    gap: 7px;
  }

  .guided-steps span {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  input,
  select {
    min-height: 50px;
  }

  textarea {
    min-height: 118px;
  }

  .today-plan {
    min-height: auto;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-card strong {
    font-size: 1.48rem;
  }

  .review-grid div,
  .empty-state,
  .session-feed article {
    padding: 14px;
  }

  .rhythm-days {
    gap: 6px;
    margin-top: 12px;
  }

  .rhythm-day {
    min-height: 56px;
    border-radius: 14px;
  }

  .rhythm-day span {
    font-size: 0.68rem;
  }

  .rhythm-light em {
    width: 22px;
    height: 20px;
  }

  .rhythm-steady em {
    width: 26px;
    height: 24px;
  }

  .rhythm-focused em {
    width: 31px;
    height: 28px;
  }

  .rhythm-strong em {
    width: 35px;
    height: 30px;
  }

  .journey-rhythm {
    gap: 5px;
  }

  .journey-rhythm-day {
    min-height: 44px;
    border-radius: 12px;
  }

  .journey-rhythm-day small {
    font-size: 0.62rem;
  }

  .hobby-row {
    gap: 8px;
    padding: 13px;
  }

  .hobby-row-actions {
    justify-content: flex-start;
  }

  .hobby-row-actions button {
    flex: 1 1 130px;
  }

  .compact-feed .timeline-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .compact-feed .session-item-header,
  .timeline-entry-details,
  .compact-feed p,
  .compact-feed small,
  .compact-feed .session-delete {
    grid-column: 1;
    grid-row: auto;
  }

  .compact-feed .session-item-meta strong,
  .compact-feed .session-item-meta span {
    white-space: normal;
  }

  .timeline-toggle {
    width: 100%;
  }

  .weekly-share,
  .progress-card-actions {
    display: grid;
  }

  .weekly-share button,
  .progress-card-actions button {
    width: 100%;
    min-height: 42px;
  }

  .story-card {
    width: min(100%, 300px);
    margin-inline: auto;
    padding: 24px 20px 20px;
    border-radius: 24px;
  }

  .session-delete {
    position: static;
    width: max-content;
    justify-self: stretch;
    margin-left: auto;
  }

  .compact-select-label {
    width: 100%;
  }

  .session-item-header {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    border-radius: 20px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .site-header .brand {
    gap: 10px;
    font-size: 1.08rem;
  }

  .site-header .brand-icon {
    width: 42px;
    height: 42px;
  }

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

  .button {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(2.18rem, 10.5vw, 2.72rem);
  }

  .hero-text {
    margin-bottom: 24px;
  }

  .hero-proof {
    display: grid;
  }

  .week-panel,
  .preview-main,
  .preview-cards article,
  .focus-row,
  .price-card,
  details {
    padding: 18px;
  }

  .price-card strong {
    margin-top: 42px;
    font-size: 2.35rem;
  }

  .recommend-label {
    top: 16px;
    right: 16px;
  }

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

  .product-nav-link {
    text-align: center;
  }

  .product-main {
    padding: 14px;
  }

  .form-card,
  .onboarding-card,
  .today-plan,
  .active-hobbies-card,
  .sessions-card,
  .weekly-review-card,
  .milestones-card,
  .timeline-card,
  .difference-card {
    padding: 16px;
  }

  .view-actions {
    display: grid;
  }

  .app-status {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .beta-actions p a,
  .site-footer a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 680px) and (max-height: 560px) {
  .site-header {
    position: relative;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 30px;
  }

  .hero-visual,
  .hero-note {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.04;
  }
}

@media (display-mode: standalone) {
  body {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .site-header {
    top: env(safe-area-inset-top);
  }

  .app-shell,
  .site-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}
