/* Conversa site, 1.3.0. One stylesheet for the landing pages (/, /tr/) and the
   legal pages (privacy, terms, support, delete, invite in 29 languages).
   Brand colours and type come from the app: warm paper ground, ink, amber
   action, deep brown field, Plus Jakarta Sans. No framework, no build step. */

@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/jakarta-800.woff2") format("woff2"); }

:root {
  --ground: #f6f4ef;
  --surface: #ffffff;
  --tone: #ece6dc;
  --ink: #17161a;
  --muted: #56514a;
  --accent: #c6873b;
  --accent-press: #b4772e;
  --deep: #5c3a10;
  --on-deep: #f6f4ef;
  --link: #7a4f18;
  --ok: #1d7a4a;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.2vw, 48px);
  --radius: 28px;
  --t-display: clamp(46px, 7.4vw, 124px);
  --t-h2: clamp(34px, 4.4vw, 68px);
  --t-h3: clamp(22px, 2.2vw, 34px);
  --t-body: 18px;
  --t-small: 15px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* names kept for the inline styles of the legal pages (delete.html, invite.html) */
  --line: #d9d0c2;
  --purple: var(--link);
  --cyan: var(--ok);
  --faint: var(--muted);
  --font-b: var(--font);
  --font-d: var(--font);
  --grad: #e5484d;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; color: var(--ground); }
.aurora, .grain { display: none; }

/* ---------- bar ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.nav { position: relative; z-index: 5; }
.nav-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 76px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.logo { width: 30px; height: 30px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 clamp(12px, 2.2vw, 32px); font-size: var(--t-small); white-space: nowrap; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 2px; }
.nav-links a:hover { text-decoration: underline; }
.nav-links .hide-s { display: none; }
@media (min-width: 860px) { .nav-links .hide-s { display: inline; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--accent); color: var(--ink); font: 800 16px/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s; }
.btn:hover { background: var(--accent-press); color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--tone); }
.btn.ghost:hover { background: #e2d9cb; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: block; border-radius: 8px; transition: transform .2s var(--ease-out); }
.stores a:hover { transform: translateY(-2px); }
.stores a:active { transform: scale(.97); }
.stores img { height: 52px; width: auto; }

/* ---------- landing: hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding-block: clamp(24px, 5vh, 64px) clamp(72px, 12vh, 140px); }
.hero-copy { grid-column: 1 / -1; }
.hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -.045em; margin-bottom: 36px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: inline-flex; align-items: center; gap: .22em; flex-wrap: wrap; }
.fix { display: inline-flex; flex-direction: column; justify-content: center; flex: none; width: max-content; height: 3.1em; padding: 0 .7em; font-size: .29em; line-height: 1.3; letter-spacing: -.01em; font-weight: 500; border-radius: .6em; background: var(--surface); }
.fix s { color: #b42318; text-decoration-thickness: .08em; }
.fix b { color: var(--ok); font-weight: 800; }
.lead { font-size: 22px; line-height: 1.5; max-width: 32em; margin-bottom: 32px; }
p { max-width: 62ch; }
.note { font-size: var(--t-small); color: var(--muted); margin: 20px 0 0; }
.hero-shot { grid-column: 1 / -1; justify-self: center; margin-top: 56px; width: min(78vw, 360px); }
.phone { border-radius: var(--radius); background: var(--surface); overflow: hidden; }
@media (min-width: 900px) {
  .hero { min-height: calc(100svh - 76px); }
  .hero-copy { grid-column: 1 / span 8; align-self: center; }
  .hero-shot { grid-column: 9 / -1; justify-self: end; margin-top: 0; width: auto; }
  .hero-shot img { height: min(76svh, 780px); width: auto; }
}
@media (max-width: 599px) {
  .hero h1 { font-size: 11.6vw; }
  .hero h1 .ln > span { gap: .18em; }
  .hero h1 .fix { order: -1; font-size: 16px; margin: .2em 0 .3em; }
  .hero h1 .ln:nth-child(2) > span { flex-wrap: wrap; }
  .hero h1 .ln:nth-child(2) > span::after { content: none; }
}

/* ---------- section rhythm ---------- */
.sec { padding-block: clamp(80px, 10vw, 160px); }
.sec h2 { font-size: var(--t-h2); line-height: 1; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* correction / debrief / review */
.say .stack { grid-column: 1 / -1; font-size: clamp(40px, 9vw, 150px); line-height: .92; letter-spacing: -.05em; margin-bottom: 56px; }
.say .stack span { display: block; }
.say .facts { grid-column: 1 / -1; }
.say .facts p { max-width: 34em; }
.say .shots { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; align-items: start; }
.say .shots figure:nth-child(2) { margin-top: 64px; }
figure { margin: 0; }
figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 12px; }
@media (min-width: 900px) {
  .say .stack { margin-bottom: 72px; }
  .say .facts { grid-column: 1 / span 5; align-self: center; }
  .say .shots { grid-column: 7 / -1; margin-top: 0; gap: 24px; }
  .say .shots figure:nth-child(2) { margin-top: 120px; }
}
@media (max-width: 599px) { .say .stack { font-size: 10.6vw; } }

/* scene catalogue + live language switch */
.scenes { background: var(--surface); }
.scenes .sc-h { grid-column: 1 / -1; max-width: 16em; margin-bottom: 40px; }
.scenes .side { grid-column: 1 / -1; }
.scenes .side p { max-width: 30em; }
.scenes .board { grid-column: 1 / -1; margin-top: 40px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; padding: 0; list-style: none; }
.langs button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--tone); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s; }
.langs button:hover { background: #e2d9cb; }
.langs button:active { transform: scale(.96); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--ground); font-weight: 800; }
.today { border-radius: var(--radius); margin-top: 8px; width: 100%; max-width: 440px; background: var(--ground); }
.cats { columns: 1; column-gap: 40px; }
.cat { break-inside: avoid; margin-bottom: 40px; }
.cat h3 { font-size: var(--t-body); letter-spacing: -.01em; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.cat ul { list-style: none; }
.cat li { font-size: 18px; line-height: 1.35; padding: 7px 0; display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.cat li .free { flex: none; font-size: var(--t-small); font-weight: 800; background: var(--accent); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.board[aria-busy="true"] .cats { opacity: .55; }
.cats { transition: opacity .2s; }
@media (min-width: 640px) { .cats { columns: 2; } }
@media (min-width: 900px) {
  .scenes .side { grid-column: 1 / span 4; align-self: start; position: sticky; top: 24px; }
  .scenes .board { grid-column: 6 / -1; margin-top: 0; }
}

/* more ways to practise: a staircase of lines */
.ways .steps { list-style: none; margin-top: 24px; }
.ways .steps li { margin-bottom: 48px; max-width: 30em; }
.ways .steps h3 { font-size: var(--t-h3); line-height: 1.08; margin-bottom: 10px; }
.ways .steps p { margin: 0; }
.ways .steps li:nth-child(2) { margin-inline-start: 6vw; }
.ways .steps li:nth-child(3) { margin-inline-start: 12vw; }
.ways .steps li:nth-child(4) { margin-inline-start: 18vw; }
.ways .steps li:nth-child(5) { margin-inline-start: 24vw; }
.ways .extra { color: var(--muted); max-width: 40em; margin-top: 16px; }
@media (min-width: 900px) {
  .ways .steps li:nth-child(2) { margin-inline-start: 16.66%; }
  .ways .steps li:nth-child(3) { margin-inline-start: 33.33%; }
  .ways .steps li:nth-child(4) { margin-inline-start: 50%; }
  .ways .steps li:nth-child(5) { margin-inline-start: 58.33%; }
  .ways .extra { margin-inline-start: 58.33%; }
}
@media (max-width: 599px) {
  .ways .steps li:nth-child(n) { margin-inline-start: 0; padding-inline-start: 0; }
  .ways .steps li:nth-child(2) { padding-inline-start: 4vw; }
  .ways .steps li:nth-child(3) { padding-inline-start: 8vw; }
  .ways .steps li:nth-child(4) { padding-inline-start: 12vw; }
  .ways .steps li:nth-child(5) { padding-inline-start: 16vw; }
}

/* plans */
.plans { background: var(--tone); }
.plans h2 { grid-column: 1 / -1; max-width: 14em; }
.plan { grid-column: 1 / -1; margin-top: 32px; }
.plan h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.plan ul { list-style: none; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.plan.plus li::before { background: var(--ink); }
.plans .terms { grid-column: 1 / -1; margin-top: 40px; max-width: 62ch; font-size: var(--t-small); color: var(--muted); }
@media (min-width: 900px) {
  .plan { grid-column: 1 / span 5; }
  .plan.plus { grid-column: 7 / span 6; }
}
[dir="rtl"] .plan li { padding: 6px 28px 6px 0; }
[dir="rtl"] .plan li::before { left: auto; right: 4px; }

/* closing field and footer */
.close { background: var(--deep); color: var(--on-deep); overflow: hidden; padding-top: clamp(72px, 8vw, 128px); }
.close a { color: var(--on-deep); }
.close h2 { font-size: var(--t-h2); line-height: 1; margin-bottom: 28px; max-width: 12em; }
.close .invite { grid-column: 1 / -1; }
.close .invite p { max-width: 30em; }
.close .links { grid-column: 1 / -1; list-style: none; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--t-small); }
.close .links a { display: inline-block; padding: 8px 0; }
.close .legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--t-small); margin-top: 72px; }
.wordmark { font-size: 27vw; font-weight: 800; letter-spacing: -.06em; line-height: .8; white-space: nowrap; margin: 8px 0 0 -.04em; transform: translateY(18%); color: var(--accent); user-select: none; }
@media (min-width: 900px) {
  .close .invite { grid-column: 1 / span 7; }
  .close .links { grid-column: 10 / -1; flex-direction: column; margin-top: 0; gap: 4px; }
}

/* ---------- motion (transform and opacity only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln > span { animation: rise .9s var(--ease-out) both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .11s; }
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero-shot img { animation: drift 18s ease-in-out infinite alternate; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes drift { from { transform: translateY(0) rotate(0); } to { transform: translateY(-10px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- legal and help pages ---------- */
.legal { padding-block: 24px 96px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; margin: 16px 0 12px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 56px 0 14px; }
.legal h3 { font-size: 20px; letter-spacing: -.01em; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal ul { padding-inline-start: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-block; font-size: var(--t-small); padding: 8px 0; }
.legal .updated { color: var(--muted); font-size: var(--t-small); margin-bottom: 32px; }
.legal .box { background: var(--surface); border-radius: 20px; padding: 24px; margin: 24px 0; }
.legal .box p:last-child { margin-bottom: 0; }
.legal .binding { background: var(--tone); border-radius: 14px; padding: 12px 16px; margin: 0 0 28px; font-size: var(--t-small); }
.lang-switch { margin: -16px 0 32px; font-size: var(--t-small); }
.lang-switch summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--tone); border-radius: 999px; }
.lang-switch ul { list-style: none; padding: 12px 0 0 !important; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lang-switch li { margin: 0 !important; }
.lang-switch a { display: inline-block; padding: 6px 0; }
footer:not(.close) { padding-block: 32px 48px; background: var(--tone); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--t-small); color: var(--muted); }
.foot-bottom a { color: var(--link) !important; }

@media print {
  .nav, footer, .lang-switch, .skip { display: none; }
  body { background: #fff; }
}
