:root {
  --bg: #f7f0e8;
  --bg-strong: #efe3d5;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffaf4;
  --ink: #1e1b18;
  --ink-soft: #5e5750;
  --line: rgba(30, 27, 24, 0.1);
  --accent: #d9721e;
  --accent-strong: #b44f00;
  --accent-soft: rgba(217, 114, 30, 0.12);
  --charcoal: #221d19;
  --good: #4d7a58;
  --mid: #d3a343;
  --bad: #b55a42;
  --unknown: #8e8d97;
  --shadow-lg: 0 32px 80px rgba(34, 29, 25, 0.16);
  --shadow-md: 0 18px 48px rgba(34, 29, 25, 0.1);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --serif: "Libre Baskerville", Baskerville, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(217, 114, 30, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 220, 182, 0.9), transparent 18%),
    linear-gradient(180deg, #fffaf5 0%, var(--bg) 46%, var(--bg-strong) 100%);
}

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

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

.site-shell {
  overflow: visible;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 249, 242, 0.76);
  border-bottom: 1px solid rgba(30, 27, 24, 0.06);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nav.is-compact {
  background: rgba(255, 249, 242, 0.9);
  box-shadow: 0 12px 36px rgba(34, 29, 25, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  gap: 28px;
  padding: 12px 0;
  transition: min-height 180ms ease, padding 180ms ease;
}

.nav.is-compact .nav-inner {
  min-height: 72px;
  padding: 7px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
}

.brand img {
  width: min(292px, 46vw);
  max-width: none;
  transition: width 180ms ease;
}

.nav.is-compact .brand img {
  width: min(188px, 40vw);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 16px 36px rgba(180, 79, 0, 0.24);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: cookie-slide-up 360ms ease both;
}

@keyframes cookie-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-text {
  flex: 1 1 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

.cookie-banner-text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .cookie-banner-button {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
}

/* Reject sits on the dark panel, so lift it to a light-on-dark ghost button. */
.cookie-banner .button-secondary.cookie-banner-button {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.hero {
  padding: 54px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 590px);
  gap: 32px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 114, 30, 0.22);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.product-copy h2,
.status-copy h2,
.sharing-panel h2,
.cta-panel h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  max-width: 720px;
}

.hero-lead,
.section-heading p,
.product-copy p,
.status-copy p,
.sharing-panel p,
.cta-panel p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.14rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.proof-card,
.feature-card,
.support-card,
.status-panel,
.phone-card,
.hero-summary,
.cta-panel {
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: var(--shadow-md);
}

.proof-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.proof-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.proof-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.visual-stage {
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: 590px;
  margin-left: auto;
}

.phone-card {
  width: min(100%, 388px);
  padding: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 241, 233, 0.92) 100%);
}

.phone-frame {
  padding: 10px;
  border-radius: 42px;
  background: #151515;
  box-shadow: var(--shadow-lg);
}

.phone-frame img {
  width: 100%;
  border-radius: 32px;
}

.hero-summary-kicker {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-summary {
  width: min(100%, 388px);
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(217, 114, 30, 0.12), transparent 42%),
    rgba(255, 250, 243, 0.94);
}

.hero-summary p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(217, 114, 30, 0.1);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.section {
  padding: 52px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.product-copy h2,
.status-copy h2,
.sharing-panel h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.feature-card,
.report-card,
.support-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.support-card {
  padding: 30px 32px;
}

.feature-card h3,
.support-card h3 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.12;
}

.feature-card p,
.support-card p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-title,
.support-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.feature-title span,
.support-title span {
  display: block;
}

.feature-icon,
.support-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  opacity: 0.9;
}

.product-grid,
.reports-grid,
.status-grid,
.sharing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.reports-copy h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.reports-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.reports-cards {
  display: grid;
  gap: 18px;
}

.report-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Real in-app screenshot crops inside report cards. Capped to the same visual
   width as the hero phone (388px card incl. padding) so shots read consistently. */
.report-shot {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(44, 47, 57, 0.1);
  background: #fff;
}

/* Report cards embedded in the copy column (coach, action stats). */
.report-card-inline {
  margin-top: 24px;
}

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

.feature-card:last-child {
  grid-column: span 2;
}

.status-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(251, 244, 236, 0.88) 100%);
}

.status-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.status-item + .status-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 27, 24, 0.08);
}

