/* =====================================================================
   Alias Browser — marketing site
   Editorial "ink on warm paper" design system. Light theme only.
   Type: Fraunces (display serif) · Space Grotesk (body) · Space Mono (labels)
   ===================================================================== */

:root {
  --paper: #f4efe3;
  --paper-2: #ece4d4;
  --card: #fbf7ee;
  --ink: #1c1813;
  --ink-2: #4c463b;
  --ink-3: #5f5849;
  --line: rgba(28, 24, 19, 0.16);
  --line-2: rgba(28, 24, 19, 0.28);

  --indigo: #3a23c4;
  --indigo-deep: #271574;
  --marker: #ffd23f;
  --marker-2: #b6f06a;
  --pop: #ff5a2c;
  --grad: linear-gradient(120deg, #4f2bd6, #3b5bff 52%, #22d3ee);

  --display: "Fraunces", ui-serif, Georgia, serif;
  --body: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1160px;
  --pad: clamp(18px, 5vw, 56px);
  --r: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
}

::selection {
  background: var(--marker);
  color: var(--ink);
}

/* ---------- Highlight devices ---------- */
.hl {
  position: relative;
  white-space: nowrap;
  font-style: italic;
}
.hl--mark {
  font-style: normal;
}
.hl--mark::before,
.hl:not(.hl--draw):not(:has(.hl__draw))::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.07em;
  height: 0.5em;
  background: var(--marker);
  transform: rotate(-1.3deg);
  border-radius: 0.4em 0.55em 0.45em 0.5em;
  z-index: -1;
}
.hl__draw {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.42em;
  color: var(--pop);
  overflow: visible;
}
.hl__draw path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: stroke-dashoffset 0.9s ease 0.25s;
}
.is-in .hl__draw path {
  stroke-dashoffset: 0;
}
.hl--draw {
  font-style: normal;
}
.hl--draw::before {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: -0.12em;
  height: 0.14em;
  background: currentColor;
  opacity: 0.9;
  transform: rotate(-0.8deg);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.72em 1.2em;
  border: 1.6px solid var(--ink);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.18s ease,
    color 0.18s ease;
}
.btn--lg {
  font-size: 14.5px;
  padding: 0.95em 1.5em;
  border-radius: 12px;
}
.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.btn svg {
  flex: none;
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn--ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--indigo);
}
.btn--ink:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--line {
  --btn-bg: var(--card);
  box-shadow: var(--shadow-sm);
}
.btn--line:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.btn--line:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--ghost {
  border-color: transparent;
  box-shadow: none;
  padding-inline: 0.7em;
}
.btn--ghost:hover {
  color: var(--indigo);
}

.btn--paper {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.btn--paper:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.4);
}
.btn--ghostlight {
  border-color: rgba(244, 239, 227, 0.5);
  color: var(--paper);
  background: transparent;
}
.btn--ghostlight:hover {
  background: rgba(244, 239, 227, 0.12);
}
.btn__play {
  color: var(--pop);
  font-size: 0.85em;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12.5px;
}
.ticker__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--marker);
  white-space: nowrap;
}
.ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pop);
  animation: pulse 1.6s infinite;
}
.ticker__msg {
  margin: 0;
  flex: 1;
  opacity: 0.92;
}
.ticker__msg s {
  opacity: 0.55;
}
.ticker__msg b {
  color: var(--paper);
}
.ticker__seats {
  color: var(--marker-2);
  margin-left: 4px;
}
.ticker__cta {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-bottom: 1.5px solid var(--marker);
  padding-bottom: 1px;
}
.ticker__cta:hover {
  color: var(--marker);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 44, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 90, 44, 0);
  }
}
@media (max-width: 720px) {
  .ticker__cta,
  .ticker__tag span:not(.ticker__dot) {
    display: none;
  }
  .ticker__tag::after {
    content: "Launch";
  }
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border-bottom: 1.5px solid transparent;
}
.masthead.is-stuck {
  background: rgba(244, 239, 227, 0.86);
  backdrop-filter: blur(10px);
  border-color: var(--ink);
}
.masthead__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.brand__mark {
  align-self: center;
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.03em;
}
.brand__tm {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.masthead__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.masthead__links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
}
.masthead__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--pop);
  transition: right 0.22s ease;
}
.masthead__links a:hover {
  color: var(--ink);
}
.masthead__links a:hover::after {
  right: 0;
}
.masthead__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}
.masthead__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: 9px;
  cursor: pointer;
}
.masthead__burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.is-open .masthead__burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.is-open .masthead__burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 940px) {
  .masthead__links,
  .masthead__actions {
    display: none;
  }
  .masthead__burger {
    display: flex;
    margin-left: auto;
  }
  .masthead.is-open {
    background: var(--paper);
    border-color: var(--ink);
  }
  .masthead.is-open .masthead__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    padding: 8px var(--pad) 16px;
  }
  .masthead.is-open .masthead__links a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }
  .masthead.is-open .masthead__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 var(--pad) 18px;
    background: var(--paper);
    transform: translateY(126px);
  }
}

