/* Tunaona landing page
   Tokens follow the Tunaona Design System: Squid Ink, Poppins, Dawn for Zuri. */

:root {
  --ink: #0d3934;
  --ink-raised: #164742;
  --ink-press: #092d29;
  --ink-800: #264d49;
  --ink-600: #4a6b67;
  --ink-300: #a5b6b4;
  --ink-200: #c3cecc;
  --ink-100: #e2e7e7;
  --ink-050: #f1f3f3;
  --white: #ffffff;
  --dawn-100: #fcf4e1;
  --dawn-300: #efcb78;

  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);

  --shadow-card: 0 8px 20px rgba(13, 57, 52, 0.10), 0 2px 6px rgba(13, 57, 52, 0.06);
  --shadow-phone: 0 18px 42px rgba(13, 57, 52, 0.16), 0 4px 12px rgba(13, 57, 52, 0.08);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink-050);
  color: var(--ink-800);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { color: var(--ink); font-weight: 800; }

h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 18em;
}

a { color: var(--ink); }
a:hover { color: var(--ink-600); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 8px; }

::selection { background: var(--ink); color: var(--white); }

section[id], div[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- Text styles ---------- */

.lede { margin-top: 20px; max-width: 36em; font-size: clamp(17px, 1.5vw, 20px); }
.body-l { margin-top: 20px; max-width: 30em; font-size: 18px; }
.body-l + .body-l { margin-top: 16px; }
.lede--strong { font-weight: 700; color: var(--ink); }
.lede + .lede { margin-top: 16px; }
.body-l strong { font-weight: 700; color: var(--ink); }
.body-l--strong { font-weight: 600; color: var(--ink); }
.body-m { margin-top: 16px; max-width: 36em; font-size: 16px; }
.small-note { margin-top: 20px; max-width: 34em; font-size: 14px; line-height: 1.55; color: var(--ink-600); }
.kicker { font-size: 16px; font-weight: 700; color: var(--ink-600); margin-bottom: 12px; }
.time { font-size: 22px; font-weight: 800; color: var(--ink-600); font-variant-numeric: tabular-nums; margin-bottom: 12px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.09s ease;
}
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-raised); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink-100); color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.text-link { font-size: 16px; padding: 12px 0; }
.text-link--light, .text-link--light:hover { color: var(--white); }

/* ---------- Header ---------- */

