/* ============================================================
   Holna - marketing site styles
   Palette and type per BRAND.md (single source of truth).
   ============================================================ */

:root {
  /* Brand palette */
  --jade: #1b6b5e;
  --jade-deep: #124e44;
  --jade-bright: #2a8d79;
  --sand: #d8a86a;
  --sand-soft: #f4e7d4;
  --ink: #1b1f25;
  --bg-grouped: #f3f4f3;

  /* Derived neutrals */
  --paper: #ffffff;
  --muted: #5b6168;
  --muted-soft: #828a91;
  --hairline: #e3e6e3;
  --hairline-strong: #d3d8d4;

  /* Tints for soft panels */
  --jade-wash: #eef5f2;
  --jade-tint: #dfeee9;
  --sand-wash: #fbf4e9;

  /* Type */
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    -apple-system, "Segoe UI", system-ui, sans-serif;

  /* Geometry */
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 980px;
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(18, 78, 68, 0.05),
    0 18px 40px -24px rgba(18, 78, 68, 0.28);
  --shadow-lift: 0 2px 6px rgba(18, 78, 68, 0.06),
    0 30px 60px -28px rgba(18, 78, 68, 0.4);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--jade);
  text-decoration: none;
}

a:hover {
  color: var(--jade-deep);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-rounded);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--jade-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--jade-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ----------------------------------------------------------- Layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-rounded);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade);
}

.section-head {
  max-width: 40ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
}

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}

/* ----------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-rounded);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-primary {
  background: var(--jade);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(18, 78, 68, 0.7);
}

.btn-primary:hover {
  background: var(--jade-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--jade-deep);
  border-color: var(--hairline-strong);
}

.btn-ghost:hover {
  background: var(--jade-wash);
  color: var(--jade-deep);
  border-color: var(--jade-tint);
}

/* App Store badge (built, not an image, so it stays crisp) */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.6);
}

.appstore:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55);
}

.appstore svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.appstore .as-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.appstore .as-text small {
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.appstore .as-text strong {
  font-family: var(--font-rounded);
  font-size: 19px;
  font-weight: 600;
}

/* "Coming soon" badge: a non-interactive variant shown until the App Store
   listing is live. No hover lift and a clear "Soon" pill, so it never reads as
   a working download link. */
.appstore-soon {
  cursor: default;
  background: #2b3038;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
}

.appstore-soon:hover {
  transform: none;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
}

.appstore-soon .as-soon {
  margin-left: 4px;
  align-self: center;
  font-family: var(--font-rounded);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--jade-deep);
  background: var(--sand-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.cta-band .appstore-soon {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.cta-band .appstore-soon:hover {
  color: #fff;
}

.cta-band .appstore-soon .as-soon {
  color: var(--jade-deep);
  background: var(--sand-soft);
}

/* ----------------------------------------------------------- Wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-rounded);
  font-weight: 600;
  color: var(--ink);
}

.wordmark .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 10px -4px rgba(18, 78, 68, 0.5);
}

.wordmark .name {
  font-size: 24px;
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------- Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta .btn {
  padding: 9px 20px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ----------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  background: radial-gradient(
      120% 90% at 12% -10%,
      var(--jade-wash) 0%,
      rgba(238, 245, 242, 0) 60%
    ),
    radial-gradient(
      90% 80% at 96% 4%,
      var(--sand-wash) 0%,
      rgba(251, 244, 233, 0) 55%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy .hero-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-copy .hero-mark .mark {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: -0.03em;
}

.hero-tagline {
  margin-top: 8px;
  font-family: var(--font-rounded);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 600;
  color: var(--jade);
  letter-spacing: -0.02em;
}

.hero-promise {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--muted);
}

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

.hero-note {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted-soft);
}

.hero-note svg {
  width: 17px;
  height: 17px;
  color: var(--jade);
}

/* ----------------------------------------------------------- Phone mockup */
.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(
    closest-side,
    rgba(42, 141, 121, 0.18),
    rgba(42, 141, 121, 0)
  );
  filter: blur(10px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: clamp(244px, 30vw, 320px);
  aspect-ratio: 320 / 660;
  border-radius: 46px;
  padding: 13px;
  background: linear-gradient(160deg, #2b3038, #14171c);
  box-shadow: var(--shadow-lift);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(178deg, var(--jade-bright) 0%, var(--jade) 46%, var(--jade-deep) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 22px;
  background: #14171c;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.screen-pad {
  padding: 40px 20px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.screen-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.screen-top .s-hello {
  font-family: var(--font-rounded);
  font-size: 19px;
  font-weight: 600;
}

.screen-top .s-date {
  font-size: 12px;
  opacity: 0.78;
}

.appt-card {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px 15px;
}

.appt-card .label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.appt-card .who {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 15px;
  margin-top: 4px;
}

.appt-card .when {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 2px;
}

.screen-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 13px;
}

.metric .m-label {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.metric .m-value {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 21px;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.metric .m-value span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-soft);
  margin-left: 2px;
}

.metric .m-base {
  font-size: 10.5px;
  color: var(--jade-bright);
  margin-top: 2px;
}

.screen-spark {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 12px 13px;
}

.screen-spark .sp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--ink);
}

.screen-spark .sp-top b {
  font-family: var(--font-rounded);
  font-size: 13px;
}

.screen-spark .sp-top em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted-soft);
}

.screen-spark svg {
  margin-top: 8px;
  width: 100%;
  height: 38px;
}

.screen-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.85;
}

