:root {
  --bg: #fffdfa;
  --paper: #ffffff;
  --ink: #050505;
  --muted: #6d6d6d;
  --line: rgba(0, 0, 0, 0.09);
  --soft-line: rgba(0, 0, 0, 0.06);
  --accent: #c08457;
  --accent-dark: #6b4f3b;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.08);
  --max: 1100px;
  --font-body: "Inter", "Inter Variable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Sans", "Instrument Sans Placeholder", "Inter", system-ui, sans-serif;
  --font-brand: "Gabarito", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
  overflow-x: hidden;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 24px max(5vw, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 250, 0.54);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease, -webkit-backdrop-filter 220ms ease;
}

.site-header.is-glass {
  border-bottom-color: rgba(0, 0, 0, 0.07);
  background: rgba(255, 253, 250, 0.68);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.08);
}

section {
  scroll-margin-top: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 52px;
  border-radius: 10px;
  transition: transform 180ms ease, filter 180ms ease;
}

.app-store-badge:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.app-store-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-actions .button-light,
.closing-actions .button-light {
  height: 52px;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.section-pad {
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 580px);
  justify-content: space-between;
  gap: 0;
  align-items: center;
  min-height: auto;
  padding-top: 95px;
  padding-bottom: 65px;
}

.hero > *,
.stats > *,
.split > *,
.journal-layout > *,
.faq > *,
.footer > * {
  min-width: 0;
}

.hero-copy {
  padding-top: 0;
  min-width: 0;
}

.hero-mobile-logo {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  margin: 0 0 28px;
  padding: 6px 13px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  font-variation-settings: normal;
  white-space: nowrap;
}

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

strong {
  font-weight: 500;
}

h1 {
  max-width: 520px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  font-variation-settings: normal;
}

h2 {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  font-variation-settings: normal;
}

h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  font-variation-settings: normal;
}

.lead,
.section-heading p:not(.pill),
.intro-line p,
.split-copy > p:not(.pill),
.closing-copy p:not(.pill) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.lead {
  max-width: 520px;
  margin-top: 22px;
}

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

.stars {
  color: #ff8800;
  font-weight: 600;
}

.partner-block {
  margin-top: 72px;
}

.partner-block p {
  color: #4d4d4d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.audience-wheel {
  position: relative;
  display: flex;
  align-items: center;
  width: min(560px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-top: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.audience-track {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  padding-right: 0;
  animation: audience-wheel 28s linear infinite;
}

.audience-track span {
  color: rgba(0, 0, 0, 0.74);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  white-space: nowrap;
  font-variation-settings: "opsz" 14, "wght" 450;
}

.audience-track span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 18px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.16em;
}

@keyframes audience-wheel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience-wheel {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .audience-track {
    flex-wrap: wrap;
    animation: none;
  }

  .audience-track[aria-hidden="true"] {
    display: none;
  }
}

.hero-media {
  --hero-phone-duration: 600ms;
  --hero-phone-ease: cubic-bezier(0.38, 1.21, 0.22, 1);
  --hero-front-start-x: 0%;
  --hero-front-start-y: 0%;
  --hero-front-start-scale: 0.8;
  --hero-front-start-rotate: 8deg;
  --hero-front-x: -5%;
  --hero-front-y: 0%;
  --hero-front-scale: 0.8;
  --hero-front-rotate: 4deg;
  --hero-back-start-x: 0%;
  --hero-back-start-y: 0%;
  --hero-back-start-scale: 0.8;
  --hero-back-start-rotate: -5.5deg;
  --hero-back-x: 32%;
  --hero-back-y: -2%;
  --hero-back-scale: 0.8;
  --hero-back-rotate: 0.5deg;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(768px, 63vw);
  min-height: 0;
  margin-right: -74px;
  justify-self: end;
}

.hero-phone-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.16));
  transform: translate(-50%, -50%) translate(var(--phone-start-x), var(--phone-start-y)) rotate(var(--phone-start-rotate)) scale(var(--phone-start-scale));
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-phone-back {
  --phone-start-x: var(--hero-back-start-x);
  --phone-start-y: var(--hero-back-start-y);
  --phone-start-scale: var(--hero-back-start-scale);
  --phone-start-rotate: var(--hero-back-start-rotate);
  --phone-x: var(--hero-back-x);
  --phone-y: var(--hero-back-y);
  --phone-scale: var(--hero-back-scale);
  --phone-rotate: var(--hero-back-rotate);
  --phone-delay: 90ms;
  z-index: 1;
  width: 61%;
}

