:root {
  --primary: #090909;
  --primary-soft: #f3f3f0;
  --accent: #1d9a73;
  --accent-2: #b88a2a;
  --ink: #151515;
  --muted: #5f635f;
  --line: #e5e2da;
  --paper: #ffffff;
  --wash: #f8f6f1;
  --charcoal: #20201d;
  --shadow: 0 18px 45px rgba(12, 12, 10, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 226, 218, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--primary);
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(9, 9, 9, 0.18);
}

.btn-primary:hover {
  background: #262622;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
}

.btn-store {
  min-width: 180px;
  justify-content: flex-start;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 13px 18px;
}

.btn-store span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
}

.btn-store strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--wash);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

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

h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 720px;
}

.hero {
  overflow: hidden;
  min-height: calc(100vh - 76px);
  background:
    linear-gradient(135deg, rgba(248, 246, 241, 0.96), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 12% 22%, rgba(29, 154, 115, 0.14), transparent 28%);
}

.hero-grid {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

.hero-image-panel {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  height: 530px;
  width: min(100%, 520px);
  margin-left: auto;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}

.insight-stack {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(360px, 82%);
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row strong {
  color: var(--primary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(29, 154, 115, 0.1);
  color: #116b51;
  font-size: 13px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  height: 520px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(140deg, #111 0%, #25231d 58%, #1d6b55 120%);
}

.dark-band .lead,
.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-band .eyebrow {
  color: #8ce7c8;
}

.dark-band .eyebrow::before {
  background: #8ce7c8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.step {
  padding: 24px;
  min-height: 230px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.step .number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 24px;
}

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

.stat {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
}

.scenario-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(12, 12, 10, 0.05);
}

.quote {
  position: relative;
}

.quote::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 20px;
  color: rgba(29, 154, 115, 0.2);
  font-size: 76px;
  line-height: 1;
  font-family: Georgia, serif;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 28px;
  padding: 42px;
  border-radius: 26px;
  background: var(--primary);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 80px 0 54px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 840px;
}

.about-visual,
.download-visual,
.contact-visual {
  height: 520px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.principle-list {
  display: grid;
  gap: 16px;
}

.principle {
  padding: 24px;
  border-left: 5px solid var(--accent);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 24px rgba(12, 12, 10, 0.05);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.timeline-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline-item time {
  color: var(--accent);
  font-weight: 900;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 98px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}

.legal-aside p {
  color: rgba(255, 255, 255, 0.72);
}

.legal-doc {
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.highlight {
  padding: 20px;
  border-radius: 16px;
  background: rgba(29, 154, 115, 0.1);
  border: 1px solid rgba(29, 154, 115, 0.22);
}

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

.contact-cards {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.form-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 800;
  color: var(--primary);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(29, 154, 115, 0.16);
  border-color: var(--accent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-note {
  margin-top: 14px;
  min-height: 24px;
  color: #116b51;
  font-weight: 800;
}

.download-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.site-footer {
  padding: 54px 0 30px;
  background: #111;
  color: #fff;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  justify-content: center;
  margin-bottom: 16px;
}

.footer-brand img {
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.copyright {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.h5-body {
  background: var(--wash);
}

.h5-shell {
  width: min(720px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.h5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 24px;
  font-weight: 900;
}

.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-panel {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 12, 10, 0.08);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-grid,
  .split,
  .cta-band,
  .legal-layout,
  .contact-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-image-panel {
    min-height: auto;
  }

  .hero-photo,
  .feature-image,
  .about-visual,
  .download-visual,
  .contact-visual {
    width: 100%;
    height: 360px;
  }

  .insight-stack {
    position: relative;
    width: 100%;
    bottom: auto;
    margin-top: -70px;
  }

  .steps,
  .stat-grid,
  .scenario-grid,
  .cards-grid,
  .timeline,
  .requirements {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 58px 0;
  }

  .nav-wrap,
  .container,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .brand span {
    max-width: 132px;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
  }

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

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

  .form-card,
  .cta-band {
    padding: 22px;
    border-radius: 20px;
  }

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

  .btn,
  .btn-store {
    width: 100%;
  }
}
