/* fazogirapps.com — one stylesheet, three themes (body.t-studio / .t-eyegym / .t-leaf) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--heading); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--heading); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
.app-id { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.app-id img { width: 64px; height: 64px; border-radius: 16px; }
.app-id strong { display: block; color: var(--heading); font-size: 18px; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: var(--head-weight, 600);
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin: 22px 0 18px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 32em; margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.note { font-size: 14px; color: var(--muted); }
.phone { justify-self: center; width: 100%; max-width: 320px; }
.phone img { border-radius: 28px; box-shadow: var(--phone-shadow); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: var(--font-head);
  font-weight: var(--head-weight, 600);
  font-size: clamp(27px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0 0 12px;
}
.section-lede { color: var(--muted); max-width: 36em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: var(--heading); }
.card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Screenshot strip — scrolls inside itself, never the page */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; }
.shots img { width: 216px; height: auto; flex: none; border-radius: 20px; scroll-snap-align: start; }

/* Pricing / callouts */
.callout { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 24px; }
.callout h3 { margin: 0 0 8px; font-size: 18px; color: var(--heading); }
.callout p { margin: 0 0 10px; color: var(--muted); }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.callout.warn h3, .callout.warn p { color: var(--warn-text); }

/* FAQ */
.faq > * { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); 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-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Studio app list */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.app-card { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.app-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.app-card img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app-card h3 { margin: 0 0 4px; font-size: 20px; color: var(--heading); }
.app-card p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--tag-bg); color: var(--tag-fg); margin-right: 6px; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Eye Gymnastics: the dot that the app is built around */
.dot-demo { width: 100%; max-width: 420px; height: auto; }
.dot-demo .track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 7; }
.dot-demo .glow { fill: var(--accent); opacity: .22; }
.dot-demo .core { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) { .dot-demo animateMotion { display: none; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }

@media (max-width: 780px) {
  body { font-size: 16px; }
  .hero, .split { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .hero { padding-bottom: 48px; }
  .phone { max-width: 260px; }
  section { padding: 48px 0; }
  .top nav { gap: 14px; }
  .lede { font-size: 17px; }
  .top nav a:not(:last-child) { display: none; }
  .shots { margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding-left: 20px; }
}

/* ---------- Themes ---------- */

.t-studio {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --bg: #f6f5f0; --card: #ffffff; --text: #26251f; --heading: #121210; --muted: #64625a;
  --accent: #121210; --line: #e4e1d7; --line-strong: #c9c5b8;
  --btn-bg: #121210; --btn-fg: #ffffff; --tag-bg: #ecebe4; --tag-fg: #44423b;
  --phone-shadow: none;
}
@media (prefers-color-scheme: dark) {
  .t-studio {
    --bg: #121210; --card: #1c1c19; --text: #dedcd3; --heading: #f6f5f0; --muted: #a09d92;
    --accent: #f6f5f0; --line: #2c2b27; --line-strong: #46443d;
    --btn-bg: #f6f5f0; --btn-fg: #121210; --tag-bg: #2a2925; --tag-fg: #cfccc1;
  }
}

/* Dark is the brand, so it is dark in both modes — same as the app. */
.t-eyegym {
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", system-ui, sans-serif;
  --head-weight: 700;
  --bg: #0a0a1a; --card: #12122a; --text: #d7d7e4; --heading: #ffffff; --muted: #a0a0b4;
  --accent: #00d4ff; --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.2);
  --btn-bg: #00d4ff; --btn-fg: #06101f;
  --warn-bg: rgba(255,215,0,.06); --warn-line: rgba(255,215,0,.3); --warn-text: #f3e6b0;
  --tag-bg: rgba(0,212,255,.12); --tag-fg: #8eeaff;
  --phone-shadow: 0 30px 80px -20px rgba(0,212,255,.25);
  color-scheme: dark;
}

.t-leaf {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, serif;
  --head-weight: 600;
  --bg: #fcfbf7; --card: #ffffff; --text: #2b2a23; --heading: #1b1a15; --muted: #5a584c;
  --accent: #0b7d58; --line: #eae6da; --line-strong: #d4cfbf;
  --btn-bg: #0f9b6e; --btn-fg: #ffffff;
  --warn-bg: #fff8e6; --warn-line: #e9c96a; --warn-text: #5e4500;
  --tag-bg: #e3f3ec; --tag-fg: #0b6447;
  --phone-shadow: 0 30px 70px -28px rgba(27,26,21,.35);
}
@media (prefers-color-scheme: dark) {
  .t-leaf {
    --bg: #11150f; --card: #191e16; --text: #dcd9cd; --heading: #f2efe4; --muted: #a8a597;
    --accent: #2dda93; --line: #262c22; --line-strong: #3a4234;
    --btn-bg: #2dda93; --btn-fg: #0c1a12;
    --warn-bg: #2a2412; --warn-line: #5e4f22; --warn-text: #f0dfa6;
    --tag-bg: #16301f; --tag-fg: #8fe6bd;
    --phone-shadow: none;
    color-scheme: dark;
  }
}
