:root {
  --primary: #080808;
  --primary-soft: #f4f4f1;
  --ink: #171717;
  --muted: #686861;
  --line: #e8e6de;
  --paper: #ffffff;
  --wash: #faf9f5;
  --mint: #27c7a8;
  --amber: #f6c85f;
  --rose: #f16d6d;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.1);
  --radius: 8px;
  --radius-lg: 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 {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 230, 222, 0.86);
  backdrop-filter: blur(16px);
}

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

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #33332f;
  font-size: 15px;
}

.nav-menu a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  border-color: var(--ink);
}

.nav-cta,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 8, 8, 0.18);
}

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
}

.btn.store {
  min-width: 190px;
  justify-content: flex-start;
  padding: 12px 16px;
}

.store-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
}

.section {
  padding: 92px 0;
}

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

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

.narrow {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

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

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

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  color: #4a4a45;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero {
  min-height: 680px;
  padding: 86px 0 76px;
  background:
    linear-gradient(135deg, rgba(246, 200, 95, 0.16), transparent 31%),
    linear-gradient(315deg, rgba(39, 199, 168, 0.14), transparent 34%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 56px;
}

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

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

.proof-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  color: #393936;
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #111;
}

.hero-media img,
.page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  aspect-ratio: 4 / 5;
}

.media-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
}

.overlay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.price {
  font-weight: 850;
}

.signal {
  color: #08745f;
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.feature-stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.dashboard-panel,
.card,
.legal-card,
.contact-panel,
.system-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.06);
}

.dashboard-panel {
  padding: 26px;
  position: sticky;
  top: 104px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.metric {
  border-radius: var(--radius);
  background: var(--wash);
  padding: 16px;
}

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

.bar-list {
  display: grid;
  gap: 14px;
}

.bar-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #eeeae1;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--mint));
}

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

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

.icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

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

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.scenario-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.scenario {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
}

.scenario:nth-child(2) {
  background: #f6c85f;
  color: #171717;
}

.scenario:nth-child(3) {
  background: #27c7a8;
  color: #091f1a;
}

.scenario:nth-child(4) {
  background: #f4f4f1;
  color: #171717;
  border: 1px solid var(--line);
}

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

.quote {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.quote-mark {
  color: var(--mint);
  font-size: 42px;
  line-height: 1;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
}

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

.page-hero {
  padding: 86px 0 64px;
  background: var(--wash);
}

.page-hero-grid,
.split-grid,
.contact-grid,
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.page-photo {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.card,
.legal-card,
.system-panel {
  padding: 26px;
}

.principles {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}

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

.principle {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

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

.legal-toc {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 20px;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.legal-card h2 {
  font-size: 26px;
}

.notice {
  border-left: 5px solid var(--mint);
  background: #effbf8;
  padding: 18px;
  border-radius: var(--radius);
}

.contact-panel {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #393936;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(8, 8, 8, 0.08);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.check-row input {
  width: auto;
  margin-top: 6px;
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 750;
}

.form-message.success {
  color: #08745f;
}

.form-message.error {
  color: #b42318;
}

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

.contact-method {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 22px;
}

.download-card {
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
  padding: 34px;
}

.download-card p {
  color: rgba(255, 255, 255, 0.72);
}

.device-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.device-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.update-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111;
  color: #fff;
  padding: 54px 0 28px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

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

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

.copyright {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.fade-in {
  animation: fadeIn 0.55s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 8px;
  }

  .hero,
  .page-hero {
    padding-top: 58px;
  }

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

  .dashboard-panel,
  .legal-toc {
    position: static;
  }

  .steps,
  .testimonial-grid,
  .value-grid,
  .legal-grid,
  .help-grid,
  .requirements {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    max-width: 150px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .page-photo,
  .device-photo {
    aspect-ratio: 1 / 1;
  }

  .metric-row,
  .steps,
  .scenario-band,
  .testimonial-grid,
  .value-grid,
  .legal-grid,
  .help-grid,
  .requirements,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .principle {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .download-card {
    padding: 26px;
  }
}
