:root {
  --ivory: #f8f2e6;
  --paper: #fffaf0;
  --ink: #171713;
  --muted: #676259;
  --line: #e5dac8;
  --red: #c94d43;
  --blue: #176a91;
  --gold: #b9974d;
  --charcoal: #20201c;
  --shadow: 0 24px 70px rgba(36, 28, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.02em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 70px);
  background: rgba(248, 242, 230, 0.88);
  border-bottom: 1px solid rgba(229, 218, 200, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

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

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: 760px;
  padding: 70px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 95px 7% auto auto;
  width: 54%;
  height: 520px;
  background: linear-gradient(135deg, rgba(23, 106, 145, 0.14), rgba(185, 151, 77, 0.18));
  clip-path: polygon(18% 0, 100% 11%, 82% 100%, 0 86%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 10vw, 9.4rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.lead,
.feature-copy p,
.contact-strip p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-device {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
}

.hero-device img,
.feature-image img,
.gallery figure {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.gold-line {
  position: absolute;
  top: -28px;
  right: -18px;
  width: 110px;
  height: 8px;
  background: var(--gold);
  transform: rotate(-18deg);
}

.product-panel {
  padding: 44px 0 74px;
}

.panel-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 28px;
}

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

.product-card {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
}

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

.card-number {
  display: inline-block;
  margin-bottom: 50px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.red-accent {
  border-top: 6px solid var(--red);
}

.blue-accent {
  border-top: 6px solid var(--blue);
  transform: translateY(30px);
}

.gold-accent {
  border-top: 6px solid var(--gold);
  transform: translateY(-14px);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: 84px 0;
}

.feature-image {
  position: relative;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 13% -18px auto auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.9;
  z-index: -1;
}

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

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 15px 18px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 16px;
  color: var(--charcoal);
  font-weight: 800;
}

.gallery {
  padding: 68px 0 82px;
}

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

.gallery-title h2 {
  max-width: 760px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

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

.gallery figure:nth-child(2) {
  margin-top: 56px;
}

.gallery img {
  width: 100%;
}

figcaption {
  padding: 18px 20px 20px;
  color: var(--muted);
  font-weight: 800;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 52px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 34px;
}

.contact-strip .eyebrow {
  color: #e5bd63;
}

.contact-strip p {
  max-width: 660px;
  color: rgba(255, 250, 240, 0.76);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 24px;
  background: linear-gradient(135deg, var(--paper), #eadfcb);
  color: var(--ink);
  border-radius: 24px;
}

.contact-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

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

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .gallery-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .panel-heading,
  .split-feature,
  .gallery-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero::before {
    inset: auto 0 12% auto;
    width: 78%;
    height: 360px;
  }

  .hero-device,
  .stack-left,
  .blue-accent,
  .gold-accent {
    transform: none;
  }

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

  .card-number {
    margin-bottom: 28px;
  }

  .gallery figure:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    padding: 18px 14px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .product-card,
  .contact-strip {
    border-radius: 24px;
  }
}

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