/* Compare shares the homepage's visual system, with a quieter reading surface. */
:root {
  --void: #030309;
  --ink: 236, 238, 248;
  --t1: rgb(var(--ink));
  --t2: rgba(var(--ink), .72);
  --t3: rgba(var(--ink), .46);
  --star: #a9c0ff;
  --star-rgb: 169, 192, 255;
  --deep: 96, 133, 255;
  --line: rgba(var(--ink), .12);
  --rail: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body { position: relative; min-height: 100vh; background: var(--void); color: var(--t1); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: rgba(var(--star-rgb), .28); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--star); outline-offset: 6px; border-radius: 5px; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 10px 18px; color: var(--void); background: var(--t1); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* One still sky and a single sweeping line. Neither depends on page animation. */
.cmp-atmosphere { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#compare-sky { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .65; }
.cmp-atmosphere::before { content: ""; position: absolute; top: -140px; right: -280px; width: min(1100px, 110vw); height: 900px; background: radial-gradient(ellipse, rgba(var(--deep), .13), rgba(94, 68, 162, .045) 43%, transparent 69%); }
.cmp-light { position: absolute; top: 0; right: 0; width: 100%; height: 1200px; opacity: .7; }
.cmp-grain { position: fixed; inset: 0; opacity: .055; mix-blend-mode: screen; background-size: 260px 260px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* The homepage's wordmark, floating menu, and white button. */
.cmp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 88px; }
.cmp-header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(var(--void), rgba(3,3,9,.8) 45%, transparent); }
.cmp-header.scrolled { background: rgba(4,4,10,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 -1px 0 rgba(var(--ink),.07); }
.cmp-header.scrolled::before { opacity: 0; }
.cmp-nav { height: 100%; max-width: calc(var(--rail) + var(--gutter) * 2); margin: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; }
.wordmark { display: block; color: #fff; font: 400 24px/1 var(--display); letter-spacing: .90em; padding-left: .90em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0 22px rgba(var(--star-rgb),.8), 0 0 60px rgba(var(--deep),.5); }
.cmp-menu { display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9,9,18,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cmp-menu a { padding: 11px 16px; border-radius: 999px; color: var(--t2); font: 500 12.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; transition: color .2s, background .2s; }
.cmp-menu a:hover, .cmp-menu a[aria-current] { color: var(--t1); background: rgba(var(--ink),.07); }
.nav-right { justify-self: end; display: flex; gap: 18px; align-items: center; }
.nav-note { color: var(--t3); font: 500 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cta { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 16px 26px; border-radius: 12px; color: #07080f; background: var(--t1); font: 600 15.5px/1 var(--display); box-shadow: 0 6px 30px rgba(0,0,0,.45); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.cta:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 0 0 1.5px rgba(var(--star-rgb),.6), 0 0 28px rgba(var(--deep),.35); }
.cta:active { transform: translateY(1px); }
.cta.small { padding: 11px 18px; font-size: 14px; white-space: nowrap; }

/* Spacious titles, then one reading rail. The prose stays the main event. */
.compare-main { position: relative; z-index: 2; max-width: 1100px; margin: auto; padding: 160px var(--gutter) 0; }
.detail-main { max-width: 1000px; }
.back-link, .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 32px; color: var(--t2); font: 500 13px/1.4 var(--display); letter-spacing: .03em; }
.back-link span { color: var(--star); transition: transform .2s; }
.back-link:hover { color: var(--t1); }
.back-link:hover span { transform: translateX(-4px); }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--star); box-shadow: 0 0 10px rgba(var(--star-rgb),.9); }
.comparison-hero { position: relative; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.title-row { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; }
h1 { margin: 0; font: 600 clamp(44px, 6vw, 80px)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance; }
h1 .versus { color: rgba(var(--ink), .42); font-weight: 400; }
.hi { color: var(--star); text-shadow: 0 0 18px rgba(var(--star-rgb),.3), 0 0 52px rgba(var(--deep),.2); }
.product-marks { display: flex; align-items: center; flex-shrink: 0; gap: 12px; padding: 0 0 7px; }
.product-mark { display: grid; place-items: center; width: 42px; height: 42px; }
.product-mark img { width: 36px; height: 36px; object-fit: contain; }
.product-mark.tenora-mark img { width: 44px; height: 44px; filter: drop-shadow(0 0 16px rgba(var(--star-rgb),.25)); }
.chatgpt-mark img { filter: invert(1); }
.mark-divider { width: 28px; height: 1px; background: var(--line); }
.claude-page .product-marks { gap: 8px; }
.claude-page h1 { font-size: clamp(42px, 5.5vw, 72px); }
.reading { max-width: 740px; margin: 52px 0 0; }
.prose p { margin: 0; color: var(--t2); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.75; text-wrap: pretty; }
.prose p:first-child { color: rgba(var(--ink),.88); }
.prose p + p { margin-top: 28px; }
.takeaway { margin-top: 44px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.takeaway h2 { margin: 0 0 16px; color: var(--star); font: 500 12px/1 var(--display); letter-spacing: .15em; }
.takeaway p { margin: 0; color: var(--t2); font-size: 17px; line-height: 1.65; }
.takeaway p + p { margin-top: 8px; }
.takeaway p:last-child { color: var(--t1); }
.page-action { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.page-action > span { color: var(--t3); font-size: 14px; }

/* The hub is a directory, not another feature matrix. */
.hub-hero { padding-bottom: 48px; }
.hub-intro { max-width: 45ch; margin: 24px 0 0; color: var(--t2); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.comparison-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--line); }
.directory-link { display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.directory-copy strong { display: block; color: var(--t1); font: 500 clamp(22px, 2vw, 28px)/1.2 var(--display); letter-spacing: -.025em; }
.directory-copy small { display: block; margin-top: 10px; max-width: 32ch; color: var(--t2); font: 400 16px/1.5 var(--body); }
.directory-arrow { color: var(--t3); transition: transform .25s var(--ease), color .25s; }
.directory-link:hover .directory-arrow { color: var(--star); transform: translate(3px, -3px); }
.directory-link:hover strong { color: var(--star); }
.directory-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.directory-icon img { width: 32px; height: 32px; object-fit: contain; }
.directory-icon.double-icon .openai-small { position: absolute; top: 0; left: 0; width: 25px; height: 25px; filter: invert(1); }
.directory-icon.double-icon .anthropic-small { position: absolute; bottom: 0; right: 0; width: 24px; height: 24px; }
.hub-main .page-action { margin-top: 40px; }

/* Quiet, stationary navigation below the reading. */
.alternatives { max-width: 1100px; margin: 100px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.alternatives-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.alternatives-heading h2 { margin: 0; font: 500 18px/1.3 var(--display); letter-spacing: -.02em; }
.alternatives-heading > a { color: var(--t2); font-size: 14px; }
.alternatives-heading > a:hover { color: var(--star); }
.alternative-links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.alternative-links a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--t2); font-size: 15px; transition: color .2s; }
.alternative-links a:hover, .alternative-links a[aria-current] { color: var(--t1); }
.alternative-links a[aria-current] { text-decoration: underline; text-decoration-color: rgba(var(--star-rgb),.55); text-underline-offset: 7px; }
.alternative-links .directory-icon { width: 24px; height: 24px; }
.alternative-links .directory-icon img { width: 20px; height: 20px; }
.alternative-links .double-icon .openai-small, .alternative-links .double-icon .anthropic-small { width: 16px; height: 16px; }

/* Exact homepage footer composition, scoped to pages loading this sheet. */
.site-footer { margin-top: clamp(88px, 10vw, 144px); padding-bottom: 0; }
.site-footer .sf-dir, .site-footer .sf-base { max-width: var(--rail); }
.site-footer .sf-base { padding: 26px 0 8px; }
.site-footer .sf-mark { width: 100vw; margin: 36px 0 0 calc(50% - 50vw); transform: translateY(16%); }
.site-footer .sf-mark text { font-size: 196px; font-weight: 600; fill: none; stroke: rgba(var(--ink),.32); stroke-width: 1.1px; }
.site-footer .sf-col a { font-size: 15px; }

@media (max-width: 1100px) {
  .nav-note { display: none; }
  .wordmark { font-size: 20px; }
  .cmp-nav { gap: 18px; }
}
@media (max-width: 800px) {
  .cmp-header { height: 76px; }
  .cmp-nav { display: flex; justify-content: space-between; }
  .cmp-menu { display: none; }
  .wordmark { font-size: 18px; }
  .compare-main { padding-top: 122px; }
  .title-row { display: block; }
  .product-marks { margin-top: 28px; padding-bottom: 0; justify-content: flex-start; }
  .comparison-hero { padding-bottom: 34px; }
  .reading { margin-top: 34px; max-width: none; }
  .cmp-light { opacity: .3; }
  .cmp-light .light-core { display: none; }
  .comparison-directory { column-gap: 30px; }
  .directory-link { gap: 14px; }
}
@media (max-width: 600px) {
  .wordmark { font-size: 16px; }
  .cmp-nav { gap: 10px; }
  .cta.small { font-size: 12px; padding: 11px 14px; }
  .back-link, .eyebrow { margin-bottom: 24px; }
  h1 { font-size: clamp(42px, 10.8vw, 62px); }
  .claude-page h1 { font-size: clamp(37px, 9.5vw, 58px); }
  .product-mark { width: 30px; height: 30px; }
  .product-mark img { width: 27px; height: 27px; }
  .product-mark.tenora-mark img { width: 34px; height: 34px; }
  .product-marks { gap: 10px; margin-top: 24px; }
  .prose p { font-size: 18px; line-height: 1.7; }
  .takeaway { margin-top: 32px; padding-top: 24px; }
  .takeaway p { font-size: 16px; }
  .page-action { gap: 16px; }
  .page-action .cta { padding: 15px 22px; }
  .page-action > span { font-size: 13px; }
  .hub-hero { padding-bottom: 34px; }
  .comparison-directory { grid-template-columns: 1fr; }
  .directory-link { padding: 24px 0; }
  .directory-copy strong { font-size: 24px; }
  .directory-copy small { font-size: 16px; margin-top: 6px; }
  .alternatives { margin-top: 72px; }
  .alternatives-heading { align-items: baseline; gap: 12px; }
  .alternatives-heading h2 { font-size: 17px; }
  .alternatives-heading > a { font-size: 13px; }
  .alternative-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .alternative-links a { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
