:root {
  --bg: #fcfcf8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #2a312a;
  --muted: #697269;
  --line: rgba(31, 36, 31, 0.08);
  --shadow-soft: 0 16px 45px rgba(31, 36, 31, 0.08);
  --shadow-hover: 0 24px 60px rgba(31, 36, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --blue: #eef5ff;
  --orange: #fff1e4;
  --yellow: #fff8dc;
  --green: #edf8f0;
  --blue-accent: #6a95d8;
  --yellow-accent: #c7a545;
  --green-accent: #5f966d;
  --max-width: 1180px;
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 241, 228, 0.78), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(244, 248, 255, 0.92), transparent 36%),
    linear-gradient(135deg, #fff8f1 0%, #fffef9 42%, #f4f8ff 100%);
  color: var(--text);
}

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

button,
input {
  font: inherit;
}

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 20px 0;
  transition:
    background-color var(--ease),
    backdrop-filter var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.site-header.is-scrolled {
  background: rgba(252, 252, 248, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 36, 31, 0.06);
  box-shadow: 0 10px 30px rgba(31, 36, 31, 0.04);
}

.nav-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.footer-links a,
.site-footer p,
.footer-brand {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color var(--ease);
}

.site-nav a:hover,
.footer-links a:hover,
.footer-brand:hover,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.footer-brand:focus-visible {
  color: var(--text);
}

.hero-section {
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
  padding: 0 24px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  max-width: 760px;
  justify-items: center;
  text-align: center;
}

.eyebrow,
.section-kicker,
.product-tag,
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 36, 31, 0.58);
}

.brand-mark {
  flex-shrink: 0;
}

.hero-copy h1,
.section-heading h2,
.product-copy h3,
.page-intro h1 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-weight: 700;
}

.hero-copy h1 {
  margin-top: 0;
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1.09;
}

.hero-text,
.section-heading p,
.product-description,
.page-intro p,
.policy-content p,
.policy-content li,
.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 38rem;
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(42, 49, 42, 0.74);
}

.hero-copy .primary-button {
  align-self: center;
  justify-self: center;
  width: 220px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.primary-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    border-color var(--ease);
}

.primary-button {
  background: #1f241f;
  color: #fffef8;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.primary-button:hover,
.secondary-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.primary-button:focus-visible,
.secondary-link:focus-visible,
.product-card:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.brand-mark:focus-visible {
  outline: 2px solid #1f241f;
  outline-offset: 4px;
}

.products-section {
  padding: 8px 0 96px;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2,
.page-intro h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
}

.product-list {
  display: grid;
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: center;
  min-height: 360px;
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 36, 31, 0.06);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 36, 31, 0.09);
}

.product-card:hover .product-link span {
  transform: translateX(4px);
}

.product-card:hover .app-shot {
  transform: scale(1.02);
}

.product-blue {
  background: linear-gradient(135deg, #fff8f1 0%, var(--orange) 100%);
}

.product-yellow {
  background: linear-gradient(135deg, #fffdf0 0%, var(--yellow) 100%);
}

.product-green {
  background: linear-gradient(135deg, #f4f8ff 0%, var(--blue) 100%);
}

.product-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.product-copy h3 {
  font-size: clamp(2.3rem, 4vw, 3.75rem);
}

.product-slogan {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(42, 49, 42, 0.82);
}

.product-description {
  max-width: 30rem;
  margin: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 700;
}

.product-link span {
  display: inline-block;
  transition: transform var(--ease);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.product-badges img {
  display: block;
  height: 40px;
  width: auto;
  cursor: pointer;
}

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

.app-shot {
  width: min(100%, 560px);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 50px rgba(31, 36, 31, 0.1);
  transition: transform var(--ease);
}

.shot-toolbar,
.brain-header,
.task-header,
.task-footer,
.shot-stats,
.brain-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shot-toolbar,
.brain-header,
.task-header {
  margin-bottom: 18px;
  color: rgba(31, 36, 31, 0.58);
  font-size: 0.92rem;
}

.timer-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 294px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 14.6% 18.2%, rgba(255, 114, 61, 1) 0 7px, transparent 7.5px),
    radial-gradient(circle at 2.5% 50.2%, rgba(255, 114, 61, 1) 0 7px, transparent 7.5px),
    conic-gradient(
      from 312deg,
      rgba(255, 114, 61, 1) 0 318deg,
      rgba(250, 249, 245, 0.98) 318deg 360deg
    );
}

.timer-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #f8f7f2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.84),
    inset 0 0 0 14px rgba(245, 243, 237, 0.92);
}

.timer-ring-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
}

