:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-soft: #e9edf4;
  --surface-dark: #111418;
  --surface-dark-soft: #1b2027;
  --ink: #181c24;
  --muted: #5b6472;
  --line: #dbe0e8;
  --blue: #4c649f;
  --blue-soft: #dce5f9;
  --pro: #344875;
  --pro-soft: #e8edfb;
  --shadow: 0 20px 45px rgba(25, 33, 46, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

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

h1 {
  font-size: 1.9rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

h3 {
  line-height: 1.25;
  margin-bottom: 8px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-link img { border-radius: 8px; }

.muted { color: var(--muted); font-size: 0.95rem; }
.back { margin-bottom: 24px; }

.container ul { padding-left: 1.2rem; }
.container ol { padding-left: 1.35rem; }
.container li { margin: 4px 0; }
.container footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }

.policy-callout {
  margin: 24px 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-soft);
  color: #35425d;
}

/* Landing page */

.landing-page { background: var(--bg); }

.site-hero {
  overflow: hidden;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 82% 18%, rgba(100, 115, 139, 0.2), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(59, 75, 100, 0.24), transparent 30%),
    var(--surface-dark);
}

.site-nav,
.hero-content,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.site-nav a { color: #f5f7fb; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #53627a;
  border-radius: 999px;
}

.site-nav .language-link {
  min-width: 40px;
  padding: 5px 9px;
  color: #cbd1dc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}

.site-nav .language-link + .language-link { border-left: 1px solid #53627a; }
.site-nav .language-link:hover { background: #222a35; }
.site-nav .language-link.is-active { background: #f5f7fb; color: var(--surface-dark); }

.brand-link-light {
  color: #f5f7fb;
  font-weight: 750;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.68fr);
  align-items: center;
  gap: 64px;
  min-height: 650px;
  padding: 72px 0 88px;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.eyebrow {
  margin-bottom: 14px;
  color: #b7c9ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--blue); }

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: #cbd1dc;
  font-size: 1.15rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 30px;
  color: #d7dce4;
  font-size: 0.93rem;
}

.hero-meta > span:not(.status-badge)::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #aab9d8;
  content: "";
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #53627a;
  border-radius: 999px;
  background: #222a35;
  color: #f3f6fc;
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-badge-link:hover {
  border-color: #8da9dc;
  background: #2b3544;
  text-decoration: none;
}

.status-badge-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hero-emblem {
  display: grid;
  place-items: center;
}

.hero-emblem img {
  width: min(100%, 410px);
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.34));
}

.section { padding: 104px 0; }

.section-about {
  padding-bottom: 64px;
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
}

.about-copy { max-width: 790px; }

.about-copy > p:last-child { margin-bottom: 0; font-size: 1.05rem; }

.value-illustration {
  margin: 0;
}

.value-illustration img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(37, 51, 79, 0.13));
}

.section h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section p { color: var(--muted); }

.section-intro,
.section-copy > p { font-size: 1.05rem; }

.section-narrow { max-width: 850px; }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 98px);
}

.feature-layout-reverse { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 0.95fr); }

.section-pro {
  background: var(--pro-soft);
}

.pro-heading {
  max-width: 850px;
}

.pro-heading > p:last-child {
  max-width: 780px;
  font-size: 1.05rem;
}

.pro-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 36px 0 28px;
  padding: 0;
  list-style: none;
}

.pro-feature-grid li {
  position: relative;
  min-height: 58px;
  padding: 16px 18px 16px 48px;
  border: 1px solid rgba(76, 100, 159, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
}

.pro-feature-grid li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--pro);
  content: "✓";
}

.pro-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pro-term-card {
  padding: 26px;
  border: 1px solid rgba(76, 100, 159, 0.28);
  border-radius: 18px;
  background: var(--surface);
}

.pro-term-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.2rem;
}

.pro-term-card p:last-child { margin-bottom: 0; }

.pro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pro);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.heading-with-badge,
.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.eyebrow-row {
  margin-bottom: 14px;
}

.eyebrow-row .eyebrow { margin-bottom: 0; }

.pro-inline .pro-badge {
  margin: 0 5px 1px 4px;
  vertical-align: middle;
}

.supporting-line {
  margin-top: 28px;
  color: var(--ink) !important;
  font-weight: 750;
}

.app-screen {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #f8f9fc;
  box-shadow: var(--shadow);
}

.app-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-slide { margin: 0; }

.app-screen figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.app-screen-catalog { max-width: 390px; justify-self: center; }
.app-screen-manual { max-width: 390px; justify-self: center; }

.feature-layout:not(.feature-layout-reverse) > .app-screen { justify-self: end; }
.feature-layout-reverse > .app-screen { justify-self: start; }

.carousel-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(24, 28, 36, 0.82);
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button:hover { background: var(--blue); }