.hero-phone-front {
  --phone-start-x: var(--hero-front-start-x);
  --phone-start-y: var(--hero-front-start-y);
  --phone-start-scale: var(--hero-front-start-scale);
  --phone-start-rotate: var(--hero-front-start-rotate);
  --phone-x: var(--hero-front-x);
  --phone-y: var(--hero-front-y);
  --phone-scale: var(--hero-front-scale);
  --phone-rotate: var(--hero-front-rotate);
  --phone-delay: 0ms;
  z-index: 2;
  width: 66%;
}

.hero-media.is-visible .hero-phone {
  animation: hero-phone-fan var(--hero-phone-duration) var(--hero-phone-ease) var(--phone-delay) both;
}

.hero-media.hero-debugging .hero-phone {
  animation: none !important;
}

@keyframes hero-phone-fan {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--phone-start-x), var(--phone-start-y)) rotate(var(--phone-start-rotate)) scale(var(--phone-start-scale));
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(var(--phone-x), var(--phone-y)) rotate(var(--phone-rotate)) scale(var(--phone-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media.is-visible .hero-phone {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) translate(var(--phone-x), var(--phone-y)) rotate(var(--phone-rotate)) scale(var(--phone-scale));
  }
}

.intro-line {
  width: min(520px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 8px 0 64px;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: stretch;
}

.stats-image img,
.split-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 22px;
  object-fit: cover;
}

.greenway-image img {
  aspect-ratio: 5 / 6;
  height: auto;
  min-height: 500px;
}

.stats-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 24px;
  align-items: center;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.stat-row strong {
  font-family: var(--font-body);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  font-variation-settings: normal;
}

.stat-row span {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: right;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 14, "wght" 450;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 8.5px;
  left: 7.5px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  transform-origin: center;
  transform: rotate(-45deg);
}

.check-list.dark li::before {
  background: var(--ink);
  border-color: var(--ink);
}

.check-list.dark li::after {
  border-color: var(--paper);
}

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

.section-heading .pill {
  margin-bottom: 22px;
}

.section-heading p:not(.pill) {
  margin: 18px auto 0;
  max-width: 520px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 76px 52px;
}

.amenity {
  position: relative;
  display: grid;
  grid-template-rows: 108px auto auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.amenity img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.13));
}

.amenity h3 {
  min-height: 0;
}

.amenity p {
  max-width: 220px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  font-variation-settings: "opsz" 18, "wght" 455;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 18px;
}

.split-copy .check-list {
  margin-top: 28px;
}

.mini-team {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 54px;
}

.mini-team div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-team img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.mini-team small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
}

.why-choose {
  padding-top: 60px;
}

.why-choose .section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.why-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.05);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.why-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-tag h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
  white-space: nowrap;
}

.journal-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.featured-article,
.article-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: inherit;
}

.featured-article img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.featured-article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.58) 100%);
}

.featured-article div {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 1;
  color: var(--paper);
}

.featured-article h3 {
  max-width: 620px;
  margin-top: 20px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-list {
  display: grid;
  gap: 22px;
}

.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  align-items: center;
}

.article-card > div {
  min-width: 0;
}

.article-list img {
  width: 100%;
  height: 154px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.article-list h3 {
  line-height: 1.12;
}

.article-list p {
  margin-top: 8px;
}

.article-list p,
.featured-article p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
}

.featured-article p {
  color: rgba(255, 255, 255, 0.88);
}

.featured-article:hover img,
.article-card:hover img {
  transform: scale(1.025);
}

.featured-article:focus-visible,
.article-card:focus-visible {
  outline: 3px solid rgba(192, 132, 87, 0.42);
  outline-offset: 4px;
}

