/* Yalla Focus — static marketing site (EN + AR). Derived from app/globals.css. */

:root {
  --orange: #ff6b35;
  --orange-deep: #e44c1b;
  --teal: #18bcad;
  --sky: #35b8ed;
  --violet: #7564ee;
  --ink: #081329;
  --navy: #0b1428;
  --navy-2: #11213d;
  --paper: #f4f6fb;
  --surface: #ffffff;
  --muted: #68728b;
  --line: #dce2ed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 26px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(14, 25, 46, .66);
  color: white;
  box-shadow: 0 24px 60px rgba(1, 8, 24, .24);
  backdrop-filter: blur(22px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand > span > span { color: var(--orange); }
.site-header nav { display: flex; gap: 30px; font-size: 14px; font-weight: 650; color: rgba(255,255,255,.74); }
.site-header nav a:hover { color: white; }
.header-side { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-cta { padding: 12px 18px; border-radius: 14px; background: var(--orange); color: #081329; font-size: 13px; font-weight: 800; }
.lang-switch { padding: 11px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: white; font-size: 13px; font-weight: 800; }
.lang-switch:hover { background: rgba(255,255,255,.08); }

.hero {
  min-height: 900px;
  padding: 190px max(24px, calc((100vw - 1180px)/2)) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 50px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 72% 32%, rgba(31,188,173,.18), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(255,107,53,.14), transparent 24%),
    linear-gradient(140deg, #071020 0%, #0d1930 48%, #111d35 100%);
  position: relative;
}
.hero::before { content:""; position:absolute; inset:0; opacity:.12; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-copy, .hero-stage { position: relative; z-index: 1; min-width: 0; }
.eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size:12px; font-weight:800; letter-spacing:.19em; text-transform:uppercase; color:#ff956d; }
.eyebrow span { width:24px; height:2px; background:currentColor; }
.eyebrow.dark { color: var(--orange-deep); }
.hero h1 { max-width: 650px; margin:0; font-size:clamp(54px, 6.2vw, 88px); line-height:.96; letter-spacing:-.065em; font-weight:850; }
h1 em, h2 em { color: var(--orange); font-style:normal; }
.hero-lede { max-width:600px; margin:28px 0 0; color:#b9c3d8; font-size:19px; line-height:1.65; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:54px; max-width:100%; padding:0 24px; border-radius:16px; font-weight:800; }
.button-primary { background:var(--orange); color:#09152a; box-shadow:0 14px 36px rgba(255,107,53,.25); }
.button-primary:hover { transform:translateY(-2px); background:#ff7a49; }
.button-secondary { color:white; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.06); }
.hero-proof { display:flex; gap:24px; margin-top:44px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); color:#7f8ca6; font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.hero-proof span { display:flex; align-items:baseline; min-width:0; gap:7px; }
.hero-proof b { color:white; font-size:20px; letter-spacing:-.03em; }

.hero-stage { min-height:620px; display:grid; place-items:center; }
.orbit { position:absolute; border:1px solid rgba(255,255,255,.09); border-radius:50%; }
.orbit-one { width:610px; height:610px; }
.orbit-two { width:470px; height:470px; border-color:rgba(24,188,173,.18); }
.phone { position:relative; overflow:hidden; border:8px solid #121b2b; border-radius:46px; background:#eff2f8; box-shadow:0 40px 90px rgba(0,0,0,.45); }
.phone::after { content:""; pointer-events:none; position:absolute; inset:0; border-radius:38px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); }
.phone-island { position:absolute; top:15px; left:50%; transform:translateX(-50%); z-index:2; width:33%; height:25px; border-radius:20px; background:#05080d; }
.phone img { width:100%; height:100%; object-fit:cover; }
.phone-hero { width:340px; aspect-ratio: 466 / 1010; transform:rotate(2.6deg); }
.session-chip { position:absolute; z-index:3; right:-10px; bottom:98px; width:250px; display:flex; align-items:center; gap:12px; padding:14px; border:1px solid rgba(255,255,255,.16); border-radius:20px; background:rgba(9,22,42,.9); box-shadow:0 22px 50px rgba(0,0,0,.36); backdrop-filter:blur(18px); }
.session-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:13px; color:var(--teal); background:rgba(24,188,173,.16); }
.session-chip span:nth-child(2) { display:flex; flex-direction:column; flex:1; }
.session-chip small { color:#8390a9; font:700 10px ui-monospace, monospace; letter-spacing:.14em; }
.session-chip strong { color:white; font:800 20px ui-monospace, monospace; }
.pause { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--teal); color:#061728; font-weight:900; }
.flower-note { position:absolute; z-index:3; left:5px; top:110px; display:grid; grid-template-columns:auto 1fr; column-gap:12px; padding:14px 18px; border:1px solid rgba(255,255,255,.14); border-radius:19px; background:rgba(255,255,255,.08); backdrop-filter:blur(18px); }
.flower-note > span { grid-row:1/3; font-size:30px; }
.flower-note small { color:#7f8ca6; font:700 9px ui-monospace, monospace; letter-spacing:.13em; }
.flower-note b { font-size:14px; }

.how, .learn-section, .ipad-section { padding:110px max(24px, calc((100vw - 1180px)/2)); }
.section-heading h2 { margin:0; font-size:clamp(42px, 5vw, 66px); line-height:1.02; letter-spacing:-.055em; }
.section-heading > p:last-child { max-width:600px; margin:22px 0 0; color:var(--muted); font-size:18px; line-height:1.65; }
.compact-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; }
.compact-heading .eyebrow { align-self:start; }
.steps-grid { display:grid; grid-template-columns:repeat(4, 1fr); margin-top:64px; border:1px solid var(--line); border-radius:28px; background:white; overflow:hidden; box-shadow:0 22px 70px rgba(24,37,68,.07); }
.step-card { min-height:270px; padding:28px; border-inline-end:1px solid var(--line); }
.step-card:last-child { border:0; }
.step-card > span, .feature-number { font:800 11px ui-monospace, monospace; letter-spacing:.13em; color:var(--orange-deep); }
.step-card h3 { margin:62px 0 12px; font-size:23px; letter-spacing:-.035em; }
.step-card p { margin:0; color:var(--muted); line-height:1.6; font-size:15px; }

.dark-section { color:white; background:linear-gradient(140deg, #07101f, #101d36); }
.focus-section { padding:115px max(24px, calc((100vw - 1180px)/2)); position:relative; overflow:hidden; }
.focus-section::after { content:""; position:absolute; width:520px; height:520px; right:-180px; top:-160px; border-radius:50%; background:rgba(24,188,173,.1); filter:blur(4px); }
.light-heading { max-width:760px; }
.light-heading > p:last-child { color:#aab6cc; }
.focus-showcase { position:relative; z-index:1; display:grid; grid-template-columns:.85fr 1.15fr; gap:78px; align-items:center; margin-top:70px; }
.phone-focus { width:min(100%, 430px); aspect-ratio:466/1010; margin:auto; border-color:#172038; }
.focus-details { display:grid; gap:22px; }
.mode-row { display:grid; grid-template-columns:repeat(4,1fr); padding:6px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(255,255,255,.05); }
.mode-row span { padding:13px 8px; text-align:center; color:#8896b0; font-size:13px; font-weight:700; }
.mode-row .active { border-radius:13px; background:var(--teal); color:#071425; }
.sound-card { position:relative; min-height:380px; padding:42px; overflow:hidden; border:1px solid rgba(255,255,255,.13); border-radius:28px; background:linear-gradient(150deg, rgba(33,52,82,.92), rgba(20,34,62,.72)); }
.sound-card h3 { margin:0 0 18px; font-size:38px; line-height:1.05; letter-spacing:-.045em; }
.sound-card > p:not(.eyebrow) { max-width:490px; margin:0; color:#a9b5cb; line-height:1.65; }
.sound-wave { height:74px; display:flex; align-items:center; gap:8px; margin-bottom:32px; }
.sound-wave i { display:block; width:7px; height:28px; border-radius:8px; background:var(--orange); animation:wave 1.8s ease-in-out infinite alternate; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(6) { height:52px; animation-delay:.2s; }
.sound-wave i:nth-child(3), .sound-wave i:nth-child(5) { height:72px; animation-delay:.35s; }
.sound-wave i:nth-child(4) { height:42px; animation-delay:.5s; }
.sound-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.sound-tags span { padding:9px 12px; border:1px solid rgba(255,255,255,.12); border-radius:99px; color:#d2daea; font-size:12px; }
.quiet-stat { display:flex; justify-content:space-between; gap:18px; padding:22px 24px; border:1px solid rgba(255,255,255,.12); border-radius:20px; color:white; }
.quiet-stat span { color:#8795af; }
@keyframes wave { to { transform:scaleY(.55); opacity:.68; } }

/* Interactive focus-mode picker (mirrors the app's four modes + colors) */
.mode-row button { appearance:none; border:0; cursor:pointer; background:transparent; padding:13px 8px; border-radius:13px; text-align:center; color:#8896b0; font-size:13px; font-weight:700; font-family:inherit; transition:background .25s, color .25s; }
.mode-row button.active { background:var(--mode, var(--teal)); color:#071425; }
.mode-caption { display:flex; justify-content:space-between; gap:14px; padding:0 6px; color:#8795af; font-size:13px; }
.mode-caption b { color:white; font-size:15px; }

/* Feature GIF cards */
.tools-section { padding:110px max(24px, calc((100vw - 1180px)/2)) 120px; color:white; background:linear-gradient(160deg,#0a1425,#0e1b33); }
.tools-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; margin-top:64px; }
.tool-card { display:flex; flex-direction:column; gap:0; border:1px solid rgba(255,255,255,.12); border-radius:30px; background:rgba(255,255,255,.05); overflow:hidden; }
.tool-media { margin:22px 22px 0; overflow:hidden; border:6px solid #101a2c; border-radius:30px; background:#eff2f8; }
.tool-media img { width:100%; height:auto; }
.tool-copy { padding:22px 26px 28px; }
.tool-copy h3 { margin:0 0 10px; font-size:22px; letter-spacing:-.03em; }
.tool-copy p { margin:0; color:#a9b5cb; font-size:14.5px; line-height:1.6; }
[dir="rtl"] .tool-copy h3 { letter-spacing:0; line-height:1.4; }

.centered-heading { max-width:780px; margin:auto; text-align:center; }
.centered-heading .eyebrow { justify-content:center; }
.centered-heading > p:last-child { margin-left:auto; margin-right:auto; }
.learn-grid { display:grid; gap:28px; margin-top:70px; }
.feature-card { min-height:620px; display:grid; grid-template-columns:.85fr 1.15fr; gap:38px; align-items:center; padding:60px; border:1px solid var(--line); border-radius:36px; background:white; overflow:hidden; box-shadow:0 24px 80px rgba(18,35,70,.08); }
.feature-card:nth-child(even) { grid-template-columns:1fr .95fr; }
.feature-card h3 { margin:18px 0; font-size:42px; line-height:1.04; letter-spacing:-.05em; }
.feature-card p { color:var(--muted); font-size:17px; line-height:1.65; }
.feature-card ul { list-style:none; padding:0; margin:28px 0 0; display:grid; gap:13px; }
.feature-card li { display:flex; gap:10px; align-items:center; font-size:14px; font-weight:700; }
.feature-card li::before { content:"✓"; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#dcf7f2; color:#058a7d; flex-shrink:0; }
/* The learn-card visuals are real full-screen captures shown at true
   iPhone proportions — same frame treatment as the hero/timer phones. */
.phone-media { width:min(100%, 340px); aspect-ratio: 466 / 1010; justify-self:center; }
.memory-card { background:linear-gradient(145deg,#fff,#f7f6ff); }

.grow-section { min-height:760px; padding:120px max(24px, calc((100vw - 1180px)/2)); display:grid; grid-template-columns:.75fr 1.25fr; gap:70px; align-items:center; color:white; background:radial-gradient(circle at 80% 30%,rgba(24,188,173,.18),transparent 28%),linear-gradient(145deg,#0a1427,#101f38); }
.grow-copy h2 { margin:0; font-size:clamp(44px,5vw,66px); line-height:1; letter-spacing:-.055em; }
.grow-copy > p:not(.eyebrow) { color:#a8b4ca; font-size:18px; line-height:1.7; margin-top:22px; }
.grow-metrics { display:flex; gap:40px; margin-top:38px; }
.grow-metrics span { display:flex; flex-direction:column; }
.grow-metrics b { font-size:38px; color:var(--orange); }
.grow-metrics small { color:#7989a6; text-transform:uppercase; letter-spacing:.1em; }
.garden-window { position:relative; border:1px solid rgba(255,255,255,.16); border-radius:30px; padding:12px; background:rgba(255,255,255,.07); box-shadow:0 35px 90px rgba(0,0,0,.35); transform:perspective(1200px) rotateY(-4deg); }
.garden-window img { border-radius:21px; width:100%; height:auto; aspect-ratio: 1103 / 1080; object-fit: cover; object-position: top; }

.ipad-section { padding-top:125px; padding-bottom:130px; }
.ipad-frame { position:relative; margin:70px auto 0; max-width:1120px; padding:14px; border:2px solid #18243d; border-radius:32px; background:#111827; box-shadow:0 35px 90px rgba(11,19,40,.22); }
.ipad-frame img { border-radius:20px; width:100%; height:auto; aspect-ratio: 1103 / 860; object-fit: cover; object-position: top; }
.ipad-camera { position:absolute; z-index:2; width:7px; height:7px; top:4px; left:50%; border-radius:50%; background:#34415a; }
.platform-pills { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:34px; }
.platform-pills span { padding:11px 16px; border:1px solid var(--line); border-radius:99px; background:white; color:#4e5a72; font-size:13px; font-weight:700; }

.privacy-section { margin:0 auto 110px; width:min(1180px,calc(100% - 48px)); display:grid; grid-template-columns:auto 1fr 1fr; gap:28px; align-items:center; padding:34px 40px; border:1px solid var(--line); border-radius:28px; background:white; }
.privacy-mark { display:grid; place-items:center; width:72px; height:72px; border-radius:22px; background:#e2f8f4; color:#079487; font-size:40px; }
.privacy-section h2 { margin:0; font-size:34px; letter-spacing:-.045em; }
.privacy-section > p { color:var(--muted); line-height:1.6; }
.privacy-section .eyebrow { margin-bottom:9px; }

.closing-section { min-height:620px; padding:110px 24px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:white; background:radial-gradient(circle at 50% 35%,rgba(255,107,53,.18),transparent 25%),linear-gradient(145deg,#08111f,#101e35); }
.closing-mark { width:84px; margin-bottom:32px; }
.closing-section .eyebrow { justify-content:center; }
.closing-section h2 { max-width:800px; margin:0; font-size:clamp(48px,6vw,76px); line-height:1; letter-spacing:-.06em; }
.closing-section > p:not(.eyebrow) { color:#9eabc1; font-size:18px; margin-top:20px; }
.closing-section .button { margin-top:20px; }
.closing-section > small { margin-top:16px; color:#63718d; }

footer { padding:48px max(24px,calc((100vw - 1180px)/2)); display:grid; grid-template-columns:1fr 1fr auto; gap:24px; align-items:center; background:#060d19; color:#77849d; }
.footer-brand { color:white; }
footer > p { text-align:center; }
.footer-links { display:flex; gap:22px; color:#bbc5d7; font-size:13px; }
footer > small { grid-column:1/-1; padding-top:25px; border-top:1px solid rgba(255,255,255,.09); font-size:11px; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body, [dir="rtl"] { font-family: system-ui, -apple-system, "Segoe UI", "Noto Kufi Arabic", "Geeza Pro", sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .brand,
[dir="rtl"] .hero h1, [dir="rtl"] .section-heading h2, [dir="rtl"] .sound-card h3,
[dir="rtl"] .grow-copy h2, [dir="rtl"] .closing-section h2, [dir="rtl"] .privacy-section h2,
[dir="rtl"] .feature-card h3, [dir="rtl"] .step-card h3 { letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero-proof, [dir="rtl"] .step-card > span,
[dir="rtl"] .feature-number, [dir="rtl"] .grow-metrics small,
[dir="rtl"] .session-chip small, [dir="rtl"] .flower-note small { letter-spacing: 0; font-family: inherit; }
[dir="rtl"] .hero h1 { line-height: 1.25; }
[dir="rtl"] .section-heading h2, [dir="rtl"] .grow-copy h2, [dir="rtl"] .closing-section h2 { line-height: 1.3; }
[dir="rtl"] .sound-card h3, [dir="rtl"] .feature-card h3 { line-height: 1.3; }
[dir="rtl"] .step-card h3 { line-height: 1.4; }
[dir="rtl"] .site-header { padding: 11px 18px 11px 12px; }
[dir="rtl"] .phone-hero { transform: rotate(-2.6deg); }
[dir="rtl"] .session-chip { right: auto; left: -10px; }
[dir="rtl"] .flower-note { left: auto; right: 5px; }
[dir="rtl"] .garden-window { transform: perspective(1200px) rotateY(4deg); }
[dir="rtl"] .focus-section::after { right: auto; left: -180px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns:1fr auto; }
  .site-header nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:155px; text-align:center; }
  .hero-copy { display:flex; flex-direction:column; align-items:center; }
  .hero-stage { margin-top:10px; }
  .steps-grid { grid-template-columns:repeat(2,1fr); }
  .step-card:nth-child(2) { border-inline-end:0; }
  .step-card:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .focus-showcase { grid-template-columns:1fr; }
  .tools-grid { grid-template-columns:repeat(2,1fr); }
  .feature-card, .feature-card:nth-child(even) { grid-template-columns:1fr; }
  .grow-section { grid-template-columns:1fr; }
  .privacy-section { grid-template-columns:auto 1fr; }
  .privacy-section > p { grid-column:1/-1; }
}

@media (max-width: 680px) {
  .site-header { top:14px; width:calc(100% - 24px); grid-template-columns:1fr auto; padding:9px 10px 9px 14px; border-radius:18px; }
  .brand { font-size:16px; }
  .brand img { width:30px; height:30px; }
  .header-cta { display:none; }
  .hero { min-height:auto; width:100%; padding:130px 22px 70px; }
  .hero-copy { width:100%; min-width:0; }
  .hero h1 { max-width:100%; font-size:clamp(40px,11.8vw,50px); line-height:1; }
  [dir="rtl"] .hero h1 { line-height:1.3; }
  .hero-lede { font-size:17px; }
  .hero-actions { width:100%; flex-direction:column; }
  .hero-actions .button { width:100%; }
  .hero-proof { width:100%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .hero-proof span { display:block; text-align:center; font-size:9px; letter-spacing:.06em; }
  .hero-proof b { display:block; margin-bottom:4px; font-size:17px; }
  .hero-stage { min-height:560px; }
  .orbit-one { width:480px; height:480px; }
  .orbit-two { width:360px; height:360px; }
  .phone-hero { width:270px; }
  .session-chip { right:-18px; bottom:68px; width:220px; }
  [dir="rtl"] .session-chip { right:auto; left:-18px; }
  .flower-note { left:-18px; top:80px; }
  [dir="rtl"] .flower-note { left:auto; right:-18px; }
  .how, .learn-section, .ipad-section, .focus-section, .grow-section { padding:80px 22px; }
  .compact-heading { display:block; }
  .section-heading h2 { font-size:44px; overflow-wrap:break-word; }
  .section-heading h2 br { display:none; }
  .steps-grid { grid-template-columns:1fr; margin-top:42px; }
  .step-card { min-height:auto; border-inline-end:0; border-bottom:1px solid var(--line); }
  .step-card:nth-child(3) { border-bottom:1px solid var(--line); }
  .step-card h3 { margin:32px 0 10px; }
  .focus-showcase { gap:42px; margin-top:45px; }
  .phone-focus { width:290px; }
  .mode-row { grid-template-columns:repeat(2,1fr); }
  .mode-caption { flex-direction:column; gap:5px; }
  .tools-grid { grid-template-columns:1fr; }
  .tools-section { padding:80px 22px; }
  .tool-media { margin:16px 16px 0; border-width:5px; border-radius:24px; }
  .phone-media { width:270px; }
  .privacy-section h2 { font-size:27px; }
  .lang-switch { padding:9px 12px; font-size:12px; }
  .sound-card { padding:30px 24px; }
  .sound-card h3 { font-size:34px; }
  .quiet-stat { flex-direction:column; }
  .learn-grid { margin-top:45px; }
  .feature-card { min-height:auto; padding:36px 24px; border-radius:28px; }
  .feature-card h3 { font-size:36px; }
  .grow-section { min-height:auto; gap:40px; }
  .grow-copy h2 { font-size:44px; }
  .garden-window { transform:none; padding:7px; border-radius:20px; }
  [dir="rtl"] .garden-window { transform:none; }
  .ipad-frame { margin-top:45px; padding:7px; border-radius:20px; }
  .privacy-section { width:calc(100% - 44px); margin-bottom:80px; padding:28px; grid-template-columns:1fr; }
  .privacy-mark { width:58px; height:58px; }
  .privacy-section > p { grid-column:auto; }
  footer { grid-template-columns:1fr; text-align:start; }
  footer > p { text-align:start; }
  footer > small { grid-column:auto; }
}

/* mailto fallback toast — shown on CTA click so the action always "works",
   even when no mail app is configured */
.mail-note { position:fixed; z-index:60; left:50%; bottom:26px; transform:translateX(-50%) translateY(20px); max-width:calc(100% - 40px); display:flex; align-items:center; gap:10px; padding:14px 20px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(9,22,42,.95); color:#dbe3f2; font-size:14px; font-weight:600; box-shadow:0 22px 50px rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:opacity .3s, transform .3s; }
.mail-note.show { opacity:1; transform:translateX(-50%) translateY(0); pointer-events:auto; }
.mail-note b { color:var(--orange); font-family:ui-monospace, monospace; direction:ltr; unicode-bidi:embed; }

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

/* Launch-list signup form */
.join-form { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:26px; width:min(100%, 560px); }
.join-form input { appearance:none; -webkit-appearance:none; flex:1 1 260px; min-width:0; min-height:56px; padding:0 22px; border-radius:16px; border:1.5px solid rgba(255,255,255,.22); background:rgba(255,255,255,.08); color:white; font-size:16px; font-family:inherit; font-weight:600; transition:border-color .2s, background .2s, box-shadow .2s; }
.join-form input::placeholder { color:#8593ad; font-weight:500; }
.join-form input:hover { border-color:rgba(255,255,255,.35); }
.join-form input:focus { outline:none; border-color:var(--orange); background:rgba(255,255,255,.11); box-shadow:0 0 0 4px rgba(255,107,53,.22); }
.join-form .button { flex:0 0 auto; min-height:56px; }
.join-state { display:none; margin-top:14px; font-size:14.5px; font-weight:700; }
.join-state.show { display:block; }
.join-state.ok { color:#4fd8c8; }
.join-state.error { color:#ff8f7d; }

/* Keyboard focus + pressed state for interactive controls */
.mode-row button:focus-visible, .button:focus-visible, .lang-switch:focus-visible, .header-cta:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.mode-row button { cursor:pointer; }

.footer-soon { color:#63718d; font-size:13px; }