.site-header { background: var(--ink); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
  font-weight: 800; font-size: 20px; letter-spacing: -0.01em;
}
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-size: 15px; padding: 12px 0; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
.site-nav .site-nav__lang { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__slides, .hero__slide, .hero__scrim { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-repeat: no-repeat; background-position: right center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide--1 { background-image: url("../assets/img/hero-1-wide.webp"); }
.hero__slide--2 { background-image: url("../assets/img/hero-2-wide.webp"); }
.hero__slide--3 { background-image: url("../assets/img/hero-3-wide.webp"); }
.hero__scrim {
  background: linear-gradient(90deg,
    rgba(13, 57, 52, 0.94) 0%, rgba(13, 57, 52, 0.86) 38%,
    rgba(13, 57, 52, 0.30) 68%, rgba(13, 57, 52, 0.12) 100%);
}
.hero__inner {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(520px, 62vw, 760px);
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px);
}
.hero__copy { max-width: 600px; }
html[lang="fr"] .hero__copy { max-width: 660px; }
html[lang="fr"] .hero h1 { font-size: clamp(40px, 5.6vw, 70px); }
.hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.025em;
}
.hero__lede { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-100); }
.hero__lede--more { margin-top: 12px; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero__note { margin-top: 24px; font-size: 14px; color: var(--ink-200); }

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section--page { background: var(--ink-050); }
.section--zuri { background: var(--dawn-100); }
.section--flush-bottom { padding-bottom: 0; }

.section--ink { background: var(--ink); color: var(--ink-100); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .time { color: var(--ink-300); }
.section--ink .small-note { color: var(--ink-300); }

.h2--chapter { font-size: clamp(30px, 4.4vw, 54px); }
.h2--closing { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin-top: 0; }

/* ---------- We see ---------- */

.we-see { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.we-see__mark { flex: none; width: clamp(96px, 12vw, 150px); }
.we-see > div { flex: 1 1 420px; min-width: 0; }

/* ---------- Feature rows (copy + visual) ---------- */

.feature { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature--top { align-items: flex-start; }
.feature--chapter { padding-top: clamp(64px, 9vw, 120px); }
.feature__copy { flex: 1 1 380px; min-width: 0; }
.feature__visual { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__visual { order: 1; }

.feature h3 {
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em;
}

/* ---------- Phone screenshots ---------- */

/* A brand-neutral handset drawn in CSS: ink body, a light edge, a camera dot
   and side buttons. The body is the same ink as the app header, so the top of
   each screenshot runs into the frame. */
.phone {
  --bezel: 8px; --radius: 42px;
  position: relative; display: block;
  width: 100%; max-width: 296px;
  padding: var(--bezel);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1a4d47 0%, #0d3934 22%, #082a26 70%, #0d3934 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 2.5px rgba(4, 22, 20, 0.55),
    0 1px 2px rgba(13, 57, 52, 0.30),
    0 14px 28px rgba(13, 57, 52, 0.16),
    0 40px 70px -18px rgba(13, 57, 52, 0.34);
}
.phone img {
  display: block; width: 100%; height: auto;
  border-radius: calc(var(--radius) - var(--bezel));
}
/* Camera */
.phone::before {
  content: ""; position: absolute; z-index: 1;
  top: calc(var(--bezel) + 9px); left: 50%;
  width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b5f59 0%, #04100f 55%);
  box-shadow: 0 0 0 1.5px rgba(4, 22, 20, 0.7);
}
/* Power and volume buttons */
.phone::after {
  content: ""; position: absolute;
  top: 21%; right: -2.5px; width: 3px; height: 112px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #0a2f2b 0 32px, transparent 32px 48px, #0a2f2b 48px 112px);
}
.phone--on-ink {
  background: linear-gradient(145deg, #2c5e58 0%, #123f3a 24%, #061d1a 72%, #123f3a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.30),
    inset 0 0 0 2.5px rgba(2, 12, 11, 0.6),
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 44px 80px -18px rgba(0, 0, 0, 0.55);
}
.phone--on-ink::after { background: linear-gradient(180deg, #2c5e58 0 32px, transparent 32px 48px, #2c5e58 48px 112px); }
.phone-pair { display: flex; align-items: flex-start; justify-content: center; gap: 16px; width: 100%; }
.phone-pair .phone { --bezel: 6px; --radius: 32px; max-width: 224px; min-width: 0; flex: 1 1 0; }
.phone-pair .phone::before { width: 7px; height: 7px; margin-left: -3.5px; top: calc(var(--bezel) + 6px); }
.phone-pair .phone::after { height: 84px; background-size: 100% 112px; }
.phone--offset { margin-top: 56px; }

/* ---------- Everyday trio ---------- */

.trio { margin-top: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 64px); }
.trio__item { flex: 1 1 240px; min-width: 0; padding-top: 20px; border-top: 2px solid var(--ink); }
.trio__item h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.trio__item p { margin-top: 10px; font-size: 16px; }

/* ---------- Institutions ---------- */

.points { margin: 36px 0; display: flex; flex-direction: column; gap: 24px; }
.points__item { padding-top: 16px; border-top: 2px solid var(--ink); }
.points__item h3 { font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.points__item p { margin-top: 8px; max-width: 30em; font-size: 16px; }

.chart-card {
  width: 100%; max-width: 420px;
  background: var(--white); border-radius: 28px; padding: 24px 24px 12px;
  box-shadow: var(--shadow-card);
}
.chart-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.chart-card__title { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.chart-card__tag { font-size: 13px; color: var(--ink-600); }
.bar { padding: 14px 0; border-bottom: 1px solid var(--ink-100); }
.bar:last-child { border-bottom: 0; }
.bar span { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.bar__track { margin-top: 8px; height: 8px; border-radius: 999px; background: var(--ink-100); }
.bar__fill { height: 8px; border-radius: 999px; background: var(--ink); }
.bar__fill--92 { width: 92%; }
.bar__fill--70 { width: 70%; }
.bar__fill--54 { width: 54%; }
.bar__fill--36 { width: 36%; }

/* Chart with Zuri's example insight beneath it */
.insight-stack { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.insight-stack .chart-card { max-width: none; }
.zuri-panel {
  padding: 22px 24px 24px;
  background: var(--dawn-100); border: 1px solid #f7e5b8; border-radius: 20px;
}
.zuri-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.zuri-panel__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.zuri-panel__icon { flex: none; color: #d79e22; }
.zuri-panel__tag {
  padding: 3px 12px; border-radius: 999px; background: var(--white); border: 1px solid #f7e5b8;
  font-size: 12px; font-weight: 600; color: #8e6410; white-space: nowrap;
}
.zuri-panel__label {
  margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8e6410;
}
.zuri-panel__label--action { padding-top: 16px; border-top: 1px solid #f7e5b8; }
.zuri-panel__pattern { margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.zuri-panel__text { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-800); }

/* ---------- Get the app ---------- */

.get { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px 64px; }
.get__copy { flex: 1 1 380px; min-width: 0; }
.get__copy .btn { margin-top: 32px; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; }
.store-badge {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 200px; min-height: 68px; padding: 10px 26px;
  border-radius: 16px; background: var(--ink); color: var(--white);
}
.store-badge span { font-size: 12px; font-weight: 600; color: var(--ink-200); }
.store-badge strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }

/* ---------- Early access and enquiry ---------- */

.kicker--on-ink { color: var(--ink-200); margin-top: 28px; }
.lede--on-ink { color: var(--ink-100); max-width: 32em; margin-top: 22px; }
.body-m--on-ink { color: var(--ink-200); }
.body-l--on-ink { color: var(--ink-100); max-width: 36em; font-size: 17px; margin-top: 14px; }
.h3--enquire { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }

.enquire { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.enquire .kicker--on-ink { margin-top: 0; }

.form { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--white); }
.field--wide { flex-basis: 100%; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  background: var(--ink-raised); color: var(--white);
  font: inherit; font-weight: 500; font-size: 16px;
}
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--white); outline-offset: 2px;
}
.field input[aria-invalid="true"] { border-color: var(--dawn-300); }
.form .btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
.form__status { flex-basis: 100%; font-size: 15px; line-height: 1.5; color: var(--dawn-300); }
.form__status[data-state="ok"] { color: var(--white); }
.form__note { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--ink-300); }
.form__note a { color: var(--ink-100); }
.field input[aria-invalid="true"] { border-color: var(--dawn-300); }
/* ---------- Privacy policy page ---------- */

.policy { background: var(--white); padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.policy h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.policy h2 { margin-top: 48px; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; letter-spacing: -0.01em; }
.policy p { margin-top: 16px; max-width: 42em; font-size: 16px; line-height: 1.7; }
.policy strong { font-weight: 700; color: var(--ink); }
.policy .policy__updated { margin-top: 12px; font-size: 14px; color: var(--ink-600); }
.policy a { overflow-wrap: anywhere; }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; flex-basis: 100%; }
.site-footer a { color: var(--ink-200); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-press); color: var(--ink-300); font-size: 14px; line-height: 1.5; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 40px; padding-bottom: 40px;
}

/* ---------- Phones ---------- */

@media (max-width: 760px) {
  /* The photo sits below the text on phones, so nothing covers the person. */
  .hero { display: flex; flex-direction: column; }
  .hero__inner { order: 1; min-height: 0; padding-top: 48px; padding-bottom: 40px; }
  .hero__slides { order: 2; position: relative; inset: auto; height: min(112vw, 520px); }
  .hero__slides::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13, 57, 52, 1) 0%, rgba(13, 57, 52, 0.25) 28%, rgba(13, 57, 52, 0.12) 100%);
  }
  .hero__scrim { display: none; }
  .hero__slide { background-position: center 38%; }
  .hero__slide--1 { background-image: url("../assets/img/hero-1-tall.webp"); }
  .hero__slide--2 { background-image: url("../assets/img/hero-2-tall.webp"); }
  .hero__slide--3 { background-image: url("../assets/img/hero-3-tall.webp"); background-position: center 22%; }

  .feature--reverse .feature__copy { order: 1; }
  .feature--reverse .feature__visual { order: 2; }

  /* Phones: the header keeps the logo and the language switch; the hero button sits right below. */
  .site-nav a:not(.site-nav__lang) { display: none; }
  .phone--offset { margin-top: 32px; }
  .store-badge { min-width: 0; flex: 1 1 150px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .btn { transition: none; }
}

/* ---------- 404 page ---------- */

.not-found { min-height: 100vh; display: flex; align-items: center; }
.not-found__title { color: var(--white); margin-top: 28px; }
.not-found__action { margin-top: 36px; }
