:root {
  --bg: #eeebe5;
  --bg-strong: #e2ddd5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #14110f;
  --surface-dark-strong: #28221d;
  --text: #151311;
  --text-muted: #6f685f;
  --text-light: rgba(245, 240, 235, 0.8);
  --line: rgba(21, 19, 17, 0.1);
  --line-strong: rgba(21, 19, 17, 0.16);
  --accent: #b9ada0;
  --accent-deep: #8b7f72;
  --accent-soft: rgba(139, 127, 114, 0.12);
  --success: #27694d;
  --warning: #9e6329;
  --shadow: 0 28px 70px rgba(27, 20, 13, 0.08);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --font-display: "Sora", "Avenir Next", sans-serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.web-shell {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(185, 173, 160, 0.18), transparent 18%),
    linear-gradient(180deg, #f7f4ef 0%, var(--bg) 46%, #ece7de 100%);
}

body.web-shell--auth {
  background:
    radial-gradient(circle at 14% 18%, rgba(204, 223, 255, 0.42), transparent 24%),
    radial-gradient(circle at 78% 16%, rgba(255, 220, 218, 0.48), transparent 24%),
    radial-gradient(circle at 66% 74%, rgba(255, 206, 214, 0.34), transparent 18%),
    linear-gradient(180deg, #f7fafc 0%, #f4f4f5 48%, #f5f0ee 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 700;
}

.shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.shell--auth {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding-bottom: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 24px;
}

.topbar--reference {
  padding-top: 12px;
  padding-bottom: 34px;
}

.topbar--auth {
  padding-top: 6px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.app-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand__copy {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__tag {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.topbar__nav,
.topbar__actions,
.button-row,
.badge-row,
.footer__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__nav {
  justify-content: center;
}

.topbar__actions {
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 140ms ease, color 140ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-link--quiet {
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.pill--ghost {
  background: transparent;
}

.button,
.button_to button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover,
.button_to button:hover {
  transform: translateY(-1px);
}

.button--primary,
.button_to .button--primary {
  background: var(--surface-dark);
  color: white;
}

.button--secondary,
.button_to .button--secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-strong);
  color: var(--text);
}

.button--ghost,
.button_to .button--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button--danger,
.button_to .button--danger {
  background: rgba(158, 99, 41, 0.1);
  border-color: rgba(158, 99, 41, 0.2);
  color: var(--warning);
}

.button_to {
  display: inline-flex;
  margin: 0;
}

.flash-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

body.web-shell--auth .flash-stack {
  width: min(520px, 100%);
  margin: 0 auto 8px;
}

.flash {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.flash--notice {
  border-color: rgba(39, 105, 77, 0.18);
  color: var(--success);
}

.flash--alert {
  border-color: rgba(158, 99, 41, 0.18);
  color: var(--warning);
}

main {
  display: grid;
  gap: 26px;
}

.main--auth {
  align-content: center;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 150px);
  padding: 20px 0 10px;
}

.auth-shell--form {
  min-height: calc(100vh - 140px);
}

.auth-panel {
  width: min(520px, 100%);
  padding: 34px 28px 30px;
  border: 1px solid rgba(17, 21, 31, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 28px 80px rgba(15, 19, 29, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px);
  text-align: center;
}

.auth-panel--form {
  width: min(560px, 100%);
  padding-top: 24px;
}

.auth-panel__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #11151f;
  position: relative;
  overflow: hidden;
}

.auth-panel__mark::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transform: translate(-10px, -10px);
}

.auth-panel__mark span {
  display: block;
  width: 24px;
  height: 10px;
  border-radius: 999px;
  background: white;
  transform: rotate(-28deg) translate(-2px, 8px);
}

.auth-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.auth-panel__title--compact {
  max-width: none;
  font-size: clamp(2.15rem, 4.6vw, 3.2rem);
}

.auth-panel__title--form {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
}

.auth-panel__copy {
  margin: 14px auto 0;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.auth-panel__copy--wide {
  max-width: 36ch;
}

.auth-panel__actions {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.auth-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 21, 31, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 700;
  font-size: 1.04rem;
  text-decoration: none;
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease,
    box-shadow 120ms ease;
}

.auth-option:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 21, 31, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(15, 19, 29, 0.08);
}

.auth-option--dark {
  background: linear-gradient(180deg, #161115 0%, #1e181c 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(20, 16, 19, 0.16);
}

.auth-option--dark:hover {
  background: linear-gradient(180deg, #120e12 0%, #1a1519 100%);
}

.auth-option--disabled {
  opacity: 1;
  color: rgba(21, 19, 17, 0.38);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(17, 21, 31, 0.08);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.auth-option--dark.auth-option--disabled {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(23, 18, 23, 0.46);
}

.auth-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.auth-option__icon svg {
  display: block;
}

.auth-option__icon--google {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 45%, #fbbc05 70%, #ea4335 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-panel__legal {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.auth-panel__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-panel__nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
}

.auth-back:hover {
  color: var(--text);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(17, 21, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 1.02rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.auth-field input::placeholder {
  color: rgba(111, 104, 95, 0.72);
}

.auth-field input:focus {
  outline: none;
  border-color: rgba(17, 21, 31, 0.22);
  box-shadow: 0 0 0 4px rgba(17, 21, 31, 0.05);
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
}

.auth-submit--primary {
  background: linear-gradient(180deg, #161115 0%, #1e181c 100%);
  color: white;
  box-shadow: 0 16px 32px rgba(20, 16, 19, 0.16);
}

.auth-submit--primary:hover {
  filter: brightness(0.98);
}

.auth-panel__subcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.auth-panel__subcopy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-panel__email {
  font-weight: 800;
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero,
.hero--inner,
.section,
.section-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
}

.hero--home {
  padding: clamp(30px, 5vw, 52px) 0 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero--reference {
  padding: clamp(46px, 8vw, 88px) 0 clamp(34px, 6vw, 54px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero--account {
  background:
    radial-gradient(circle at top right, rgba(185, 173, 160, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 233, 0.84));
}

.section {
  position: relative;
  overflow: hidden;
}

.section--tight {
  padding-top: 24px;
  padding-bottom: 24px;
}

.section--dark {
  background: linear-gradient(155deg, var(--surface-dark) 0%, var(--surface-dark-strong) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f6f2ed;
}

.section--dark::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero__layout,
.plan-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.hero__content,
.hero__media,
.section-head {
  position: relative;
  z-index: 1;
}

.hero__content,
.stack {
  display: grid;
  gap: 14px;
}

.hero__eyebrow,
.kicker,
.plan-card__eyebrow,
.capture-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capture-label {
  padding: 0;
  background: transparent;
  color: rgba(245, 240, 235, 0.74);
}

.section--dark .kicker,
.section--dark .capture-label {
  color: #d7cbbd;
  background: rgba(255, 255, 255, 0.08);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__layout--account {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  align-items: stretch;
}

.hero__title--account {
  max-width: 7ch;
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero__center {
  display: grid;
  gap: 18px;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero__reference-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.09em;
}

.hero__reference-title span,
.section-head h2 span,
.device-band h2 span {
  color: #9d958b;
}

.hero__reference-copy {
  max-width: 860px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__subactions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.hero__title-muted {
  color: #9e968d;
}

.hero--inner .hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 11ch;
}

.hero__copy,
.hero__caption,
.section-head p,
.card p,
.grid-card p,
.plan-card p,
.meta,
.lede,
.note-card p,
.draft-card p,
.compare-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero__copy {
  max-width: 60ch;
  font-size: 1.08rem;
}

.hero__caption {
  max-width: 64ch;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 760px;
}

.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading-copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section--dark .section-head p,
.section--dark .card p,
.section--dark .list li,
.section--dark .compare-card p {
  color: var(--text-light);
}

.grid,
.meta-grid,
.compare-grid {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4,
.meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.grid-card,
.plan-card,
.meta-card,
.note-card,
.draft-card,
.compare-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.section-card--subtle {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.card--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 233, 226, 0.94));
}

.card--soft {
  background: rgba(255, 255, 255, 0.82);
}

.card h3,
.grid-card h3,
.plan-card__price,
.compare-card strong,
.meta-card__value {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.section-card h2,
.section-card h3,
.grid-card h2,
.grid-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.section-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section--dark .card,
.compare-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .card h3,
.section--dark .card strong,
.compare-card strong {
  color: white;
}

.editor-stage {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(20, 17, 15, 0.98), rgba(46, 39, 33, 0.96));
  box-shadow: 0 34px 80px rgba(20, 17, 15, 0.16);
}

.speed-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
}

.speed-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.speed-card__top {
  display: grid;
  gap: 8px;
  padding: 16px 18px 0;
}

.speed-card__top--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.speed-card__label {
  display: inline-flex;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.speed-card__value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.speed-card__value small {
  font-size: 0.3em;
  font-family: var(--font-sans);
  letter-spacing: 0;
  color: var(--text-muted);
}

.speed-card__media {
  position: relative;
  min-height: 260px;
  margin: 14px;
  border-radius: 24px;
  overflow: hidden;
}

.speed-card__media--keyboard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #e8e3db 0%, #d9d4cc 100%);
}

.speed-card__media--voice {
  background:
    radial-gradient(circle at 60% 30%, rgba(241, 155, 102, 0.48), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(143, 188, 255, 0.36), transparent 18%),
    linear-gradient(135deg, rgba(208, 231, 255, 0.9) 0%, rgba(248, 237, 228, 0.92) 38%, rgba(217, 232, 255, 0.96) 100%);
}

.speed-card__bubble {
  position: absolute;
  left: 24px;
  right: 60px;
  bottom: 74px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 34px rgba(28, 21, 14, 0.08);
  color: #4c4338;
  font-size: 1rem;
  line-height: 1.45;
}

.speed-card__bubble--wide {
  left: 24px;
  right: 24px;
  bottom: 70px;
}

.speed-card__keys {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.speed-card__keys span {
  height: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.speed-card__dock {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 86px;
  height: 34px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.92);
  transform: translateX(-50%);
}

.app-wall {
  display: grid;
  gap: 14px;
}

.marquee {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 14px;
  animation: marquee 38s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  font-weight: 600;
}

.platform-row,
.ask-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-row--start {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero__caption--center {
  margin-inline: auto;
  text-align: center;
}

.feature-grid {
  margin-top: 18px;
}

.feature-grid--secondary {
  margin-top: 14px;
}

.device-band {
  align-items: center;
}

.device-visual {
  display: grid;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 24% 28%, rgba(185, 173, 160, 0.18), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 232, 224, 0.9));
}

.device-visual__panel {
  align-self: end;
  margin: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
}

.device-visual__panel p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-card {
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.quote-card__quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.quote-card__meta {
  display: grid;
  gap: 4px;
}

.quote-card__meta span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.award-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 17, 15, 0.98), rgba(46, 39, 33, 0.96));
  color: white;
}

.award-card__label {
  color: rgba(245, 240, 235, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.award-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.award-card p {
  margin: 0;
  color: rgba(245, 240, 235, 0.82);
}

.editor-stage__window {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.editor-stage__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(245, 240, 235, 0.72);
  font-size: 0.88rem;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.note-stack {
  display: grid;
  gap: 12px;
}

.note-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.note-card--accent {
  background: rgba(185, 173, 160, 0.16);
}

.note-card p {
  color: rgba(245, 240, 235, 0.84);
}

.composer-line {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  line-height: 1.55;
}

.composer-line + .composer-line {
  margin-top: 10px;
}

.draft-card {
  background: rgba(255, 255, 255, 0.92);
}

.draft-card .capture-label {
  color: var(--accent-deep);
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.compare-card--dark {
  background: linear-gradient(180deg, rgba(185, 173, 160, 0.24), rgba(255, 255, 255, 0.1));
}

.compare-card strong {
  display: block;
  font-size: 1.2rem;
}

.plan-card__eyebrow {
  margin-bottom: 14px;
}

.plan-card__price {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  line-height: 1;
}

.checklist,
.list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.checklist li::before,
.list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.3;
  flex: 0 0 auto;
}

.meta-card {
  background: rgba(255, 255, 255, 0.78);
}

.meta-card__label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.meta-card__value {
  font-size: 1.05rem;
}

.account-summary {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.account-summary__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.account-summary__copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.account-summary__stats {
  display: grid;
  gap: 12px;
}

.account-summary__stat {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.account-summary__label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-summary__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.install-guide {
  overflow: visible;
}

.install-step-grid {
  align-items: stretch;
}

.install-step {
  display: grid;
  gap: 18px;
}

.install-step__number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: white;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.install-step__visual {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(21, 19, 17, 0.06);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.46), transparent 30%),
    linear-gradient(180deg, rgba(242, 237, 231, 0.96), rgba(231, 226, 218, 0.96));
}

.install-window {
  position: absolute;
  inset: 18px;
  border-radius: 24px;
}

.install-window--downloads {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.install-window__bubble {
  position: absolute;
  top: 14px;
  left: 50%;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(23, 18, 14, 0.08);
  color: var(--text);
  font-weight: 700;
  transform: translateX(-50%);
}

.install-window__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.94);
  transform: translateX(-50%) rotate(45deg);
}

.install-window__shelf {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

.install-icon {
  position: relative;
  flex: 1 1 0;
  min-height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.install-icon--note::before,
.install-icon--calendar::before,
.install-icon--file::before,
.install-icon--trash::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 12px;
}

.install-icon--note::before {
  background: linear-gradient(180deg, #ffe079 0%, #f0c748 100%);
}

.install-icon--calendar::before {
  background:
    linear-gradient(180deg, #f45b5b 0 26%, white 26% 100%);
}

.install-icon--file::before {
  background:
    linear-gradient(180deg, rgba(173, 180, 186, 0.96), rgba(244, 246, 248, 0.96));
  clip-path: polygon(0 0, 70% 0, 100% 24%, 100% 100%, 0 100%);
}

.install-icon--file .app-icon--download {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  z-index: 1;
}

.install-icon--trash::before {
  background: linear-gradient(180deg, #d9ddd8 0%, #f2f3f2 100%);
}

.install-window--transfer {
  inset: 24px;
  border: 1px solid rgba(21, 19, 17, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 32px rgba(23, 18, 14, 0.08);
}

.install-window__chrome {
  display: flex;
  gap: 8px;
  padding: 16px 16px 0;
}

.install-window__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(150, 145, 138, 0.78);
}

.install-window__transfer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 18px 18px;
}

.install-app-tile,
.install-folder-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 180px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.install-app-tile__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23, 18, 14, 0.14);
}

.install-folder-tile {
  border: 2px dashed rgba(139, 127, 114, 0.32);
  background: rgba(244, 245, 247, 0.72);
}

.install-folder-tile__icon {
  position: relative;
  width: 76px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(180deg, #67a7ff 0%, #4e7fd8 100%);
}

.install-folder-tile__icon::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 28px;
  height: 16px;
  border-radius: 10px 10px 0 0;
  background: #84b8ff;
}

.install-window--launch {
  inset: 18px 18px 0;
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(21, 19, 17, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 32px rgba(23, 18, 14, 0.08);
}

.install-window__header {
  padding: 26px 28px 18px;
  border-bottom: 1px solid rgba(21, 19, 17, 0.08);
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.install-window__app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 20px 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #65abff 0%, #4c87df 100%);
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
}

.install-app-tile__icon--small {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.install-window__ghost-row {
  height: 20px;
  margin: 0 24px 14px;
  border-radius: 999px;
  background: rgba(21, 19, 17, 0.06);
}

.install-window__ghost-row--short {
  width: 46%;
}

.account-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-actions {
  margin-top: 18px;
}

.account-note {
  margin-top: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.status--active {
  background: rgba(39, 105, 77, 0.12);
  color: var(--success);
}

.status--trialing {
  background: rgba(139, 127, 114, 0.12);
  color: var(--accent-deep);
}

.status--ending {
  background: rgba(158, 99, 41, 0.12);
  color: var(--warning);
}

.status--inactive {
  background: rgba(158, 99, 41, 0.12);
  color: var(--warning);
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(21, 19, 17, 0.08);
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  color: var(--text-muted);
}

.footer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.footer p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

main > * {
  animation: rise 480ms ease both;
}

main > *:nth-child(2) {
  animation-delay: 60ms;
}

main > *:nth-child(3) {
  animation-delay: 120ms;
}

main > *:nth-child(4) {
  animation-delay: 180ms;
}

main > *:nth-child(5) {
  animation-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  main > * {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .grid--4,
  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero__layout,
  .plan-grid,
  .split,
  .grid--2,
  .grid--3,
  .grid--4,
  .meta-grid,
  .compare-grid,
  .speed-grid,
  .quote-grid,
  .award-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .topbar__nav,
  .topbar__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar--auth .topbar__nav {
    justify-content: center;
  }

  .topbar--auth .topbar__actions {
    justify-content: flex-end;
  }

  .section-heading-row {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

  .hero__title {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero__title--account {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .hero__reference-title {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .button-row {
    width: 100%;
  }

  .button-row .button,
  .button-row .button_to,
  .button-row .button_to button {
    width: 100%;
  }

  .shell--auth {
    padding-bottom: 20px;
  }

  .auth-shell,
  .auth-shell--form {
    min-height: auto;
    padding: 18px 0 8px;
  }

  .auth-panel,
  .auth-panel--form {
    width: min(100%, calc(100vw - 20px));
    padding: 26px 20px 22px;
  }

  .auth-panel__title {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .auth-panel__subcopy {
    gap: 6px;
  }

  .install-step__visual {
    min-height: 240px;
  }

  .install-window__app-row {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .brand__tag {
    display: none;
  }

  .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .hero__subactions {
    gap: 8px;
  }

  .speed-card__top--wide {
    grid-template-columns: 1fr;
  }

  .topbar--auth .topbar__nav,
  .topbar--auth .topbar__actions {
    justify-content: flex-start;
  }

  .auth-option,
  .auth-submit,
  .auth-field input {
    min-height: 54px;
  }
}
