:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #201d1a;
  --muted: #655d56;
  --line: #ddd5cc;
  --accent: #d96f4d;
  --accent-strong: #a94328;
  --accent-soft: #fae2d6;
  --slate: #27313a;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 24px 70px rgb(58 43 31 / 0.15);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17191b;
  --surface: #202427;
  --surface-strong: #252a2e;
  --ink: #f7f2ea;
  --muted: #c6bdb3;
  --line: #3d413f;
  --accent: #f18a61;
  --accent-strong: #ffb190;
  --accent-soft: #3b251d;
  --slate: #d9e2e6;
  --shadow: 0 24px 70px rgb(0 0 0 / 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgb(217 111 77 / 0.14), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(32 29 26 / 0.03) 1px, transparent 1px);
  background-size: 100% 38px;
  opacity: 0.35;
}

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

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

a:focus-visible,
summary:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 15vw, 188px);
  max-height: 50px;
  object-fit: contain;
}

.brand-logo--dark,
.footer-logo.footer-logo--dark {
  display: none;
}

:root[data-theme="dark"] .brand-logo--light,
:root[data-theme="dark"] .footer-logo.footer-logo--light {
  display: none;
}

:root[data-theme="dark"] .brand-logo--dark,
:root[data-theme="dark"] .footer-logo.footer-logo--dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 7px 12px 7px 8px;
}

.theme-toggle__track {
  display: inline-flex;
  width: 42px;
  height: 24px;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 70%, var(--surface));
  padding: 3px;
}

.theme-toggle__knob {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 4px 12px rgb(32 29 26 / 0.22);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle__knob {
  transform: translateX(18px);
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: min(1440px, 100%);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px) clamp(40px, 6vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 650px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

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

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #24110a;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.text-link {
  color: var(--accent-strong);
  font-weight: 850;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1440 / 950;
  object-fit: cover;
}

.product-section,
.approach-section,
.policy-section,
.contact-section {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 30px;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.approach-panel p,
.contact-section p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.product-identity {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 54px);
}

.product-logo {
  width: min(360px, 100%);
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.product-identity p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-visuals {
  position: relative;
  min-height: 560px;
  padding: clamp(18px, 3vw, 36px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 82%, white), transparent 68%),
    color-mix(in srgb, var(--slate) 8%, var(--surface));
}

.workspace-shot {
  width: min(820px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 52px rgb(32 29 26 / 0.2);
}

.mobile-shot {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  bottom: clamp(20px, 4vw, 52px);
  width: min(220px, 32%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgb(32 29 26 / 0.24);
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.approach-panel {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}

.approach-grid {
  display: grid;
  gap: 16px;
}

.approach-grid article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.approach-grid span {
  grid-row: span 2;
  color: var(--accent-strong);
  font-size: 1.6rem;
  font-weight: 900;
}

.approach-grid h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.approach-grid p {
  color: var(--muted);
}

.policy-section {
  width: 100%;
  margin: 0;
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 38%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 74%, transparent), color-mix(in srgb, var(--surface-strong) 72%, transparent));
}

.policy-section .section-heading {
  width: min(1320px, 100%);
  max-width: none;
  margin: 0 auto 34px;
  padding: 0 clamp(18px, 4vw, 56px);
}

.policy-section .section-heading h2 {
  max-width: 14ch;
}

.policy-section .section-heading p {
  max-width: 720px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
}

.policy-grid article {
  display: grid;
  grid-column: span 2;
  align-content: start;
  gap: 14px;
  min-height: 245px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 96%, transparent), color-mix(in srgb, var(--surface) 88%, transparent));
  box-shadow: 0 18px 46px rgb(32 29 26 / 0.08);
}

.policy-grid article:nth-child(1),
.policy-grid article:nth-child(2) {
  grid-column: span 3;
  min-height: 215px;
}

.policy-grid article:nth-child(2) {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 72%, var(--surface-strong)), var(--surface-strong));
}

.policy-grid h3 {
  max-width: 18ch;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.policy-grid p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.policy-grid a {
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-section {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--slate);
  color: var(--surface);
}

.contact-section p {
  color: color-mix(in srgb, var(--surface) 78%, transparent);
}

.contact-section a:not(.button) {
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-section .button-primary {
  flex: 0 0 auto;
  color: #24110a;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 42px;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-logo {
  display: block;
  width: clamp(128px, 13vw, 172px);
  max-height: 46px;
  object-fit: contain;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 36px));
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    padding: 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 800;
  }

  .mobile-menu nav a:hover {
    background: var(--accent-soft);
    color: var(--ink);
  }

  .theme-toggle--mobile {
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
  }

  .hero,
  .product-card,
  .approach-section {
    grid-template-columns: 1fr;
  }

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

  .policy-grid article,
  .policy-grid article:nth-child(1),
  .policy-grid article:nth-child(2) {
    grid-column: auto;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .product-visuals {
    min-height: auto;
  }

  .mobile-shot {
    position: static;
    width: min(210px, 60%);
    margin: -30px 22px 0 auto;
  }

  .approach-panel {
    position: static;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 132px;
    max-height: 42px;
  }

  .footer-logo {
    width: 132px;
    max-height: 42px;
  }

  .hero,
  .product-section,
  .approach-section,
  .policy-section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .policy-section {
    padding-right: 0;
    padding-left: 0;
  }

  .policy-section .section-heading,
  .policy-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-actions,
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-identity,
  .product-visuals {
    padding: 18px;
  }

  .approach-grid article {
    grid-template-columns: 1fr;
  }

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

  .approach-grid span {
    grid-row: auto;
    font-size: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
