:root {
  --teal: #6e4fd9;
  --teal-dark: #583cb4;
  --teal-light: #e2dbf7;
  --ink: #12211f;
  --ink-soft: #4a5a58;
  --paper: #ffffff;
  --paper-soft: #f5faf9;
  --border: #dfe9e7;
  --shadow: 0 20px 50px rgba(0, 40, 35, 0.12);
  --radius: 20px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--teal-dark); }

.back-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.back-link:hover { color: var(--teal-dark); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-links { gap: 10px; }
}

@media (max-width: 340px) {
  .nav-cta { display: none; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--paper-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 24px 6px 10px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.lang-switch:hover { border-color: var(--teal); }
.lang-switch:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(60% 50% at 85% 0%, var(--teal-light) 0%, rgba(224,242,241,0) 70%),
    var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

h1 .accent { color: var(--teal); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 46ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 150, 136, 0.28);
}

.btn-primary:hover { background: var(--teal-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  width: 236px;
  flex: 0 0 236px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  cursor: default;
  box-shadow: 0 6px 16px rgba(18, 33, 31, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 33, 31, 0.24);
}

.store-badge svg { width: 26px; height: 26px; flex: none; }

.store-badge .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.store-badge .store-text small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
}

.store-badge .store-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.platforms-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Phone frame ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 250px;
  border-radius: 34px;
  border: 6px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg);
}

.phone picture { display: block; }
.phone img { display: block; width: 100%; height: auto; }

.phone-alt {
  position: absolute;
  width: 190px;
  right: -18px;
  bottom: -36px;
  border-radius: 28px;
  border: 5px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(6deg);
}

.phone-alt picture { display: block; }
.phone-alt img { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .phone-alt { right: 8px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

#features { background: var(--paper-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Formats strip ---------- */
.formats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.format-chip {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
}

@media (max-width: 720px) {
  .formats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Screenshots ---------- */
.shot-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 26px;
  scroll-snap-type: x mandatory;
}

.shot-card {
  flex: none;
  width: 210px;
  scroll-snap-align: start;
}

.shot-card .phone {
  width: 100%;
  transform: none;
}

.shot-caption {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Audience ---------- */
#audience { background: var(--paper-soft); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--border);
}

.audience-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.audience-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.audience-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 46ch; margin: 0 auto 30px; }

.cta-band .cta-row { justify-content: center; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.cta-band .store-badge {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  box-shadow: none;
}
.cta-band .store-badge:hover { background: rgba(255,255,255,0.2); }
.cta-band .store-badge .store-text strong { color: #fff; }
.cta-band .store-badge .store-text small { color: rgba(255,255,255,0.75); }

/* ---------- Privacy policy article ---------- */
main.wrap { padding: 56px 24px 80px; }

.page-title h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.updated {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.locale-note {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 40px;
}

.locale-note a { color: var(--teal-dark); font-weight: 600; }

article h2 {
  font-size: 1.25rem;
  margin: 44px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

article > h2:first-of-type { border-top: none; padding-top: 0; }

article h3 {
  font-size: 1.02rem;
  margin: 22px 0 8px;
  color: var(--teal-dark);
}

article p, article li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

article strong { color: var(--ink); }

article ul { padding-left: 22px; }
article li { margin-bottom: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

th {
  background: var(--paper-soft);
  color: var(--ink);
}

td { color: var(--ink-soft); }

.contact-box {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 18px 0;
}

.contact-box p { margin: 4px 0; }

/* ---------- Footer ---------- */
footer {
  padding: 44px 0 36px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand img { width: 26px; height: 26px; border-radius: 6px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal-dark); }

/* Reopening the consent banner is an action, so it is a button that reads as
   a link rather than a link that does not navigate. */
.footer-consent {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-consent:hover { color: var(--teal-dark); }
.footer-consent:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.footer-copy {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ---------- Language suggestion banner ---------- */
.lang-suggest {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 12px 48px 12px 20px;
  position: relative;
  background: var(--teal-light);
  color: var(--ink);
  font-size: 15px;
}

.lang-suggest-cta {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-suggest-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  font-family: inherit;
}

.lang-suggest-close:hover { color: var(--ink); }
.lang-suggest-close:focus-visible,
.lang-suggest-cta:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 20px;
  background: var(--paper);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(0, 40, 35, 0.10);
}

.consent[hidden] { display: none; }

.consent-text {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.consent-text a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }

.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

.consent-btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
}

.consent-decline:hover { border-color: var(--ink-soft); }

.consent-accept {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.consent-accept:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.consent-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

@media (max-width: 560px) {
  .consent { justify-content: flex-start; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; }
}

/* ---------- Guide pages ---------- */
.guide h1 { margin-bottom: 12px; }
.guide h2 { margin: 48px 0 12px; }
.guide .lede { max-width: 62ch; color: var(--ink-soft); }

.guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 8px;
}

.guide-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper-soft);
}

.guide-facts strong { font-size: 1.6rem; line-height: 1.1; }
.guide-facts span { font-size: 0.85rem; color: var(--ink-soft); }

.round-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}

.round {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--paper);
}

.round h3 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.round ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }

.round li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: baseline;
  font-size: 0.9rem;
}

.round li em { color: var(--ink-soft); font-style: normal; }
.round li span:last-child { text-align: right; }

.table-scroll { overflow-x: auto; }

table.timing { border-collapse: collapse; min-width: 380px; }
table.timing th, table.timing td { padding: 9px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.timing th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
table.timing td { font-variant-numeric: tabular-nums; }

.guide-cta {
  margin-top: 56px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--teal-light);
}

.guide-cta h2 { margin: 0 0 8px; }
.guide-cta p { margin: 0 0 18px; max-width: 60ch; color: var(--ink-soft); }
.guide-cta .back-link { margin-left: 18px; }

.footer-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-guides a { text-decoration: none; }
.footer-guides a:hover { color: var(--teal-dark); }