/* ---------- Layout primitives ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) var(--pad);
}
.section--paper2 {
  max-width: none;
  background: var(--paper-2);
  border-block: 1.5px solid var(--ink);
}
.section--paper2 > .head,
.section--paper2 > .cards,
.section--paper2 > .voices {
  max-width: var(--maxw);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--indigo);
}
.kicker__star {
  color: var(--pop);
}
.kicker--hero {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.kicker__ver {
  color: var(--ink-3);
}

.head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.head__title {
  font-size: clamp(32px, 5.2vw, 56px);
  margin: 16px 0 0;
}
.head__sub {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  max-width: 60ch;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--pad) clamp(30px, 4vw, 52px);
}
.hero__watermark {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 520px;
  height: 520px;
  z-index: 0;
  background: var(--ink);
  -webkit-mask: url("/assets/mask.png") center / contain no-repeat;
  mask: url("/assets/mask.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 7.2vw, 86px);
  font-weight: 600;
  margin: 22px 0 0;
}
.hero__lede {
  margin: 26px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 46ch;
}
.hero__lede em {
  font-style: italic;
  color: var(--ink);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust svg {
  color: var(--indigo);
}

/* Product mock */
.hero__app {
  position: relative;
}
.appwin {
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(1.1deg);
  transition: transform 0.4s ease;
}
.hero__app:hover .appwin {
  transform: rotate(0deg);
}
.appwin__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.appwin__dots {
  display: inline-flex;
  gap: 6px;
}
.appwin__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.4px solid var(--ink);
}
.appwin__dots i:nth-child(1) {
  background: var(--pop);
}
.appwin__dots i:nth-child(2) {
  background: var(--marker);
}
.appwin__dots i:nth-child(3) {
  background: var(--marker-2);
}
.appwin__title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.appwin__body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 290px;
}
.appwin__side {
  border-right: 1.5px solid var(--line);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.side__item {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 6px 8px;
  border-radius: 7px;
}
.side__item.is-active {
  background: var(--ink);
  color: var(--paper);
}
.side__count {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  border-top: 1px dashed var(--line-2);
  padding-top: 10px;
}
.appwin__main {
  padding: 12px 14px;
}
.profrow,
.prof {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 0.8fr;
  gap: 8px;
  align-items: center;
}
.profrow--head {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
}
.proflist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prof {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(6px);
  animation: profIn 0.5s ease forwards;
}
@keyframes profIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.prof__name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.prof__ava {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad);
  border: 1.2px solid var(--ink);
}
.prof__fp,
.prof__px {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.prof__st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}
.prof__st b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marker-2);
  border: 1px solid var(--ink);
}

.sticker {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 7px 11px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticker--1 {
  top: -18px;
  left: -22px;
  transform: translate(var(--fx, 0), var(--fy, 0)) rotate(-5deg);
  color: var(--indigo);
}
.sticker--2 {
  top: 38%;
  right: -28px;
  transform: translate(var(--fx, 0), var(--fy, 0)) rotate(4deg);
  color: var(--pop);
}
.sticker--3 {
  bottom: -16px;
  left: 22%;
  transform: translate(var(--fx, 0), var(--fy, 0)) rotate(-2.5deg);
  color: var(--ink);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1.5px solid var(--ink);
  background: var(--card);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  padding: 13px 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--ink-2);
}
.marquee__track i {
  color: var(--pop);
  font-style: normal;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Features spec sheet ---------- */
.spec {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}
.spec__row {
  display: grid;
  grid-template-columns: 132px 1fr 0.85fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 40px) 4px;
  border-bottom: 1.5px solid var(--line);
  align-items: start;
}
.spec__row:hover {
  background: rgba(58, 35, 196, 0.03);
}
.spec__lead {
  display: flex;
  align-items: center;
  gap: 16px;
}
.spec__no {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-3);
}
.spec__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.6px solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--indigo);
}
.spec__body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}
.spec__body p {
  margin: 10px 0 0;
  color: var(--ink-2);
}
.spec__aside {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}
.fp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 6px;
}
.fp-row span {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fp-row b {
  color: var(--indigo);
}
.spec__aside--tags {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.spec__aside--tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1.4px solid var(--ink);
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--card);
}
.codeline {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9px;
  padding: 11px 13px;
  box-shadow: var(--shadow-sm);
}
.codeline em {
  color: var(--marker);
  font-style: normal;
}
.codeline span {
  display: block;
  margin-top: 4px;
  color: var(--marker-2);
}

