:root {
  --ink: #172033;
  --muted: #65718a;
  --line: #dce8f7;
  --white: #ffffff;
  --soft: #f7fbff;
  --blue: #19a9ff;
  --blue-deep: #2468ff;
  --pink: #ff3b97;
  --cyan: #75e4ff;
  --shadow: 0 24px 60px rgba(30, 107, 196, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 38%, #ffffff 100%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(220, 232, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 10px 24px rgba(25, 169, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 72px);
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-text,
.intro-band > p,
.tool-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 16px 32px rgba(255, 59, 151, 0.22);
}

.secondary-button {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
  border-radius: 40px;
  background: radial-gradient(circle at 20% 10%, rgba(255, 59, 151, 0.14), transparent 32%), linear-gradient(145deg, #e9f8ff, #ffffff 46%, #dff3ff);
}

.phone-frame {
  overflow: hidden;
  width: min(370px, 72vw);
  border: 10px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  background: white;
  box-shadow: var(--shadow);
}

.main-phone {
  transform: rotate(-3deg);
}

.phone-frame img,
.screen-stack img,
.dual-screens img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-card {
  position: absolute;
  width: 176px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(38, 94, 164, 0.18);
  backdrop-filter: blur(14px);
}

.metric-card strong {
  display: block;
  color: var(--blue-deep);
  font-size: 28px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-card-top {
  top: 96px;
  right: 6%;
}

.metric-card-bottom {
  left: 5%;
  bottom: 120px;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: start;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.intro-panel h2 {
  max-width: 520px;
}

.tool-bands {
  padding: clamp(26px, 5vw, 64px) 0;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.tool-row.reverse {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 0.95fr);
}

.tool-row.reverse .tool-copy {
  order: 2;
}

.tool-row.reverse .screen-stack {
  order: 1;
}

.tool-copy {
  max-width: 570px;
}

.tool-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  font-weight: 850;
}

.tool-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tool-copy li {
  position: relative;
  padding-left: 24px;
  color: #3d4960;
  font-weight: 700;
}

.tool-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--pink);
}

.screen-stack,
.dual-screens {
  justify-self: center;
}

.screen-stack {
  overflow: hidden;
  width: min(360px, 78vw);
  aspect-ratio: 9 / 16;
  border: 10px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: white;
}

.right-lean {
  transform: rotate(2.5deg);
}

.left-lean {
  transform: rotate(-2.5deg);
}

.dual-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 220px));
  gap: 18px;
}

.dual-screens img {
  aspect-ratio: 9 / 16;
  border: 8px solid white;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(30, 107, 196, 0.16);
}

.dual-screens img:first-child {
  margin-top: 44px;
}

.gallery-band {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #f6fbff, #ffffff);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 44px rgba(30, 107, 196, 0.12);
}

.gallery-grid img {
  aspect-ratio: 9 / 15;
  object-position: top;
}

.gallery-grid figcaption {
  padding: 13px 14px 15px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.contact-copy {
  max-width: 680px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #eff9ff);
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card strong,
.contact-card a {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--blue-deep);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero-band,
  .intro-band,
  .tool-row,
  .tool-row.reverse,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
  }

  .hero-visual {
    min-height: 590px;
  }

  .tool-row.reverse .tool-copy,
  .tool-row.reverse .screen-stack {
    order: initial;
  }

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

  .contact-card {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-text,
  .intro-band > p,
  .tool-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
    border-radius: 28px;
  }

  .phone-frame {
    width: min(300px, 80vw);
    border-radius: 30px;
  }

  .metric-card {
    width: 145px;
    padding: 13px 14px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .metric-card-top {
    top: 36px;
    right: 2%;
  }

  .metric-card-bottom {
    left: 2%;
    bottom: 58px;
  }

  .tool-row {
    padding-block: 50px;
  }

  .dual-screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dual-screens img {
    border-radius: 22px;
    border-width: 5px;
  }

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

  .gallery-grid figure:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 480px;
  }

  .metric-card {
    position: static;
    width: 100%;
    max-width: 230px;
    margin-top: 12px;
  }

  .hero-visual {
    align-content: center;
    gap: 8px;
    padding: 18px;
  }

  .main-phone {
    transform: none;
  }

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

  .gallery-grid figure:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* 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;
  }
}
