@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --ink: #17191c;
  --surface: #22262a;
  --surface-raised: #2a2f33;
  --map-dark: #111619;
  --terracotta: #f07155;
  --turquoise: #65c4b3;
  --sand: #e7c98b;
  --bone: #f4efe7;
  --muted: #aaa69e;
  --paper: #f8f3ea;
  --paper-muted: #5f625f;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bone);
  background: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 4px;
}

.wrap { width: min(var(--max-width), calc(100% - 56px)); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 2;
  background: var(--ink);
  border-bottom: 1px solid rgba(244, 239, 231, .08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.brand img { width: 38px; height: 38px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a, .header-note {
  padding: 9px 12px;
  color: var(--muted);
  font-size: .84rem;
  text-decoration: none;
}
.main-nav a:hover { color: var(--bone); }
.header-note {
  color: var(--turquoise);
  border: 1px solid rgba(101, 196, 179, .35);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.language-menu { position: relative; }
.language-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 62px;
  padding: 9px 11px;
  color: var(--bone);
  background: var(--surface-raised);
  border: 1px solid rgba(101, 196, 179, .55);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  cursor: pointer;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: '⌄'; color: var(--turquoise); font-size: .9rem; line-height: 1; }
.language-menu[open] summary { border-color: var(--turquoise); }
.language-options {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 176px;
  padding: 8px;
  background: var(--surface-raised);
  border: 1px solid rgba(244, 239, 231, .16);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
}
.language-options a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 8px;
  font-size: .8rem;
  text-decoration: none;
}
.language-options a:hover, .language-options a[aria-current="page"] { color: var(--bone); background: rgba(101, 196, 179, .12); }

.hero {
  overflow: hidden;
  padding: 74px 0 104px;
  background: var(--ink);
}

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--turquoise); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--terracotta); }

h1, h2, h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.03; }
h1 { max-width: 700px; margin-top: 22px; font-size: clamp(3.2rem, 6.4vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; }
p { margin: 0; }

.hero-copy > p:not(.eyebrow) { max-width: 600px; margin-top: 26px; color: var(--muted); font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button-primary { color: var(--ink); background: var(--terracotta); }
.button-primary:hover { background: #ff8269; }
.button-secondary { color: var(--bone); border: 1px solid rgba(244, 239, 231, .28); }
.button-secondary:hover { border-color: var(--bone); }
.launch-note { color: var(--muted); font-size: .77rem; }
.store-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store-badge-link { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .18s ease; }
.store-badge-link:hover { transform: translateY(-1px); }
.store-badge { display: block; width: 180px; height: auto; }
.store-badge-apple { width: 180px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 8px 11px; color: var(--bone); background: rgba(101, 196, 179, .08); border: 1px solid rgba(101, 196, 179, .24); border-radius: 999px; font-size: .78rem; }

.hero-art { position: relative; max-width: 430px; margin-left: auto; }
.hero-art::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(231, 201, 139, .28); border-radius: 30px; pointer-events: none; }
.hero-art picture { position: relative; z-index: 1; display: block; }
.hero-art img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1242 / 2688; object-fit: cover; object-position: top; border: 1px solid rgba(244, 239, 231, .22); border-radius: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.floating-stat { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: var(--surface-raised); border: 1px solid rgba(101, 196, 179, .5); border-radius: 15px; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
.floating-stat strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; }
.floating-stat span { display: block; color: var(--muted); font-size: .7rem; white-space: nowrap; }
.floating-stat:first-of-type { right: -28px; top: 42px; }
.floating-stat:last-of-type { left: -28px; bottom: 34px; border-color: rgba(231, 201, 139, .5); }

.trust-strip { padding: 22px 0; background: var(--surface); }
.trust-items { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; }
.trust-items span { display: inline-flex; align-items: center; gap: 9px; color: var(--bone); font-size: .82rem; }
.trust-items span::before { content: '✦'; color: var(--turquoise); }

.section { padding: 100px 0 105px; }
.section-paper { color: var(--ink); background: var(--paper); }
.section-surface { background: var(--surface); }
.section-dark { background: var(--map-dark); }
.section-lead { max-width: 670px; margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-paper .section-lead { color: var(--paper-muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card { padding: 25px; background: var(--surface); border: 1px solid rgba(244, 239, 231, .1); border-radius: 22px; }
.card-number { display: flex; justify-content: space-between; color: var(--terracotta); font-size: 1.5rem; }
.card h3 { margin-top: 44px; }
.card p { margin-top: 10px; color: var(--muted); font-size: .92rem; }

.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 4vw, 48px); margin-top: 44px; }
.phone-figure { width: clamp(170px, 21vw, 240px); margin: 0; }
.phone-figure.featured { width: clamp(190px, 24vw, 270px); }
.iphone-render { width: 100%; aspect-ratio: 920 / 1900; object-fit: cover; object-position: center; border-radius: 42px; filter: drop-shadow(0 25px 30px rgba(0, 0, 0, .38)); }
.phone-caption { margin-top: 17px; text-align: center; }
.phone-caption strong { display: block; color: var(--turquoise); font-size: .72rem; letter-spacing: .13em; }
.phone-caption span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; }

.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.story-card { position: relative; min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; padding: 25px; border: 1px solid rgba(244, 239, 231, .14); border-radius: 24px; background: var(--surface); }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(17, 22, 25, .97) 96%); }
.story-content { position: relative; z-index: 1; }
.story-content small { color: var(--turquoise); font-weight: 800; letter-spacing: .12em; }
.story-content h3 { margin-top: 5px; color: var(--bone); font-size: 2rem; }
.story-content p { max-width: 500px; margin-top: 8px; color: rgba(244, 239, 231, .78); font-size: .9rem; }
.story-count { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; padding: 16px 19px; color: var(--ink); background: rgba(240, 113, 85, .12); border-left: 4px solid var(--terracotta); border-radius: 12px; }
.story-count strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; }
.story-count span { color: var(--paper-muted); font-size: .88rem; }
.section:not(.section-paper) .story-count { color: var(--bone); background: rgba(240, 113, 85, .16); }
.section:not(.section-paper) .story-count strong { color: var(--bone); }
.section:not(.section-paper) .story-count span { color: var(--muted); }

