:root {
  /* @impl STATIC_MARKETING_SITE.visual_direction */
  --ink: #1a1a1a;
  --paper: #f5f0e8;
  --paper-deep: #e4ded3;
  --yellow: #ffcc00;
  --red: #e63b2e;
  --blue: #0055ff;
  --white: #fffaf1;
  --border: 4px solid var(--ink);
  --offset: 8px 8px 0 var(--ink);
  --space: clamp(1rem, 2vw, 1.75rem);
  --max: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 650;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: var(--paper);
  border-bottom: var(--border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto auto;
  min-height: 88px;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  gap: 0.85rem;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.brand--footer .brand-mark {
  height: 36px;
  width: 36px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  justify-content: center;
}

.site-nav a {
  border-bottom: 4px solid transparent;
  color: color-mix(in srgb, var(--ink) 75%, var(--paper));
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.menu-button {
  background: var(--paper);
  border: var(--border);
  display: none;
  height: 48px;
  place-items: center;
  width: 54px;
}

.menu-button__bars,
.menu-button__bars::before,
.menu-button__bars::after {
  background: var(--ink);
  display: block;
  height: 4px;
  width: 24px;
}

.menu-button__bars {
  position: relative;
}

.menu-button__bars::before,
.menu-button__bars::after {
  content: "";
  left: 0;
  position: absolute;
}

.menu-button__bars::before {
  top: -9px;
}

.menu-button__bars::after {
  top: 9px;
}

.button {
  align-items: center;
  background: var(--paper);
  border: var(--border);
  box-shadow: var(--offset);
  display: inline-flex;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  gap: 0.85rem;
  justify-content: center;
  line-height: 1.12;
  min-height: 58px;
  padding: 1rem 1.45rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.button:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(5px, 5px);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: var(--yellow);
  color: var(--ink);
}

.button--light:hover {
  background: var(--white);
}

.button--header {
  box-shadow: none;
  font-size: 1rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
}

.button--header:hover {
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button--large {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  min-height: 76px;
  padding: 1.2rem 1.7rem;
}

.button-icon {
  border: 3px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 1.05em;
  position: relative;
  width: 1.25em;
}

.button-icon--mac::after {
  background: currentColor;
  bottom: -0.45em;
  content: "";
  height: 3px;
  left: 20%;
  position: absolute;
  width: 60%;
}

.button-icon--download::before {
  border-bottom: 4px solid currentColor;
  border-right: 4px solid currentColor;
  content: "";
  height: 0.45em;
  left: 50%;
  position: absolute;
  top: 8%;
  transform: translateX(-50%) rotate(45deg);
  width: 0.45em;
}

.button-icon--download::after {
  background: currentColor;
  bottom: -0.35em;
  content: "";
  height: 4px;
  left: 15%;
  position: absolute;
  width: 70%;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100svh - 88px);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.kicker {
  color: var(--yellow);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.download-panel h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(3.2rem, 5.7vw, 5.9rem);
  line-height: 0.95;
  max-width: 900px;
}

.hero h1 span {
  background: var(--ink);
  border: var(--border);
  box-shadow: var(--offset);
  color: var(--yellow);
  display: block;
  line-height: 1.08;
  margin-top: 0.14em;
  padding: 0 0.14em;
}

.hero__lead {
  border-left: var(--border);
  color: color-mix(in srgb, var(--white) 34%, var(--ink));
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.42;
  margin: 2rem 0 0;
  max-width: 720px;
  padding-left: 1.3rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.support-note {
  color: color-mix(in srgb, var(--white) 36%, var(--ink));
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin: 2rem 0 0;
  text-transform: uppercase;
}

.app-board {
  align-self: center;
  background: var(--paper-deep);
  border: var(--border);
  box-shadow: var(--offset);
  min-height: clamp(420px, 42vw, 620px);
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2rem);
  position: relative;
}

.window-bar {
  align-items: center;
  border-bottom: var(--border);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, 18px) 1fr;
  padding-bottom: 1.7rem;
}

.dot {
  border: 3px solid var(--ink);
  display: block;
  height: 18px;
  width: 18px;
}

.dot--black,
.bar-block {
  background: var(--ink);
}

.dot--yellow {
  background: var(--yellow);
}

.dot--red {
  background: var(--red);
}

.bar-block {
  height: 34px;
  justify-self: end;
  width: clamp(105px, 16vw, 170px);
}

.agent-prompt {
  background: var(--ink);
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 700;
  margin: clamp(1.5rem, 4vw, 2.2rem) 0 0 auto;
  max-width: 78%;
  padding: 1.6rem;
  text-transform: uppercase;
}

.result-card {
  background: var(--yellow);
  border: var(--border);
  margin-top: 1.4rem;
  min-height: 255px;
  padding: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 1;
}

.result-card > span {
  background: var(--ink);
  display: block;
  height: 20px;
  margin-bottom: 0.75rem;
}

.result-card > span:nth-child(1) {
  width: 92%;
}

.result-card > span:nth-child(2) {
  width: 78%;
}

.result-card > span:nth-child(3) {
  width: 58%;
}

.chart {
  border-bottom: var(--border);
  border-left: var(--border);
  bottom: 1.45rem;
  display: flex;
  gap: 0.7rem;
  height: 110px;
  left: 1.45rem;
  padding-left: 0.7rem;
  position: absolute;
  width: calc(100% - 2.9rem);
}

.chart__bar {
  align-self: end;
  border: 3px solid var(--ink);
  display: block;
  width: 44px;
}

.chart__bar--blue {
  background: var(--blue);
  height: 44px;
}

.chart__bar--red {
  background: var(--red);
  height: 68px;
}

.chart__bar--black {
  background: var(--ink);
  height: 90px;
}

.chart__line {
  border: var(--border);
  border-bottom: 0;
  border-left: 0;
  bottom: -42px;
  height: 96px;
  left: 38%;
  opacity: 0.55;
  position: absolute;
  transform: rotate(45deg);
  width: 96px;
}

.shape {
  border: var(--border);
  position: absolute;
}

.shape--red {
  background: var(--red);
  bottom: 22%;
  height: clamp(70px, 10vw, 116px);
  left: 36%;
  opacity: 0.6;
  transform: rotate(45deg);
  width: clamp(70px, 10vw, 116px);
}

.shape--blue {
  background: color-mix(in srgb, var(--blue) 48%, var(--paper));
  bottom: 7%;
  height: 74px;
  right: 7%;
  width: 74px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.section--paper {
  background: var(--paper);
  border-top: var(--border);
  max-width: none;
}

.section--paper > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.section__header {
  border-bottom: var(--border);
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
}

.section__header .kicker,
.section--black .kicker,
.download-panel .kicker {
  color: var(--red);
}

.section h2,
.download-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.95;
}

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

.feature-card {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--offset);
  min-height: 310px;
  padding: clamp(1.2rem, 2vw, 2rem);
}

.feature-card h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.06;
  margin: 1.7rem 0 1rem;
  text-transform: uppercase;
}

.feature-card p,
.download-panel p,
.privacy-layout p {
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.45;
  margin: 0;
}

.feature-icon {
  align-items: center;
  border: var(--border);
  display: flex;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 2.2rem;
  height: 70px;
  justify-content: center;
  width: 70px;
}

.feature-icon--yellow {
  background: var(--yellow);
}

.feature-icon--red {
  background: var(--red);
}

.feature-icon--blue {
  background: var(--blue);
  color: var(--white);
}

.feature-icon--white {
  background: var(--paper);
}

.capability-strip {
  background: var(--ink);
  border-bottom: var(--border);
  border-top: var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
}

.capability-strip span {
  background: var(--yellow);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--paper);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  padding: 0.8rem 1rem;
  text-transform: uppercase;
}

