/* Layout concept: a centered "say hello in any language" hero that mirrors the App Store hero,
   then feature bands, each tinted with the same pastel as its App Store screenshot. Light only, by design. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(assets/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url(assets/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(assets/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(assets/fonts/figtree-latin-700-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  /* color */
  --cream: #FFF8F1;
  --paper: #FFFFFF;
  --ink: #15131F;
  --ink-2: #575468;
  --ink-3: #8A879B;
  --line: rgba(21, 19, 31, .09);
  --indigo: #5C59F0;
  --rose: #E8336D;
  --tang: #FF8A3D;
  --green: #0E9F6E;
  /* feature tints (same as the App Store screenshots) */
  --mint: #EAF8F1;
  --pink: #FFEFF3;
  --peach: #FFF1E6;
  --sky: #EBF1FF;
  --lav: #F1EDFF;
  /* type */
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --world: "Figtree", "Hiragino Sans", "Apple SD Gothic Neo", "PingFang SC", "Geeza Pro", "Noto Sans", system-ui, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36em; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 16px rgba(60, 46, 128, .18); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--paper) !important; padding: 10px 16px; border-radius: 999px; }
@media (max-width: 820px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 17px; line-height: 1.05; transition: transform .15s ease; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.store svg { width: 24px; height: 24px; flex: none; }
.store.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.store:hover { transform: translateY(-2px); }
.fine { font-size: 14px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; text-align: center; padding-block: 28px 0; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); }
.hero::before { width: 620px; height: 620px; right: -160px; top: -220px; background: #FFC4A3; opacity: .7; }
.hero::after { width: 640px; height: 720px; left: -260px; top: 360px; background: #CFC3FF; opacity: .6; }
.hero h1 { font-size: clamp(48px, 9vw, 112px); line-height: .94; letter-spacing: -.035em; margin-top: 18px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--indigo) 10%, var(--rose) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.swoosh { display: block; width: min(560px, 62%); height: auto; margin: 4px auto 0; }
.hero .lead { margin: 22px auto 0; }
.hero .cta { justify-content: center; margin-top: 30px; }
.hero .fine { margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .8); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(60, 46, 128, .08); }
.pill i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.stage { position: relative; width: min(860px, 100%); margin: 56px auto 0; height: clamp(520px, 78vw, 760px); }
.phone { position: absolute; left: 50%; top: 0; width: clamp(250px, 38vw, 360px); transform: translateX(-50%) rotate(-4deg); border-radius: 54px; padding: 10px; background: linear-gradient(140deg, #4A4A55, #1C1C22 50%, #3A3A44); box-shadow: 0 50px 90px rgba(40, 30, 80, .28), inset 0 0 0 2px #6A6A78; }
.phone img, .phone video { border-radius: 44px; width: 100%; height: auto; }
.bubble { position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; background: var(--paper); border-radius: 999px; font-family: var(--world); font-weight: 700; font-size: clamp(17px, 2.4vw, 26px); white-space: nowrap; box-shadow: 0 18px 36px rgba(60, 40, 120, .18); animation: drift 6s ease-in-out infinite; }
.bubble img { width: clamp(30px, 4.4vw, 46px); height: clamp(30px, 4.4vw, 46px); border-radius: 50%; box-shadow: 0 0 0 2px #ECEAF2; }
.bubble:nth-child(2n) { animation-delay: -2s; }
.bubble:nth-child(3n) { animation-delay: -4s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.b1 { left: 2%; top: 8%; rotate: 6deg; }
.b2 { right: 1%; top: 16%; rotate: -5deg; }
.b3 { left: -1%; top: 34%; rotate: -4deg; }
.b4 { right: -1%; top: 44%; rotate: 4deg; }
.b5 { left: 4%; top: 58%; rotate: 5deg; }
.b6 { right: 3%; top: 68%; rotate: -3deg; }
.b7 { left: 1%; top: 80%; rotate: -6deg; }
.b8 { right: 2%; top: 88%; rotate: 5deg; }
@media (max-width: 560px) { .b7, .b8 { display: none; } .bubble { padding: 6px 12px 6px 6px; gap: 7px; font-size: 15px; } .bubble img { width: 26px; height: 26px; } .stage { height: 580px; } .b1 { left: 0; } .b3 { left: -2%; } .b5 { left: 0; } }
@media (max-width: 480px) { .lang { font-size: 14px; gap: 9px; padding: 8px 10px 8px 8px; } .lang img { width: 28px; height: 28px; } .lang.star { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } html { scroll-behavior: auto; } .store { transition: none; } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 112px); }
.band { border-radius: 40px; margin-inline: clamp(8px, 2vw, 24px); }
.band.mint { background: var(--mint); }
.band.sky { background: var(--sky); }
.band.lav { background: var(--lav); }
.head { display: grid; gap: 14px; max-width: 760px; }

/* demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo .phone { position: relative; left: auto; transform: rotate(2deg); width: min(330px, 80%); margin-inline: auto; }
.demo .lead { margin-top: 18px; }
.exchange { display: grid; gap: 10px; margin-top: 28px; max-width: 470px; }
.line { display: grid; gap: 2px; padding: 14px 18px; border-radius: 20px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.line .who { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.line .ar { font-family: var(--world); font-size: 24px; font-weight: 700; direction: rtl; text-align: left; unicode-bidi: plaintext; }
.line .rom { font-weight: 600; color: var(--green); }
.line .en { color: var(--ink-2); }
.line.you { background: var(--ink); color: var(--paper); justify-self: end; }
.line.you .who, .line.you .en { color: rgba(255, 255, 255, .7); }
.line.you .rom { color: #7DE2B7; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .demo .phone { order: -1; } }

/* three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.pillar { border-radius: 28px; padding: 26px 26px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.pillar p { color: var(--ink-2); font-size: 16px; }
.pillar .shot { margin-top: auto; padding-top: 18px; }
.pillar .shot img { border-radius: 18px 18px 0 0; box-shadow: 0 -1px 0 var(--line), 0 18px 40px rgba(40, 30, 80, .12); }
.pillar.pink { background: var(--pink); } .pillar.peach { background: var(--peach); } .pillar.mint { background: var(--mint); }
.tag { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pillar.pink .tag { color: var(--rose); } .pillar.peach .tag { color: #D9560F; } .pillar.mint .tag { color: var(--green); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar .shot img { max-width: 520px; } }

/* showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase .shot { max-width: 400px; margin-inline: auto; }
.showcase .shot img { border-radius: 26px; box-shadow: 0 40px 80px rgba(40, 30, 80, .18); aspect-ratio: 720 / 1050; width: 100%; height: auto; object-fit: cover; object-position: top; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 24px; color: var(--ink-2); }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .showcase.flip .shot { order: 2; } }

/* languages */
.flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 44%), 1fr)); gap: 10px; margin-top: 36px; }
.lang { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--paper); border-radius: 16px; font-weight: 600; font-size: 16px; min-width: 0; }
.lang img { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px #ECEAF2; }
.lang span { min-width: 0; overflow-wrap: anywhere; }
.lang.star { background: var(--ink); color: var(--paper); }
.lang.star small { display: block; font-size: 12px; font-weight: 500; opacity: .7; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--paper); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: inset 0 0 0 1.5px var(--line); }
.plan.best { box-shadow: inset 0 0 0 2.5px var(--indigo), 0 24px 50px rgba(92, 89, 240, .16); }
.plan .name { font-weight: 700; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.plan .per { color: var(--ink-3); font-size: 14px; }
.plan ul { list-style: none; display: grid; gap: 8px; margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: "•"; color: var(--indigo); font-weight: 800; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lav); color: var(--indigo); }
.small-print { margin-top: 18px; font-size: 13px; color: var(--ink-3); max-width: 60em; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 10px; margin-top: 32px; max-width: 780px; }
details { background: var(--paper); border-radius: 18px; padding: 18px 22px; box-shadow: inset 0 0 0 1.5px var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-3); }
details[open] summary::after { content: "–"; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
details a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* final */
.final { text-align: center; background: linear-gradient(120deg, var(--indigo), #9B4DE0 55%, var(--rose)); color: var(--paper); }
.final h2 { margin-inline: auto; max-width: 14em; }
.final p { margin: 14px auto 0; opacity: .85; font-size: 19px; }
.final .cta { justify-content: center; margin-top: 30px; }
.final .store { background: var(--paper); color: var(--ink); }
.final .store.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* footer */
footer { padding-block: 40px 56px; color: var(--ink-3); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a:hover { color: var(--ink); }

/* ---------- prose pages (privacy, press) ---------- */
.prose { max-width: 780px; padding-block: 32px 88px; }
.prose h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 10px; }
.prose .date { color: var(--ink-3); margin-bottom: 36px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; margin-bottom: 12px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink-3); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 28px; }
.kit a { display: block; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; }
@media (max-width: 700px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btn { display: inline-block; background: var(--ink); color: var(--paper) !important; padding: 13px 20px; border-radius: 14px; font-weight: 700; text-decoration: none !important; }
