/* Glowmote — cappsule.com.tr/glowmote/
   The page is the wall behind a TV. Light is the only decoration and it always comes from
   behind something: the TV in the hero, the direction ring in the remote section.
   Colours are the app's own (Glowmote/Components/Theme.swift). True black, as on the OLED.
   System type on purpose: on an iPhone this page is set in the same face as the app, and the
   page loads nothing from anyone else. */

:root{
  --black:#000;
  --ink:rgba(255,255,255,.94);
  --dim:rgba(255,255,255,.64);
  --hairline:rgba(255,255,255,.12);
  --glass:rgba(255,255,255,.07);
  --glass-edge:rgba(255,255,255,.16);
  --accent:#c4cfff;
  --power:#ff4d45;
  --online:#3ddb85;
  --standby:#ff9e0a;
  --violet:#6b4dff; --blue:#2e8cff; --teal:#1ac7ba; --amber:#ffb347; --rose:#ff5c7a; --purple:#b04dff;
  --sans:-apple-system,"SF Pro Text","SF Pro Display",system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:1120px;
  --gutter:clamp(20px,4.5vw,44px);
  color-scheme:dark;
}

@property --spin{ syntax:"<angle>"; inherits:false; initial-value:210deg; }

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--black); color:var(--ink);
  font-family:var(--sans); font-size:1.0625rem; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,p,ul,ol,dl,dd,figure,table{ margin:0; }
