@font-face {
  font-family: "Halo Serif";
  src: url("/fonts/SourceSerif4-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Halo Serif";
  src: url("/fonts/SourceSerif4-Variable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --nav-height: 82px;
  --paper: #ffffff;
  --surface: #f7f7f8;
  --document: #ffffff;
  --soft-line: #ededee;
  --ink: #18191b;
  --wordmark-ink: #262729;
  --muted: #686b70;
  --line: #e5e6e8;
  /* Core and interaction shades from src/theme/palette.ts. */
  --brand: #3986cc;
  --creative-gradient: linear-gradient(
    105deg,
    #237fce 0%,
    #159783 28%,
    #9161c7 55%,
    #d26083 78%,
    #c18a32 100%
  );
  --brand-action: #2d699f;
  --brand-hover: #275b89;
  --contrast-bg: #18191b;
  --contrast-text: #f7f7f8;
  --contrast-muted: #c3c5c9;
  --contrast-line: #42454b;
  --link: #2d699f;
  --selection: #d9eafb;
  --serif: "Halo Serif", "Songti SC", "Noto Serif CJK SC", "Yu Mincho", Georgia,
    serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111113;
  --surface: #1a1b1e;
  --document: #202125;
  --ink: #f2f2f3;
  --wordmark-ink: var(--ink);
  --muted: #a6a8ae;
  --line: #33353b;
  --soft-line: #303137;
  --brand: #76b4ed;
  --creative-gradient: linear-gradient(
    105deg,
    #70baff 0%,
    #62d0b3 28%,
    #b995ed 55%,
    #f29bb8 78%,
    #e8bd70 100%
  );
  --brand-action: #2d699f;
  --brand-hover: #3377b5;
  --link: #86bdf0;
  --selection: #294865;
  --contrast-bg: #08090a;
  --contrast-text: #f2f2f3;
  --contrast-muted: #b6b8bd;
  --contrast-line: #33353b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #111113;
    --surface: #1a1b1e;
    --document: #202125;
    --ink: #f2f2f3;
    --wordmark-ink: var(--ink);
    --muted: #a6a8ae;
    --line: #33353b;
    --soft-line: #303137;
    --brand: #76b4ed;
    --creative-gradient: linear-gradient(
      105deg,
      #70baff 0%,
      #62d0b3 28%,
      #b995ed 55%,
      #f29bb8 78%,
      #e8bd70 100%
    );
    --brand-action: #2d699f;
    --brand-hover: #3377b5;
    --link: #86bdf0;
    --selection: #294865;
    --contrast-bg: #08090a;
    --contrast-text: #f2f2f3;
    --contrast-muted: #b6b8bd;
    --contrast-line: #33353b;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
/* Keep the main landmark without a page-wide box that Safari Reader can
   mistake for one long article. Each product section retains its own layout. */
.home-main {
  display: contents;
}
button,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
a,
button {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
img {
  display: block;
}
figure,
blockquote,
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 450;
}
h1,
h2 {
  font-family: var(--serif);
}
h2 {
  font-size: clamp(34px, 3.7vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.13;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
}
::selection {
  color: var(--ink);
  background: var(--selection);
}
.shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 112px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 26px;
}
.micro {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.5;
}
.fine-print {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.section-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 590px;
  margin-top: 24px;
}
.section-heading {
  max-width: 730px;
  margin-bottom: 52px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.button-dark {
  background: var(--brand-action);
  color: #fff;
}
.button-dark:hover {
  background: var(--brand-hover);
}
.button-outline {
  border-color: var(--ink);
}
.button-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--link);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
  z-index: 100;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--nav-height);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--wordmark-ink);
}
.wordmark-art {
  display: block;
  height: 28px;
  aspect-ratio: 1167 / 213;
  flex-shrink: 0;
  background: currentColor;
  /* Reuse the login wordmark, excluding its transparent outer margins. */
  -webkit-mask: url("/logo_white_full.png") 42.4242% 54.023% / 102.8278%
    140.8451% no-repeat;
  mask: url("/logo_white_full.png") 42.4242% 54.023% / 102.8278% 140.8451%
    no-repeat;
}
.registered {
  font-size: 10px;
  align-self: flex-start;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 0;
  font-size: 14px;
}
.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-actions .button {
  min-height: 40px;
  padding: 9px 15px;
  gap: 8px;
  font-size: 14px;
}
#language {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  min-height: 28px;
  max-width: 100%;
  padding: 3px 20px 3px 0;
}
#language:focus {
  outline: none;
}
#language:focus-visible {
  box-shadow: inset 0 -1px currentColor;
}
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: center;
  padding-block: 84px 72px;
}
.hero-copy {
  padding-bottom: 18px;
}
.hero h1 {
  font-size: clamp(62px, 6.65vw, 96px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0 0 30px;
}
.hero h1 em {
  font-weight: 400;
  color: var(--brand);
}
.hero-description {
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  margin: 30px 0 16px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
/* The hero is an illustrative document, not an interactive app embed. */
.hero-example {
  --demo-terra: light-dark(#a95035, #e49c83);
  --demo-green: light-dark(#38735a, #87c6a7);
  --demo-blue-soft: light-dark(#eef3fa, #283747);
  --demo-terra-soft: light-dark(#f6ece5, #3a2d28);
  --demo-neutral-soft: light-dark(#eceeec, #303633);
  min-width: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 28px 60px -36px rgb(30 40 70 / 18%);
}
@media (min-width: 1051px) {
  .hero-example {
    padding: 24px;
  }
}
.hero-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 0 4px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-demo-live::before,
.hero-demo-trail li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--demo-green);
}
.hero-demo-ask {
  max-width: 86%;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 12px 12px 3px 12px;
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.hero-demo-mate {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}
.hero-demo-mate > div {
  min-width: 0;
}
.hero-demo-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  background: var(--demo-blue-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
  border-radius: 50%;
  color: var(--link);
  font: 16px/1 var(--serif);
}
.hero-demo-who {
  font-size: 13px;
  line-height: 1.5;
}
.hero-demo-who b {
  font-weight: 600;
}
.hero-demo-who > span {
  color: var(--muted);
}
.hero-demo-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 7px 0 0;
}
.hero-demo-trail li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--document);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.hero-demo-document {
  margin-top: 14px;
  background: var(--document);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.hero-demo-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 2px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.hero-demo-tabs > span {
  padding: 9px 7px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.hero-demo-tabs .is-current {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.hero-demo-tabs .hero-demo-version {
  margin: 4px 0 4px auto;
  padding: 2px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.hero-demo-body {
  padding: 16px 20px;
}
.hero-demo-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.hero-demo-document h2 {
  margin-top: 4px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: pretty;
}
/* Keep labels in HTML so chart text never shrinks with its bars. */
.hero-demo-chart {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  column-gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.hero-demo-chart-row {
  display: contents;
}
.hero-demo-chart-row > span {
  align-self: center;
  color: var(--muted);
}
.hero-demo-chart svg {
  display: block;
  width: 100%;
  height: 28px;
  overflow: visible;
}
.hero-demo-grid {
  stroke: var(--line);
  stroke-dasharray: 2 3;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.hero-demo-grow {
  fill: var(--brand);
}
.hero-demo-roof {
  fill: var(--demo-terra);
}
.hero-demo-whisker {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-demo-chart-row .hero-demo-value {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 550;
}
.hero-demo-axis {
  grid-column: 2;
  position: relative;
  height: 22px;
  font-size: 12px;
  color: var(--muted);
}
.hero-demo-axis > span {
  position: absolute;
  top: 2px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero-demo-axis > span:first-child {
  left: 0;
  transform: none;
}
.hero-demo-axis > span:nth-child(2) {
  left: 40%;
}
.hero-demo-axis > span:last-child {
  left: 80%;
}
.hero-demo-chart figcaption {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font: italic 13px/1.5 var(--serif);
}
.hero-demo-differences {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.hero-demo-differences > .hero-demo-kicker {
  color: var(--demo-terra);
}
.hero-demo-opinion {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.hero-demo-opinion q {
  quotes: "“" "”";
}
.hero-demo-model {
  justify-self: start;
  margin-top: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hero-demo-gpt {
  background: var(--demo-neutral-soft);
}
.hero-demo-claude {
  background: var(--demo-terra-soft);
  color: var(--demo-terra);
}
@media (max-width: 360px) {
  .hero-demo-axis > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-demo-reveal {
    animation: hero-demo-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--demo-delay, 0s);
  }
  .hero-demo-grow {
    transform-box: fill-box;
    transform-origin: left;
    animation: hero-demo-grow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--demo-delay, 0s);
  }
}
@keyframes hero-demo-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-demo-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.model-list {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-wrap: wrap;
}
.model-list > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  letter-spacing: -0.4px;
}
.model-list img {
  object-fit: contain;
}
.work-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.work-tabs button {
  position: relative;
  padding: 20px 12px 20px 0;
  text-align: left;
  color: var(--muted);
  display: flex;
  gap: 15px;
  font-size: 15px;
}
.work-tabs button::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}
.work-tabs button[aria-selected="true"] {
  color: var(--ink);
}
.work-tabs button[aria-selected="true"]::after {
  background: var(--brand);
}
.work-tabs button:hover {
  color: var(--brand);
}
.tab-number {
  font-size: 12px;
  align-self: center;
  color: var(--muted);
}
.work-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 45px;
  min-height: 310px;
}
.work-panel h3 {
  font-family: var(--serif);
  font-size: 33px;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 18px;
  max-width: 400px;
}
.work-panel-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  max-width: 440px;
}
.work-panel-copy .text-link {
  margin-top: 18px;
}
.prompt-example {
  padding: 29px 32px;
  background: var(--surface);
}
.prompt-example .micro {
  color: var(--muted);
}
.prompt-example blockquote {
  font: 400 24px/1.4 var(--serif);
  letter-spacing: -0.02em;
  padding: 17px 0 24px;
}
.example-output {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.example-output > p:last-child {
  font-size: 13px;
  margin-top: 7px;
}
.perspective-section {
  background: var(--contrast-bg);
  color: var(--contrast-text);
  padding-block: 112px;
}
.perspective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.perspective-grid h2 {
  max-width: 480px;
}
.perspective-text > p:first-child {
  color: var(--contrast-muted);
  font-size: 16px;
  line-height: 1.9;
}
.perspective-section .fine-print {
  color: var(--contrast-muted);
}
.memory-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.memory-copy h2 {
  max-width: 470px;
}
:lang(ja) .memory-copy h2 {
  white-space: pre-line;
}
.mate-list {
  border-top: 1px solid var(--line);
}
.mate-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.mate-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--mate-color);
  -webkit-mask: url("/logo_coloured_512.png") center / contain no-repeat;
  mask: url("/logo_coloured_512.png") center / contain no-repeat;
  transform-origin: 50% 65%;
}
.mate-row--research {
  --mate-color: var(--brand);
  --mate-gesture: mate-nod;
  --mate-delay: 0ms;
}
.mate-row--writing {
  --mate-color: #cf85a4;
  --mate-gesture: mate-sway;
  --mate-delay: 180ms;
}
.mate-row--life {
  --mate-color: #589c88;
  --mate-gesture: mate-hop;
  --mate-delay: 360ms;
}
.mate-row h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}
.mate-row p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 8px;
}
/* Content is visible without JS; each greeting plays once as its row enters. */
.mates-animated .mate-greeting {
  opacity: 0;
  transform: translateY(6px);
}
.mates-animated .is-visible .mate-greeting {
  animation: mate-greeting-in 650ms ease-out calc(var(--mate-delay) + 100ms)
    both;
}
.mates-animated .is-visible .mate-avatar {
  animation: var(--mate-gesture) 1050ms cubic-bezier(0.22, 0.61, 0.36, 1)
    var(--mate-delay) both;
}
@keyframes mate-greeting-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mate-nod {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  30% {
    transform: translateY(3px) rotate(6deg);
  }
  62% {
    transform: translateY(-2px) rotate(-3deg);
  }
  82% {
    transform: translateY(1px) rotate(1deg);
  }
}
@keyframes mate-sway {
  0%,
  100% {
    transform: rotate(0);
  }
  24% {
    transform: rotate(-12deg);
  }
  48% {
    transform: rotate(8deg);
  }
  72% {
    transform: rotate(-4deg);
  }
}
@keyframes mate-hop {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  28% {
    transform: translateY(-8px) rotate(-5deg);
  }
  54% {
    transform: translateY(1px) rotate(4deg);
  }
  76% {
    transform: translateY(-3px) rotate(-1deg);
  }
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.privacy-grid .privacy-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.section-number {
  font: 400 25px var(--serif);
  color: var(--muted);
}
.privacy-grid h3 {
  font-size: 19px;
  margin: 25px 0 14px;
  font-weight: 500;
  line-height: 1.4;
}
.privacy-grid p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.privacy-storage,
.memory-mechanism,
.perspective-mechanism {
  max-width: 900px;
  margin-top: clamp(88px, 10vw, 128px);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.perspective-mechanism {
  margin-top: clamp(112px, 12.5vw, 160px);
  color: var(--contrast-muted);
}
.privacy-section .text-link {
  margin-top: 22px;
}
.pricing-section {
  background: var(--surface);
}
.plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
}
.plan {
  padding: 27px 22px 18px;
  border-right: 1px solid var(--line);
}
.plan:first-child {
  padding-left: 0;
}
.plan:last-child {
  border: 0;
}
.plan h3 {
  font-size: 20px;
  font-weight: 500;
}
.plan-for {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
  min-height: 44px;
}
.plan-price {
  font: 400 43px/1.3 var(--serif);
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.currency {
  font: 16px var(--sans);
  vertical-align: super;
  margin-right: 3px;
}
.plan-details {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.plan-details strong {
  font-weight: 500;
  color: var(--ink);
}
.plan-details p {
  margin-bottom: 18px;
}
.pricing-bottom {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}
.pricing-bottom > div {
  max-width: 650px;
}
.pricing-bottom p + p {
  margin-top: 8px;
  font-size: 15px;
}
.pricing-bottom .button {
  flex-shrink: 0;
}
.about-section {
  text-align: center;
  padding-block: 90px 86px;
}
.about-section h2 {
  font-size: clamp(36px, 4.8vw, 64px);
}
.about-section h2 span {
  display: block;
}
.about-title-accent {
  color: var(--brand);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0.12em;
  padding-block: 0.08em 0.22em;
  font-style: italic;
}
.about-section p:not(.eyebrow):not(.closing-line) {
  max-width: 600px;
  margin: 27px auto 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.about-section .closing-line {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 17px;
  margin-top: 28px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
}
.footer-main > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-main h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  margin: 5px 0 5px;
}
.footer-main a:not(.wordmark) {
  color: var(--muted);
  font-size: 14px;
  display: inline-flex;
  gap: 10px;
  min-height: 24px;
}
.footer-main a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-main .fine-print {
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 10px;
  font-size: 13px;
  color: var(--muted);
}
.footer-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.footer-language svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}
.footer-language .language-chevron {
  position: absolute;
  right: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
#visual-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.2em;
}
:lang(zh) #visual-title,
:lang(ja) #visual-title {
  column-gap: 0;
}
.visual-title-accent {
  color: var(--brand);
  font-style: italic;
  padding: 0.08em 0.12em 0.22em;
  margin-inline: -0.12em;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .visual-title-accent,
  .about-title-accent {
    background: var(--creative-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .visual-title-accent,
  .about-title-accent {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
#qrModal {
  border: 1px solid var(--line);
  padding: 42px 30px 30px;
  max-width: min(400px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 5px;
}
#qrModal::backdrop {
  background: #00000099;
}
#qrModalContent {
  text-align: center;
}
#qrModalClose {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  font-size: 26px;
}
#qrModal h2 {
  font-size: 30px;
}
#qrModal p {
  margin-top: 15px;
  font-size: 15px;
  color: var(--muted);
}
#qrModal img {
  margin: 20px auto;
}
#qrModal .button {
  width: 100%;
}
html[lang^="zh"] h1,
html[lang="ja"] h1 {
  font-size: clamp(52px, 5.8vw, 76px);
  line-height: 1.25;
}
html[lang^="zh"] .eyebrow,
html[lang="ja"] .eyebrow {
  letter-spacing: 0.08em;
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 105px 90px;
  }
}
@media (max-width: 1150px) {
  .shell {
    width: calc(100% - 72px);
  }
  .nav {
    gap: 20px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero {
    gap: 45px;
  }
  .hero-actions {
    gap: 14px;
  }
  .model-list {
    gap: 22px;
  }
  .perspective-grid,
  .memory-intro {
    gap: 60px;
  }
  .plan {
    padding-inline: 15px;
  }
  .plan-price {
    font-size: 36px;
  }
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy {
    max-width: 640px;
    padding-bottom: 0;
  }
  .hero-example {
    margin-inline: auto;
  }
}
@media (max-width: 900px) {
  :root {
    --nav-height: 72px;
  }
  .shell {
    width: calc(100% - 48px);
  }
  .nav-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
  }
  .hero {
    gap: 35px;
    padding-block: 60px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-description {
    font-size: 16px;
  }
  .section {
    padding-block: 80px;
  }
  .work-panel {
    gap: 35px;
    min-height: 350px;
  }
  .work-tabs button {
    gap: 8px;
    font-size: 14px;
  }
  .perspective-grid,
  .memory-intro {
    gap: 40px;
  }
  .privacy-grid {
    gap: 24px;
  }
  .plan {
    padding-inline: 12px;
  }
  .plan-price {
    font-size: 30px;
  }
  .pricing-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 680px) {
  :root {
    --nav-height: 68px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .nav {
    gap: 10px;
  }
  .wordmark-art {
    height: 24px;
  }
  .registered {
    display: none;
  }
  .nav-actions {
    gap: 9px;
  }
  .nav-actions .button {
    padding: 8px 10px;
    min-height: 36px;
    font-size: 12px;
    gap: 0;
  }
  .nav-actions .button > span:last-child {
    display: none;
  }
  .menu-toggle {
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 49px 40px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero .eyebrow {
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(53px, 12.8vw, 76px);
    margin-bottom: 22px;
  }
  .hero-description {
    max-width: 460px;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 20px;
  }
  .hero-example {
    padding: 15px 12px 13px;
  }
  .hero-demo-bar {
    padding-inline: 2px;
  }
  .hero-demo-ask {
    max-width: 92%;
  }
  .hero-demo-body {
    padding: 16px 12px;
  }
  .hero-demo-tabs {
    padding-inline: 6px;
  }
  .hero-demo-tabs .hero-demo-version {
    margin-left: 7px;
  }
  .hero-demo-chart {
    column-gap: 7px;
  }
  .hero-demo-opinion {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 7px;
  }
  .model-list {
    gap: 19px 24px;
  }
  .model-list > span {
    font-size: 16px;
  }
  .model-list img {
    width: 20px;
    height: 20px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  h2 {
    font-size: 37px;
  }
  .section-description {
    font-size: 16px;
    margin-top: 19px;
  }
  .eyebrow {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .work-tabs {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
    gap: 0 20px;
  }
  .work-tabs button {
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    padding-block: 17px;
  }
  .work-tabs button::after {
    bottom: 0;
  }
  .work-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 30px;
    min-height: 0;
  }
  .work-panel h3 {
    font-size: 30px;
  }
  .work-panel-copy > p {
    max-width: none;
  }
  .prompt-example {
    padding: 23px;
  }
  .prompt-example blockquote {
    font-size: 23px;
  }
  .perspective-section {
    padding-block: 80px;
  }
  .perspective-grid,
  .memory-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .perspective-text > p:first-child {
    font-size: 16px;
  }
  .memory-copy h2 {
    max-width: none;
  }
  .mate-row {
    padding-block: 22px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .privacy-grid .privacy-card {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 12px;
  }
  .privacy-grid h3 {
    margin: 2px 0 12px;
  }
  .privacy-grid p {
    grid-column: 2;
  }
  .privacy-section .text-link {
    margin-top: 22px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
    padding: 23px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .plan:last-child {
    border-bottom: 0;
  }
  .plan h3 {
    grid-column: 1;
  }
  .plan-for {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
  }
  .plan-price {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    text-align: right;
    font-size: 34px;
  }
  .plan > .fine-print {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }
  .plan-details {
    grid-column: 1 / -1;
    display: flex;
    gap: 25px;
    margin-top: 15px;
    align-items: center;
  }
  .plan-details p {
    margin: 0;
    font-size: 13px;
  }
  .plan-details br {
    display: none;
  }
  .plan-details strong {
    margin-right: 4px;
  }
  .about-section {
    padding-block: 60px;
  }
  .about-section h2 {
    font-size: 37px;
  }
  .about-section p:not(.eyebrow):not(.closing-line) {
    font-size: 16px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .footer-main > div:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .footer-main a:not(.wordmark) {
    min-height: 30px;
  }
  #language {
    min-height: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}
@media (max-width: 360px) {
  .shell {
    width: calc(100% - 28px);
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-actions .button {
    font-size: 12px;
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .mates-animated .mate-greeting {
    opacity: 1;
    transform: none;
  }
}

/* One control toggles the resolved theme, including an initial system default. */
.appearance {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  border-radius: 4px;
}
.appearance:hover {
  background: var(--surface);
}
.appearance svg {
  width: 17px;
  height: 17px;
}
.appearance .theme-sun,
.appearance .theme-moon {
  display: none;
}
:root[data-theme="light"] .theme-sun,
:root[data-theme="dark"] .theme-moon {
  display: block;
}
/* Provider wordmarks remain legible on the shared dark comparison section. */
.perspective-section .model-list img[src$="/xai.svg"] {
  filter: invert(1);
}
.perspective-section .model-list {
  gap: 18px 22px;
  border-block: 1px solid var(--contrast-line);
  margin: 28px 0 18px;
  padding-block: 22px;
}
.perspective-section .model-list > span {
  font-size: 16px;
}
.perspective-section .model-list img {
  width: 22px;
  height: 22px;
}
#qrModal img {
  background: #fff;
  border: 8px solid #fff;
  box-sizing: content-box;
}
@media (max-width: 680px) {
  .nav-actions {
    gap: 5px;
  }
  .appearance {
    width: 30px;
  }
  .nav {
    gap: 6px;
  }
}
@media (max-width: 360px) {
  .nav-actions {
    gap: 3px;
  }
  .wordmark-art {
    height: 22px;
  }
  .nav-actions .button {
    padding-inline: 6px;
  }
}

/* Keep navigation readable on phones; the same entry is available in the menu. */
.mobile-nav-cta {
  display: none;
}
@media (max-width: 680px) {
  .nav-actions > .button {
    display: none;
  }
  .nav-links .mobile-nav-cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 12px 18px;
    margin-top: 10px;
    color: #fff;
  }
  .nav-actions {
    gap: 8px;
  }
  .menu-toggle {
    font-size: 14px;
  }
  .appearance {
    width: 36px;
  }
  .plan-details {
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .plan-details p {
    font-size: 14px;
  }
}

/* Preserve each provider's source palette, including Grok's monochrome mark. */
.perspective-section .model-list img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.visual-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(104px, 12.5vw, 160px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr;
  gap: 32px 72px;
  align-items: start;
}
.visual-section .section-heading {
  margin: 0;
}
.visual-section .section-description {
  max-width: 430px;
}
.visual-gallery {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.visual-gallery .visual-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.visual-gallery .visual-card:first-child {
  padding-top: 0;
  border-top: 0;
}
.visual-gallery .visual-card:last-child {
  padding-bottom: 0;
}
.visual-gallery figure {
  margin: 0;
}
.visual-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
  border-radius: 6px;
}
.visual-gallery .visual-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 7px;
}
.visual-gallery h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 9px;
  letter-spacing: -0.02em;
}
.visual-entry > p:not(.visual-label) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.visual-footer {
  grid-column: 1;
  max-width: 360px;
}
.visual-footer p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.visual-footer a {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .visual-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .visual-section .section-description {
    max-width: 600px;
  }
  .visual-gallery {
    grid-column: auto;
    grid-row: auto;
  }
  .visual-gallery .visual-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .visual-footer {
    max-width: 600px;
  }
}
@media (max-width: 680px) {
  .visual-gallery .visual-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-block: 22px;
  }
  .visual-media {
    margin-top: 4px;
  }
  .visual-gallery h3 {
    font-size: 21px;
  }
}

.perspective-section .model-list .more-models {
  font-size: 28px;
  line-height: 1;
  color: var(--contrast-muted);
}
.plan-for {
  font-size: 14px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-features li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}
.plan-quota strong {
  font-size: 24px;
}
.pricing-rules {
  margin-top: 32px;
  max-width: 980px;
}
.pricing-rules h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
}
.pricing-rules p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 10px;
}
@media (min-width: 681px) and (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan {
    padding: 28px 24px;
    border-bottom: 1px solid var(--line);
  }
  .plan:first-child {
    padding-left: 24px;
  }
  .plan:nth-child(even) {
    border-right: 0;
  }
  .plan:last-child {
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 680px) {
  .plan-details {
    display: block;
  }
  .plan-features {
    margin-top: 22px;
  }
  .plan-for {
    max-width: none;
  }
}

/* The dots have their own centered box and keep a deliberate gap from Grok. */
.perspective-section .model-list .more-models {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 30px;
  margin-left: 10px;
  flex: none;
}
.more-models svg {
  display: block;
  width: 24px;
  height: 24px;
}
.work-section {
  padding-bottom: 72px;
}
.background-work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 128px;
}
.background-work > div {
  max-width: 850px;
}

.background-work p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.plan-summary {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.8;
}
.plan-summary li + li {
  margin-top: 8px;
}
.plan-comparison {
  border-bottom: 1px solid var(--line);
}
.plan-comparison > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  padding: 22px 0;
  font-size: 16px;
  color: var(--muted);
}
.plan-comparison > summary::-webkit-details-marker {
  display: none;
}
.plan-comparison > summary:hover {
  color: var(--ink);
}
.plan-comparison-symbol {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.plan-comparison-symbol::before {
  content: "+";
}
.plan-comparison[open] .plan-comparison-symbol::before {
  content: "−";
}
.plan-comparison-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding-top: 16px;
}
.plan-comparison-column {
  min-width: 0;
}
.plan-comparison-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
.plan-comparison .pricing-rules {
  margin-bottom: 28px;
}
@media (min-width: 681px) {
  .plans {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .plan {
    padding: 27px 18px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .plan:first-child {
    padding-left: 0;
  }
  .plan:nth-child(even) {
    border-right: 1px solid var(--line);
  }
  .plan:last-child {
    border: 0;
  }
}
@media (max-width: 1100px) {
  .plan-comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 681px) and (max-width: 900px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan {
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .plan:first-child {
    padding-left: 24px;
  }
  .plan:nth-child(even) {
    border-right: 0;
  }
}
@media (max-width: 680px) {
  .work-section {
    padding-bottom: 48px;
  }
  .background-work {
    gap: 0;
    margin-top: 88px;
  }

  .plan-comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
