:root {
  --bg: var(--color-canvas);
  --surface: var(--color-surface);
  --surface-soft: var(--color-surface-soft);
  --primary: var(--color-primary-soft);
  --primary-strong: var(--color-primary);
  --text: var(--color-ink);
  --muted: var(--color-muted);
  --border: var(--color-border);
  --shadow: 0 24px 70px rgba(11, 92, 73, 0.1);
  --radius: var(--radius-md);
  --container: var(--layout-container);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(153, 240, 208, 0.24), transparent 34rem),
    var(--bg);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(11, 92, 73, 0.42);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 246, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(11, 92, 73, 0.16);
  object-fit: cover;
}

.nav-links {
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--primary-strong);
}

.hero {
  padding: 76px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.76fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

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

.app-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(11, 92, 73, 0.22);
}

.app-name {
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
}

.effective-date {
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: var(--text-3xl);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: var(--text-2xl);
  line-height: 1.08;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-subtitle,
.section-heading p,
.page-header p,
.policy-copy p,
.faq-item p,
.card p,
.privacy-panel p,
.release-card p {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(1.12rem, 2.3vw, 1.36rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0 22px;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--primary-strong);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 92, 73, 0.18);
}

.button-primary:hover {
  background: #084937;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
  color: var(--primary-strong);
}

.button-secondary:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 92, 73, 0.08);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(100%, 342px);
  aspect-ratio: 1242 / 2688;
  overflow: hidden;
  border: 10px solid #17201d;
  border-radius: 48px;
  background: #17201d;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 54px;
  background: linear-gradient(145deg, rgba(153, 240, 208, 0.7), rgba(11, 92, 73, 0.08));
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  object-fit: cover;
}

.release-announcement {
  padding: 0 0 10px;
}

.release-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(11, 92, 73, 0.2);
  border-radius: var(--radius-md);
  padding: clamp(26px, 5vw, 44px);
  background:
    radial-gradient(circle at top right, rgba(153, 240, 208, 0.48), transparent 24rem),
    var(--surface-soft);
  box-shadow: 0 16px 42px rgba(11, 92, 73, 0.06);
}

.release-card h2 {
  margin-bottom: 12px;
  max-width: 720px;
  font-size: var(--text-2xl);
}

.release-card p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.release-kicker {
  margin-bottom: 12px;
  color: var(--primary-strong) !important;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.release-card .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: rgba(236, 247, 242, 0.76);
}

.showcase {
  padding-block: 70px;
}

.showcase-carousel {
  max-width: 940px;
  margin-inline: auto;
}

.showcase-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.showcase-viewport::-webkit-scrollbar {
  display: none;
}

.showcase-track {
  display: flex;
}

.showcase-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(190px, 232px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 7vw, 82px);
  min-height: 512px;
  margin: 0;
  padding: 4px 58px;
  scroll-snap-align: start;
}

.showcase-phone {
  width: min(100%, 232px);
  justify-self: center;
  overflow: hidden;
  border: 7px solid #17201d;
  border-radius: 34px;
  background: #17201d;
  box-shadow: 0 18px 40px rgba(11, 92, 73, 0.16);
}

.showcase-phone img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.showcase-slide figcaption {
  max-width: 380px;
}

.showcase-kicker {
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showcase-slide h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.showcase-slide figcaption p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.carousel-button,
.carousel-dot {
  border: 0;
  cursor: pointer;
}

.carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-strong);
  font-size: 1.25rem;
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-button:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(11, 92, 73, 0.24);
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-dot[aria-current="true"] {
  background: var(--primary-strong);
  transform: scale(1.25);
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(11, 92, 73, 0.05);
}

.step-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(32px, 7vw, 84px);
}

.use-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.use-list li {
  min-height: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-strong);
  font-weight: 600;
}

.privacy-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(11, 92, 73, 0.05);
}

.privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
}

.privacy-panel h2,
.privacy-panel p {
  max-width: 720px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--primary-strong);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid rgba(11, 92, 73, 0.1);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--primary-strong);
  font-weight: 700;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

.page-main {
  padding: 72px 0 92px;
}

.content-page {
  max-width: 820px;
}

.page-header {
  margin-bottom: 44px;
}

.page-header h1 {
  margin-bottom: 14px;
  font-size: var(--text-3xl);
}

.policy-copy,
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(26px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(11, 92, 73, 0.05);
}

.policy-copy p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.policy-copy section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.policy-copy h2,
.faq h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.policy-copy a,
.page-header a:not(.button),
.faq a {
  color: var(--primary-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.faq-item {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-item h3 {
  margin-bottom: 6px;
}

.faq-item p {
  margin-bottom: 0;
}

.docs-guide {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(26px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(11, 92, 73, 0.07);
}

.docs-guide-intro {
  max-width: 680px;
  margin-bottom: 28px;
}

.docs-guide h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.docs-guide-intro p,
.docs-step p,
.docs-note p,
.docs-support {
  color: var(--muted);
}

.docs-guide-intro p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.docs-step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.docs-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.docs-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.92rem;
  font-weight: 820;
}

.docs-step h3,
.docs-note h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.docs-step p,
.docs-note p,
.docs-support {
  margin-bottom: 0;
}

.docs-note {
  margin-top: 10px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.docs-support {
  margin-top: 28px;
}

.docs-support a {
  color: var(--primary-strong);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 50px;
  }

  .hero-grid,
  .split-section,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .showcase-slide {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 42px;
    padding-inline: 42px;
  }

  .hero-copy {
    max-width: none;
  }

  .phone {
    width: min(100%, 330px);
  }

  .privacy-panel,
  .release-card,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 98px;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .use-list {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding-block: 58px;
  }

  .showcase-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 4px 4px 10px;
    text-align: center;
  }

  .showcase-phone {
    width: 196px;
  }

  .showcase-slide figcaption {
    max-width: 430px;
    justify-self: center;
  }

  .showcase-controls {
    margin-top: 22px;
  }

  .phone {
    border-width: 10px;
    border-radius: 42px;
  }

  .phone-screenshot {
    border-radius: 32px;
  }

  .policy-copy,
  .faq,
  .docs-guide {
    border-radius: 24px;
  }
}