.section-action {
  margin-top: 34px;
  text-align: center;
}

.article-index {
  padding-top: 132px;
}

.article-index-hero {
  max-width: 920px;
  margin: 0 auto 70px;
  text-align: center;
}

.article-index-hero .article-back {
  margin-bottom: 24px;
}

.article-index-hero h1 {
  max-width: none;
  font-size: 64px;
  line-height: 1.06;
}

.article-index-hero > p:last-child {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(0, 0, 0, 0.64);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
}

.library-wrap {
  width: 100%;
}

.library-section + .library-section {
  margin-top: 64px;
}

.library-section h2 {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1.18;
}

.library-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.library-card {
  display: grid;
  align-content: start;
  flex: 1 1 300px;
  min-width: min(100%, 300px);
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.library-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.library-card:focus-visible {
  outline: 3px solid rgba(192, 132, 87, 0.42);
  outline-offset: 4px;
}

.library-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
}

.library-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.14;
}

.library-card span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

.faq {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 28px;
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 14, "wght" 450;
}

.faq-item strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: right;
  transition: transform 180ms ease;
}

.faq-item[aria-expanded="true"] strong {
  transform: rotate(45deg);
}

.faq-item[aria-expanded="true"] {
  border-bottom-color: transparent;
}

.faq-list > .faq-item:nth-last-child(2),
.faq-list > .faq-answer:last-child {
  border-bottom: 0;
}