.status-item strong {
  display: block;
  font-size: 1.05rem;
}

.status-item p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.status-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.status-unknown { background: var(--unknown); }
.status-good { background: var(--good); }
.status-mid { background: var(--mid); }
.status-bad { background: var(--bad); }

.sharing-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(217, 114, 30, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 237, 226, 0.9) 100%);
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: var(--shadow-md);
}

.sharing-cards {
  display: grid;
  gap: 18px;
}

.cta-section {
  padding-bottom: 72px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 142, 0.26), transparent 22%),
    linear-gradient(145deg, #1b1715 0%, #352b24 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(217, 114, 30, 0.12);
  filter: blur(10px);
}

.cta-logo-badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 36%, rgba(255, 235, 196, 0.98) 0 28%, rgba(246, 218, 183, 0.94) 62%, rgba(214, 144, 77, 0.32) 100%);
  border: 1px solid rgba(255, 221, 179, 0.5);
  box-shadow: 0 18px 44px rgba(217, 114, 30, 0.22);
}

.cta-logo {
  width: 58px;
}

.cta-panel .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffd6b2;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.cta-panel .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  padding: 0 0 34px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  width: 126px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-strong);
}

.footer-end {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.lang-switch {
  /* order -1 keeps the language row on its own line above the page links, which grow over time. */
  order: -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.lang-switch svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--accent-strong);
}

.lang-switch a[aria-current="true"] {
  color: var(--accent-strong);
  font-weight: 700;
}

/* ---------- Subpages (legal + feedback) ---------- */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 700;
}

.nav-back:hover,
.nav-back:focus-visible {
  color: var(--ink);
}

.subpage-main {
  padding: 64px 0 88px;
}

.legal {
  max-width: 760px;
}

.legal h1 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.legal__meta {
  margin: 0 0 2.2rem;
  color: var(--ink-soft);
}

.legal h2 {
  margin: 2.2rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: var(--accent-strong);
  text-decoration: underline;
}

.feedback-page {
  max-width: 720px;
}

.feedback-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(30, 27, 24, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.feedback-form select {
  appearance: none;
  padding-right: 48px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e1b18' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.feedback-form textarea {
  resize: vertical;
}

.feedback-counter {
  justify-self: end;
  margin-top: -4px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: 2px solid rgba(217, 114, 30, 0.32);
  outline-offset: 2px;
}

.feedback-form .button-primary {
  width: fit-content;
  border: 0;
}

.feedback-form .button-primary:disabled {
  cursor: wait;
  opacity: 0.66;
}

.feedback-honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.feedback-status {
  min-height: 1.6em;
  margin: 0;
  color: var(--ink-soft);
}

.feedback-status[data-state="success"] {
  color: var(--good);
}

.feedback-status[data-state="error"] {
  color: var(--bad);
}

.reveal {
  animation: reveal-up 720ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

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

  .reveal {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .product-grid,
  .reports-grid,
  .status-grid,
  .sharing-grid {
    grid-template-columns: 1fr;
  }

  .visual-stage {
    max-width: none;
    margin-left: 0;
    justify-items: center;
    padding-top: 12px;
  }

  .phone-card {
    width: min(100%, 400px);
    margin: 0 auto;
  }
}

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

  .nav-inner {
    flex-wrap: wrap;
    min-height: 112px;
    padding: 12px 0;
  }

  .nav.is-compact .nav-inner {
    flex-wrap: nowrap;
    min-height: 66px;
    padding: 8px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.96rem;
  }

  .nav.is-compact .nav-links {
    width: auto;
    justify-content: flex-end;
  }

  .nav.is-compact .nav-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-proof,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .proof-card,
  .feature-card,
  .support-card,
  .status-panel,
  .sharing-panel,
  .cta-panel,
  .phone-card,
  .hero-summary {
    padding: 20px;
  }

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

  .support-card {
    padding: 22px;
  }

  .subpage-main {
    padding: 40px 0 64px;
  }

  .feedback-form {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    min-height: 96px;
  }

  .nav.is-compact .nav-inner {
    min-height: 62px;
  }

  .brand img {
    width: min(230px, 66vw);
  }

  .nav.is-compact .brand img {
    width: min(164px, 56vw);
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .section-heading h2,
  .product-copy h2,
  .status-copy h2,
  .sharing-panel h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}