.screen-foot svg {
  width: 14px;
  height: 14px;
}

/* ----------------------------------------------------------- Trust strip */
.trust-strip {
  border-block: 1px solid var(--hairline);
  background: var(--bg-grouped);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  padding-block: 22px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--jade);
}

/* ----------------------------------------------------------- Wedge */
.wedge {
  background: linear-gradient(168deg, var(--jade-bright) 0%, var(--jade) 52%, var(--jade-deep) 100%);
  color: #fff;
}

.wedge-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.wedge .eyebrow {
  color: var(--sand-soft);
}

.wedge h2 {
  color: #fff;
  font-size: clamp(30px, 4.8vw, 50px);
  margin-top: 14px;
}

.wedge p {
  margin-top: 18px;
  max-width: 44ch;
  font-size: clamp(17px, 2.1vw, 20px);
  color: rgba(255, 255, 255, 0.9);
}

.wedge-steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.wedge-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wedge-steps .step-no {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 14px;
}

.wedge-steps .step-text b {
  font-family: var(--font-rounded);
  font-weight: 600;
}

.wedge-steps .step-text span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  margin-top: 1px;
}

/* Doctor report card visual */
.report-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  box-shadow: 0 40px 70px -30px rgba(7, 35, 30, 0.6);
  transform: rotate(-1.4deg);
}

.report-card .rc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.report-card .rc-head .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.report-card .rc-head .rc-title {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 16px;
}

.report-card .rc-head .rc-sub {
  font-size: 12px;
  color: var(--muted-soft);
}

.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.report-row:last-of-type {
  border-bottom: 0;
}

.report-row .rr-name {
  font-size: 14px;
  color: var(--muted);
}

.report-row .rr-val {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 16px;
}

.report-row .rr-val span {
  font-size: 12px;
  color: var(--muted-soft);
  font-weight: 500;
  margin-left: 4px;
}

.report-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 11.5px;
  color: var(--muted-soft);
  line-height: 1.45;
}

/* ----------------------------------------------------------- Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 22px);
}

.feature {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--jade-tint);
}

.feature .f-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--jade-wash);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature .f-icon svg {
  width: 26px;
  height: 26px;
  color: var(--jade);
}

.feature h3 {
  font-size: 21px;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* ----------------------------------------------------------- Privacy */
.privacy-sec {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.privacy-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      80% 70% at 85% 0%,
      rgba(42, 141, 121, 0.35) 0%,
      rgba(42, 141, 121, 0) 60%
    ),
    radial-gradient(
      70% 60% at 0% 100%,
      rgba(216, 168, 106, 0.18) 0%,
      rgba(216, 168, 106, 0) 60%
    );
  pointer-events: none;
}

.privacy-sec .wrap {
  position: relative;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.privacy-sec .eyebrow {
  color: var(--sand);
}

.privacy-sec h2 {
  color: #fff;
  font-size: clamp(30px, 4.8vw, 48px);
  margin-top: 14px;
}

.privacy-sec .p-lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(17px, 2.1vw, 20px);
  color: rgba(255, 255, 255, 0.84);
}

.privacy-sec .privacy-note {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.7);
}

.privacy-sec .privacy-note svg {
  color: var(--jade-bright);
}

.nodata-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px 30px 22px;
  backdrop-filter: blur(6px);
}

.nodata-card .nd-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nodata-card .nd-shield {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(42, 141, 121, 0.22);
  display: grid;
  place-items: center;
}

.nodata-card .nd-shield svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.nodata-card .nd-title {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 19px;
}

.nodata-card .nd-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.nodata-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.nodata-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
}

.nodata-list li svg {
  width: 19px;
  height: 19px;
  color: var(--jade-bright);
  flex-shrink: 0;
}

/* ----------------------------------------------------------- Pricing */
.pricing {
  background: var(--bg-grouped);
}

.pricing .section-head {
  margin-inline: auto;
  text-align: center;
  max-width: 52ch;
}

.bill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 40px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 5px;
}

