:root {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #090909;
  --muted: #66666f;
  --line: #dedee4;
  --accent: #7b4dff;
  --accent-soft: #eee9ff;
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 247, 244, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  letter-spacing: -.03em;
}

.nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.nav a:hover { background: var(--paper); color: var(--ink); }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  min-height: 620px;
  align-items: center;
}

.hero-copy {
  padding: clamp(30px, 6vw, 68px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  box-shadow: 0 26px 80px rgba(0,0,0,.06);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: .9;
  letter-spacing: -.075em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .96;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.045em;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(123, 77, 255, .28);
  transition: transform .2s, box-shadow .2s;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(123, 77, 255, .36); }

.text-link {
  color: var(--muted);
  font-weight: 800;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.panel-row {
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
}

.panel-row span,
.stat-label,
.number {
  display: block;
  margin-bottom: 10px;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.panel-row strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

.accent-row {
  background: var(--accent);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.accent-row span { color: rgba(255,255,255,.72); }

.section-heading {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:last-child,
.gallery-intro p:last-child,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 24px;
  align-items: stretch;
}

.phone-card,
.gallery figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.phone-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.dashboard-stack {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: .95;
  letter-spacing: -.06em;
}

.stat-card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.neon-card {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.neon-card .stat-label { color: var(--accent); }
.neon-card p { color: #cfcfd6; }

.features {
  display: grid;
  gap: 12px;
}

.feature-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.number { color: var(--accent); }

.feature-band p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.gallery-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #ececf4;
}

.contact-card {
  display: grid;
  justify-items: start;
  padding: clamp(32px, 7vw, 72px);
  background: linear-gradient(135deg, #fff 0%, #fff 58%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
}

.contact-card h2 { max-width: 760px; }
.contact-card p { max-width: 620px; }

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero,
  .section-heading,
  .showcase-grid,
  .feature-band { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 36px; }
  .accent-row { min-height: 140px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery figure { max-width: 420px; }
}

@media (max-width: 520px) {
  .section { width: min(100% - 28px, 1120px); padding: 48px 0; }
  .nav { width: 100%; justify-content: space-between; }
  .hero-copy { padding: 28px; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .feature-band { padding: 22px; }
  .contact-card .button { width: 100%; font-size: 13px; }
}

/* Generator safety overrides */
h1,
.hero h1,
[class*="hero"] h1 {
  font-size: clamp(2.35rem, 5vw, 4rem) !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  h1,
  .hero h1,
  [class*="hero"] h1 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
    line-height: 1.08 !important;
  }
}

.user-policy-section {
  background: #f7f7fb !important;
  color: #191927 !important;
  padding: 56px 18px !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.user-policy-inner {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 56px 72px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.user-policy-inner h2 {
  margin: 0 0 48px !important;
  color: #10101f !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  font-weight: 900 !important;
}

.user-policy-inner h3 {
  margin: 34px 0 14px !important;
  color: #000 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

.user-policy-inner p {
  margin: 0 0 14px !important;
  color: #555 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.user-policy-inner a {
  color: #d83260 !important;
  text-decoration: underline !important;
}

@media (max-width: 720px) {
  .user-policy-inner {
    padding: 34px 22px !important;
  }
}