/* ---------- How it works cards ---------- */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.card {
  position: relative;
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:nth-child(1) {
  transform: rotate(-1.4deg);
}
.card:nth-child(2) {
  transform: rotate(0.8deg);
}
.card:nth-child(3) {
  transform: rotate(-0.6deg);
}
.card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 9px 9px 0 var(--indigo);
}
.card__no {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 7px;
  padding: 4px 9px;
  display: inline-block;
}
.card h3 {
  font-size: 24px;
  margin: 16px 0 0;
}
.card p {
  margin: 10px 0 0;
  color: var(--ink-2);
}

/* ---------- Stats ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}
.stat {
  background: var(--card);
  padding: 34px 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat:nth-child(1) b {
  color: var(--indigo);
}
.stat:nth-child(2) b {
  color: var(--ink);
}
.stat:nth-child(3) b {
  color: var(--pop);
}
.stat:nth-child(4) b {
  color: var(--indigo-deep);
}
.stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* ---------- Pricing ---------- */
.switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border: 1.6px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.switch__opt {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.switch__opt em {
  font-style: normal;
  color: var(--pop);
  font-size: 11px;
}
.switch__opt.is-active {
  color: var(--paper);
}
.switch__opt.is-active em {
  color: var(--marker);
}
.switch__knob {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}
.switch:has(.switch__opt[data-bill="annual"].is-active) .switch__knob {
  transform: translateX(100%);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  box-shadow: var(--shadow);
  background: #fffdf6;
  transform: translateY(-10px);
  border-width: 2px;
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed var(--line-2);
  border-radius: 9px;
  pointer-events: none;
}
.plan__stamp {
  position: absolute;
  top: -15px;
  right: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--pop);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 5px 11px;
  transform: rotate(3deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.plan__name {
  font-size: 27px;
}
.plan__desc {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 14.5px;
  min-height: 42px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 700;
}
.plan__cur {
  font-size: 26px;
  color: var(--ink-2);
}
.plan__amt {
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan__per {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
}
.plan__note {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--indigo);
}
.plan__note s {
  color: var(--ink-3);
}
.plan__list {
  list-style: none;
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px dashed var(--line-2);
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.plan__list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
  transform: rotate(-45deg);
}
.plan__list b {
  color: var(--ink);
}
.plan__seats {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pop);
}
.plans__foot {
  text-align: center;
  margin: 30px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- Promo bar ---------- */
.promo {
  max-width: 560px;
  margin: 22px auto 0;
}
.promo__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}
.promo__code,
.promo__email {
  flex: 1 1 180px;
  min-width: 0;
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: 10px;
  padding: 0.66em 0.9em;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.promo__code {
  text-transform: uppercase;
}
.promo__code::placeholder,
.promo__email::placeholder {
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
}
.promo__code:focus,
.promo__email:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.promo__apply,
.promo__clear {
  flex: 0 0 auto;
}
.promo__status {
  display: block;
  margin: 10px 2px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  min-height: 1.2em;
}
.promo__status.is-ok {
  color: #1f7a3d;
}
.promo__status.is-err {
  color: #b3261e;
}
.promo.is-applied .promo__code {
  border-style: dashed;
}

/* ---------- Voices ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.voice {
  position: relative;
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow-sm);
}
.voice::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 86px;
  line-height: 1;
  color: var(--marker);
  z-index: 0;
}
.voice blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.36;
}
.voice figcaption {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.voice__ava {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad);
  border: 1.5px solid var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1.5px solid var(--ink);
}
.faq__item {
  border-bottom: 1.5px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__sign {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transition: transform 0.22s ease;
}
.faq__sign::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__sign::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__sign {
  background: var(--ink);
}
.faq__item[open] .faq__sign::before,
.faq__item[open] .faq__sign::after {
  background: var(--paper);
}
.faq__item[open] .faq__sign::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq__item p {
  margin: 0 4px 24px;
  color: var(--ink-2);
  max-width: 70ch;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(40px, 6vw, 80px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.cta__panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border: 1.6px solid var(--ink);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta__watermark {
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: var(--paper);
  -webkit-mask: url("/assets/mask.png") center / contain no-repeat;
  mask: url("/assets/mask.png") center / contain no-repeat;
  opacity: 0.07;
}
.cta__panel h2 {
  position: relative;
  font-size: clamp(32px, 5.4vw, 60px);
}
.cta__panel p {
  position: relative;
  margin: 18px auto 0;
  max-width: 48ch;
  color: rgba(244, 239, 227, 0.8);
}
.cta__row {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cta__seats {
  position: relative;
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--marker-2);
}
.cta__seats b {
  color: var(--paper);
}
.cta__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pop);
  margin-right: 4px;
  animation: pulse 1.6s infinite;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-2);
  overflow: hidden;
}
.footer__big {
  position: absolute;
  bottom: -0.32em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(140px, 30vw, 420px);
  color: var(--ink);
  opacity: 0.03;
  pointer-events: none;
  line-height: 1;
}
.footer__big::before {
  content: "Alias";
}
.footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--pad) 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__brand p {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
}
.footer__featured {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__featured-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.footer__badge img {
  display: block;
  height: 36px;
  width: auto;
}
.footer__col h3 {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer__col a,
.linklike {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  background: none;
  border: 0;
  font-family: var(--body);
  cursor: pointer;
  text-align: left;
}
.footer__col a:hover,
.linklike:hover {
  color: var(--indigo);
}
.footer__bar {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 19, 0.5);
  backdrop-filter: blur(3px);
  animation: fade 0.2s ease;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.modal__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(26px, 4vw, 40px);
  animation: pop 0.24s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
@keyframes pop {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
}
.modal__card--doc {
  width: min(620px, 100%);
}
.modal__x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--card);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.modal__x:hover {
  background: var(--ink);
  color: var(--paper);
}
.modal__kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo);
}
.modal__head h3 {
  font-size: 30px;
  margin: 8px 0 0;
}
.modal__head p {
  margin: 8px 0 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}
.form label span {
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
}
.form input,
.form select,
.form textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  padding: 11px 13px;
  text-transform: none;
  letter-spacing: 0;
  transition: box-shadow 0.16s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--indigo);
}
.form textarea {
  resize: vertical;
}
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form__status {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  min-height: 1.2em;
}
.form__status.is-ok {
  color: var(--indigo);
}
.form__status.is-err {
  color: var(--pop);
}

.doc {
  font-size: 15px;
  color: var(--ink-2);
}
.doc h4 {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  margin: 20px 0 6px;
}
.doc p {
  margin: 0 0 12px;
}
.doc a {
  color: var(--indigo);
  border-bottom: 1px solid var(--indigo);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__app {
    margin-top: 30px;
    max-width: 460px;
  }
  .sticker--2 {
    right: -6px;
  }
  .cards,
  .plans,
  .voices {
    grid-template-columns: 1fr;
  }
  .plan--featured {
    transform: none;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .spec__lead {
    gap: 14px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================================
   Download page
   ===================================================================== */
.masthead.is-solid {
  background: rgba(244, 239, 227, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--ink);
}
.dlhead {
  padding-top: clamp(40px, 7vw, 76px);
}
.dl__detected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px auto 30px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-2);
}
.dl__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--marker-2);
  border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 4px rgba(182, 240, 106, 0.3);
}
.dl__grid {
  align-items: stretch;
}
.dl__card {
  display: flex;
  flex-direction: column;
}
.dl__card.is-detected {
  border-color: var(--indigo);
  box-shadow: 6px 6px 0 var(--indigo);
}
.dl__badge {
  position: absolute;
  top: -13px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--indigo);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 4px 10px;
}
.dl__os {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.dl__os svg {
  flex: none;
  color: var(--indigo);
}
.dl__os .plan__desc {
  min-height: 0;
}
.dl__actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}
.dl__meta {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
  word-break: break-word;
}
.dl__meta code,
.plan__list code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.linklike--pop {
  color: var(--indigo);
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
}
.dlnotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dlnote {
  background: var(--card);
  border: 1.6px solid var(--ink);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.dlnote h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 19px;
}
.dlnote p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .dlnotes__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Legal / content pages (privacy, terms, notices) + 404
   ===================================================================== */
.legal {
  max-width: 760px;
}
.legal__body {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal__body h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin: 36px 0 10px;
  color: var(--ink);
}
.legal__body p {
  margin: 0 0 16px;
}
.legal__body a {
  color: var(--indigo);
  border-bottom: 1.5px solid currentColor;
}
.legal__back {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 13.5px;
}
.legal__back a {
  color: var(--indigo);
}
.footer__made {
  color: var(--ink-3);
}
.notfound {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 16vw, 180px) var(--pad);
  text-align: center;
}
.notfound__code {
  font-family: var(--mono);
  font-size: clamp(64px, 16vw, 132px);
  font-weight: 700;
  line-height: 1;
  color: var(--indigo);
  letter-spacing: -0.02em;
}
.notfound h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 18px 0 0;
}
.notfound p {
  margin: 16px auto 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 18px;
}
.notfound__row {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