.faq-answer {
  display: none;
  padding: 0 52px 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.faq-answer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-answer.open {
  display: block;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
  text-align: center;
}

.closing-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.closing-copy .pill {
  margin-bottom: 22px;
}

.closing-copy p:not(.pill) {
  margin: 20px 0 26px;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 16, "wght" 465;
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tilt-left,
.tilt-right {
  position: absolute;
  width: 170px;
  height: 122px;
  z-index: 0;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.tilt-left {
  left: 0;
  top: 107px;
  transform: rotate(-3deg);
}

.tilt-right {
  right: 0;
  top: 147px;
  transform: rotate(3deg);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.52fr 0.8fr;
  gap: 72px;
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 58px 0 70px;
  border-top: 1px solid var(--soft-line);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 26px;
}

.footer h3 {
  margin-bottom: 24px;
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 14, "wght" 450;
}

.footer a:not(.button):not(.app-store-badge),
.footer p {
  display: block;
  margin: 0 0 18px;
  color: #4d4d4d;
}

.footer p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 14, "wght" 450;
}

.footer a:not(.button):not(.app-store-badge) {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.footer-info p {
  font-size: 16px;
  letter-spacing: 0;
  font-variation-settings: "opsz" 20, "wght" 465;
}

.footer .button,
.footer .app-store-badge {
  margin-top: 8px;
}

.article-hero {
  padding-top: 132px;
  padding-bottom: 48px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.article-hero h1 {
  max-width: 910px;
  font-size: 64px;
  line-height: 1.06;
}

.article-lead {
  max-width: 780px;
  margin-top: 24px;
  color: rgba(0, 0, 0, 0.64);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
}

.article-hero-image {
  width: 100%;
  max-height: 560px;
  margin-top: 46px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.article-content {
  width: min(780px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 8px 0 88px;
}

.article-content p,
.article-content li {
  color: #2c2c2c;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: 0;
}

.article-content p + p {
  margin-top: 18px;
}

.article-content h2 {
  margin: 48px 0 16px;
  font-size: 32px;
  line-height: 1.18;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.article-content strong {
  color: var(--ink);
  font-weight: 500;
}

.article-note {
  margin: 42px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  color: #2c2c2c;
}

.article-sources {
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.article-sources p,
.article-sources li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.article-sources ul {
  gap: 8px;
  margin-top: 16px;
}

.article-sources a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-debug-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  width: min(390px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.hero-debug-panel[hidden] {
  display: none;
}

.hero-debug-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-debug-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-debug-note,
.hero-debug-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.hero-debug-status {
  min-height: 16px;
  margin-top: 10px;
}

.hero-debug-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-debug-panel button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-debug-group {
  padding-top: 10px;
  border-top: 1px solid var(--soft-line);
}

.hero-debug-group + .hero-debug-group {
  margin-top: 12px;
}

.hero-debug-group h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-debug-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 68px;
  gap: 8px;
  align-items: center;
  margin-top: 7px;
}

.hero-debug-row span {
  color: #343434;
  font-size: 12px;
  line-height: 1.2;
}

.hero-debug-row input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}

.hero-debug-row input[type="number"] {
  width: 68px;
  min-height: 28px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
}

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

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

@media (max-width: 1100px) {
  h2 {
    font-size: 44px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 115px;
  }

  .hero-media {
    width: min(620px, 100%);
    min-height: 0;
    margin-right: 0;
    justify-self: center;
  }

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

  .journal-layout,
  .faq,
  .split,
  .stats {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 78px;
    left: 5vw;
    right: 5vw;
    z-index: 60;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--soft-line);
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .section-pad {
    width: min(calc(100% - 32px), var(--max));
    padding: 64px 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header {
    padding: 20px 16px;
  }

  .brand {
    font-size: 25px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .lead,
  .section-heading p:not(.pill),
  .intro-line p,
  .split-copy > p:not(.pill),
  .closing-copy p:not(.pill) {
    font-size: 17px;
  }

  .footer p {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 115px;
    padding-bottom: 48px;
    gap: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-mobile-logo {
    display: block;
    width: 94px;
    height: 94px;
    margin: 0 auto 40px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(255, 136, 0, 0.18), 0 16px 34px rgba(0, 0, 0, 0.08);
  }

  .hero-media {
    display: none;
  }

  .intro-line {
    display: none;
  }

  .closing {
    display: none;
  }

  .partner-block {
    margin-top: 48px;
  }

  .audience-wheel {
    width: 100%;
  }

  .audience-track {
    gap: 0;
    padding-right: 0;
    animation-duration: 24s;
  }

  .audience-track span {
    font-size: 18px;
  }

  .article-card {
    grid-template-columns: 140px 1fr;
    gap: 18px;
  }

  .article-list img {
    height: 120px;
  }

  .tilt-left,
  .tilt-right {
    display: none;
  }

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

  .why-tag {
    width: 100%;
  }

  .why-tag h3 {
    white-space: normal;
  }

  .article-hero {
    padding-top: 116px;
    padding-bottom: 34px;
  }

  .article-index {
    padding-top: 116px;
  }

  .article-index-hero {
    margin-bottom: 48px;
  }

  .article-index-hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .article-index-hero > p:last-child {
    font-size: 18px;
  }

  .library-section + .library-section {
    margin-top: 48px;
  }

  .library-card {
    min-height: 0;
  }

  .article-hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .article-lead {
    font-size: 18px;
  }

  .article-hero-image {
    margin-top: 34px;
    aspect-ratio: 4 / 3;
  }

  .article-content {
    width: min(calc(100% - 32px), 780px);
    padding-bottom: 68px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
    line-height: 1.68;
  }

  .article-content h2 {
    margin-top: 40px;
    font-size: 28px;
  }

  .article-note {
    margin: 34px 0;
    padding: 20px 22px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-media {
    width: 100%;
    min-height: 0;
  }

  .hero-actions .button,
  .closing-actions .button {
    width: min(100%, 260px);
  }

  .closing-actions {
    align-items: center;
    flex-direction: column;
  }

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

  .stat-row span {
    text-align: left;
  }

  .amenity-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .amenity-grid {
    gap: 52px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .journal-layout {
    gap: 32px;
  }

  .featured-article img {
    min-height: 340px;
  }

  .featured-article h3 {
    font-size: 26px;
  }

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

  .article-list img {
    height: 190px;
  }

  .faq-item {
    min-height: 76px;
    font-size: 18px;
  }

  .closing {
    min-height: 360px;
  }

  .article-hero h1 {
    font-size: 38px;
  }

  .article-hero {
    padding-top: 108px;
  }
}
