/* Tray Overflow — site styles */
:root {
  --bg: #0c0e1c;
  --bg-raise: #12142a;
  --surface: #171a2e;
  --surface-2: #1e2240;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #eef0fa;
  --muted: #9ba2bb;
  --faint: #6d7390;
  --accent: #ff6b4a;
  --accent-2: #ffb454;
  --accent-soft: rgba(255, 107, 74, 0.13);
  --accent-glow: rgba(255, 107, 74, 0.4);
  --radius: 16px;
  --maxw: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 14, 28, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 7px 15px; border-radius: 9px; font-weight: 600; }
.nav-cta:hover { background: #ff7d5f; }
@media (max-width: 700px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 11px; font-weight: 650; font-size: 16px; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1206; box-shadow: 0 8px 28px var(--accent-glow); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-note { color: var(--faint); font-size: 14px; margin-top: 14px; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; background:
  radial-gradient(900px 420px at 50% -80px, rgba(255, 107, 74, 0.13), transparent 65%),
  radial-gradient(700px 380px at 85% 5%, rgba(255, 180, 84, 0.07), transparent 60%); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(255, 107, 74, 0.25); padding: 5px 13px; border-radius: 99px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; margin: 0 auto 18px; max-width: 820px; }
.hl { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0 auto 30px; }

/* Menu bar mockup */
.mock { max-width: 780px; margin: 52px auto 0; text-align: left; filter: drop-shadow(0 24px 60px rgba(0,0,0,.5)); }
.mock-bar { display: flex; align-items: center; height: 34px; background: linear-gradient(#262a44, #20243c); border-radius: 10px 10px 0 0; padding: 0 12px; gap: 14px; font-size: 13px; color: #cfd3e6; position: relative; }
.mock-bar .apple { font-size: 15px; }
.mock-bar .app { font-weight: 700; }
.mock-bar .menu-word { color: #9aa0bd; }
.mock-notch { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 168px; height: 34px; background: #000; border-radius: 0 0 10px 10px; }
.mock-tray { margin-left: auto; display: flex; gap: 13px; align-items: center; }
.mock-tray span { opacity: .92; }
.mock-panel { background: #1b1e33; border: 1px solid var(--line-strong); border-top: none; border-radius: 0 0 14px 14px; padding: 18px 18px 10px; width: min(420px, 92%); margin-left: auto; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 9px; font-size: 11px; color: var(--muted); }
.mock-item:hover { background: rgba(255,255,255,.07); }
.mock-item .g { font-size: 19px; }
.mock-foot { border-top: 1px solid var(--line); margin-top: 10px; padding: 8px 2px 2px; color: var(--faint); font-size: 12.5px; }
.mock-cap { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 16px; }

/* Sections */
section { padding: 74px 0; }
section.alt { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 750; }
.section-head p { color: var(--muted); margin: 0; }

/* Pain points */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain .q { font-weight: 650; margin-bottom: 8px; }
.pain p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 800px) { .pains { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s; }
.feature:hover { border-color: rgba(255, 107, 74, 0.35); }
.feature .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1206; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.price-card { max-width: 460px; margin: 0 auto; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid rgba(255, 107, 74, 0.35); border-radius: 20px; padding: 38px 34px; text-align: center; box-shadow: 0 20px 70px rgba(0,0,0,.4); }
.price { font-size: 54px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 17px; color: var(--muted); font-weight: 500; }
.price-sub { color: var(--muted); margin: 4px 0 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.price-list li { padding: 8px 0 8px 30px; position: relative; color: var(--text); font-size: 15.5px; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent-2); font-weight: 800; }
.price-card .btn { width: 100%; margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16.5px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; }

/* Final CTA */
.final { text-align: center; padding: 90px 0; background: radial-gradient(700px 320px at 50% 110%, rgba(255, 107, 74, 0.15), transparent 65%); }
.final h2 { font-size: clamp(28px, 4.5vw, 40px); }
.final p { color: var(--muted); margin: 0 auto 30px; max-width: 520px; }

/* Legal pages */
.legal, .err { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h1 { font-size: 34px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal code { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 14px; }
.err { text-align: center; padding-top: 110px; }
.err .code { font-size: 96px; font-weight: 800; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--bg-raise); padding: 46px 0 30px; }
.foot-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 3px 0; }
.foot-col a:hover { color: var(--text); text-decoration: none; }
.foot-note { color: var(--faint); font-size: 13.5px; margin-top: 34px; }