ul,ol{ padding:0; list-style:none; }
img{ max-width:100%; display:block; }
a{ color:var(--accent); text-decoration-thickness:1px; text-underline-offset:.2em; }
a:hover{ text-decoration-thickness:2px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }
button{ font:inherit; color:inherit; }
.wrap{ width:100%; max-width:calc(var(--wrap) + 2 * var(--gutter)); margin-inline:auto; padding-inline:var(--gutter); }
.skip{ position:absolute; left:-9999px; top:8px; background:#fff; color:#000; padding:10px 16px; border-radius:999px; z-index:10; }
.skip:focus{ left:var(--gutter); }

h1,h2{ font-weight:700; letter-spacing:-.025em; line-height:1.05; text-wrap:balance; }
h2{ font-size:clamp(1.75rem,1.2rem + 2.2vw,2.75rem); }
h3{ font-size:1.0625rem; font-weight:600; letter-spacing:-.005em; line-height:1.3; }
.dim{ color:var(--dim); }
.measure{ max-width:34rem; }

/* ── header ───────────────────────────────────────────────────────────── */
.site-header{ position:relative; z-index:3; padding-block:20px; }
.site-header .wrap{ display:flex; align-items:center; gap:20px; }
.brand{ display:inline-flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; font-weight:700; letter-spacing:-.01em; font-size:1.125rem; }
.brand img{ width:30px; height:30px; border-radius:7px; }
.nav{ margin-left:auto; display:flex; align-items:center; gap:clamp(14px,2.4vw,28px); }
.nav a{ color:var(--dim); text-decoration:none; font-size:.9375rem; }
.nav a:hover{ color:var(--ink); }
.nav .nav-store{ color:#000; }
@media (max-width:760px){ .nav a:not(.nav-store){ display:none; } }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 22px;
  border-radius:999px; font-weight:600; font-size:.9375rem; text-decoration:none; white-space:nowrap;
  background:#fff; color:#000; border:1px solid #fff;
}
.btn:hover{ background:rgba(255,255,255,.86); }
.btn-quiet{ background:var(--glass); color:var(--ink); border-color:var(--glass-edge); }
.btn-quiet:hover{ background:rgba(255,255,255,.13); }

/* ── hero: a TV on a wall ─────────────────────────────────────────────── */
.stage{ position:relative; padding-block:clamp(28px,6vw,72px) clamp(48px,7vw,88px); overflow-x:clip; }
.tv{ position:relative; width:min(100%,920px); margin-inline:auto; }
.glow{
  position:absolute; inset:-10% -7%; border-radius:18%;
  filter:blur(clamp(36px,6vw,74px)) saturate(1.15);
  opacity:0; transition:opacity .9s ease; pointer-events:none;
}
.glow-video{ background:conic-gradient(from var(--spin),var(--violet),var(--blue),var(--teal),var(--amber),var(--rose),var(--purple),var(--violet)); animation:drift 48s linear infinite; }
.glow-lava{ background:conic-gradient(from 210deg,#ff3b1f,#ff7a1a,#ffb347,#ff2d55,#b31217,#ff3b1f); }
.glow-water{ background:conic-gradient(from 210deg,#0a3dff,#1ac7ba,#2e8cff,#4b2bff,#0b7bff,#0a3dff); }
.glow-nature{ background:conic-gradient(from 210deg,#1dbf73,#a8e05f,#1ac7ba,#3ddb85,#0e9f6e,#1dbf73); }
.glow-white{ background:conic-gradient(from 210deg,#ffe2b8,#ffd08a,#fff1dc,#ffc98f,#ffe2b8); }
@keyframes drift{ to{ --spin:570deg; } }
.stage[data-power="on"][data-light="video"] .glow-video,
.stage[data-power="on"][data-light="lava"] .glow-lava,
.stage[data-power="on"][data-light="water"] .glow-water,
.stage[data-power="on"][data-light="nature"] .glow-nature{ opacity:.82; }
.stage[data-power="on"][data-light="white"] .glow-white{ opacity:.6; }

.tv-screen{
  position:relative; aspect-ratio:16/9; min-height:12.5rem; width:100%;
  display:grid; place-content:center; padding:6% 7%; text-align:center;
  background:#000; border-radius:clamp(8px,1.2vw,14px);
  box-shadow:0 0 0 1px rgba(255,255,255,.14), 0 0 0 clamp(3px,.5vw,6px) #000;
}
.tv-screen h1{ font-size:clamp(2rem,.9rem + 5.4vw,4.75rem); transition:opacity .9s ease; }
.stage[data-power="off"] .tv-screen h1{ opacity:.34; }
.tv-foot{ width:26%; height:5px; margin:clamp(10px,1.6vw,18px) auto 0; border-radius:3px; background:rgba(255,255,255,.16); position:relative; }

.deck{ position:relative; margin-top:clamp(28px,4.5vw,48px); display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 12px; }
.deck-state{ display:inline-flex; align-items:center; gap:8px; min-width:7.5rem; font-size:.9375rem; color:var(--dim); }
.deck-state::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--online); }
.stage[data-power="off"] .deck-state::before{ background:var(--standby); }
.deck-lights{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.key{
  display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:0 18px 0 14px;
  border-radius:999px; border:1px solid var(--glass-edge); background:var(--glass);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  font-size:.9375rem; font-weight:600; cursor:pointer; transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.key:hover{ background:rgba(255,255,255,.14); }
.key-light[aria-pressed="true"]{ background:rgba(255,255,255,.94); color:#000; border-color:#fff; }
.key:disabled{ opacity:.4; cursor:default; }
.key .swatch{ width:14px; height:14px; border-radius:50%; flex:none; box-shadow:0 0 0 1px rgba(0,0,0,.25) inset; }
.sw-video{ background:conic-gradient(var(--violet),var(--blue),var(--teal),var(--amber),var(--rose),var(--purple),var(--violet)); }
.sw-lava{ background:linear-gradient(135deg,#ffb347,#ff3b1f); }
.sw-water{ background:linear-gradient(135deg,#1ac7ba,#0a3dff); }
.sw-nature{ background:linear-gradient(135deg,#a8e05f,#0e9f6e); }
.sw-white{ background:#ffe2b8; }
.key-power{ width:48px; min-height:48px; padding:0; justify-content:center; background:rgba(255,77,69,.26); border-color:rgba(255,77,69,.55); }
.key-power:hover{ background:rgba(255,77,69,.4); }
.key-power[aria-pressed="false"]{ background:var(--glass); border-color:var(--glass-edge); }
.key-power svg{ width:20px; height:20px; }
.deck-note{ margin:14px auto 0; text-align:center; font-size:.875rem; color:var(--dim); max-width:36rem; text-wrap:balance; }

.pitch{ position:relative; margin-top:clamp(40px,6vw,72px); display:grid; gap:24px; justify-items:center; text-align:center; }
.pitch .lede{ font-size:clamp(1.125rem,1rem + .6vw,1.375rem); line-height:1.45; max-width:40rem; text-wrap:pretty; }
.pitch .actions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.pitch .fits{ font-size:.9375rem; color:var(--dim); max-width:38rem; text-wrap:pretty; }

/* ── bands ────────────────────────────────────────────────────────────── */
.band{ padding-block:clamp(52px,6.5vw,96px); overflow-x:clip; }
.split{ display:grid; gap:clamp(36px,6vw,96px); align-items:start; }
@media (min-width:900px){ .split{ grid-template-columns:minmax(0,5fr) minmax(0,7fr); } }
.split > header{ display:grid; gap:18px; }
.split > header p{ color:var(--dim); max-width:28rem; text-wrap:pretty; }

.rows > li, .rows > div{ display:grid; gap:4px 28px; padding-block:18px; border-top:1px solid var(--hairline); }
.rows > li:last-child, .rows > div:last-child{ border-bottom:1px solid var(--hairline); }
@media (min-width:620px){ .rows > li, .rows > div{ grid-template-columns:minmax(0,13rem) minmax(0,1fr); } }
.rows dt, .rows h3{ font-weight:600; font-size:1.0625rem; }
.rows dd, .rows p{ color:var(--dim); }
.chips{ display:flex; flex-wrap:wrap; gap:8px 20px; }
.chips span{ display:inline-flex; align-items:center; gap:8px; }
.chips .swatch{ width:12px; height:12px; border-radius:50%; flex:none; }

/* the direction ring, as on the app icon */
.ring{ position:relative; width:min(100%,300px); aspect-ratio:1; margin-top:clamp(12px,3vw,36px); display:grid; place-items:center; }
.ring-halo{ position:absolute; inset:-6%; border-radius:50%; filter:blur(44px); opacity:.62;
  background:conic-gradient(from 210deg,var(--violet),var(--blue),var(--teal),var(--amber),var(--rose),var(--purple),var(--violet)); }
.ring-disc{ position:relative; width:82%; aspect-ratio:1; border-radius:50%; display:grid; place-items:center;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
.ring-ok{ width:44%; aspect-ratio:1; border-radius:50%; display:grid; place-items:center; font-weight:700; letter-spacing:.02em;
  background:radial-gradient(circle at 50% 35%,#2b2b2b,#050505); border:1px solid rgba(255,255,255,.12); }
.ring-disc i{ position:absolute; width:13px; height:13px; border:solid #fff; border-width:3px 3px 0 0; border-radius:2px; }
.ring-disc .up{ top:10%; transform:rotate(-45deg); }
.ring-disc .down{ bottom:10%; transform:rotate(135deg); }
.ring-disc .left{ left:10%; transform:rotate(-135deg); }
.ring-disc .right{ right:10%; transform:rotate(45deg); }

.trio{ display:grid; gap:clamp(28px,4vw,56px); margin-top:clamp(36px,5vw,64px); }
@media (min-width:820px){ .trio{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.trio > div{ border-top:1px solid var(--hairline); padding-top:20px; display:grid; gap:10px; align-content:start; }
.trio p, .trio li{ color:var(--dim); }
.trio ul{ display:grid; gap:4px; }
.aside{ margin-top:clamp(28px,4vw,44px); color:var(--dim); max-width:44rem; text-wrap:pretty; }

.steps{ counter-reset:step; display:grid; gap:0; }
.steps li{ counter-increment:step; display:grid; grid-template-columns:3.25rem minmax(0,1fr); gap:4px 12px; padding-block:20px; border-top:1px solid var(--hairline); }
.steps li:last-child{ border-bottom:1px solid var(--hairline); }
.steps li::before{ content:counter(step); grid-row:1 / span 2; font-size:2.25rem; font-weight:700; line-height:1; letter-spacing:-.03em; color:var(--accent); }
.steps p{ color:var(--dim); grid-column:2; }

table{ width:100%; border-collapse:collapse; }
th,td{ text-align:left; vertical-align:top; padding:14px 0; border-top:1px solid var(--hairline); }
tr:last-child > *{ border-bottom:1px solid var(--hairline); }
th{ font-weight:600; padding-right:24px; width:42%; }
thead th{ color:var(--dim); font-weight:500; font-size:.9375rem; border-top:0; padding-top:0; }
td{ color:var(--dim); }

.faq details{ border-top:1px solid var(--hairline); }
.faq details:last-of-type{ border-bottom:1px solid var(--hairline); }
.faq summary{ cursor:pointer; list-style:none; padding:18px 36px 18px 0; position:relative; font-weight:600; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:6px; top:50%; width:9px; height:9px; margin-top:-7px; border:solid var(--dim); border-width:0 2px 2px 0; transform:rotate(45deg); transition:transform .2s ease; }
.faq details[open] summary::after{ transform:rotate(-135deg); margin-top:-2px; }
.faq details > div{ padding:0 0 20px; color:var(--dim); max-width:40rem; display:grid; gap:10px; }

.help{ margin-top:clamp(40px,6vw,72px); display:grid; gap:12px; }
.help a{ font-size:clamp(1.25rem,1rem + 1.2vw,1.75rem); font-weight:600; letter-spacing:-.01em; }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer{ border-top:1px solid var(--hairline); padding-block:40px 56px; font-size:.9375rem; color:var(--dim); }
.site-footer .wrap{ display:grid; gap:24px; }
.site-footer nav{ display:flex; flex-wrap:wrap; gap:8px 24px; }
.site-footer a{ color:var(--ink); }
.site-footer .fine{ max-width:52rem; font-size:.875rem; }

/* ── legal pages ──────────────────────────────────────────────────────── */
.legal{ padding-block:clamp(32px,6vw,80px) clamp(64px,9vw,120px); }
.legal-head{ display:grid; gap:16px; margin-bottom:clamp(36px,5vw,64px); }
.legal-head h1{ font-size:clamp(2.25rem,1.4rem + 4vw,4rem); }
.legal-head p{ color:var(--dim); }
.legal-grid{ display:grid; gap:clamp(32px,5vw,80px); align-items:start; }
@media (min-width:960px){ .legal-grid{ grid-template-columns:15rem minmax(0,1fr); } .toc{ position:sticky; top:24px; } }
.toc ol{ counter-reset:toc; display:grid; gap:8px; font-size:.9375rem; }
.toc li{ counter-increment:toc; display:grid; grid-template-columns:1.75rem 1fr; }
.toc li::before{ content:counter(toc); color:var(--dim); font-variant-numeric:tabular-nums; }
.toc a{ color:var(--dim); text-decoration:none; }
.toc a:hover{ color:var(--ink); }
.doc{ max-width:44rem; counter-reset:sec; }
.doc > * + *{ margin-top:1rem; }
.doc section{ counter-increment:sec; margin-top:clamp(40px,5vw,64px); scroll-margin-top:24px; }
.doc section > * + *{ margin-top:1rem; }
.doc h2{ font-size:clamp(1.375rem,1.1rem + 1vw,1.75rem); letter-spacing:-.015em; line-height:1.2; display:grid; grid-template-columns:2.25rem 1fr; }
.doc h2::before{ content:counter(sec); color:var(--accent); font-variant-numeric:tabular-nums; }
.doc h3{ margin-top:1.75rem; }
.doc p, .doc li{ color:rgba(255,255,255,.8); }
.doc strong{ color:var(--ink); font-weight:600; }
.doc ul{ display:grid; gap:8px; padding-left:1.25rem; list-style:disc; }
.doc ul li::marker{ color:var(--dim); }
.doc .short{ border:1px solid var(--glass-edge); background:var(--glass); border-radius:18px; padding:22px 24px; }
.doc .short p{ color:var(--ink); }
.doc th{ width:38%; }
.doc address{ font-style:normal; color:rgba(255,255,255,.8); }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .glow-video{ animation:none; }
  .glow, .tv-screen h1, .key, .faq summary::after{ transition:none; }
}
