/* temia.app — shared styles (landing, support, legal) */
:root {
  --bg: #08080a;
  --bg-2: #0f0f12;
  --card: #141418;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f4f1ec;
  --muted: #a39e97;
  --faint: #6f6a64;
  --accent: #f58736;
  --accent-2: #ffb15c;
  --radius: 22px;
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(8, 8, 10, 0.72); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1 var(--font); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--fg); color: #0b0b0c; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(245, 135, 54, 0.25); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---- hero ---- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(50% 50% at 70% 40%, rgba(245, 135, 54, 0.22), transparent 70%),
              radial-gradient(40% 40% at 20% 10%, rgba(255, 177, 92, 0.08), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,135,54,.18); }
h1 {
  margin: 22px 0 18px; font: 700 clamp(44px, 6.4vw, 78px)/1.0 var(--display); letter-spacing: -0.045em; text-wrap: balance;
}
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 520px; color: var(--muted); font-size: 19px; line-height: 1.55; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 18px; color: var(--faint); font-size: 13.5px; }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 250px; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 9px; background: #18181c;
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; position: relative; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .label {
  position: absolute; left: 12px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600;
}
.phone.p1 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; width: 270px; }
.phone.p2 { left: 0; top: 70px; transform: rotate(-7deg) scale(.9); z-index: 2; opacity: .9; }
.phone.p3 { right: 0; top: 70px; transform: rotate(7deg) scale(.9); z-index: 1; opacity: .9; }

/* ---- sections ---- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin: 12px 0 14px; font: 700 clamp(32px, 4.2vw, 52px)/1.05 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* trend wall */
.wall { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 16px; width: max-content; animation: slide 70s linear infinite; }
.wall:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tile { position: relative; width: 210px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); flex: none; }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tile span {
  position: absolute; inset: auto 0 0; padding: 40px 14px 14px; font-weight: 600; font-size: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.step .n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(245,135,54,.14); color: var(--accent); font-weight: 700; }
.step h3 { margin: 18px 0 8px; font: 650 21px/1.25 var(--display); letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.feature .media { aspect-ratio: 4 / 3.4; overflow: hidden; background: #000; }
.feature .media video, .feature .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.feature .body { padding: 24px 26px 28px; }
.feature h3 { margin: 0 0 8px; font: 650 22px/1.25 var(--display); letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); }

/* trust band */
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.band div { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.band b { display: block; font: 650 18px/1.3 var(--display); margin-bottom: 6px; }
.band span { color: var(--muted); font-size: 15px; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/1.4 var(--display); 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 { color: var(--muted); margin: 12px 0 0; max-width: 70ch; }

/* final cta */
.final { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 50% 100%, rgba(245,135,54,.22), transparent 70%); pointer-events: none; }
.final img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 26px; box-shadow: 0 20px 50px rgba(245,135,54,.3); }
.final h2 { margin: 0 auto 14px; max-width: 720px; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }
.final .cta-row { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---- document pages (support, privacy, terms) ---- */
.doc-hero { padding: 72px 0 28px; }
.doc-hero h1 { font-size: clamp(38px, 5vw, 56px); margin: 14px 0 10px; }
.doc-hero p { color: var(--muted); margin: 0; }
.doc { max-width: 780px; padding-bottom: 96px; }
.doc section { padding: 0; margin: 40px 0 0; }
.doc h2 { font-size: 24px; margin: 0 0 12px; letter-spacing: -0.02em; }
.doc h3 { font: 600 17px/1.4 var(--display); margin: 22px 0 8px; }
.doc p, .doc li { color: #d7d2cb; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--fg); }
.doc a { color: var(--accent-2); }
.doc .contact-info, .doc .card {
  padding: 22px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); margin-top: 8px;
}
.doc .contact-info p { margin: 4px 0; }
.doc .highlight { padding: 16px 18px; border-radius: 14px; background: rgba(245,135,54,.08); border: 1px solid rgba(245,135,54,.25); color: var(--fg); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 13.5px; color: var(--muted); }
.toc a:hover { color: var(--fg); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 520px; }
  .steps, .features, .band { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 520px) {
  .phone { width: 190px; } .phone.p1 { width: 220px; }
  .phones { height: 460px; }
  .hero { padding-top: 56px; }
  section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }
