:root {
  color-scheme: dark;
  --bg: #101512;
  --bg-2: #151a17;
  --bg-3: #1c211d;
  --text: #f4f1e8;
  --muted: #b9b5aa;
  --subtle: #817d72;
  --line: rgba(244, 241, 232, 0.14);
  --green: #79c986;
  --green-deep: #284d36;
  --amber: #ecb86a;
  --red: #e2796e;
  --blue: #8ab5d8;
  --shadow: rgba(0, 0, 0, 0.32);
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: rgba(121, 201, 134, 0.35);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(244, 241, 232, 0.1);
  background: linear-gradient(180deg, rgba(16, 21, 18, 0.94), rgba(16, 21, 18, 0.62));
  backdrop-filter: blur(18px);
}

.site-header.solid {
  position: sticky;
  background: rgba(16, 21, 18, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 28px;
  height: 28px;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a,
.site-footer a {
  color: rgba(244, 241, 232, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.document a:hover,
.company-band a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(121, 201, 134, 0.48);
  border-radius: 8px;
  color: var(--text);
  background: rgba(121, 201, 134, 0.12);
}

.hero {
  position: relative;
  min-height: clamp(560px, 82svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 112px max(20px, calc((100vw - var(--max)) / 2)) 64px;
  background:
    linear-gradient(90deg, rgba(16, 21, 18, 0.94) 0%, rgba(16, 21, 18, 0.78) 34%, rgba(16, 21, 18, 0.18) 72%),
    url("assets/hero-satomo.png") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(16, 21, 18, 0), var(--bg));
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.25rem, 13vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 28px;
  color: rgba(244, 241, 232, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  line-height: 1.5;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #0d1710;
}

.button.secondary {
  border: 1px solid rgba(244, 241, 232, 0.24);
  background: rgba(244, 241, 232, 0.08);
  color: var(--text);
}

.section {
  padding: clamp(70px, 10vw, 112px) max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.two-column,
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.copy-stack {
  color: var(--muted);
  font-size: 1.04rem;
}

.copy-stack p:last-child,
.feature-card p:last-child,
.document p:last-child {
  margin-bottom: 0;
}

.product-band {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.07), rgba(244, 241, 232, 0.025));
  box-shadow: 0 20px 52px var(--shadow);
}

.feature-card:nth-child(2) .metric {
  color: var(--amber);
}

.feature-card:nth-child(3) .metric {
  color: var(--blue);
}

.feature-card p {
  color: var(--muted);
}

.metric {
  display: block;
  margin-bottom: 40px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.data-band {
  background:
    radial-gradient(circle at top left, rgba(121, 201, 134, 0.14), transparent 32%),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
}

.company-band {
  background: var(--bg);
}

.company-band p {
  max-width: 650px;
  color: var(--muted);
}

.company-band a,
.document a,
.text-link {
  color: var(--green);
  text-underline-offset: 0.18em;
}

.company-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.company-facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.045);
}

.company-facts dt {
  margin-bottom: 4px;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 720;
}

.document-main {
  min-height: 72vh;
  padding: clamp(56px, 8vw, 96px) max(20px, calc((100vw - 780px) / 2));
}

.document {
  max-width: 780px;
  margin: 0 auto;
}

.document h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.document h2 {
  margin: 44px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.document p {
  color: var(--muted);
  font-size: 1.03rem;
}

.updated {
  color: var(--subtle);
}

.site-footer {
  padding: 26px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #0d100e;
}

.footer-inner {
  max-width: var(--max);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding-top: 98px;
    background:
      linear-gradient(180deg, rgba(16, 21, 18, 0.5) 0%, rgba(16, 21, 18, 0.86) 48%, rgba(16, 21, 18, 0.98) 100%),
      url("assets/hero-satomo.png") center top / cover no-repeat;
  }

  .hero-content {
    align-self: end;
  }

  .two-column,
  .company-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

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

@media (max-width: 520px) {
  .brand span {
    font-size: 0.96rem;
  }

  .nav-links .nav-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .button {
    width: 100%;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
