/* cutGPT marketing — receipt-split / newsprint cut
   Tokens named from the product world, not generic gray ramps. */

:root {
  --ink: #070707;
  --ink-2: #111111;
  --paper: #f3eee4;
  --paper-2: #e8e1d4;
  --coin: #c8a96a;
  --graphite: rgba(243, 238, 228, 0.62);
  --whisper: rgba(243, 238, 228, 0.38);
  --rule: rgba(243, 238, 228, 0.1);
  --rule-strong: rgba(243, 238, 228, 0.18);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --space: 8px;
  --measure: 72rem;
  --display: "Newsreader", "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Surfaces own their type and controls. Never set button color
     independently of the surface it sits on. */
  --fg: var(--paper);
  --fg-muted: var(--graphite);
  --btn-solid-bg: var(--paper);
  --btn-solid-fg: var(--ink);
  --btn-ghost-bg: transparent;
  --btn-ghost-fg: var(--paper);
  --btn-ghost-line: var(--rule-strong);
}

.cut-surface-paper {
  --fg: var(--ink);
  --fg-muted: rgba(7, 7, 7, 0.68);
  --btn-solid-bg: var(--ink);
  --btn-solid-fg: var(--paper);
  --btn-ghost-fg: var(--ink);
  --btn-ghost-line: rgba(7, 7, 7, 0.22);
  background: var(--paper);
  color: var(--fg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.cut-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 600;
}

.cut-skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--coin);
  outline-offset: 3px;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.cut-wrap {
  width: min(100% - 2.5rem, var(--measure));
  margin-inline: auto;
}

/* Nav */
.cut-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.cut-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.cut-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.cut-brand img {
  width: 28px;
  height: 28px;
  border-radius: 33%;
}

.cut-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cut-nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cut-nav-link:hover {
  color: var(--fg);
}

.cut-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-strong);
  color: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
}

/* Buttons */
a.cut-btn,
.cut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 140ms var(--ease), opacity 140ms var(--ease);
}

.cut-btn:active {
  transform: scale(0.97);
}

a.cut-btn-solid,
.cut-btn-solid {
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
}

a.cut-btn-solid:hover,
.cut-btn-solid:hover {
  opacity: 0.9;
  color: var(--btn-solid-fg);
}

a.cut-btn-ghost,
.cut-btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-fg);
  border-color: var(--btn-ghost-line);
}

a.cut-btn-ghost:hover,
.cut-btn-ghost:hover {
  border-color: var(--btn-ghost-fg);
  color: var(--btn-ghost-fg);
}

/* Hero — copy + share slip share one measure. The slip is in flow,
   so rotation is absorbed by frame padding instead of hanging off-canvas. */
.cut-hero {
  padding: 5.5rem 0 4.5rem;
}

.cut-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 20rem);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.cut-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coin);
  margin: 0 0 1.25rem;
}

.cut-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}

.cut-hero .lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 38rem;
  margin: 0 0 2.25rem;
  text-wrap: pretty;
}

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

.cut-hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.cut-hero-note a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cut-hero-note a:hover {
  color: var(--coin);
}

.cut-slash-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 2.25rem 0.75rem;
}

.cut-slash {
  width: 100%;
  max-width: 20rem;
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-6deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.cut-slash .cut-slash-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(7, 7, 7, 0.5);
  margin: 0 0 0.35rem;
}

.cut-slash strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  display: block;
  line-height: 0.95;
}

.cut-chip {
  display: none;
  width: fit-content;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.7rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Contrast split */
.cut-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100% - 2.5rem, var(--measure));
  margin-inline: auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cut-split article {
  padding: 3.5rem 2.25rem;
}

.cut-split article:first-child {
  border-right: 1px solid var(--rule);
  color: var(--whisper);
}

.cut-split article:last-child {
  background: var(--ink-2);
}

.cut-split h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.cut-split p {
  margin: 0 0 0.85rem;
  color: var(--graphite);
  max-width: 36rem;
}

.cut-split p:last-child {
  margin-bottom: 0;
}

/* Uses ledger */
.cut-section {
  padding: 5rem 0;
}

.cut-section-follow {
  padding-top: 0;
}

.cut-section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.cut-section .sub {
  color: var(--graphite);
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.cut-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.cut-ledger li {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 1.25rem 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
}

.cut-ledger li:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}

.cut-ledger .idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--coin);
  letter-spacing: 0.08em;
  min-width: 2rem;
}

/* How */
.cut-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.cut-how article {
  padding: 2rem 1.75rem 2rem 0;
  border-right: 1px solid var(--rule);
}

.cut-how article:last-child {
  border-right: 0;
  padding-right: 0;
}

.cut-how .n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--coin);
  display: block;
  margin-bottom: 0.75rem;
}

.cut-how h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.cut-how p {
  margin: 0;
  color: var(--graphite);
}

.cut-how a {
  color: var(--paper);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.cut-how a:hover {
  color: var(--coin);
}

.cut-everyone {
  padding: 5.5rem 0 5rem;
  border-top: 1px solid var(--rule);
}

.cut-everyone h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.cut-everyone p {
  color: var(--graphite);
  max-width: 40rem;
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.cut-everyone p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.cut-cta {
  padding: 4.5rem 0;
}

.cut-cta h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.cut-cta p {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: var(--fg-muted);
}

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

.cut-fine {
  font-size: 0.8rem;
  color: rgba(7, 7, 7, 0.48);
  max-width: 42rem;
  margin: 2rem 0 0;
  line-height: 1.5;
}

/* Footer */
.cut-foot {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--rule);
}

.cut-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.cut-foot p {
  color: var(--whisper);
  max-width: 22rem;
}

.cut-foot h3 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 0.85rem;
  font-weight: 500;
}

.cut-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cut-foot a {
  color: var(--graphite);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

.cut-foot a:hover {
  color: var(--paper);
}

.cut-copy {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--whisper);
  font-size: 0.82rem;
}

@media (max-width: 1140px) {
  .cut-hero-grid {
    grid-template-columns: 1fr;
  }

  .cut-slash-frame {
    display: none;
  }

  .cut-chip {
    display: block;
  }

  .cut-split,
  .cut-ledger,
  .cut-how,
  .cut-foot-grid {
    grid-template-columns: 1fr;
  }

  .cut-ledger li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .cut-split article:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .cut-how article {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 1.75rem 0;
  }

  .cut-hero {
    padding-top: 3.5rem;
  }

  .cut-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cut-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    z-index: 20;
    gap: 1rem;
  }

  .cut-nav.open .cut-nav-links {
    display: flex;
  }
}

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

  .cut-btn {
    transition: none;
  }
}
