@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin-ext-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02FF;
}
:root {
  color-scheme: dark;
  --bg: #111111;
  --surface: #191919;
  --field: #131313;
  --soft: #222222;
  --ink: #eeeeeb;
  --muted: #a5a59f;
  --line: #333333;
  --accent: #dedfd5;
  --on-accent: #171a14;
  --error: #f4aaa2;
  --success: #afd5b9;
  --focus: #b6c4a5;
  font-family: Geist, system-ui, sans-serif;
  font-size: 16px;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --field: #fafaf8;
  --soft: #efefec;
  --ink: #232520;
  --muted: #62665e;
  --line: #ddded8;
  --accent: #303a2c;
  --on-accent: #ffffff;
  --error: #a42d23;
  --success: #23623b;
  --focus: #4c6541;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: -0.045em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.p-container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.p-header {
  border-bottom: 1px solid var(--line);
}
.p-header > .p-container {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.p-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-size: 20px;
  white-space: nowrap;
  min-height: 44px;
}
.p-brand > span {
  font-weight: 850;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -7px;
  padding-right: 6px;
}
.p-brand b {
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 2px 6px;
  font-weight: 500;
  margin-left: 3px;
}
.p-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.p-nav a,
.p-login-link {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.header-actions {
  margin-left: auto;
  gap: 20px;
}
.p-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 20px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--on-accent);
  border-radius: 7px;
  font-weight: 580;
  font-size: 14px;
  line-height: 1.45;
  transition:
    background 180ms,
    transform 180ms;
}
.p-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.p-small {
  min-height: 44px;
  font-size: 13px;
  padding: 10px 14px;
}
.p-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.brand-theme-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 7px;
  font-size: 0;
}
.brand-theme-toggle::after {
  content: "◐";
  font-size: 23px;
  line-height: 1;
}
.p-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 88px 72px;
}
.p-eyebrow {
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.p-hero h1 {
  font-size: clamp(42px, 4.5vw, 62px);
  margin: 24px 0;
  line-height: 1.08;
}
.p-hero h1 span,
.p-page-title h1 span,
.p-auth-story h2 span {
  color: var(--muted);
}
.p-hero-copy > p {
  font-size: 17px;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.7;
}
.p-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 32px;
}
.p-text-link {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.p-data-art {
  height: 370px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}
.p-data-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, black, transparent);
}
.p-art-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
}
.p-art-word {
  position: absolute;
  bottom: 28px;
  left: 24px;
  font-size: 66px;
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 630;
}
.p-art-word span {
  display: block;
  color: var(--muted);
}
.p-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
  gap: 20px;
}
.p-spec-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.p-spec-strip strong {
  font-weight: 500;
  font-size: 16px;
}
.p-section {
  padding-block: 80px;
}
.p-section h2 {
  font-size: 36px;
  max-width: 22ch;
}
.p-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.p-integration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.p-integration > div > p {
  margin-top: 20px;
  max-width: 50ch;
}
.p-pipeline {
  padding: 0;
  list-style: none;
  margin: 32px 0 0;
  display: grid;
  gap: 20px;
}
.p-pipeline li {
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.p-pipeline span {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.p-pipeline strong {
  font-size: 14px;
  font-weight: 500;
}
.p-code {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}
.p-code-head,
.p-code-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-size: 11px;
  color: var(--muted);
}
.p-code-head {
  border-bottom: 1px solid var(--line);
}
.p-code pre {
  font-size: 12px;
  line-height: 2.1;
  margin: 0;
  padding: 32px 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 200px;
}
.code-soft {
  color: var(--muted);
}
.code-accent {
  color: var(--success);
}
.p-code-foot {
  border-top: 1px solid var(--line);
  align-items: center;
}
.p-code-foot a {
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: underline;
}
.p-section-title {
  margin-bottom: 32px;
}
.p-section-title p {
  margin-top: 16px;
  max-width: 58ch;
}
.p-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.p-plan {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.p-plan-plus {
  border-top: 3px solid var(--accent);
  padding-top: 34px;
}
.p-plan header > span {
  font-size: 12px;
  color: var(--muted);
}
.p-plan h3 {
  font-size: 28px;
  margin-top: 12px;
}
.p-plan .p-price {
  font-size: 52px;
  color: var(--ink);
  letter-spacing: -0.055em;
  font-weight: 550;
  line-height: 1.2;
  margin: 28px 0 8px;
  font-variant-numeric: tabular-nums;
}
.p-price span {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.p-plan > p {
  font-size: 14px;
  color: var(--muted);
}
.p-plan > .p-button {
  display: flex;
  margin-block: 24px 28px;
  justify-content: space-between;
}
.p-plan dl {
  margin: 0;
}
.p-plan dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
}
.p-plan dt {
  color: var(--muted);
}
.p-plan dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.p-plan-extra {
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
}
.p-page-title {
  padding-block: 64px 40px;
}
.p-page-title h1 {
  font-size: 56px;
  margin: 20px 0;
}
.p-page-title p {
  font-size: 16px;
  max-width: 64ch;
  color: var(--muted);
}
.p-billing-note {
  margin-top: 24px;
  max-width: 75ch;
  color: var(--muted);
  font-size: 13px;
}
.p-faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.p-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.p-faq summary {
  min-height: 44px;
  cursor: pointer;
  font-size: 16px;
  padding-block: 8px;
}
.p-faq details p {
  padding: 8px 0 16px;
}
.p-closing {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.p-closing p {
  max-width: 50ch;
  margin-bottom: 20px;
}
.p-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px;
  display: flex;
  align-items: start;
  gap: 40px;
  font-size: 13px;
}
.p-footer > div > a {
  font-weight: 650;
}
.p-footer p,
.p-footer small {
  color: var(--muted);
  font-size: 12px;
}
.p-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.p-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.p-footer small {
  margin-top: 12px;
  white-space: nowrap;
}
.p-auth {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 100px;
  align-items: start;
  padding-block: 56px 72px;
  max-width: 1080px;
}
.p-auth-story {
  padding: 12px 0;
}
.p-back {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.p-auth-story h2 {
  font-size: 56px;
  margin: 28px 0 24px;
  line-height: 1.04;
}
.p-auth-story > p {
  font-size: 16px;
  max-width: 34ch;
  color: var(--muted);
}
.p-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 28px;
  display: grid;
  gap: 22px;
}
.p-steps li {
  display: flex;
  gap: 16px;
  align-items: start;
}
.p-steps li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.p-steps li[aria-current] > span {
  background: var(--accent);
  color: var(--on-accent);
}
.p-steps strong {
  font-size: 14px;
  font-weight: 550;
}
.p-steps p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.p-auth-card {
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 8px;
  background: var(--surface);
  min-width: 0;
}
.p-auth-card h1,
.p-auth-card h2 {
  font-size: 30px;
  margin: 12px 0;
}
.p-auth-card header > p {
  font-size: 13px;
  color: var(--muted);
}
.p-auth-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-auth-card form {
  margin-top: 28px;
}
.p-plan-picker {
  padding: 0;
  border: 0;
  margin: 0 0 26px;
  min-width: 0;
}
.p-plan-picker legend {
  font-size: 13px;
  margin-bottom: 12px;
}
.p-plan-picker label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  background: var(--field);
  min-width: 0;
}
.p-plan-picker label:has(input:checked) {
  border-color: var(--accent);
  background: var(--soft);
}
.p-plan-picker input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
.p-plan-picker label > span {
  min-width: 0;
}
.p-plan-picker strong {
  font-size: 14px;
  display: block;
  font-weight: 550;
}
.p-plan-picker small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}
.p-plan-picker b {
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
  font-size: 22px;
  font-weight: 550;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.p-plan-picker b small {
  font-weight: 400;
  margin-top: 4px;
}
.p-field {
  margin-bottom: 20px;
}
.p-field > label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.p-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--field);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 16px;
}
.p-field > small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 70px;
}
.password-field button {
  position: absolute;
  right: 3px;
  top: 1px;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 60px;
  height: 44px;
  font-size: 12px;
}
.p-consent {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  cursor: pointer;
  margin-block: 22px;
}
.p-consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
.p-full {
  width: 100%;
}
.p-form-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}
.p-login {
  max-width: 440px;
  margin: 72px auto 100px;
  width: calc(100% - 32px);
  min-height: 55vh;
}
.p-support {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.notice {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 13px;
}
.notice-error {
  color: var(--error);
}
.notice-success {
  color: var(--success);
}
@media (max-width: 1050px) {
  .p-container {
    width: calc(100% - 48px);
  }
  .p-header > .p-container {
    gap: 28px;
  }
  .p-nav {
    gap: 20px;
  }
  .header-actions {
    gap: 12px;
  }
  .p-auth {
    gap: 48px;
    grid-template-columns: 1fr minmax(380px, 1fr);
  }
  .p-auth-story h2 {
    font-size: 48px;
  }
  .p-integration {
    gap: 32px;
  }
  .p-hero h1 {
    font-size: 46px;
  }
  .p-hero {
    padding-top: 56px;
  }
  .p-art-word {
    font-size: 52px;
  }
}
@media (max-width: 800px) {
  .p-nav {
    display: none;
  }
  .p-auth {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 24px;
    padding-top: 24px;
  }
  .p-auth-story h2,
  .p-auth-story > p,
  .p-auth-story > .p-text-link {
    display: none;
  }
  .p-auth-story {
    padding: 0;
  }
  .p-steps {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
  }
  .p-steps li {
    gap: 8px;
    align-items: center;
  }
  .p-steps strong {
    font-size: 11px;
  }
  .p-steps p {
    display: none;
  }
  .p-steps li > span {
    width: 24px;
    height: 24px;
  }
  .p-hero {
    grid-template-columns: 1fr;
  }
  .p-hero h1 {
    font-size: 50px;
  }
  .p-data-art {
    height: 220px;
    margin-top: 12px;
  }
  .p-art-word {
    font-size: 54px;
  }
  .p-spec-strip {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .p-integration {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .p-section {
    padding-block: 48px;
  }
  .p-plan {
    padding: 24px;
  }
  .p-plan-plus {
    padding-top: 22px;
  }
  .p-faq,
  .p-closing {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  .p-footer nav {
    margin: 0;
  }
  .p-footer small {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 560px) {
  .p-container {
    width: calc(100% - 32px);
  }
  .p-header > .p-container {
    height: 68px;
    gap: 12px;
  }
  .p-brand {
    font-size: 18px;
    gap: 8px;
  }
  .p-brand > span {
    font-size: 28px;
  }
  .p-brand b {
    display: none;
  }
  .p-header .p-small {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .p-login-link {
    font-size: 12px;
  }
  .p-hero {
    padding-block: 40px;
  }
  .p-hero h1 {
    font-size: 39px;
  }
  .p-hero-copy > p {
    font-size: 15px;
  }
  .p-eyebrow {
    font-size: 10px;
  }
  .p-actions {
    align-items: stretch;
    gap: 8px;
    margin-top: 24px;
  }
  .p-actions .p-button {
    width: 100%;
  }
  .p-actions .p-text-link {
    justify-content: center;
    width: 100%;
  }
  .p-spec-strip strong {
    font-size: 14px;
  }
  .p-section h2 {
    font-size: 30px;
  }
  .p-pricing {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-page-title {
    padding-block: 40px 28px;
  }
  .p-page-title h1 {
    font-size: 40px;
  }
  .p-page-title p {
    font-size: 15px;
  }
  .p-auth-card {
    padding: 24px 20px;
  }
  .p-auth-card h1,
  .p-auth-card h2 {
    font-size: 28px;
  }
  .p-auth {
    padding-bottom: 40px;
  }
  .p-plan-picker label {
    padding: 12px;
    gap: 10px;
  }
  .p-plan-picker small {
    font-size: 10px;
  }
  .p-plan-picker b {
    font-size: 20px;
  }
  .p-plan-picker strong {
    font-size: 13px;
  }
  .p-steps li > span {
    display: none;
  }
  .p-steps li[aria-current] {
    color: var(--ink);
  }
  .p-steps li {
    color: var(--muted);
  }
  .p-code-head,
  .p-code-foot {
    padding: 12px 16px;
  }
  .p-code pre {
    padding: 24px 16px;
    font-size: 11px;
  }
  .p-code-foot {
    flex-wrap: wrap;
    gap: 0;
  }
  .p-login {
    margin-block: 32px 56px;
  }
  .p-footer nav {
    gap: 0 20px;
  }
  .p-footer {
    padding-block: 24px;
  }
  .p-billing-note {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
.portal-page:has(#regForm) .header-actions>.p-button{display:none}.portal-page:has(#loginForm) .p-login-link{display:none}.p-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