.carousel-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.carousel-button-prev { left: 14px; }
.carousel-button-next { right: 14px; }

.section-recurrence { background: var(--surface-soft); }

.section-intro {
  max-width: 740px;
  margin-bottom: 34px;
}

.recurrence-copy { max-width: 820px; }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.timeline-card h3 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.1rem;
}

.timeline-card p { margin: 22px 0 0; }

.timeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.timeline i {
  display: block;
  height: 2px;
  background: var(--blue);
}

.section-note {
  max-width: 720px;
  margin: 30px 0 0;
}

.section-manual { background: var(--surface); }

.example-callout {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.example-callout strong { color: var(--ink); }
.example-callout p { margin: 4px 0 0; color: #43506a; }

.section-scenarios { background: var(--surface-soft); }

.section-heading { margin-bottom: 40px; }

.scenario-stack { display: grid; gap: 30px; }

.scenario-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.68fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.scenario-card-reverse { grid-template-columns: minmax(310px, 0.68fr) minmax(0, 1fr); }
.scenario-card-reverse .scenario-copy { order: 2; }
.scenario-card-reverse .scenario-screen { justify-self: start; }

.scenario-copy { max-width: 470px; }

.scenario-copy h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.35rem;
}

.scenario-copy p { margin-bottom: 0; }

.scenario-screen {
  width: 100%;
  max-width: 390px;
  justify-self: end;
}

.section-exchange { background: var(--surface); }

.exchange-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.exchange-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.exchange-step {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--pro);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.exchange-card h3 {
  color: var(--ink);
  font-size: 1.2rem;
}

.exchange-card p { margin-bottom: 0; }

.section-languages { background: var(--surface-soft); }

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-list li {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-privacy { background: var(--surface); }

.privacy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.privacy-band h2 { max-width: 680px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.privacy-band p { max-width: 680px; margin-bottom: 0; }

.privacy-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.text-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #8896ad;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 750;
}

.text-button:hover {
  border-color: var(--blue);
  text-decoration: none;
}

.section-final { background: var(--surface-dark); }

.final-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #f5f7fb;
}

.final-callout .app-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
}

.final-callout h2 { margin-bottom: 8px; color: #f5f7fb; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.final-callout p { margin-bottom: 0; color: #cbd1dc; }
.status-badge-dark { background: var(--surface-dark-soft); }
.status-badge-dark.status-badge-link:hover { background: #313b4a; }

.site-footer {
  padding: 24px 0 34px;
  background: var(--surface-dark);
  border-top: 1px solid #303946;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #cbd1dc;
  font-size: 0.95rem;
}

.site-footer a { color: #f5f7fb; }

@media (max-width: 900px) {
  .hero-content,
  .about-layout,
  .feature-layout,
  .feature-layout-reverse {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 36px;
    min-height: auto;
    padding: 52px 0 72px;
  }

  .hero-emblem { max-width: 330px; margin: 0 auto; }
  .value-illustration { max-width: 720px; margin: 0 auto; }
  .section { padding: 76px 0; }
  .feature-layout > .app-screen { justify-self: center; }
  .feature-layout-reverse .app-screen { order: 2; }
  .scenario-card,
  .scenario-card-reverse { grid-template-columns: 1fr; }
  .scenario-card-reverse .scenario-copy { order: initial; }
  .scenario-screen,
  .scenario-card-reverse .scenario-screen { justify-self: center; }
  .exchange-grid { grid-template-columns: 1fr; }
  .privacy-band { align-items: flex-start; flex-direction: column; }
  .privacy-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .pro-terms-grid { grid-template-columns: 1fr; }
  .final-callout { grid-template-columns: auto minmax(0, 1fr); }
  .final-callout .status-badge { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .site-nav,
  .hero-content,
  .section-inner { width: min(100% - 28px, 1120px); }

  .site-nav { padding: 16px 0; }
  .site-nav .brand-link img { width: 32px; height: 32px; }
  .nav-actions { gap: 12px; }
  .hero-copy h1 {
    font-size: 2.15rem;
  }
  .hero-lead {
    font-size: 1.04rem;
    overflow-wrap: anywhere;
  }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-meta > span:not(.status-badge)::before { display: none; }
  .hero-emblem { max-width: 260px; }
  .section { padding: 58px 0; }
  .section h2 { font-size: 2.05rem; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-card { padding: 22px; }
  .exchange-card { padding: 24px; }
  .scenario-card { padding: 26px; }
  .privacy-band { padding: 26px; }
  .final-callout { grid-template-columns: 1fr; }
  .final-callout .status-badge { grid-column: auto; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 1.95rem;
    letter-spacing: -0.04em;
  }

  .hero-lead { font-size: 1rem; }
}
