:root {
  color-scheme: light;
  --green-950: #08251c;
  --green-900: #0b2f24;
  --green-800: #0f3b2e;
  --green-700: #17634d;
  --red-600: #d6412f;
  --gold-500: #f2b84b;
  --paper: #f8f9f5;
  --white: #ffffff;
  --ink: #17211d;
  --muted: #53645c;
  --line: #d9e0da;
  --line-strong: #aebdb4;
  --shadow: 0 18px 50px rgba(8, 37, 28, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--white);
  border: 1px solid var(--green-900);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 249, 245, 0.92);
  border-bottom: 1px solid rgba(8, 37, 28, 0.12);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-950);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--green-900);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px rgba(248, 249, 245, 0.18);
}

.brand-mark::before {
  content: "";
  width: 12px;
  height: 20px;
  background: var(--red-600);
  clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-950);
  background: rgba(8, 37, 28, 0.08);
  outline: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  max-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 37, 28, 0.96) 0%, rgba(8, 37, 28, 0.82) 45%, rgba(8, 37, 28, 0.25) 100%),
    url("./hero.png") center / cover no-repeat;
}

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

.hero-copy {
  width: min(650px, 100%);
  padding: 88px 0 96px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-500);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero h1,
.doc-hero h1 {
  margin: 0;
  font-size: 4.6rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

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

.button {
  border: 1px solid transparent;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #b93426;
  outline: none;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

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

.store-panel {
  width: min(560px, 100%);
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.store-panel-title {
  margin: 0 0 12px;
  color: var(--white);
  font-weight: 800;
}

.store-button {
  min-width: 170px;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--green-950);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.store-button span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

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

.store-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding-top: 44px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--red-600);
  font-weight: 800;
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: 2.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.step-grid,
.feature-grid,
.privacy-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.step-card {
  padding: 20px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--green-900);
  color: var(--white);
  font-weight: 800;
}

.card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.notice-band {
  background: var(--green-950);
  color: var(--white);
  border-top: 4px solid var(--red-600);
  border-bottom: 4px solid var(--gold-500);
}

.notice-band .section {
  padding: 44px 0;
}

.notice-band h2 {
  font-size: 2rem;
}

.notice-band p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.84);
}

.doc-hero {
  background: var(--green-950);
  color: var(--white);
  border-bottom: 4px solid var(--red-600);
}

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

.doc-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  font-size: 1.08rem;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.doc-meta span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
}

.doc-main {
  padding: 56px 0 80px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--white);
}

.toc a {
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--green-950);
  background: rgba(8, 37, 28, 0.08);
  outline: none;
}

.doc-content {
  min-width: 0;
}

.doc-section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.doc-section h2 {
  margin: 0 0 14px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.doc-section h3 {
  margin: 24px 0 10px;
  font-size: 1.18rem;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
  line-height: 1.78;
}

.doc-section p {
  margin: 0 0 14px;
}

.doc-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.data-table th,
.data-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.data-table th {
  color: var(--green-950);
  background: #eef3ed;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  background: var(--green-950);
  color: var(--white);
}

.footer-inner {
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

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

.breakable {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(8, 37, 28, 0.96) 0%, rgba(8, 37, 28, 0.78) 62%, rgba(8, 37, 28, 0.3) 100%),
      url("./hero.png") center / cover no-repeat;
  }

  .hero h1,
  .doc-hero h1 {
    font-size: 3.2rem;
  }

  .step-grid,
  .feature-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .hero {
    min-height: 76vh;
  }

  .hero-copy {
    padding: 62px 0 72px;
  }

  .hero h1,
  .doc-hero h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .store-button {
    flex: 1 1 100%;
  }

  .section {
    padding: 52px 0;
  }

  .section h2 {
    font-size: 1.85rem;
  }

  .step-grid,
  .feature-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

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

/* legal language selector:start */
.language-panel {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.language-panel h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.language-panel p {
  margin: 0 0 14px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.lang-chip {
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.lang-chip small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
}

.lang-chip:hover,
.lang-chip:focus-visible,
.lang-chip.is-current {
  color: var(--green-950);
  background: var(--white);
  outline: none;
}

.lang-chip:hover small,
.lang-chip:focus-visible small,
.lang-chip.is-current small {
  color: var(--muted);
}

html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td {
  text-align: right;
}
/* legal language selector:end */