.section--black {
  color: var(--white);
  max-width: none;
}

.privacy-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: 1fr 1.1fr;
  margin: 0 auto;
  max-width: var(--max);
}

.privacy-layout p {
  border-left: var(--border);
  border-color: var(--yellow);
  color: color-mix(in srgb, var(--white) 78%, var(--ink));
  font-size: clamp(1.2rem, 2vw, 2rem);
  padding-left: 1.3rem;
}

.download-panel {
  align-items: center;
  background: var(--paper);
  border-top: var(--border);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: none;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.download-panel > * {
  max-width: 760px;
}

.download-panel h2 {
  margin-bottom: 1.4rem;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  border-top: var(--border);
  display: flex;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 3vw, 2rem);
}

.site-footer p {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .hero,
  .privacy-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .app-board {
    width: min(100%, 760px);
  }

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

  .download-panel .button {
    justify-self: start;
  }
}

@media (min-width: 761px) {
  .site-nav__download {
    display: none;
  }
}

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

  .menu-button {
    display: grid;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: var(--border);
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -1rem -1rem;
    padding: 0 1rem 1rem;
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.5rem;
  }

  .site-nav a {
    border: var(--border);
    padding: 0.95rem;
  }

  .button--header {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .app-board {
    min-height: 400px;
  }

  .agent-prompt {
    max-width: none;
  }

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

  .feature-card {
    min-height: auto;
  }

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

@media (max-width: 380px) {
  .brand {
    font-size: 1.1rem;
    gap: 0.55rem;
  }

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

  .button {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

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