/* Niura Gym — static site. No inline styles or scripts (the CSP forbids them). */

:root {
  color-scheme: dark;
  --bg: #07090b;
  --bg-2: #0d1114;
  --card: #11161a;
  --card-2: #161c21;
  --line: #222a31;
  --text: #f2f5f3;
  --sub: #9aa5a0;
  --green: #1db954;
  --green-ink: #04140a;
  --green-soft: rgba(29, 185, 84, 0.14);
  --orange: #ff8a00;
  --orange-soft: rgba(255, 138, 0, 0.14);
  --blue: #2f80ed;
  --radius: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }

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

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--sub); text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--text); }
@media (max-width: 640px) { nav a.opt { display: none; } }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: 0.01em;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: var(--green-ink); }
.btn.primary:hover { background: #22cc5e; }
.btn.ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.btn.ghost:hover { border-color: #3a454e; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }

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

.hero { position: relative; overflow: hidden; padding: 40px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(29,185,84,0.22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -260px; bottom: -320px; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(255,138,0,0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--sub); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(29,185,84,0); } }

.hero h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 900; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { margin: 24px 0 34px; font-size: clamp(18px, 2vw, 21px); color: var(--sub); max-width: 31em; }
@media (max-width: 900px) { .hero .lead { margin-left: auto; margin-right: auto; } }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) { .cta { justify-content: center; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--sub); font-size: 14px; }
.trust span::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }
@media (max-width: 900px) { .trust { justify-content: center; } }

/* ------------------------------------------------------------------ watch display
   Just the round display: thin brushed-metal ring, black glass, a soft reflection.
   No strap or crown: a drawn watch body looks fake next to real photos. */

.watch { position: relative; margin: 0 auto; width: 100%; max-width: 340px; aspect-ratio: 1; }
@media (max-width: 900px) { .watch:not(.small) { max-width: 250px; } }
.watch .case {
  position: absolute; inset: 0; border-radius: 50%; padding: 2.4%;
  background: conic-gradient(from 200deg, #70767d, #1c2024 22%, #9aa0a6 42%, #262a2e 62%, #5f656c 82%, #70767d);
  box-shadow: 0 50px 90px -24px rgba(0,0,0,.85), 0 18px 40px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.7);
}
.watch .case::after { /* glass reflection */
  content: ""; position: absolute; inset: 2.4%; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(120% 70% at 28% 8%, rgba(255,255,255,.13), rgba(255,255,255,0) 45%),
    radial-gradient(60% 40% at 80% 95%, rgba(255,255,255,.04), rgba(255,255,255,0) 60%);
}
.watch .bezel {
  width: 100%; height: 100%; border-radius: 50%; background: #030303; padding: 6%;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.035);
}
.watch .screen { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #000; }
.watch .screen img { width: 100%; height: 100%; object-fit: cover; }

.watch.small { max-width: 230px; }

/* ------------------------------------------------------------------ sections */

section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { color: var(--green); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 900; }
.section-head p { color: var(--sub); font-size: 19px; margin-top: 18px; }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* modes: alternating rows */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mode + .mode { margin-top: 110px; }
.mode.flip .mode-art { order: 2; }
@media (max-width: 860px) {
  .mode, .mode.flip { grid-template-columns: 1fr; gap: 36px; }
  .mode.flip .mode-art { order: 0; }
}
.mode h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin-bottom: 16px; }
.mode p.lead { color: var(--sub); font-size: 18px; margin-bottom: 24px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.tag.green { color: var(--green); background: var(--green-soft); }
.tag.orange { color: var(--orange); background: var(--orange-soft); }
.tag.blue { color: #6aa7ff; background: rgba(47,128,237,.15); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 8px; top: 9px; width: 5px; height: 9px;
  border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.pair figure { margin: 0; }
.pair figcaption { text-align: center; color: var(--sub); font-size: 14px; margin-top: 14px; }

/* phase strip */
.phases { display: flex; gap: 6px; margin: 28px 0 0; height: 14px; border-radius: 999px; overflow: hidden; }
.phases i { display: block; height: 100%; }
.phases .p { background: var(--blue); flex: 1; }
.phases .w { background: var(--green); flex: 4; }
.phases .r { background: var(--orange); flex: 2; }
.phases-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--sub); }
.phases-legend b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.phases-legend .p { background: var(--blue); }
.phases-legend .w { background: var(--green); }
.phases-legend .r { background: var(--orange); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  counter-increment: step; position: relative;
}
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 20px;
  background: var(--green); color: var(--green-ink); font-weight: 900; font-size: 20px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--sub); font-size: 16px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: #33403a; transform: translateY(-2px); }
