:root {
  color-scheme: light dark;
  --bg: #f3f7f5;
  --surface: #e8efeb;
  --surface-strong: #dbe7e0;
  --ink: #101713;
  --muted: #526159;
  --line: #cbd8d0;
  --accent: #16865b;
  --accent-strong: #0c6c47;
  --accent-contrast: #f7fff9;
  --shadow: 0 24px 70px rgba(30, 65, 46, 0.14);
  --radius-card: 28px;
  --radius-small: 16px;
  --radius-control: 999px;
  --shell: min(1180px, calc(100% - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1511;
    --surface: #15221b;
    --surface-strong: #1c2d24;
    --ink: #eef6f1;
    --muted: #a7b8ae;
    --line: #2c4135;
    --accent: #55bd88;
    --accent-strong: #70d19b;
    --accent-contrast: #07120c;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 9%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 24rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, transparent), var(--bg));
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button,
.button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 18px;
}

.brand-copy {
  font-size: 19px;
}

.brand-copy span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  transition: color 180ms ease, transform 180ms ease;
}

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

.site-nav a:active {
  transform: translateY(1px);
}

.site-nav .nav-contact {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 9px 15px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding-block: 64px 72px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: hero-in 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.6vw, 82px);
  font-weight: 690;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 670;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 12px 23px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  margin: 0;
  animation: hero-in 750ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 18%;
  z-index: -1;
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--accent) 24%, var(--surface));
  transform: rotate(3deg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.confidence-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.confidence-grid div {
  display: grid;
  gap: 1px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.confidence-grid div:first-child {
  padding-left: 0;
}

.confidence-grid div:last-child {
  border-right: 0;
}

.confidence-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.confidence-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: clamp(88px, 11vw, 150px);
}

section[id] {
  scroll-margin-top: 92px;
}

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

.section-heading p,
.store-copy > p,
.ecosystem-copy > p,
.contact-section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "feature camera"
    "feature design";
  gap: 16px;
}

.decision-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.decision-grid article:nth-child(1) {
  grid-area: feature;
  min-height: 456px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--accent) 22%, var(--surface)) 100%),
    var(--surface);
}

.decision-grid article:nth-child(2) {
  grid-area: camera;
}

.decision-grid article:nth-child(3) {
  grid-area: design;
}

.decision-grid article:nth-child(4) {
  grid-column: 1 / -1;
  display: grid;
  min-height: auto;
  grid-template-columns: 70px 0.7fr 1.3fr;
  align-items: center;
  gap: 22px;
  background: var(--accent);
  color: var(--accent-contrast);
}

.decision-grid article:nth-child(4) h3,
.decision-grid article:nth-child(4) p {
  margin-bottom: 0;
  color: inherit;
}

.decision-grid p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
}

.decision-index {
  display: block;
  margin-bottom: 34px;
  color: color-mix(in srgb, currentColor 55%, transparent);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.store-section {
  width: min(1260px, calc(100% - 28px));
  margin-inline: auto;
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.store-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.store-points {
  display: grid;
  margin-top: 44px;
  gap: 0;
}

.store-points div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.store-points div:last-child {
  border-bottom: 0;
}

.store-points span {
  color: var(--muted);
}

.store-note {
  margin: 30px 0 0;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-card);
  background: var(--bg);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--ink) 8%, transparent);
}

.store-note p {
  margin-bottom: 28px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 610;
  letter-spacing: -0.04em;
  line-height: 1.17;
}

.store-note footer {
  color: var(--muted);
  font-size: 14px;
}

.ecosystem-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.ecosystem-copy h2 {
  font-size: clamp(38px, 4.4vw, 62px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: var(--accent);
  font-weight: 740;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.ecosystem-visual {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.ecosystem-visual img {
  width: 100%;
  border-radius: calc(var(--radius-card) - 10px);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding: clamp(42px, 6vw, 72px);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.contact-section h2 {
  margin-bottom: 12px;
}

.contact-section p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-main {
  padding-block: 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--ink);
}

.footer-meta {
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .js .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: grid;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--bg);
    box-shadow: var(--shadow);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .nav-contact {
    text-align: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 58px 74px;
  }

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

  .hero-visual {
    max-width: 760px;
  }

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

  .confidence-grid div:nth-child(2) {
    border-right: 0;
  }

  .confidence-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .confidence-grid div:first-child {
    padding-left: 24px;
  }

  .store-layout,
  .ecosystem-section {
    grid-template-columns: 1fr;
  }

  .ecosystem-copy {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1180px);
    --radius-card: 22px;
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-copy {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    gap: 42px;
    padding-block: 46px 62px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

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

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

  .confidence-grid div,
  .confidence-grid div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .confidence-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 80px;
  }

  .decision-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .decision-grid article,
  .decision-grid article:nth-child(1),
  .decision-grid article:nth-child(2),
  .decision-grid article:nth-child(3),
  .decision-grid article:nth-child(4) {
    grid-area: auto;
    grid-column: auto;
    min-height: auto;
  }

  .decision-grid article:nth-child(1) {
    min-height: 320px;
  }

  .decision-grid article:nth-child(4) {
    display: block;
  }

  .decision-grid article:nth-child(4) .decision-index,
  .decision-grid article:nth-child(4) h3 {
    margin-bottom: 12px;
  }

  .store-section {
    width: calc(100% - 16px);
  }

  .store-points div {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .ecosystem-visual {
    padding: 8px;
    transform: none;
  }

  .contact-section,
  .footer-main,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
