/* Framelume site: dark-first, floating glass panels, yellow accent (as in the app). */

:root {
  color-scheme: dark light;
  --bg: #12121c;
  --bg-glow-1: rgba(225, 130, 80, 0.20);
  --bg-glow-2: rgba(90, 110, 210, 0.22);
  --text: #f4f3f8;
  --muted: #a9a8b8;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.13);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --accent: #ffd60a;
  --accent-text: #1a1600;
  --link: #8ec5ff;
  --blue: #0a84ff;
  --radius: 26px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f2f7;
    --bg-glow-1: rgba(240, 150, 90, 0.20);
    --bg-glow-2: rgba(100, 130, 230, 0.18);
    --text: #16151d;
    --muted: #5d5c6b;
    --glass: rgba(255, 255, 255, 0.62);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(20, 20, 40, 0.10);
    --shadow: 0 18px 40px rgba(40, 40, 80, 0.12);
    --link: #0062cc;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 0% 0%, var(--bg-glow-1), transparent 70%),
    radial-gradient(900px 700px at 100% 10%, var(--bg-glow-2), transparent 70%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

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

a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 12px; }

/* Glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; padding: 12px 0; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px 8px 12px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--glass-strong); }
@media (max-width: 560px) { .nav-links .opt { display: none; } .nav-links a { padding: 6px 9px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 22px; border-radius: 999px;
  font-weight: 650; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 1px solid var(--glass-border);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 12px; font-weight: 500; opacity: 0.75; }
.btn-accent { background: var(--accent); color: var(--accent-text); border-color: transparent; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-glass { background: var(--glass-strong); color: var(--text); }
.btn-disabled { background: var(--glass); color: var(--muted); cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero-icon { width: 128px; height: 128px; margin: 0 auto 20px; border-radius: 29px; box-shadow: 0 18px 50px rgba(240, 160, 80, 0.30), 0 0 0 1px var(--glass-border); }
.hero h1 { font-size: clamp(40px, 9vw, 68px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; }
.tagline { font-size: clamp(19px, 3.4vw, 24px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; line-height: 1.4; }
.hero .btn-row { justify-content: center; }
.hero-shot { margin: 44px auto 0; padding: 10px; max-width: 1000px; }
.hero-shot img { border-radius: 18px; width: 100%; }
.platforms { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 48px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(30px, 5.5vw, 42px); line-height: 1.12; margin: 0 0 10px; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
@media (prefers-color-scheme: light) { .eyebrow { color: #a66f00; } }

/* Feature rows */
.feature {
  display: grid; gap: 28px; align-items: center;
  padding: 28px; margin-bottom: 22px;
}
.feature h3 { font-size: clamp(24px, 4vw, 30px); line-height: 1.2; margin: 0 0 10px; }
.feature p { margin: 0 0 12px; color: var(--muted); }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 4px 0; }
.feature li strong { color: var(--text); font-weight: 600; }
.phones { display: flex; gap: 14px; justify-content: center; }
.phone { width: 100%; max-width: 250px; border-radius: 30px; border: 1px solid var(--glass-border); box-shadow: 0 14px 40px rgba(0,0,0,0.35); background: #1b1b26; }
.phones .phone { max-width: 220px; min-width: 0; flex: 1 1 0; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1.1fr 1fr; padding: 40px 44px; }
  .feature.flip .feature-media { order: -1; }
}

/* Small cards grid */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(255, 214, 10, 0.16); color: var(--accent); }
@media (prefers-color-scheme: light) { .card .ico { color: #a66f00; background: rgba(255, 196, 0, 0.20); } }
.card .ico svg { width: 22px; height: 22px; }

/* iPad */
.wide-shot { padding: 10px; margin-top: 8px; }
.wide-shot img { border-radius: 18px; width: 100%; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 4px 22px; border-radius: 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Download band */
.download { text-align: center; padding: 40px 24px; }
.download h2 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 38px); }
.download p { color: var(--muted); margin: 0 0 22px; }
.download .btn-row { justify-content: center; }

/* Documents (privacy / terms / support) */
.doc { max-width: 820px; margin: 24px auto 48px; padding: 28px 22px; }
@media (min-width: 700px) { .doc { padding: 44px 52px; } }
.doc h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.1; margin: 0 0 6px; letter-spacing: -0.015em; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.lead { font-size: 19px; color: var(--text) !important; }
.callout { padding: 18px 20px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-border); margin: 18px 0; }
.callout p { margin: 0; }
.contact-btn { margin: 8px 0 4px; }

/* Footer */
.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 24px; border-radius: 22px; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); text-decoration: underline; }

/* 404 */
.notfound { text-align: center; padding: 80px 0 60px; }
.notfound h1 { font-size: clamp(36px, 8vw, 56px); margin: 0 0 8px; }
.notfound p { color: var(--muted); margin: 0 0 24px; }
.notfound .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
