/* supaTRI marketing site. One CSS file, no build step. */

:root {
  --bg: #0b0f14;
  --bg-elev: #11171f;
  --bg-soft: #1a212c;
  --fg: #eef2f6;
  --fg-muted: #97a3b3;
  --fg-faint: #6b7685;
  --accent: #ff5d3b;
  --accent-soft: rgba(255, 93, 59, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--fg); margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }

p { margin: 0 0 1em; color: var(--fg); }
p.lede { font-size: 1.2rem; color: var(--fg-muted); max-width: 38ch; }
p.muted, .muted { color: var(--fg-muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6em;
}

/* ----- header / nav ----------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.brand-word { color: var(--fg); }

.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a {
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-header nav a:hover { color: var(--fg); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--fg); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: #ff7558; }

/* ----- hero ------------------------------------------------------------- */

.hero { padding: 80px 0 60px; border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.cta-note { margin-top: 14px; color: var(--fg-faint); font-size: 0.9rem; }

.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff !important;
  border: 1px solid #2a2a2a;
  min-width: 170px;
  transition: transform 0.12s ease;
}
.store-badge:hover { text-decoration: none; transform: translateY(-1px); }
.badge-eyebrow { font-size: 0.7rem; opacity: 0.75; letter-spacing: 0.04em; }
.badge-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

/* Mock phone */
.hero-art { display: grid; place-items: center; }
.phone {
  width: 290px;
  height: 580px;
  background: linear-gradient(180deg, #1a2230 0%, #11171f 100%);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #000;
  border-radius: 12px;
}
.phone-screen {
  margin-top: 32px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 0.9rem;
}
.phone-row strong { color: var(--fg-muted); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.phone-row--head { background: transparent; padding: 4px 6px; color: var(--fg-muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.phone-row--accent { background: var(--accent-soft); color: var(--accent); }
.phone-row--accent strong { color: var(--accent); }
.phone-row--muted { background: var(--bg-soft); color: var(--fg-faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: #2ecc71; }

/* ----- features --------------------------------------------------------- */

.features { padding: 80px 0; }
.features h2 { max-width: 22ch; margin-bottom: 48px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid article {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.feature-grid p { color: var(--fg-muted); margin: 0; }

/* ----- cta -------------------------------------------------------------- */

.cta { padding: 40px 0 100px; }
.cta-box {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
}
.cta-box .cta-row { justify-content: center; }

/* ----- prose pages ------------------------------------------------------ */

.prose { padding: 60px 0 80px; }
.prose .container { max-width: 760px; }
.prose h2 { margin-top: 2.2em; }
.prose ul, .prose ol { color: var(--fg); padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
  border-bottom: 1px solid var(--border);
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-muted);
  font-weight: 400;
  font-size: 1.2rem;
}
.prose details[open] summary::after { content: "−"; }
.prose details { border-bottom: 0; }
.prose details p { padding: 0 0 16px; color: var(--fg-muted); }

/* ----- footer ----------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg-elev);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4em; }
.site-footer a { color: var(--fg-muted); }
.site-footer a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--fg-faint);
  font-size: 0.85rem;
}
