:root {
  --bg: #f7f4ef;
  --bg-deep: #111318;
  --paper: #ffffff;
  --ink: #17181c;
  --mute: #6b6760;
  --gold: #b08d57;
  --gold-soft: rgba(176, 141, 87, 0.14);
  --line: rgba(23, 24, 28, 0.1);
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 90% -5%, rgba(176, 141, 87, 0.16) 0%, transparent 55%),
    radial-gradient(700px 420px at -5% 25%, rgba(23, 24, 28, 0.04) 0%, transparent 50%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo,
.hero-logo,
.contact-logo {
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
}

.nav nav {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
}

.nav nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(23, 24, 28, 0.68);
}

.nav nav a:hover,
.nav nav a:focus-visible {
  color: var(--ink);
}

.nav-call {
  display: none;
}

.btn-nav {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.8);
  justify-self: end;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
  z-index: 32;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover,
.btn-nav:hover,
.btn-primary:focus-visible,
.btn-nav:focus-visible {
  background: #2a2d34;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(23, 24, 28, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
}

.hero {
  padding: 6.25rem 0 2.25rem;
}

.hero-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: end;
}

.hero-copy {
  animation: rise 0.9s ease both;
}

.hero-logo {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.lede {
  margin: 0 0 1.35rem;
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--bg-deep);
  color: #f4f1ea;
  padding: 2rem 1.75rem;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(17, 19, 24, 0.18);
  animation: rise 1s ease 0.1s both;
}

.panel-stat {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #e4c89a;
}

.panel-copy {
  margin: 1rem 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.88);
}

.panel-source {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(244, 241, 234, 0.5);
  line-height: 1.4;
}

.section-head {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.label {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--mute);
  line-height: 1.6;
  font-size: 1.02rem;
}

.section-head-light {
  color: #f4f1ea;
}

.section-head-light h2 {
  color: #fff;
}

.section-head-light p:last-child {
  color: rgba(244, 241, 234, 0.68);
}

.why,
.templates,
.how {
  padding: 2.75rem 0 1.75rem;
}

.how {
  padding-bottom: 0.5rem;
}

.benefit-grid {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.benefit-grid article,
.google-points article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
  border-radius: 1rem;
}

.benefit-grid h3,
.google-points h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit-grid p,
.google-points p {
  margin: 0;
  color: var(--mute);
  line-height: 1.55;
}

.google {
  padding: 1.5rem 0 2rem;
}

.google-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(176, 141, 87, 0.22) 0%, transparent 55%),
    var(--bg-deep);
  color: #f4f1ea;
}

.google-shell .section-head {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem;
}

.stat-num {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #e4c89a;
}

.stat-text {
  margin: 0 0 0.75rem;
  color: rgba(244, 241, 234, 0.88);
  line-height: 1.45;
  font-size: 0.95rem;
}

.stat-source {
  margin: 0;
  color: rgba(244, 241, 234, 0.45);
  font-size: 0.72rem;
  line-height: 1.4;
}

.google-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.google-points article {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.google-points h3 {
  color: #fff;
  font-size: 1.35rem;
}

.google-points p {
  color: rgba(244, 241, 234, 0.68);
}

.proof {
  padding: 0.75rem 0 1.5rem;
}

.proof-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-shell .section-head,
.proof-shell > div {
  width: auto;
  margin: 0;
}

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.proof-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
}

.proof-list strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.proof-list span {
  color: var(--mute);
  line-height: 1.5;
}

.template-grid {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.template-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 24, 28, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.template-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(23, 24, 28, 0.08);
}

.template-preview {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
}

.template-a {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80");
}

.template-b {
  background-image: url("https://images.unsplash.com/photo-1551650975-87deedd944c3?auto=format&fit=crop&w=1200&q=80");
}

.template-c {
  background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1200&q=80");
}

.template-d {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80");
}

.template-info {
  padding: 1rem 1.05rem 1.15rem;
}

.template-info .code {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.template-info h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.template-info p {
  margin: 0;
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.45;
}

.steps {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.steps li > span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--mute);
  line-height: 1.5;
}

.contact {
  padding: 1.25rem 0 3rem;
}

.contact-panel {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  max-width: 38rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-logo {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.15rem;
}

.contact-panel .label {
  margin-bottom: 0.45rem;
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.contact-panel > p {
  margin: 0 0 1.4rem;
  color: var(--mute);
  line-height: 1.55;
}

.footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mute);
  font-size: 0.85rem;
}

.sources {
  margin: 0;
  max-width: 34rem;
  line-height: 1.45;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-shell,
  .proof-shell,
  .stat-grid,
  .google-points,
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
    width: min(1120px, calc(100% - 1.5rem));
  }

  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav nav {
    position: fixed;
    inset: 0 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 5rem 1.25rem 1.5rem;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 31;
  }

  .nav.is-open nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav nav a {
    padding: 0.95rem 0.25rem;
    font-size: 1.02rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav-call {
    display: block;
    margin-top: 0.75rem;
    font-weight: 700;
    color: var(--gold) !important;
    border-bottom: 0 !important;
  }

  .nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(0.34rem) rotate(45deg);
  }

  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-0.34rem) rotate(-45deg);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell,
  .section-head,
  .benefit-grid,
  .google-shell,
  .proof-shell,
  .template-grid,
  .steps,
  .contact-panel,
  .footer {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .google-shell {
    padding: 2.25rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .stat-grid,
  .google-points,
  .template-grid,
  .proof-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 5.25rem 0 1.75rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 8.5vw, 2.9rem);
  }

  .why,
  .templates,
  .how {
    padding: 2.25rem 0 1.25rem;
  }

  .how {
    padding-bottom: 0.25rem;
  }

  .google {
    padding: 1.25rem 0 1.75rem;
  }

  .contact {
    padding: 1rem 0 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    min-height: 2.85rem;
  }

  .proof-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-panel,
  .nav nav,
  .nav-toggle span {
    animation: none !important;
    transition: none !important;
  }

  .nav:not(.is-open) nav {
    opacity: 0 !important;
  }
}
