:root {
  --void: #030309;
  --panel: rgba(255, 255, 255, 0.025);
  --ink: #f5f3fa;
  --muted: #aaa8b8;
  --line: rgba(216, 219, 235, 0.14);
  --competitor: #e99568;
  --tenora: #a9c0ff;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(96, 133, 255, 0.15), transparent 31%),
    radial-gradient(circle at 8% 26%, rgba(233, 149, 104, 0.08), transparent 27%),
    var(--void);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.sample-wrap {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding-bottom: 72px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.wordmark,
.open-link,
.old-sample {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.wordmark {
  padding-left: 0.90em;
  letter-spacing: 0.90em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.old-sample { color: var(--muted); }
.old-sample:hover { color: var(--ink); }

.open-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

main { margin-top: 64px; }

.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.eyebrow,
.decision-label,
.section-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 7.8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 span {
  color: #747286;
  font-weight: 500;
}

.product-marks {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 8px;
}

.product-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.product-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-mark b {
  position: absolute;
  color: #176b5c;
  font: 700 19px/1 var(--display);
}

.chatgpt-mark { position: relative; }
.competitor-mark { position: relative; }

.claude-reduced .chatgpt-mark,
.claude-reduced .claude-mark {
  width: 40px;
  height: 40px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.claude-reduced .chatgpt-mark img,
.claude-reduced .claude-mark img {
  width: 36px;
  height: 36px;
}

.claude-reduced .chatgpt-mark img { filter: invert(1); }

.claude-mark { background: transparent; }
.tenora-mark {
  background: transparent;
  box-shadow: none;
}
.tenora-mark img { width: 46px; height: 46px; }

.mark-divider {
  width: 24px;
  height: 1px;
  margin: 0 3px;
  background: var(--line);
}

.decision {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(169, 192, 255, 0.23);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(233, 149, 104, 0.07), transparent 36%),
    linear-gradient(315deg, rgba(96, 133, 255, 0.18), transparent 54%),
    var(--panel);
}

.decision::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(169, 192, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(169, 192, 255, 0.026),
    0 0 0 110px rgba(169, 192, 255, 0.018);
  content: "";
  pointer-events: none;
}

.decision-label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--tenora);
}

.decision-lines {
  position: relative;
  z-index: 1;
}

.decision-line {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: baseline;
  gap: 26px;
  padding: 32px 38px;
}

.decision-line + .decision-line { border-top: 1px solid var(--line); }

.decision-product {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.competitor-line .decision-product { color: var(--competitor); }
.tenora-line .decision-product { color: var(--tenora); }

.decision-line h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 4.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.competitor-line h2 { color: #b7b4c0; }

.comparison-reduced .decision-line h2 {
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.08;
}

.comparison {
  margin-top: 76px;
}

.comparison-reduced .comparison { margin-top: 48px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 4px 22px;
}

.section-kicker { margin: 0; }

.section-heading h2 {
  width: min(590px, 68%);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 45px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-align: right;
}

.comparison-table {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  min-height: 82px;
  border-top: 1px solid var(--line);
}

.table-row:first-child { border-top: 0; }

.table-row > * {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 24px;
}

.table-row > * + * { border-left: 1px solid var(--line); }

.table-head {
  min-height: 54px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
}

.table-head strong:last-child { color: var(--tenora); }

.row-label {
  font-family: var(--display);
  font-size: 14px;
}

.table-row p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.table-row p:last-child {
  background: rgba(96, 133, 255, 0.045);
  color: var(--ink);
}

.chooser {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.chooser strong {
  color: var(--ink);
  font-family: var(--display);
}

.page-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--tenora);
  color: var(--void);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-action:hover { background: #fff; }

.page-action span {
  color: var(--muted);
  font-size: 15px;
}

.alternatives { margin-top: 70px; }

.alternatives-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 13px;
}

.alternatives-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.015em;
}

.alternatives-heading a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.alternatives-heading a:hover { color: var(--tenora); }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 3px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: banner-loop 28s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding-right: 10px;
}

.alt-pill {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  background: var(--pill-bg);
  color: #f9f8fc;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.alt-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.alt-pill[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.alt-icon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.alt-icon b {
  color: #111;
  font: 700 15px/1 var(--display);
}

.alt-icon img {
  position: absolute;
  inset: 4px;
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.double-icon .openai-small {
  inset: 4px auto auto 3px;
  width: 19px;
  height: 19px;
}

.double-icon .anthropic-small {
  inset: auto 2px 3px auto;
  width: 18px;
  height: 18px;
}

.sheet-pill { --pill-bg: rgba(39, 149, 91, 0.19); }
.notion-pill { --pill-bg: rgba(240, 240, 240, 0.09); }
.claude-pill { --pill-bg: rgba(217, 119, 87, 0.2); }
.dex-pill { --pill-bg: rgba(239, 191, 62, 0.17); }
.clay-pill { --pill-bg: rgba(135, 112, 246, 0.2); }
.goodword-pill { --pill-bg: rgba(242, 94, 112, 0.19); }

.excel-icon { background: #107c41; }
.excel-icon b { color: #fff; }

@keyframes banner-loop {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-play-state: paused; }
}

@media (max-width: 720px) {
  .sample-wrap { width: min(92vw, 460px); }
  header { padding-top: 18px; }
  .wordmark { font-size: 14px; letter-spacing: 0.42em; padding-left: 0.42em; }
  .old-sample { display: none; }
  .open-link { font-size: 14px; }
  main { margin-top: 42px; }
  .title-row { align-items: flex-start; }
  .product-marks { display: none; }
  h1 { font-size: clamp(48px, 14vw, 62px); }
  .decision { border-radius: 23px; }
  .decision-label { padding: 19px 22px; }
  .decision-line {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 22px 28px;
  }
  .decision-line h2 { font-size: 34px; }
  .comparison-reduced .decision-line h2 { font-size: 30px; }
  .comparison { margin-top: 58px; }
  .section-heading {
    display: block;
    margin-bottom: 18px;
  }
  .section-kicker { margin-bottom: 10px; }
  .section-heading h2 {
    width: auto;
    font-size: 35px;
    text-align: left;
  }
  .table-head { display: none; }
  .table-row {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    padding-top: 14px;
  }
  .table-row > * { padding: 15px 14px; }
  .table-row > * + * { border-left: 1px solid var(--line); }
  .table-row .row-label {
    grid-column: 1 / -1;
    padding: 0 0 10px;
    border-left: 0;
    color: var(--tenora);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .table-row p { font-size: 15px; line-height: 1.5; }
  .chooser {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.65;
  }
  .page-action {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }
  .primary-action { width: 100%; }
  .alternatives { margin-top: 54px; }
}
