:root {
  --midnight: #061620;
  --ink: #081f2b;
  --deep-teal: #06373a;
  --teal: #35d0c4;
  --parchment: #efe2c1;
  --warm-ivory: #fbf1d0;
  --aged: #d8c295;
  --gold: #c7963b;
  --bright-gold: #f4d379;
  --red: #b65a4e;
  --text: #fff8df;
  --muted: rgba(255, 248, 223, 0.72);
  --muted-strong: rgba(255, 248, 223, 0.86);
  --line: rgba(244, 211, 121, 0.28);
  --shadow: rgba(0, 0, 0, 0.35);
  color-scheme: dark;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  background: var(--midnight);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 10%, rgba(53, 208, 196, 0.16), transparent 34rem),
    radial-gradient(circle at 8% 8%, rgba(244, 211, 121, 0.10), transparent 28rem),
    linear-gradient(180deg, #031018 0%, var(--midnight) 44%, #031018 100%);
  color: var(--text);
}

body.light-page {
  background:
    radial-gradient(circle at 88% 5%, rgba(53, 208, 196, 0.14), transparent 28rem),
    linear-gradient(180deg, #031018 0%, var(--midnight) 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 16, 24, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(53, 208, 196, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--bright-gold);
}

.button,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(244, 211, 121, 0.78);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bright-gold), var(--gold));
  color: #1f1709;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  background: rgba(6, 55, 58, 0.42);
  color: var(--text);
  border-color: rgba(53, 208, 196, 0.74);
}

.nav-button {
  min-height: 40px;
  padding: 0 18px;
}