.timer-ring-inner small,
.shot-stats small,
.brain-footer small,
.task-footer span {
  color: rgba(31, 36, 31, 0.5);
}

.timer-ring-inner small {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(72, 72, 77, 0.82);
}

.timer-ring-inner strong {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: rgba(72, 72, 77, 0.82);
}

.timer-ring-inner span {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(72, 72, 77, 0.82);
}

.shot-stats div,
.brain-footer div {
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.shot-stats strong,
.brain-footer strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  color: rgba(72, 72, 77, 0.82);
}

.app-shot-brain {
  max-width: 440px;
  padding: 18px;
}

.brain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 360px);
  gap: 6px;
  margin: 4px auto 12px;
}

.brain-grid span {
  aspect-ratio: 1;
  border-radius: 7px;
  background: rgba(168, 168, 168, 0.9);
}

.brain-grid span.is-active {
  background: #f7b500;
}

.task-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
}

.task-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #2d342d;
}

.task-list input {
  accent-color: #5f966d;
}

.task-footer {
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.task-footer span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer .container {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.inner-page {
  background:
    radial-gradient(circle at top left, rgba(106, 149, 216, 0.1), transparent 28%),
    linear-gradient(180deg, #fffef9 0%, #ffffff 100%);
}

.page-main {
  padding: 48px 0 88px;
}

.page-intro {
  max-width: 760px;
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

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

.page-card,
.policy-content {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 36, 31, 0.06);
  box-shadow: var(--shadow-soft);
}

.page-card h2,
.policy-content h2 {
  margin-top: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.page-card ul,
.policy-content ul {
  padding-left: 20px;
  margin: 0;
}

.page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(31, 36, 31, 0.08);
  color: var(--text);
}

.policy-layout {
  max-width: 860px;
  display: grid;
  gap: 20px;
}

.about-layout {
  max-width: 980px;
  display: grid;
  gap: 40px;
  justify-items: center;
  text-align: center;
}

.about-intro {
  margin-bottom: 0;
  justify-items: center;
  text-align: center;
}

.about-intro .eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(42, 49, 42, 0.44);
}

.about-intro .about-lead {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.28rem, 0.98rem + 0.72vw, 1.62rem);
  font-weight: 400;
  line-height: 1.72;
  color: rgba(42, 49, 42, 0.76);
  white-space: normal;
  text-wrap: balance;
}

.about-copy {
  display: grid;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(31, 36, 31, 0.08);
  justify-items: center;
}

.about-copy p {
  margin: 0;
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(42, 49, 42, 0.78);
  text-align: center;
}

.about-back {
  margin-top: 28px;
  font-size: 0.98rem;
  color: rgba(42, 49, 42, 0.68);
  transition: color var(--ease), transform var(--ease);
}

.about-back:hover,
.about-back:focus-visible {
  color: var(--text);
  transform: translateX(-2px);
}

@media (max-width: 980px) {
  .hero-grid,
  .product-card,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 32px;
  }

  .product-card {
    padding: 28px;
  }

  .about-copy {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    padding: 14px 0;
  }

  .nav-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav,
  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-copy h1,
  .section-heading h2,
  .page-intro h1 {
    line-height: 1;
  }

  .product-copy h3 {
    font-size: 2.5rem;
  }

  .app-shot {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
