/* A quieter frame for the landscape; clearer type and an earlier product preview. */
@media (min-width: 701px) {
  .hero-wash {
    background: radial-gradient(ellipse at 14% 36%, #f9f9e6d4 0%, #f2f7deac 20%, #f2f7de42 39%, transparent 60%);
  }
}
.practice {
  padding-block: 100px 104px;
}
.practice h2 {
  font-family: var(--sans);
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.055em;
}
.section-description {
  font-size: 14px;
  line-height: 1.9;
}
.feature-tab > strong { font-size: 14px; }
.preview-caption p, .level-panel p { font-size: 14px; }
.preview-heading { font-size: 10px; }
.preview-note { font-size: 9px; }
.journey { padding-block: 84px 78px; }
.journey-heading h2 {
  font-size: clamp(34px, 3.5vw, 49px);
  line-height: 1.3;
}
.journey-heading > p:last-child { font-size: 14px; }
.level-tabs button {
  border-radius: 12px;
  min-height: 108px;
}
.level-tabs span { font-size: 11px; }
.download { padding-block: 100px; }
.download-copy > p:not(.eyebrow) { font-size: 14px; }
.download-copy .android-note { font-size: 11px; }
.download-window {
  aspect-ratio: 1.08;
  overflow: hidden;
  border-radius: 140px 140px 22px 22px;
  isolation: isolate;
}
.download-window .download-landscape {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 0;
  transform: scale(1.7);
  transform-origin: 66% 73%;
}
.footer nav { font-size: 12px; }
@media (max-width: 1100px) and (min-width: 701px) {
  .practice { padding-block: 78px; }
  .practice h2 { font-size: 34px; }
}
@media (max-width: 700px) {
  .navigation .nav-download { font-size: 12px; min-height: 44px; }
  .hero-content { padding-top: 25px; }
  .hero-content .eyebrow {
    font-size: 10px;
    letter-spacing: .08em;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: clamp(32px, 9.3vw, 42px);
    line-height: 1.22;
    margin-bottom: 17px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.8;
    max-width: 330px;
    margin: 0 auto 21px;
  }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: 12px; min-height: 48px; gap: 8px; }
  .hero-actions .button-primary { padding-inline: 15px; }
  .hero-actions .button-soft { padding-inline: 13px; }
  .hero-bottom .scroll-link { font-size: 10px; letter-spacing: 0; }
  .practice {
    padding-block: 50px 58px;
    gap: 20px;
  }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .practice h2 { font-size: 30px; line-height: 1.35; margin-bottom: 12px; }
  .section-description { font-size: 14px; line-height: 1.8; }
  .feature-tabs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #a8b995 transparent;
    scroll-padding-inline: 2px;
    margin-top: 21px;
    padding-block: 2px 9px;
  }
  .feature-tab, .feature-tab[aria-selected=true] {
    flex: 0 0 auto;
    width: auto;
    min-height: 46px;
    padding: 10px 15px;
    border-radius: 8px;
  }
  .feature-tab > span { display: none; }
  .feature-tab > strong { font-size: 12px; font-weight: 400; white-space: nowrap; }
  .feature-tab:last-child { justify-content: flex-start; }
  .feature-panel { padding: 22px 19px; }
  .feature-image { height: auto; aspect-ratio: 16/10; }
  .feature-image img { max-height: none; }
  .preview-heading { font-size: 10px; letter-spacing: .1em; margin-bottom: 17px; }
  .preview-caption { min-height: 0; padding-block: 20px; }
  .preview-caption h3 { font-size: 25px; line-height: 1.35; }
  .preview-caption p { font-size: 14px; line-height: 1.85; }
  .preview-note { font-size: 9px; letter-spacing: .1em; }
  .journey { padding-block: 54px 50px; }
  .journey-heading h2 { font-size: 31px; line-height: 1.3; }
  .journey-heading > p:last-child { font-size: 13px; line-height: 1.8; max-width: 300px; }
  .level-tabs button { padding-inline: 2px; min-height: 90px; border-radius: 10px; }
  .level-tabs span { font-size: 10px; }
  .level-panel { min-height: 205px; }
  .level-panel p { font-size: 14px; line-height: 1.85; }
  .download { padding-block: 58px; }
  .download-copy > p:not(.eyebrow) { font-size: 14px; }
  .download .button { font-size: 13px; min-height: 48px; }
  .download-copy .android-note { font-size: 11px; }
  .download-window { aspect-ratio: 1.18; border-radius: 100px 100px 18px 18px; }
  .download-window .download-landscape { transform: scale(1.6); }
  .footer > p { font-size: 11px; }
  .footer > p small { font-size: 10px; }
  .footer nav { font-size: 11px; gap: 8px; }
}
@media (max-width: 360px) {
  .hero-content { padding-top: 19px; }
  .hero-content .eyebrow { font-size: 9px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 7px; }
  .hero-actions .button-primary { padding-inline: 12px; }
  .hero-actions .button-soft { padding-inline: 10px; }
  .hero-actions .button { gap: 6px; }
  .journey-heading h2 { font-size: 28px; }
  .level-tabs span { font-size: 9px; }
  .footer nav { font-size: 10px; }
}
/* Desktop/tablet: UI type at readable sizes (10–12px read as unfinished on large screens). */
@media (min-width: 701px) {
  .navigation nav a, .nav-download { font-size: 14px; }
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .hero-description { font-size: 17px; line-height: 1.85; }
  .button { font-size: 14px; min-height: 54px; }
  .hero-footnote { font-size: 12px; }
  .scroll-link { font-size: 12px; }
  .section-description { font-size: 16px; max-width: 380px; }
  .feature-tab > strong { font-size: 15px; }
  .feature-tab > span { font-size: 11px; }
  .preview-heading { font-size: 11px; }
  .preview-caption p, .level-panel p { font-size: 15px; }
  .preview-note { font-size: 10px; }
  .journey-heading > p:last-child, .download-copy > p:not(.eyebrow) { font-size: 16px; }
  .level-tabs span { font-size: 13px; }
  .level-panel h3 { font-size: 27px; }
  .download-copy .android-note { font-size: 13px; }
  .qr-card > span { font-size: 14px; }
  .qr-card small { font-size: 12px; }
  .footer > p { font-size: 13px; }
  .footer > p small { font-size: 11px; }
  .footer nav { font-size: 14px; }
}
/* Fixed header: transparent over the hero, a full-bleed cream bar after scrolling. */
html { scroll-padding-top: 84px; }
.hero { z-index: 2; }
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: height .25s;
}
.hero-content { margin-top: 114px; }
.navigation.is-stuck {
  height: 72px;
  border-image: linear-gradient(#f8f6edf0 calc(100% - 1px), #d8dfd0 0) fill 0 / / 0 100vmax;
}
.navigation.is-stuck nav { background: none; border-color: transparent; backdrop-filter: none; }
.navigation.is-stuck .nav-download { background: var(--green); border-color: var(--green); color: #fffbed; }
/* Mobile hero: one clear download action; the scroll pill at the hero bottom already leads to the content. */
@media (max-width: 700px) {
  .hero-content { margin-top: 86px; }
  .navigation.is-stuck { height: 64px; }
  .hero-actions .button-soft { display: none; }
  .hero-actions .button-primary { width: min(100%, 300px); min-height: 52px; font-size: 14px; padding-inline: 20px; }
}
/* Motion: one easing, entrances only, all disabled by prefers-reduced-motion in summer.css. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.07); } }
@keyframes glow { 50% { box-shadow: 0 0 0 9px #78934b00; } }
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-art { animation: settle 2.6s var(--ease-out) backwards; }
.navigation { animation: fade .9s .2s var(--ease-out) backwards; }
.hero-content > * { animation: rise 1s var(--ease-out) backwards; }
.hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-content > :nth-child(2) { animation-delay: .27s; }
.hero-content > :nth-child(3) { animation-delay: .42s; }
.hero-content > :nth-child(4) { animation-delay: .54s; }
.hero-content > :nth-child(5) { animation-delay: .66s; }
.hero-bottom { animation: fade 1s .9s var(--ease-out) backwards; }
.little-sun { animation: glow 3.2s ease-in-out infinite; }
.scroll-line { animation: drip 2.4s ease-in-out 1.6s infinite; }
/* Scroll reveal (class added by summer.js only when motion is allowed). */
.reveal-ready :is(.practice-copy, .feature-panel, .journey-heading, .level-tabs, .level-panel, .download-copy, .download-art, .footer) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-ready :is(.feature-panel, .level-tabs, .download-art) { transition-delay: .12s; }
.reveal-ready .level-panel { transition-delay: .22s; }
.reveal-ready .is-visible { opacity: 1; transform: none; }
.is-visible .feature-tab, .is-visible.level-tabs button { animation: rise .7s var(--ease-out) backwards; }
.is-visible .feature-tab:nth-child(2), .is-visible.level-tabs button:nth-child(2) { animation-delay: .06s; }
.is-visible .feature-tab:nth-child(3), .is-visible.level-tabs button:nth-child(3) { animation-delay: .12s; }
.is-visible .feature-tab:nth-child(4), .is-visible.level-tabs button:nth-child(4) { animation-delay: .18s; }
.is-visible .feature-tab:nth-child(5), .is-visible.level-tabs button:nth-child(5) { animation-delay: .24s; }
.is-visible .feature-tab:nth-child(6) { animation-delay: .3s; }
.is-visible .feature-tab:nth-child(7) { animation-delay: .36s; }
/* Tab content crossfade. */
.is-swapping { animation: rise .55s var(--ease-out); }
.feature-image.is-swapping { animation: fade .5s var(--ease-out); }
/* Hover micro-interactions. */
.button-primary > span[aria-hidden], .nav-download > span, .qr-card > span:last-child { transition: transform .25s var(--ease-out); }
.button-primary:hover > span[aria-hidden], .nav-download:hover > span, .qr-card:hover > span:last-child { transform: translate(2px, -2px); }
.feature-image img { transition: opacity .15s, transform .8s var(--ease-out); }
.feature-panel:hover .feature-image img { transform: scale(1.025); }
.download-window .download-landscape { transition: transform 1.2s var(--ease-out); }
.download-art:hover .download-landscape { transform: scale(1.76); }
.qr-card { transition: transform .3s var(--ease-out), box-shadow .3s; }
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #334b241c; }
.level-tabs button { transition: background .25s, color .25s, transform .35s var(--ease-out), border-color .25s, box-shadow .25s; }
.level-tabs button:not([aria-selected=true]):hover { transform: translateY(-2px); }
/* Mobile hero: two real app screens (N3 night, N5 sunset) peek up from the meadow, fanned in opposite tilts,
   and rise a little as the page scrolls (--lift is set on .hero by summer.js). */
.hero-phone { display: none; }
@media (max-width: 700px) {
  .hero-phone {
    --tilt: -4deg;
    --peek: 40%;
    display: block;
    position: absolute;
    left: 34px;
    bottom: 0;
    width: 172px;
    padding: 6px;
    border-radius: 32px;
    background: #17261d;
    box-shadow: 0 28px 60px #1b331f55, inset 0 0 0 1px #ffffff30;
    transform: translateY(calc(var(--peek) - var(--lift, 0px))) rotate(var(--tilt));
    transform-origin: 50% 100%;
    animation: phone-in 1.3s .5s var(--ease-out) backwards;
  }
  .hero-phone-back {
    --tilt: 6deg;
    --peek: 52%;
    left: 168px;
    width: 156px;
    border-radius: 30px;
    transform: translateY(calc(var(--peek) - var(--lift, 0px) * .7)) rotate(var(--tilt));
    animation-delay: .75s;
  }
  .hero-phone img { width: 100%; height: auto; border-radius: 26px; }
  .hero-bottom { z-index: 1; }
  .hero-bottom .scroll-link { visibility: hidden; }
}
@keyframes phone-in { from { opacity: 0; transform: translateY(90%) rotate(var(--tilt)); } }
@media (max-width: 360px) {
  .hero-phone { left: 22px; width: 146px; border-radius: 28px; }
  .hero-phone-back { left: 132px; width: 128px; border-radius: 25px; }
  .hero-phone img { border-radius: 23px; }
}
/* Desktop/tablet: the same two phones rise from the meadow between the copy and the bench. */
@media (min-width: 701px) {
  .hero-content { position: relative; z-index: 1; }
  .hero-phone {
    --tilt: -4deg;
    --peek: 42%;
    display: block;
    position: absolute;
    left: max(35.5%, 362px);
    bottom: 0;
    width: clamp(150px, 13.5vw, 208px);
    padding: 7px;
    border-radius: 34px;
    background: #17261d;
    box-shadow: 0 30px 70px #1b331f55, inset 0 0 0 1px #ffffff30;
    transform: translateY(calc(var(--peek) - var(--lift, 0px))) rotate(var(--tilt));
    transform-origin: 50% 100%;
    animation: phone-in 1.3s .6s var(--ease-out) backwards;
  }
  .hero-phone-back {
    --tilt: 6deg;
    --peek: 50%;
    left: calc(max(35.5%, 362px) + clamp(118px, 10.5vw, 162px));
    width: clamp(138px, 12.5vw, 192px);
    transform: translateY(calc(var(--peek) - var(--lift, 0px) * .7)) rotate(var(--tilt));
    animation-delay: .85s;
  }
  .hero-phone img { width: 100%; height: auto; border-radius: 27px; }
}
/* Phone frame: silver rim, black bezel, side buttons and a Dynamic Island. Sizes are relative so every phone width keeps proportions. */
.hero-phone {
  padding: 2px;
  border-radius: 17% / 7.9%;
  background: linear-gradient(150deg, #c9cdcf 0%, #8a9092 24%, #b7bbbd 48%, #6f7577 74%, #a9aeb0 100%);
  box-shadow: 0 30px 70px #1b331f59, 0 3px 8px #1b331f40, inset 0 0 0 .5px #ffffff59;
}
.hero-phone img {
  border: 3.5px solid #0d1011;
  border-radius: 15.5% / 7.3%;
  background: #0d1011;
  box-shadow: 0 0 0 .5px #ffffff26;
}
.hero-phone::before, .hero-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  box-shadow: inset 0 0 0 .5px #5d6365;
}
/* Two volume buttons drawn as one strip with a gap. */
.hero-phone::before {
  left: -2.5px;
  top: 18%;
  height: 15%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(#9da2a4 0 43%, transparent 43% 57%, #9da2a4 57% 100%);
  box-shadow: none;
}
.hero-phone::after {
  right: -2.5px;
  top: 24%;
  height: 10%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #b3b7b9, #757b7d);
}
.phone-island {
  position: absolute;
  top: calc(6px + 1.1%);
  left: 50%;
  width: 29%;
  height: 2.9%;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #050605;
}
/* Hero QR: the code and its caption, split by a single hairline; no cards. */
.hero-qr {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  position: relative;
  margin-top: 24px;
  text-align: left;
}
/* Edgeless cream glow so the caption reads over the landscape without a card. */
.hero-qr::before {
  content: "";
  position: absolute;
  inset: -28px -36px;
  z-index: -1;
  background: radial-gradient(closest-side, #f4f6e2f2 55%, #f4f6e200);
  pointer-events: none;
}
.hero-qr img {
  width: 72px;
  height: 72px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px #2243261f;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.hero-qr:hover img { transform: translateY(-2px); box-shadow: 0 12px 30px #2243262e; }
.hero-qr span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 4px 18px;
  border-left: 1px solid #3e594859;
  line-height: 1.35;
  /* Soft cream halo keeps the caption legible where it crosses the tree. */
  text-shadow: 0 0 10px #f8f6ed, 0 0 3px #f8f6ed;
}
.hero-qr b { font-size: 14px; font-weight: 600; color: var(--ink); }
.hero-qr small { font-size: 12px; color: #3e5948; }
.hero-qr .qr-mobile { display: none; }
/* Mobile: a larger code to scan from another phone or to share as a screenshot. */
@media (max-width: 700px) {
  .hero-qr { margin-top: 20px; gap: 16px; }
  .hero-qr img { width: 96px; height: 96px; padding: 6px; border-radius: 12px; }
  .hero-qr span { padding-left: 16px; }
  .hero-qr b { font-size: 15px; letter-spacing: -.01em; }
  .hero-qr small { line-height: 1.45; max-width: 140px; }
  .hero-qr .qr-desktop { display: none; }
  .hero-qr .qr-mobile { display: block; }
}
/* Mobile: bring the closing QR card back, sitting under the landscape instead of over it. */
@media (max-width: 700px) {
  .qr-card { display: flex; position: static; margin-top: 14px; padding: 14px 18px; }
  .qr-card > img { width: 84px; height: 84px; }
  .qr-card > span { font-size: 14px; }
  .qr-card small { font-size: 12px; }
}

/* A quiet primary action and a lighter App Store companion. */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 500px);
  gap: 10px;
}
.hero-actions .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  padding: 11px 36px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background .25s var(--ease-out), border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.hero-actions .button-web {
  background: #254b3b;
  border-color: #fffbed18;
  box-shadow: 0 4px 12px #203f3514, inset 0 1px #ffffff0a;
}
.hero-actions .button-web:hover { background: #1d4031; transform: translateY(-1px); box-shadow: 0 6px 16px #203f3520; }
.hero-actions .button-app-download {
  background: #f8f6ede0;
  border-color: #29493626;
  color: #294936;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px #ffffff80;
}
.hero-actions .button-app-download:hover { background: #fbf9f1; border-color: #29493640; transform: translateY(-1px); }
.hero-actions .button:active { transform: translateY(0) scale(.99); }
.hero-actions .web-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  line-height: 1.3;
  text-align: center;
}
.hero-actions .web-cta-copy b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.hero-actions .web-cta-copy small { font-size: 10px; font-weight: 400; opacity: .72; letter-spacing: .01em; }
.hero-actions .apple { width: 17px; height: 17px; flex-shrink: 0; }
.hero-actions .cta-arrow { position: absolute; right: 16px; width: 17px; height: 17px; opacity: .8; transition: transform .25s var(--ease-out); }
.hero-actions .button-web:hover .cta-arrow { transform: translateX(2px); }
.android-note a { color: var(--green); text-underline-offset: 3px; }
@media (max-width: 700px) {
  .hero-actions {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 300px);
    margin-inline: auto;
    gap: 8px;
  }
  .hero-actions .button { width: 100%; min-height: 60px; padding: 10px 36px; }
}

/* Legal and Elite links remain readable on small screens. */
.footer { flex-wrap: wrap; }
.footer nav { flex-wrap: wrap; gap: 12px 20px; }
.footer nav a { white-space: nowrap; }