.achievement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.achievement-card { display: grid; gap: 16px; padding: 17px; background: var(--surface); border: 1px solid rgba(244, 239, 231, .1); border-radius: 20px; }
.achievement-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; border-radius: 14px; background: var(--map-dark); }
.achievement-card small { color: var(--turquoise); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.achievement-card h3 { margin-top: 5px; font-size: 1.4rem; }
.achievement-card p { margin-top: 8px; color: var(--muted); font-size: .84rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-list { display: grid; gap: 12px; margin-top: 28px; }
.split-list p { display: flex; gap: 10px; color: var(--bone); font-size: .95rem; }
.split-list p::before { content: '✓'; color: var(--turquoise); font-weight: 800; }
.battle-card { padding: 24px; background: var(--surface); border: 1px solid rgba(101, 196, 179, .32); border-radius: 24px; }
.battle-card h3 { font-size: 1.6rem; }
.map-preview { aspect-ratio: 1166 / 900; margin-top: 18px; overflow: hidden; border-radius: 18px; background: var(--paper); }
.map-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.battle-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: .8rem; }
.battle-meta strong { color: var(--turquoise); }

.goal { display: grid; gap: 18px; margin-top: 32px; padding: 25px; background: var(--surface); border: 1px solid rgba(231, 201, 139, .32); border-radius: 24px; }
.goal-head, .goal-foot { display: flex; justify-content: space-between; gap: 20px; }
.goal-head strong { color: var(--sand); }
.goal-foot { color: var(--muted); font-size: .78rem; }
.progress { height: 18px; overflow: hidden; background: var(--map-dark); border-radius: 999px; }
.progress span { display: block; width: 50%; height: 100%; background: var(--sand); border-radius: inherit; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.plan { padding: 23px; background: var(--ink); border: 1px solid rgba(244, 239, 231, .12); border-radius: 20px; }
.plan.pro { border-color: rgba(240, 113, 85, .55); }
.plan.social { border-color: rgba(101, 196, 179, .55); }
.plan small { color: var(--turquoise); font-weight: 800; letter-spacing: .13em; }
.plan.pro small { color: var(--terracotta); }
.plan h3 { margin-top: 20px; font-size: 1.7rem; }
.plan p { margin-top: 10px; color: var(--muted); font-size: .86rem; }

.faq { display: grid; gap: 10px; margin-top: 34px; }
details { padding: 0 20px; color: var(--ink); background: #fff; border: 1px solid rgba(23, 25, 28, .08); border-radius: 15px; }
summary { padding: 20px 0; cursor: pointer; font-weight: 800; list-style-position: outside; }
details p { padding: 0 0 20px; color: var(--paper-muted); font-size: .92rem; }

.cta { text-align: center; padding: 100px 0 105px; background: var(--ink); }
.cta p { max-width: 650px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }
.cta .actions { justify-content: center; }

.site-footer { padding: 27px 0 34px; background: var(--ink); border-top: 1px solid rgba(244, 239, 231, .08); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-inner small { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: var(--bone); }

.article-hero { padding: 78px 0 70px; background: var(--ink); }
.article-hero h1 { max-width: 850px; font-size: clamp(2.8rem, 5.6vw, 5rem); }
.article-hero p { max-width: 760px; margin-top: 22px; color: var(--muted); font-size: 1.15rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; align-items: start; }
.article-body { max-width: 760px; padding: 72px 0 100px; color: var(--ink); }
.article-body h2 { margin: 42px 0 15px; font-size: 2.2rem; }
.article-body h3 { margin: 30px 0 10px; font-size: 1.45rem; }
.article-body p, .article-body li { color: var(--paper-muted); font-size: 1rem; }
.article-body p + p { margin-top: 16px; }
.article-body ul { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body .callout { margin: 26px 0; padding: 19px 21px; color: var(--ink); background: #fff; border-left: 4px solid var(--terracotta); border-radius: 12px; }
.article-aside { position: sticky; top: 20px; margin-top: 72px; padding: 20px; background: var(--surface); border-radius: 18px; }
.article-aside strong { color: var(--bone); }
.article-aside a { display: block; margin-top: 12px; color: var(--turquoise); font-size: .86rem; text-decoration: none; }
.article-aside a:hover { text-decoration: underline; }
.breadcrumb { padding-top: 22px; color: var(--muted); font-size: .78rem; }
.breadcrumb a { color: var(--turquoise); text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid, .split, .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { margin: 0 auto; max-width: 350px; }
  .article-aside { position: static; margin: 0 0 70px; }
  .article-body { padding-bottom: 20px; }
  .cards-3, .plans { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--max-width), calc(100% - 36px)); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
  .main-nav a { padding: 7px 9px; white-space: nowrap; }
  .header-note { margin-left: auto; font-size: .72rem; }
  .language-menu { margin-left: auto; }
  .language-options { right: -42px; }
  .header-note { margin-left: 0; }
  .hero, .section, .article-hero { padding-top: 66px; padding-bottom: 75px; }
  .hero-art::after { inset: 12px -10px -10px 10px; }
  .floating-stat { transform: scale(.9); }
  .floating-stat:first-of-type { right: -20px; }
  .floating-stat:last-of-type { left: -20px; }
  .story-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .achievement-card { padding: 12px; }
  .achievement-card h3 { font-size: 1.15rem; }
  .story-count { align-items: flex-start; flex-direction: column; gap: 4px; }
  .phones { justify-content: flex-start; overflow-x: auto; padding: 0 4px 12px; }
  .phone-figure, .phone-figure.featured { flex: 0 0 205px; width: 205px; }
  .phone-figure.featured { width: 225px; flex-basis: 225px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .article-hero h1 { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
