:root {
  color-scheme: light;
  --ink: #090d14;
  --ink-soft: #242b38;
  --muted: #667085;
  --line: #dee2e6;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --sage: #e6f4ee;
  --green: #16705c;
  --blue: #2c5cc5;
  --clay: #d66a4d;
  --gold: #d8a640;
  --shadow: 0 34px 90px rgba(9, 13, 20, 0.16);
  --soft-shadow: 0 16px 38px rgba(9, 13, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(9, 13, 20, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(9, 13, 20, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #586274;
  font-size: 0.94rem;
  font-weight: 780;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-cta {
  border: 1px solid rgba(9, 13, 20, 0.14);
  border-radius: 8px;
  padding: 9px 13px;
  background: var(--panel);
  color: var(--ink);
}

.hero {
  overflow: hidden;
  min-height: calc(100svh - 70px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(118deg, #ffffff 0%, #ffffff 42%, rgba(230, 244, 238, 0.92) 100%),
    var(--paper);
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px) 0;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(3.25rem, 6.1vw, 5.35rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
  font-weight: 950;
}

h3 {
  font-size: 1.14rem;
  font-weight: 900;
}

.lead {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.75vw, 1.18rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(9, 13, 20, 0.18);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  box-shadow: none;
}

.store-note,
.muted {
  color: var(--muted);
  font-weight: 680;
}

.store-note {
  margin: 20px 0 0;
}

.carousel-shell {
  border: 1px solid rgba(9, 13, 20, 0.09);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.carousel-meta {
  display: grid;
  min-height: 112px;
  align-content: start;
}

.carousel-meta h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.carousel-meta p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.carousel {
  display: grid;
  gap: 18px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 5px 5px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.slide picture {
  display: block;
}

.slide img {
  width: auto;
  height: clamp(410px, 56vh, 620px);
  border: 1px solid rgba(9, 13, 20, 0.08);
  border-radius: 18px;
  background: var(--panel);
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 24px 54px rgba(9, 13, 20, 0.16);
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.slide:not(.is-active) img {
  opacity: 0.82;
  transform: scale(0.97);
  box-shadow: 0 16px 36px rgba(9, 13, 20, 0.11);
}

.slide.is-active img {
  transform: translateY(-2px);
}

.carousel-controls {
  order: -1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  width: min(300px, 100%);
  margin-left: auto;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9, 13, 20, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.icon-button:hover {
  background: var(--ink);
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #b7bec8;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  width: 28px;
  border-radius: 999px;
  background: var(--green);
}

.section {
  padding: 86px 0;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.routine-section {
  background: #fff;
}

.routine-grid,
.language-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.routine-list {
  display: grid;
  gap: 12px;
}

.routine-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.routine-list span {
  color: var(--green);
  font-weight: 950;
}

.routine-list p,
.language-grid p,
.faq-grid > div:first-child p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 650;
}

.language-section {
  background: linear-gradient(180deg, var(--sage), #fff);
}

.faq-section {
  background: var(--paper);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.faq a,
.article-content a {
  color: var(--blue);
  font-weight: 850;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-links a {
  text-decoration: none;
}

.legal-layout,
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 840px);
  gap: 54px;
  align-items: start;
  padding: 70px 0 92px;
}

.article-shell {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 52%, var(--paper) 100%);
}

.article-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, var(--sage), rgba(255, 255, 255, 0.92) 62%);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  padding: 72px 0;
}

.article-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.article-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 660;
}

.article-phone {
  width: min(330px, 76vw);
  aspect-ratio: 1320 / 2868;
  justify-self: center;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 9px solid var(--ink);
  border-radius: 38px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.legal-nav,
.article-toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.legal-nav a,
.article-toc a {
  text-decoration: none;
}

.legal-nav a:hover,
.article-toc a:hover {
  color: var(--ink);
}

.legal-content,
.article-content,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.legal-content,
.article-content {
  padding: clamp(26px, 5vw, 56px);
}

.legal-content h1,
.article-content h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.legal-content h2,
.article-content h2 {
  margin-top: 38px;
  font-size: 1.55rem;
}

.article-content h3 {
  margin-top: 26px;
  font-size: 1.18rem;
}

.legal-content p,
.legal-content li,
.article-content p,
.article-content li {
  color: var(--muted);
  font-weight: 640;
}

.legal-content ul,
.article-content ul {
  padding-left: 22px;
}

.callout {
  border-left: 4px solid var(--clay);
  padding: 18px 20px;
  background: #fff3ef;
  color: var(--ink-soft);
  font-weight: 760;
}

.updated {
  margin: 12px 0 26px;
  color: var(--muted);
  font-weight: 820;
}

.support-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.support-panel {
  padding: 24px;
}

.support-panel h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c7cec8;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 900;
}

.form-status.error {
  color: #9d2d20;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--panel);
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

.link-row span {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-inner,
  .routine-grid,
  .language-grid,
  .faq-grid,
  .article-hero-grid,
  .legal-layout,
  .article-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .carousel-shell {
    max-width: 620px;
  }

  .legal-nav,
  .article-toc {
    position: static;
    grid-template-columns: repeat(4, max-content);
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 700px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 64px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .nav-links a:nth-child(3),
  .nav-cta {
    display: none;
  }

  .hero-inner,
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    padding: 42px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .carousel-shell {
    padding: 16px;
  }

  .carousel-meta {
    min-height: 136px;
  }

  .slide img {
    height: min(500px, 64vh);
    border-radius: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .routine-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .routine-list article p {
    grid-column: 2;
  }

  .footer .wrap {
    display: grid;
  }

  .link-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
