:root {
  color-scheme: dark;
  --bg: #0f1317;
  --surface: #171d23;
  --surface-2: #1d242b;
  --text: #f2efe9;
  --muted: #b6bdc4;
  --gold: #d4a556;
  --gold-light: #f0cf88;
  --line: #303944;
  --danger: #d9895b;
  --max: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(212, 165, 86, 0.18);
  background: rgba(15, 19, 23, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(158px, 17vw, 205px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.1vw, 28px);
  font-size: 0.92rem;
}

.nav a {
  color: #d5d9dc;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-light);
}

.nav-status {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(212, 165, 86, 0.5);
  border-radius: 999px;
  color: var(--gold-light) !important;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 84px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/images/hero-home.jpg") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 19, 23, 0.99) 0%, rgba(15, 19, 23, 0.92) 44%, rgba(15, 19, 23, 0.34) 100%),
    linear-gradient(0deg, var(--bg), transparent 24%);
  content: "";
}

.hero-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: 68px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 7vw, 94px);
}

.hero-copy {
  max-width: 720px;
}

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

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 7.4vw, 7rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 650px;
  margin-bottom: 34px;
  color: #d7dce0;
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #11161b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(15, 19, 23, 0.42);
  color: #fff;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: #d6dadd;
  font-size: 0.92rem;
  list-style: none;
}

.trust-list li::before {
  margin-right: 8px;
  color: var(--gold);
  content: "✓";
  font-weight: 900;
}

.phone-preview {
  width: min(100%, 350px);
  margin: 0 auto;
  text-align: center;
}

.phone-frame {
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(240, 207, 136, 0.42);
  border-radius: 52px;
  background: #050708;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.62);
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 43px;
}

.phone-preview figcaption {
  margin-top: 14px;
  color: #c4c9ce;
  font-size: 0.82rem;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading > p:last-child,
.story-copy > p,
.system-card p,
.step-card p,
.launch-card > p:not(.eyebrow) {
  color: var(--muted);
}

.systems-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.system-card,
.step-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(29, 36, 43, 0.98), rgba(22, 28, 34, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.system-card {
  padding: 26px;
}

.system-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #282119;
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
}

.system-icon.heat {
  color: #ef6a4d;
}

.system-icon.water {
  color: #62c8f2;
}

.system-icon.cold {
  color: #b7d8ff;
}

.systems-section {
  padding-top: 76px;
}

.steps-section {
  width: 100%;
  max-width: none;
  padding: 96px max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid rgba(212, 165, 86, 0.13);
  border-bottom: 1px solid rgba(212, 165, 86, 0.13);
  background: #13181d;
}

.steps-section .section-heading,
.steps-section .steps-grid {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.steps-section .section-heading {
  margin-bottom: 36px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding: 30px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #11161b;
  font-weight: 900;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.story-copy {
  max-width: 650px;
}

.story-copy > p {
  font-size: 1.06rem;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.story-points span {
  padding: 8px 13px;
  border: 1px solid rgba(212, 165, 86, 0.34);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
}

.story-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.safety-section {
  padding-top: 0;
}

.safety-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 50px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(217, 137, 91, 0.45);
  border-radius: 34px;
  background: linear-gradient(135deg, #241f19, #171b1f);
}

.safety-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.safety-card > p {
  margin-bottom: 0;
  color: #d6d0ca;
  font-size: 1.05rem;
}

.launch-section {
  padding-top: 0;
}

.launch-card {
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(212, 165, 86, 0.36);
  border-radius: 38px;
  background:
    radial-gradient(circle at 80% 15%, rgba(212, 165, 86, 0.17), transparent 34%),
    #171d23;
  box-shadow: var(--shadow);
  text-align: center;
}

.launch-card h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.launch-card > p:not(.eyebrow) {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
}

.footer-inner a {
  color: var(--gold-light);
  font-weight: 750;
}

.page {
  width: min(860px, calc(100% - 48px));
  min-height: calc(100svh - 177px);
  margin: 0 auto;
  padding: 68px 0 90px;
}

.page-logo {
  display: none;
}

.page h1 {
  margin-bottom: 30px;
  font-size: clamp(2.8rem, 8vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.policy-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.policy-card h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
}

.policy-card a {
  color: var(--gold-light);
}

@media (max-width: 940px) {
  .nav > a:not(.support-link):not(.nav-status) {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.58fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 8.5vw, 5.4rem);
  }

  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner,
  .footer-inner,
  .hero-shell,
  .section,
  .page {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 72px;
    gap: 16px;
  }

  .brand img {
    width: 145px;
  }

  .nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .nav-status {
    min-height: 38px;
    padding: 0 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-position: 64% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(15, 19, 23, 0.68), rgba(15, 19, 23, 0.97) 46%, var(--bg) 100%);
  }

  .hero-shell {
    min-height: auto;
    padding: 62px 0 74px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16.8vw, 5rem);
  }

  .hero-description {
    font-size: 1.03rem;
  }

  .phone-preview {
    width: min(82vw, 330px);
  }

  .section {
    padding: 68px 0;
  }

  .systems-section {
    padding-top: 44px;
  }

  .steps-section {
    width: 100%;
    padding: 70px 16px;
  }

  .steps-grid,
  .story-section,
  .safety-card {
    grid-template-columns: 1fr;
  }

  .story-section {
    gap: 38px;
  }

  .story-visual {
    order: -1;
  }

  .safety-card {
    gap: 22px;
  }

  .footer-inner {
    padding: 26px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .page {
    padding: 48px 0 72px;
  }
}

@media (max-width: 480px) {
  .nav .support-link {
    display: none;
  }

  .nav-status {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.77rem;
  }

  .hero-shell {
    padding-top: 48px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 8px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .system-card,
  .step-card {
    padding: 24px;
  }

  .story-points {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-card .button {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 118px;
  }

  .nav-status {
    padding: 0 8px;
    font-size: 0.68rem;
  }
}

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

  .button {
    transition: none;
  }
}
