/* Terra Phoenix landing. One stylesheet shared by /, /en/ and /press/. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #05060e; --bg2: #0a1230; --ink: #eef2ff; --muted: #a9b8dc; --faint: #7d8db5;
  --gold: #ffd166; --cyan: #7fd4ff;
  --line: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .035);
  --radius: 20px; --wrap: 1120px; --nav-h: 64px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1a1200; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 6, 14, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 13px/1 var(--font-display); letter-spacing: .18em; white-space: nowrap; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; font-size: 12px; font-weight: 600; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { color: var(--muted); text-decoration: none; padding: 5px 10px; border-radius: 999px; }
.lang a[aria-current="true"] { background: rgba(255, 255, 255, .1); color: var(--ink); }
.btn-compact { background: var(--gold); color: #1a1200; text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.btn-compact:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 209, 102, .28); }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 88px; overflow: hidden;
  background: radial-gradient(900px 560px at 78% 28%, rgba(43, 111, 224, .30), transparent 62%),
    radial-gradient(700px 420px at 12% 0%, rgba(255, 150, 60, .13), transparent 62%),
    linear-gradient(180deg, var(--bg2), var(--bg) 78%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255, 209, 102, .4); border-radius: 999px; background: rgba(255, 209, 102, .08); color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { font: 800 clamp(46px, 7vw, 84px)/.98 var(--font-display); letter-spacing: -.035em; margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 35%, #a8c4ec); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 span { background: linear-gradient(180deg, #ffe9ad, #f0a232); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { font: 700 15px/1.3 var(--font-display); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 33em; margin-bottom: 36px; }
.lead strong { color: var(--ink); font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.stores a { display: block; line-height: 0; border-radius: 10px; transition: transform .15s; }
.stores a:hover { transform: translateY(-2px); }
.stores .apple img, .stores .play img { height: 52px; width: auto; }
.subnote { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* Phone mock */
.phone { position: relative; margin: 0 auto; width: min(300px, 74vw); padding: 9px; border-radius: 42px; background: linear-gradient(160deg, #2a3766, #0f1630 55%, #1b2750);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .55), 0 0 90px rgba(127, 212, 255, .16); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 4px; background: rgba(0, 0, 0, .55); z-index: 2; }
.phone video, .phone img { width: 100%; border-radius: 33px; background: #05060e; }
.hero .phone { width: min(310px, 76vw); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -6% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 60, .28), transparent 68%); filter: blur(30px); z-index: 0; }
.hero-visual .phone { z-index: 1; }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { text-align: center; padding: 22px 12px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.trust li + li { border-left: 1px solid var(--line); }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }

/* Sections */
.section { padding: 112px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 14px; }
h2 { font: 800 clamp(30px, 4.4vw, 48px)/1.1 var(--font-display); letter-spacing: -.03em; }
.section-head p { margin-top: 16px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 34px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(127, 212, 255, .35); transform: translateY(-3px); }
.card img { width: 56px; height: 56px; margin-bottom: 22px; }
.card h3 { font: 700 19px/1.3 var(--font-display); letter-spacing: -.01em; margin-bottom: 10px; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.split--rev { grid-template-columns: 1.15fr .85fr; }
.split--rev .phone { order: 2; }
.split .section-head { text-align: left; margin: 0 0 36px; max-width: none; }
.band { background: linear-gradient(180deg, var(--bg), #070c20 50%, var(--bg)); }
.ships { list-style: none; padding: 0; display: grid; gap: 14px; }
.ship { --accent: #4a9bff; display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; padding: 14px 24px 14px 14px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 16px; }
.ship-art { width: 128px; height: 114px; border-radius: 10px; background-color: rgba(5, 6, 14, .6); background-repeat: no-repeat; background-size: 589px auto; background-position: -38px calc((var(--cy) - 105) * -.545px); }
.ship h3 { font: 700 19px/1.3 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.ship p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.boss-text p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 30em; }
.boss-text h2 { max-width: 12em; }
.boss-text .eyebrow { margin-bottom: 16px; display: block; }
.boss .phone { width: min(340px, 78vw); }
.boss .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .55), 0 0 110px rgba(255, 80, 60, .2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 28px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 34px 28px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 44px/1 var(--font-display); letter-spacing: -.03em; color: var(--gold); margin-bottom: 20px; }
.steps h3 { font: 700 20px/1.3 var(--font-display); margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 600 18px/1.4 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 40px 26px 0; color: var(--muted); font-size: 16.5px; }

/* CTA + footer */
.cta { text-align: center; padding: 120px 0; background: radial-gradient(800px 380px at 50% 115%, rgba(255, 150, 60, .22), transparent 62%), linear-gradient(180deg, var(--bg), var(--bg2)); }
.cta p { color: var(--muted); margin: 14px 0 38px; font-size: 18px; }
.cta .stores { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--faint); text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Press */
.press-hero { padding: calc(var(--nav-h) + 64px) 0 40px; background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.press-hero .wrap { display: flex; align-items: center; gap: 28px; }
.press-hero img { border-radius: 22px; flex: none; }
.press-hero h1 { font: 800 clamp(34px, 5vw, 52px)/1.05 var(--font-display); letter-spacing: -.03em; }
.press-hero p { color: var(--muted); margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 48px 0 8px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.facts dd { font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 56px 0 18px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose .short { color: var(--ink); font-size: 19px; }
.dl { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; background: var(--gold); color: #1a1200; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 999px; }
.dl small { font-weight: 500; opacity: .75; }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }

/* Reveal (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .split, .split--rev { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); text-align: center; }
  .hero .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .split--rev .phone { order: 0; }
  .split .section-head, .boss-text { text-align: center; }
  .boss-text h2, .boss-text p { margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav .lang { margin-left: auto; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .features, .steps { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ship { grid-template-columns: 96px 1fr; gap: 14px; padding-right: 16px; }
  .ship-art { width: 96px; height: 86px; background-size: 442px auto; background-position: -28px calc((var(--cy) - 105) * -.409px); }
  .nav .wrap { gap: 12px; }
  .brand span { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; padding-inline: 16px; }
  .press-hero .wrap { flex-direction: column; text-align: center; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-bottom: 64px; }
  .cta { padding: 88px 0; }
  .faq summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Play button over the hero video when it cannot autoplay */
.video-play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; cursor: pointer; background: var(--gold); box-shadow: 0 10px 34px rgba(0, 0, 0, .5), 0 0 0 8px rgba(255, 209, 102, .22); transition: transform .15s; z-index: 3; }
.video-play::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -8px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #1a1200; }
.video-play:hover { transform: scale(1.06); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