.hero {
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(244, 211, 121, 0.22);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 82px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 620px;
  color: var(--text);
  font-size: clamp(3.2rem, 6.2vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero p,
.page-hero p {
  margin: 24px 0 0;
  max-width: 570px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-art {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  position: absolute;
  width: min(35vw, 260px);
  min-width: 185px;
  aspect-ratio: 0.55;
  border: 2px solid rgba(244, 211, 121, 0.44);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(160deg, #06131c, #082433 62%, #031018);
  box-shadow: 0 22px 58px var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  top: 12px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #030b10;
}

.phone-main {
  right: 17%;
  top: 18px;
}

.phone-side {
  right: 0;
  top: 92px;
  transform: scale(0.84);
  opacity: 0.78;
}

.phone-lines {
  position: absolute;
  inset: 68px 28px 28px;
  display: grid;
  align-content: start;
  gap: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.phone-lines strong {
  color: var(--bright-gold);
  font-size: 0.92rem;
  text-align: center;
}

.phone-lines span {
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 248, 223, 0.16);
}

.phone-lines span:nth-child(4),
.phone-lines span:nth-child(7) {
  width: 78%;
}

.phone-circle {
  width: 84px;
  height: 84px;
  margin: 6px auto;
  border-radius: 50%;
  border: 6px solid rgba(244, 211, 121, 0.86);
  border-left-color: rgba(244, 211, 121, 0.22);
}

.card-stack {
  position: relative;
  z-index: 2;
  width: min(38vw, 330px);
  min-width: 230px;
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.42));
}

.card-stack::before,
.card-stack::after {
  content: "";
  position: absolute;
  width: 86%;
  height: 92%;
  border-radius: 24px;
  border: 2px solid rgba(244, 211, 121, 0.62);
  background: linear-gradient(145deg, #082c33, #07131b);
  transform-origin: bottom center;
}

.card-stack::before {
  transform: rotate(-10deg) translateX(-24px);
}

.card-stack::after {
  transform: rotate(10deg) translateX(24px);
}

.icon-card {
  position: relative;
  z-index: 3;
  width: 76%;
  border-radius: 24px;
  border: 3px solid rgba(244, 211, 121, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 248, 223, 0.12), 0 0 42px rgba(53, 208, 196, 0.34);
}

.sound-ring {
  position: absolute;
  z-index: 1;
  width: min(54vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 208, 196, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 36px rgba(53, 208, 196, 0.18), 0 0 52px rgba(53, 208, 196, 0.18);
}

.sound-ring.two {
  width: min(42vw, 390px);
}

.band {
  padding: 74px 0;
}

.band.parchment {
  color: rgba(0, 0, 0, 0.84);
  background:
    radial-gradient(circle at 22% 0%, rgba(199, 150, 59, 0.12), transparent 24rem),
    linear-gradient(135deg, var(--warm-ivory), var(--parchment) 64%, var(--aged));
}

.band.dark {
  border-block: 1px solid rgba(53, 208, 196, 0.18);
  background:
    radial-gradient(circle at 82% 50%, rgba(53, 208, 196, 0.16), transparent 28rem),
    linear-gradient(180deg, #031018, var(--ink));
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-grid,
.tool-grid,
.privacy-grid,
.support-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.privacy-grid {
  grid-template-columns: 0.95fr repeat(3, 1fr);
}

.support-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.feature,
.tool,
.privacy-point,
.support-card,
.legal-card {
  min-width: 0;
}

.feature,
.tool {
  padding: 4px 18px 0;
  text-align: center;
  border-left: 1px solid rgba(91, 63, 21, 0.18);
}

.feature:first-child,
.tool:first-child {
  border-left: 0;
}

.icon-circle {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bright-gold);
  background: radial-gradient(circle at 35% 25%, #123846, #061720 70%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 248, 223, 0.16), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.icon-circle svg,
.tool svg,
.privacy-icon svg,
.support-icon svg,
.support-card svg,
.legal-card svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3,
.tool h3,
.privacy-point h3,
.support-card h3,
.legal-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.feature p,
.tool p {
  margin: 10px 0 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
}

.privacy-lead h2,
.support-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.02;
}

.privacy-lead p,
.support-copy p,
.privacy-point p,
.support-card p,
.legal-card p,
.legal-card li {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.72;
}

.privacy-point {
  padding-left: 24px;
  border-left: 1px solid rgba(244, 211, 121, 0.24);
}

.privacy-icon,
.support-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--bright-gold);
  border: 1px solid rgba(244, 211, 121, 0.64);
  background: rgba(6, 55, 58, 0.32);
  box-shadow: 0 0 28px rgba(53, 208, 196, 0.16);
}

.support-art {
  display: grid;
  gap: 16px;
}

.support-card,
.legal-card {
  padding: 24px;
  border: 1px solid rgba(244, 211, 121, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 31, 43, 0.82), rgba(3, 16, 24, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.support-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.support-card .support-icon {
  margin: 0;
}

.page-hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid rgba(244, 211, 121, 0.18);
}

.page-hero-inner,
.legal-layout {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-layout {
  padding: 44px 0 76px;
  display: grid;
  gap: 20px;
}

.legal-card h2 {
  color: var(--text);
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card strong {
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--line);
  background: #031018;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--bright-gold);
}

@media (max-width: 880px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:not(.nav-button) {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 52px 0 64px;
  }

  .hero-art {
    min-height: 380px;
  }

  .phone-main {
    right: 26%;
  }

  .phone-side {
    right: 9%;
  }

  .card-stack {
    width: min(64vw, 310px);
  }

  .feature-grid,
  .tool-grid,
  .privacy-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .tool,
  .privacy-point {
    padding: 0;
    border-left: 0;
  }

  .tool-grid {
    gap: 34px;
  }

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

@media (max-width: 560px) {
  .brand {
    font-size: 1.08rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-button {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 320px;
  }

  .phone {
    min-width: 150px;
    border-radius: 28px;
  }

  .phone-main {
    right: 18%;
  }

  .phone-side {
    display: none;
  }

  .card-stack {
    min-width: 210px;
  }

  .band {
    padding: 56px 0;
  }

  .support-card {
    grid-template-columns: 1fr;
  }
}
