/* ALTiDUX — colours and type follow the app: volt lime on near-black. */

:root {
  --bg: #08090b;
  --bg-2: #0e1014;
  --card: #14171c;
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4f6f8;
  --muted: #a3acb8;
  --lime: #c7ff3d;
  --lime-deep: #8fd11f;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lime); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: #000; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 850; }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--lime); }

.lime { color: var(--lime); }
.center { text-align: center; }
.narrow { max-width: 680px; margin-inline: auto; color: var(--muted); }
.narrow-left { max-width: 620px; color: var(--muted); }

.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime); margin: 0 0 14px;
}

.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: #d5dbe3; max-width: 560px; }
.note, .fine { font-size: 0.86rem; color: var(--muted); }
.fine a { color: var(--muted); }

/* Buttons */

.button {
  display: inline-block; background: var(--lime); color: #000; font-weight: 800; text-decoration: none;
  padding: 15px 24px; border-radius: 999px; box-shadow: 0 0 34px rgba(199, 255, 61, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 0 44px rgba(199, 255, 61, 0.42); }
.button.small { padding: 10px 18px; font-size: 0.92rem; box-shadow: none; }
.link { color: var(--text); font-weight: 700; text-underline-offset: 5px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 28px 0 14px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Header */

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img:first-child { border-radius: 9px; }
.brand-word { width: 150px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: #cfd6de; text-decoration: none; font-size: 0.94rem; font-weight: 600; }
.nav a:hover { color: var(--lime); }

/* Hero */

.hero { position: relative; overflow: hidden; padding: 70px 0 60px; }
/* Behind the hero: a city on the left that turns into mountain
   country on the right. */
.hero-road, .hero-peak, .hero-shade { position: absolute; inset: 0; }
.hero-road {
  background: url("assets/map-london.jpg") 30% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 38%, transparent 62%);
  mask-image: linear-gradient(100deg, #000 0%, #000 38%, transparent 62%);
}
.hero-peak {
  background: url("assets/map-mountain.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 62%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 62%, #000 100%);
}
.hero-shade { background: linear-gradient(180deg, rgba(8, 9, 11, 0.74) 0%, rgba(8, 9, 11, 0.56) 50%, var(--bg) 100%); }

.profile { position: relative; margin-top: 34px; }
.profile svg { display: block; width: 100%; height: 120px; }
.profile-line { stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.profile-glow { stroke: var(--lime); stroke-width: 12; stroke-linejoin: round; opacity: 0.22; filter: blur(6px); vector-effect: non-scaling-stroke; }
.profile-dash { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-dasharray: 16 14; vector-effect: non-scaling-stroke; }
.profile-labels { display: flex; justify-content: space-between; margin-top: 6px; }
.profile-labels span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-devices { position: relative; min-height: 560px; }

/* Devices */

.phone {
  margin: 0; width: 270px; border-radius: 44px; padding: 9px; background: #1b1e24;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
}
.phone img { border-radius: 36px; width: 100%; }
.watch {
  margin: 0; width: 190px; border-radius: 46px; padding: 12px; background: #1b1e24;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.7);
}
.watch img { border-radius: 34px; width: 100%; }
.watch figcaption { text-align: center; font-size: 0.84rem; color: var(--muted); margin-top: 10px; font-weight: 600; }

.hero-devices .phone { position: absolute; width: 238px; }
.hero-devices .tilt-left { left: 0; top: 0; transform: rotate(-4deg); }
.hero-devices .tilt-right { right: 0; top: 46px; transform: rotate(4deg); }
.hero-devices .watch { position: absolute; left: 50%; bottom: 0; margin-left: -82px; width: 164px; z-index: 2; }

/* Sections */

.band, .feature { padding: 86px 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.band.slim { padding: 60px 0; }
.feature.alt { background: linear-gradient(180deg, var(--bg) 0%, #0b0d11 100%); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.steps strong { color: var(--text); }
.step-n {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--lime); color: #000; font-weight: 900; font-size: 1.15rem; margin-bottom: 18px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text > p { color: #cfd6de; }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px;
  border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg) scale(0.8);
}
.ticks strong { color: var(--text); }

.two-phones, .two-watches { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.two-phones .phone { width: 235px; }
.two-phones .lower { margin-top: 60px; }

/* The two worlds, side by side. */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.world {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  padding: 220px 30px 30px; background-size: cover; background-position: center top;
}
.world::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.05) 0%, rgba(8, 9, 11, 0.86) 34%, rgba(10, 12, 15, 0.97) 60%);
}
.world > * { position: relative; }
.world.road { background-image: url("assets/map-berlin.jpg"); }
.world.peak { background-image: url("assets/map-mountain.jpg"); }
.world-tag { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin: 0 0 8px; }
.world h3 { font-size: 1.7rem; }
.world .ticks { margin-top: 18px; }

.cards { display: grid; gap: 22px; margin-top: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.feature > .wrap > .cards.four { margin-top: 44px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0 24px 24px; }
.card h3 { margin-top: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card.plain { padding-top: 4px; border-top: 3px solid var(--lime); }
.card-img { width: calc(100% + 48px); max-width: none; margin: 0 -24px; height: 210px; object-fit: cover; }
.card-img.phone-crop { object-position: 50% 22%; }
.card-img.phone-crop.low { object-position: 50% 66%; }
.cards + .fine { margin-top: 28px; }

.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; }
.glossary div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.glossary dt { font-weight: 800; color: var(--lime); margin-bottom: 6px; }
.glossary dd { margin: 0; color: #c9d0d9; font-size: 0.97rem; }

.watches { max-width: 760px; }
.watches p { color: #c9d0d9; }

.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 750; font-size: 1.08rem; padding: 16px 40px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; color: var(--lime); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 30px; }

.notify { padding: 90px 0 100px; }
.notify-box {
  text-align: center; max-width: 720px; padding: 54px 28px; border-radius: 34px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(199, 255, 61, 0.16) 0%, rgba(199, 255, 61, 0.03) 45%, var(--card) 100%);
  border: 1px solid rgba(199, 255, 61, 0.28);
}
.notify-box img { margin: 0 auto 22px; border-radius: 20px; }
.notify-box p { color: #cfd6de; max-width: 520px; margin-inline: auto; }
.notify-box .button { margin: 18px 0 16px; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 60px; }
.foot-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-row p { max-width: 640px; }

/* Smaller screens */

@media (max-width: 980px) {
  .nav { display: none; }
  .top-row .button { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-text { order: 0; }
  .hero-devices { min-height: 0; height: 520px; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-road { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 58%); mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 58%); }
  .hero-peak { -webkit-mask-image: linear-gradient(180deg, transparent 34%, #000 58%, #000 100%); mask-image: linear-gradient(180deg, transparent 34%, #000 58%, #000 100%); }
  .steps, .cards.three, .duo { grid-template-columns: 1fr; }
  .cards.four, .glossary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .band, .feature { padding: 60px 0; }
  .brand-word { width: 118px; }
  .hero-devices { height: 410px; }
  .hero-devices .phone { width: 52%; border-radius: 32px; padding: 6px; }
  .hero-devices .phone img { border-radius: 26px; }
  .hero-devices .watch { width: 124px; margin-left: -62px; border-radius: 32px; padding: 8px; }
  .hero-devices .watch img { border-radius: 24px; }
  .profile svg { height: 84px; }
  .world { padding: 170px 22px 24px; }
  .two-phones { gap: 12px; }
  .two-phones .phone { width: 47%; border-radius: 30px; padding: 6px; }
  .two-phones .phone img { border-radius: 24px; }
  .two-phones .lower { margin-top: 36px; }
  .two-watches .watch { width: 47%; border-radius: 34px; padding: 8px; }
  .two-watches .watch img { border-radius: 26px; }
  .cards.four, .glossary { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
