:root {
  --ink: #16211f;
  --muted: #52615d;
  --line: #d8dfdc;
  --paper: #fbfcfa;
  --band: #eef4f0;
  --surface: #ffffff;
  --teal: #0f766e;
  --green: #2f8f46;
  --amber: #d89216;
  --coral: #c95042;
  --shadow: 0 20px 55px rgba(22, 33, 31, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 143, 70, 0.12), rgba(216, 146, 22, 0.16)),
    var(--surface);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-text {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a,
.site-footer a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 124px);
  margin: 0 auto;
  padding: 58px 0 72px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 7vw, 96px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 8vw, 5.75rem);
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.8rem);
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: white;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.store-button {
  display: inline-flex;
  min-width: 172px;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(22, 33, 31, 0.16);
  border-radius: 8px;
  padding: 8px 16px;
  background: #151c1a;
  color: white;
  text-decoration: none;
}

.store-button span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.store-button strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.store-button.play {
  background: var(--teal);
}

.store-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-shell {
  width: min(100%, 352px);
  aspect-ratio: 0.52;
  border: 1px solid rgba(22, 33, 31, 0.22);
  border-radius: 34px;
  padding: 14px;
  background: #1c2522;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.1), transparent 42%),
    #f8fbf8;
  padding: 24px 18px;
}

.app-topbar,
.asset-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-topbar {
  color: var(--ink);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.metric-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.metric-panel span,
.metric-panel small,
.asset-list span {
  color: var(--muted);
}

.metric-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1.1;
}

.chart-bars {
  display: grid;
  height: 150px;
  align-items: end;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.chart-bars span {
  display: block;
  min-height: 16px;
  border-radius: 5px 5px 2px 2px;
  background: var(--teal);
}

.chart-bars span:nth-child(2n) {
  background: var(--amber);
}

.chart-bars span:nth-child(3n) {
  background: var(--coral);
}

.asset-list {
  display: grid;
  gap: 10px;
}

.asset-list div {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0 14px;
}

.info-band,
.notice-band {
  padding: 78px 0;
}

.info-band {
  background: var(--band);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  max-width: 700px;
}

.link-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  text-decoration: none;
}

.info-card span {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: start;
}

.notice-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-page {
  padding: 56px 0 86px;
}

.legal-document {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-document h1 {
  font-size: clamp(2.35rem, 7vw, 4.4rem);
}

.legal-document h2 {
  margin-top: 38px;
  font-size: 1.45rem;
}

.legal-document p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-document a {
  color: var(--teal);
  font-weight: 800;
}

.support-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.legal-document .store-note {
  margin-top: 10px;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer a {
  padding: 6px 0 6px 12px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    grid-template-columns: 1fr;
  }

  .product-visual {
    justify-content: flex-start;
  }

  .phone-shell {
    max-width: 330px;
  }

  .link-grid,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}

@media (max-width: 520px) {
  .brand-text {
    max-width: 210px;
  }

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

  .phone-shell {
    width: 100%;
  }

  .metric-panel strong {
    font-size: 1.82rem;
  }
}