.feature .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-soft); color: var(--green);
}
.feature .ico.o { background: var(--orange-soft); color: var(--orange); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--sub); font-size: 15.5px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-family: var(--mono); font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.stat span { color: var(--sub); font-size: 15px; }

/* privacy callout */
.privacy-card {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, rgba(29,185,84,.12), rgba(29,185,84,.02) 60%), var(--card);
  border: 1px solid #1f3a2a; border-radius: 28px; padding: 44px;
}
@media (max-width: 700px) { .privacy-card { grid-template-columns: 1fr; text-align: center; padding: 32px; } .privacy-card .shield { margin: 0 auto; } }
.shield { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: var(--green); color: var(--green-ink); }
.shield svg { width: 44px; height: 44px; }
.privacy-card h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; }
.privacy-card p { color: var(--sub); }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--sub); padding: 0 0 22px; }

/* final cta */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(29,185,84,.16), transparent 70%); pointer-events: none;
}
.final .wrap { position: relative; }
.final img.app-icon { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 20px 60px rgba(29,185,84,.35); }
.final h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; }
.final p { color: var(--sub); font-size: 19px; margin: 18px auto 34px; max-width: 32em; }
.final .cta { justify-content: center; }

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

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--sub); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot nav { gap: 22px; }
.foot nav a { font-size: 14px; }

/* ------------------------------------------------------------------ legal pages */

.doc { padding: 32px 0 96px; max-width: 740px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; margin-bottom: 12px; }
.doc .updated { color: var(--sub); font-size: 15px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--sub); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .summary {
  background: var(--green-soft); border: 1px solid #1f3a2a; border-radius: 16px; padding: 20px 24px; color: var(--text);
}

/* ------------------------------------------------------------------ photography */

/* Hero over a full-bleed photo: dark on the text side, the photo shows through on the right. */
.hero.photo {
  background:
    linear-gradient(90deg, rgba(7,9,11,.97) 0%, rgba(7,9,11,.88) 38%, rgba(7,9,11,.3) 68%, rgba(7,9,11,.15) 100%),
    linear-gradient(180deg, rgba(7,9,11,0) 60%, var(--bg) 100%),
    url("/img/hero.webp") center right / cover no-repeat;
  padding: 72px 0 120px;
}
.hero.photo::before { background: radial-gradient(closest-side, rgba(29,185,84,0.16), transparent 70%); }
@media (max-width: 900px) {
  .hero.photo {
    background:
      linear-gradient(180deg, rgba(7,9,11,.92) 0%, rgba(7,9,11,.82) 55%, rgba(7,9,11,.7) 80%, var(--bg) 100%),
      url("/img/hero.webp") 70% center / cover no-repeat;
  }
}

/* Mode rows: a photo with the watch floating over its corner. */
.shot { position: relative; padding: 0 0 40px 40px; }
.shot .photo-img {
  width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  filter: saturate(.9) contrast(1.05);
}
.shot .watch.float {
  position: absolute; left: 0; bottom: 0; width: 44%; max-width: 230px;
}
.shot .watch.float .case { box-shadow: 0 34px 70px -10px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.7); }
.badge {
  position: absolute; top: 22px; right: 22px;
  font: 800 13px/1 var(--mono); letter-spacing: .06em;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(7,9,11,.72); border: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge.orange { color: var(--orange); }
.badge.green { color: var(--green); }
@media (max-width: 860px) { .shot { padding: 0 0 30px 24px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .gallery figure { aspect-ratio: 16 / 11; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(7,9,11,.92));
}
.gallery figcaption b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.gallery figcaption span { color: var(--sub); font-size: 15px; }

/* Final call to action over a photo */
.final.photo-bg {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7,9,11,.86) 25%, rgba(7,9,11,.86) 75%, var(--bg) 100%),
    url("/img/final.webp") center 30% / cover no-repeat;
  padding: 140px 0;
}
