:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --surface: #fffaf1;
  --surface-strong: #fffdf8;
  --ink: #1d1a16;
  --muted: #6b6258;
  --line: rgba(45, 39, 32, 0.16);
  --graphite: #1f211f;
  --graphite-soft: #2c2d29;
  --brass: #b9852e;
  --leaf: #587a55;
  --ember: #b95a42;
  --sky: #5c7c8a;
  --shadow: rgba(21, 18, 14, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--surface-strong);
  background: rgba(20, 18, 15, 0.62);
  border-bottom: 1px solid rgba(255, 250, 241, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 720;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.92rem;
}

.nav-links a,
.header-action,
.header-demo {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--surface-strong);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.header-action,
.header-demo {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-action:hover,
.header-action:focus-visible,
.header-demo:hover,
.header-demo:focus-visible {
  background: rgba(255, 250, 241, 0.12);
}

.header-demo {
  color: rgba(255, 250, 241, 0.82);
  border-color: transparent;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 33, 31, 0.2), rgba(31, 33, 31, 0.76)),
    var(--graphite);
  color: var(--surface-strong);
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-scene::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(185, 133, 46, 0.18), rgba(88, 122, 85, 0.08) 34%, transparent 64%),
    linear-gradient(140deg, rgba(27, 26, 22, 0.58), rgba(27, 26, 22, 0.06) 55%);
}

.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.42);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.product-shot-desktop {
  position: absolute;
  top: 6.4rem;
  right: -4rem;
  width: min(76rem, 86vw);
  transform: rotate(-1deg);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 20, 0.92) 0%, rgba(28, 25, 20, 0.75) 36%, rgba(28, 25, 20, 0.1) 78%),
    linear-gradient(180deg, rgba(28, 25, 20, 0.18), rgba(28, 25, 20, 0.62));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(44rem, calc(100% - 2rem));
  padding: 9.5rem 0 5.5rem clamp(1rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: 5.2rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.demo-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(31, 33, 31, 0.95), rgba(31, 33, 31, 0.72)),
    var(--graphite);
  color: var(--surface-strong);
}

.demo-header {
  background: rgba(20, 18, 15, 0.78);
}

.demo-main {
  padding: 8rem clamp(1rem, 4vw, 3rem) 4rem;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: 3rem;
  align-items: center;
  width: min(76rem, 100%);
  margin: 0 auto;
}

.demo-copy {
  max-width: 42rem;
}

.demo-note {
  margin: -0.6rem 0 1.2rem;
  color: rgba(255, 250, 241, 0.74);
}

.credential-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.2rem;
}

.credential-card div {
  padding: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
}

.credential-card span {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 250, 241, 0.66);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.credential-card strong {
  color: var(--surface-strong);
  font-size: 1.25rem;
}

.demo-shot {
  transform: rotate(1deg);
}

.demo-footer {
  color: rgba(255, 250, 241, 0.68);
  border-top-color: rgba(255, 250, 241, 0.14);
}

.demo-footer span:first-child {
  color: var(--surface-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: var(--brass);
  color: #1d160d;
}

.button.secondary {
  border: 1px solid rgba(255, 250, 241, 0.28);
  color: var(--surface-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 250, 241, 0.1);
}

.button.text-link {
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.intro {
  padding-top: 4.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

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

.feature-card {
  min-height: 17rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 1.2rem 2.8rem rgba(46, 38, 29, 0.06);
}

.feature-kicker {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 5rem max(1rem, calc((100% - 72rem) / 2));
  background: var(--graphite);
  color: var(--surface-strong);
}

.split-band h2 {
  max-width: 34rem;
}

.ai-showcase {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.phone-shot {
  position: relative;
  justify-self: center;
  width: min(18rem, 100%);
  padding: 0.65rem;
  overflow: visible;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 2.2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 18%, rgba(0, 0, 0, 0.72) 54%),
    #141515;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 0.45rem rgba(0, 0, 0, 0.68),
    0 2rem 4rem rgba(0, 0, 0, 0.34);
}

.phone-shot::before {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  z-index: 2;
  width: 5.4rem;
  height: 1.25rem;
  content: "";
  border-radius: 999px;
  background: #080909;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.phone-shot img {
  position: relative;
  z-index: 1;
  border-radius: 1.65rem;
}

.hosting-panel {
  display: grid;
  gap: 0.75rem;
}

.route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.06);
}

.route-label {
  color: #fff8eb;
  font-weight: 820;
}

.route-value {
  color: rgba(255, 250, 241, 0.74);
}

.status-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.status-copy {
  max-width: 47rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .product-shot-desktop {
    top: 7.5rem;
    right: -28rem;
    width: 66rem;
    max-width: none;
    opacity: 0.86;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(28, 25, 20, 0.95) 0%, rgba(28, 25, 20, 0.86) 62%, rgba(28, 25, 20, 0.4)),
      linear-gradient(180deg, rgba(28, 25, 20, 0.1), rgba(28, 25, 20, 0.74));
  }

  .hero-copy {
    width: min(38rem, calc(100% - 2rem));
    padding: 8rem 0 4rem 1rem;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .section-heading,
  .feature-grid,
  .split-band,
  .status-section,
  .demo-panel {
    grid-template-columns: 1fr;
  }

  .ai-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone-shot {
    width: min(18rem, 64vw);
  }

  .feature-grid {
    display: grid;
  }

  .split-band {
    gap: 2rem;
  }

  .status-section {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand span {
    display: none;
  }

  .header-action,
  .header-demo {
    padding: 0.5rem 0.7rem;
  }

  .hero {
    min-height: 88svh;
  }

  .product-shot-desktop {
    top: 6.5rem;
    right: -35rem;
    width: 58rem;
  }

  .hero-copy {
    padding-top: 7rem;
  }

  h1 {
    font-size: 3rem;
  }

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

  .route-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .site-footer {
    display: grid;
  }

  .credential-card {
    grid-template-columns: 1fr;
  }
}