.bill-toggle button {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.bill-toggle button[aria-pressed="true"] {
  background: var(--jade);
  color: #fff;
}

.bill-toggle .save {
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--sand-soft);
  color: #8a5b1f;
}

.bill-toggle button[aria-pressed="true"] .save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.toggle-row {
  display: flex;
  justify-content: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--jade);
  box-shadow: 0 30px 60px -34px rgba(18, 78, 68, 0.55);
  position: relative;
}

.plan .plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--jade);
  color: #fff;
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.plan .plan-name {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 20px;
}

.plan .plan-tag {
  font-size: 14px;
  color: var(--muted-soft);
  margin-top: 4px;
  min-height: 2.6em;
}

.plan .plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan .plan-price .amount {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.03em;
}

.plan .plan-price .per {
  font-size: 14px;
  color: var(--muted-soft);
}

.plan .plan-sub {
  font-size: 13px;
  color: var(--muted-soft);
  margin-top: 6px;
  min-height: 1.3em;
}

.plan ul {
  list-style: none;
  margin: 24px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 12px;
  flex: 1;
}

.plan ul li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  color: var(--ink);
}

.plan ul li svg {
  width: 18px;
  height: 18px;
  color: var(--jade);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted-soft);
  max-width: 60ch;
  margin-inline: auto;
}

/* ----------------------------------------------------------- FAQ */
.faq-grid {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  width: 22px;
  height: 22px;
  color: var(--jade);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary .chev {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 16px;
}

/* ----------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(168deg, var(--jade) 0%, var(--jade-deep) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4.6vw, 46px);
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.1vw, 20px);
}

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

.cta-band .appstore {
  background: #fff;
  color: var(--ink);
}

.cta-band .appstore:hover {
  color: var(--ink);
}

/* ----------------------------------------------------------- Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-block: 56px 40px;
  font-size: 14.5px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 34ch;
}

.footer-brand .wordmark .name {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.55;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-rounded);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-bare {
  padding-top: 0;
  border-top: 0;
}

/* ----------------------------------------------------------- Legal pages */
.legal-hero {
  background: var(--bg-grouped);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 52px);
}

.legal-hero h1 {
  font-size: clamp(34px, 5.4vw, 54px);
}

.legal-hero p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 60ch;
  font-size: 18px;
}

.legal-note {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--sand-wash);
  border: 1px solid #ecd9bb;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: #7a5a28;
  max-width: 70ch;
}

.legal-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--sand);
  margin-top: 1px;
}

.legal-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 14px;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

.legal-body {
  max-width: 760px;
  padding-block: clamp(48px, 6vw, 72px);
}

/* Plain-English summary card at the top of the legal pages */
.legal-tldr {
  background: var(--jade-wash);
  border: 1px solid var(--jade-tint);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
}

.legal-tldr h2 {
  margin-top: 0;
  font-size: 24px;
  color: var(--jade-deep);
}

.legal-tldr .tldr-lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink);
}

.legal-tldr ul {
  margin-top: 16px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.legal-tldr li {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.legal-tldr .tldr-foot {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.legal-body code {
  font-size: 0.92em;
  background: var(--bg-grouped);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--jade-deep);
  word-break: break-word;
}

.legal-body h2 {
  font-size: 26px;
  margin-top: 44px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 19px;
  margin-top: 28px;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.legal-body p {
  margin-top: 14px;
}

.legal-body ul {
  margin-top: 14px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-toc {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--jade-wash);
  border-radius: var(--radius);
  font-size: 15px;
}

.legal-toc ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

/* ----------------------------------------------------------- 404 page */
.notfound {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(56px, 10vw, 110px);
  background: radial-gradient(
      120% 90% at 50% -10%,
      var(--jade-wash) 0%,
      rgba(238, 245, 242, 0) 60%
    ),
    radial-gradient(
      90% 80% at 90% 10%,
      var(--sand-wash) 0%,
      rgba(251, 244, 233, 0) 55%
    );
}

.notfound .nf-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.notfound .nf-code {
  margin-top: 22px;
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 72px);
  letter-spacing: -0.03em;
  color: var(--jade);
  line-height: 1;
}

.notfound h1 {
  margin-top: 8px;
  font-size: clamp(28px, 4.6vw, 44px);
}

.notfound .nf-lead {
  margin: 16px auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 19px);
}

.notfound .nf-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .wedge-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    order: -1;
    margin-bottom: 10px;
  }

  .wedge .report-card {
    margin-top: 8px;
  }

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

  .price-grid {
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    padding: 16px var(--gutter) 22px;
  }

  .nav.is-open .nav-links a {
    padding: 10px 0;
    font-size: 17px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    gap: 14px;
  }

  .hero-actions {
    width: 100%;
  }

  .trust-strip .wrap {
    justify-content: flex-start;
  }
}
