/* Shared palette, native font fallbacks, and BoardUI-inspired proportions matching aichat.oskarcode.com */
:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #292b31;
  background: #faf9f6;
  font-synthesis: none;
  --muted: #85838a;
  --border: #e9e7e2;
  --purple: #7765aa;
  --purple-light: #efebf8;
  --sage: #e8eee7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #faf9f6;
  color: #292b31;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
.button-link {
  cursor: pointer;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 550;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
button:hover,
.button-link:hover {
  background: #f1efeb;
}
button:active,
.button-link:active {
  transform: translateY(1px);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a99bcd;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
svg {
  flex-shrink: 0;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.primary {
  background: #34303f;
  border-color: #34303f;
  color: white;
  padding: 13px 20px;
}
.primary:hover {
  background: #514862;
}
.secondary {
  background: #fff;
  border-color: var(--border);
  font-size: 13px;
  padding: 13px 18px;
}
.text-button {
  border: 0;
  background: none;
  padding: 7px;
  font-size: 13px;
}
.wordmark {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.7px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ded6ed;
  color: #514568;
  border-radius: 12px;
  width: 38px;
  height: 38px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 650;
  color: #8b808f;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85a18a;
  flex-shrink: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
.rose {
  background: #f1deda;
  color: #995f60;
}
.mint {
  background: #dfeae0;
  color: #65816b;
}
.purple {
  background: #e9e1f6;
  color: #7a63a2;
}
.sand {
  background: #eee8d9;
  color: #a38a50;
}
.room-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edeadf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3946a;
  flex-shrink: 0;
  font-size: 20px;
}
.mini-label {
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #91849f;
  background: #f2eef7;
  border-radius: 4px;
  padding: 3px 6px;
  font-weight: 650;
  display: inline-block;
}
.landing {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.public-nav {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-nav > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.beta-tag {
  font-size: 10px;
  letter-spacing: 1.4px;
  background: #efede7;
  padding: 7px 11px;
  border-radius: 6px;
  color: #7e7b72;
  font-weight: 600;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 0 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -2.6px;
  margin: 25px 0;
}
.hero h1 span {
  color: #8a799f;
}
.hero-copy > p {
  font-size: 16px;
  color: #89838b;
  max-width: 500px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #9b959c;
  font-size: 11px;
  margin-top: 19px;
}
.examples-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #78638d;
  font-size: 12px;
  text-underline-offset: 4px;
}
.landing-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.landing-differences {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.landing-differences .difference-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: none;
  padding: 24px;
}
.difference-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex-shrink: 0;
}
.difference-card h2 {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -0.3px;
  margin: 1px 0 8px;
}
.difference-card p {
  font-size: 13px;
  line-height: 1.8;
  color: #817984;
  margin: 0;
}
.landing-examples,
.landing-how,
.landing-arch {
  border-top: 1px solid var(--border);
  padding: 64px 0 72px;
  scroll-margin-top: 28px;
}
.getting-started-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.getting-started-grid .getting-started-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: none;
  width: 100%;
  padding: 24px;
}
.getting-started-card .preview-header {
  align-items: flex-start;
}
.getting-started-card .preview-header > div {
  min-width: 0;
}
.getting-started-card ol {
  list-style: none;
  counter-reset: start-step;
  margin: 24px 0;
  padding: 0;
}
.getting-started-card li {
  counter-increment: start-step;
  position: relative;
  padding-left: 34px;
}
.getting-started-card li + li {
  margin-top: 24px;
}
.getting-started-card li::before {
  content: counter(start-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #e2dbe8;
  border-radius: 7px;
  color: #877496;
  font-size: 10px;
}
.getting-started-card li strong {
  font-size: 13px;
  font-weight: 550;
}
.getting-started-card li p {
  color: #817984;
  font-size: 12px;
  line-height: 1.8;
  margin: 7px 0 0;
}
.getting-started-card .example-note {
  border-top: 1px solid var(--border);
}
.getting-started-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 22px;
  background: #f2efe8;
  border-radius: 12px;
  color: #827888;
}
.getting-started-note > svg,
.getting-started-note .button-link {
  flex-shrink: 0;
}
.getting-started-note p {
  flex: 1;
  margin: 0;
  font-size: 12px;
}
.terminal-card {
  margin-top: 28px;
  background: #23202b;
  color: #ebe6f4;
  border-radius: 18px;
  padding: 22px 26px;
  border: 1px solid #383346;
  box-shadow: 0 25px 70px -35px #23202b55;
}
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #353042;
  margin-bottom: 16px;
}
.terminal-header span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #a99ec0;
  font-weight: 600;
}
.copy-btn {
  background: #332d41;
  border: 1px solid #48405a;
  color: #efeaf9;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 8px;
}
.copy-btn:hover {
  background: #423b54;
}
.terminal-card pre {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
  color: #e6e0f2;
}
.terminal-card .comment {
  color: #8e83a6;
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.arch-card {
  padding: 20px;
}
.arch-card strong {
  display: block;
  font-size: 13px;
  margin: 12px 0 6px;
}
.arch-card p {
  font-size: 12px;
  color: #817984;
  line-height: 1.7;
  margin: 0;
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 701px) {
    .examples-grid > .landing-example {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 2;
      gap: 0;
    }
  }
}
.examples-heading {
  max-width: 680px;
  margin-bottom: 48px;
}
.examples-heading h2 {
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 550;
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin: 19px 0;
}
.examples-heading h2 span {
  color: #8a799f;
}
.examples-heading > p,
.example-intro > p {
  color: #817984;
  font-size: 14px;
  line-height: 1.8;
}
.examples-heading > small {
  display: block;
  color: #827888;
  font-size: 11px;
  line-height: 1.7;
  max-width: 560px;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.landing-example {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.example-intro {
  padding: 0 3px 18px;
}
.example-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}
.example-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #e2dbe8;
  border-radius: 8px;
  color: #877496;
  font-size: 10px;
  letter-spacing: 0;
}
.example-intro h3 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 13px 0 8px;
}
.example-intro > p {
  font-size: 13px;
  margin: 0;
}
.landing-example .example-card {
  width: 100%;
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.example-tag {
  margin-left: auto;
  color: #827689;
  font-size: 8px;
  letter-spacing: 1px;
}
.example-card .sample-message p,
.example-card .sample-ai,
.example-system p {
  font-size: 12px;
  line-height: 1.75;
}
.example-card .sample-message {
  margin: 18px 0 0;
}
.example-card .sample-message > div {
  min-width: 0;
}
.example-card .sample-ai {
  margin: 16px 0 0 39px;
}
.example-card .sample-ai p {
  margin: 0;
}
.example-setting,
.example-quiet,
.example-moment {
  color: #81738e;
  font-size: 10px;
  line-height: 1.7;
}
.example-setting {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f3f6f1;
  border-radius: 9px;
  color: #5b7663;
  margin-top: 18px;
}
.example-result[hidden] {
  display: none;
}
.example-moment {
  border-top: 1px dashed #e8e1eb;
  padding-top: 17px;
  margin-top: 22px;
  font-size: 8px;
  letter-spacing: 0.8px;
}
.example-system {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #e4ebe2;
  background: #f7faf6;
  color: #607362;
  border-radius: 11px;
  margin-top: 16px;
}
.example-system strong {
  font-size: 11px;
  font-weight: 600;
}
.example-system p {
  margin: 4px 0 0;
}
.example-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  border: 1px solid #e7deef;
  border-radius: 10px;
  background: #f6f2fa;
  color: #745d8a;
  font-size: 12px;
  font-weight: 550;
  margin-top: 22px;
  padding: 11px;
}
.example-action:hover {
  background: #eee7f5;
  border-color: #d5c6e3;
}
.example-note {
  color: #877d8b;
  font-size: 10px;
  line-height: 1.75;
  padding-top: 12px;
  margin: auto 0 0;
}
.preview-card {
  background: #fff;
  border: 1px solid #ebe7e0;
  border-radius: 20px;
  box-shadow: 0 25px 70px -35px #a49a8d55;
  position: relative;
  padding: 24px;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1efec;
  padding-bottom: 20px;
}
.preview-header strong {
  font-size: 13px;
}
.preview-header small {
  display: block;
  color: #9a949c;
  margin-top: 4px;
  font-size: 10px;
}
.sample-message {
  display: flex;
  gap: 11px;
  margin: 20px 0;
}
.sample-message .avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
  border-radius: 9px;
}
.sample-message strong {
  font-size: 11px;
}
.sample-message p {
  font-size: 11px;
  line-height: 1.7;
  color: #79737d;
  margin: 5px 0 0;
}
.sample-message .mini-label {
  font-size: 7px;
  margin-left: 5px;
}
.sample-ai {
  background: #f8f6fb;
  border: 1px solid #eee8f5;
  border-radius: 12px;
  padding: 17px 19px;
  margin: 16px 0 20px 39px;
  font-size: 11px;
  color: #7d718a;
}
.ai-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b75a8;
  font-weight: 600;
  font-size: 10px;
  margin-bottom: 10px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 27px 0 40px;
  font-size: 11px;
  color: #aaa3ab;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
footer > div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width: 1050px) {
  .landing {
    padding: 0 35px;
  }
  .getting-started-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 0 50px;
  }
  .examples-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .landing {
    padding: 0 22px;
  }
  .public-nav {
    height: 88px;
  }
  .hero h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .arch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sample-ai {
    margin-left: 0;
  }
  footer {
    flex-direction: column;
  }
}
