/* Aluria website. Follows the brand book: Ink + Limestone, Geist, hairlines not shadows, small radii.
   The Lamplight point appears once, in the logo. */
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/Geist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/GeistMono-Medium.woff2") format("woff2"); }
/* Geist has no Malayalam; Noto Sans Malayalam is the one extra family, used only for Malayalam text. */
@font-face { font-family: "Noto Sans Malayalam"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/NotoSansMalayalam-Regular.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Malayalam"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/NotoSansMalayalam-Medium.woff2") format("woff2"); }

/* Aluria website. Ink-led, per the brand book: Ink and Limestone, Geist, hairlines instead of shadows, 4/6/8 px radii.
   Lamplight appears on the logo's point and on the single "now" point in a view. */
:root {
  --ink: #17192f;
  --ink-950: #0e0f1e;
  --ink-800: #23264a;
  --limestone: #edece7;
  --paper: #f8f7f4;
  --lamp: #f2a63a;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius-control: 4px;
  --radius-card: 6px;
  --radius-surface: 8px;
}
.theme-ink {
  --bg: #17192f;
  --fg: #edece7;
  --muted: #a3a4b8;
  --line: #2a2c48;
  --surface: #1d2040;
  --tint: #23264a;
  --on-fg: #17192f;
}
.theme-stone {
  --bg: #edece7;
  --fg: #17192f;
  --muted: #5c5d70;
  --line: #d5d3ca;
  --surface: #f8f7f4;
  --tint: #dcddec;
  --on-fg: #edece7;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: #17192f;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: #17192f;
  color: #edece7;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:lang(ml) {
  font-family: "Noto Sans Malayalam", "Geist", sans-serif;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--fg, #edece7);
  outline-offset: 3px;
  border-radius: 3px;
}
.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.02em;
}
.muted {
  color: var(--muted);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #edece7;
  color: #17192f;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}
.wrap {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}
.narrow {
  width: min(100% - 2rem, 46rem);
}
.theme-ink,
.theme-stone {
  background: var(--bg);
  color: var(--fg);
}

/* the light comes on, once */
.logo circle[fill="#f2a63a"] {
  animation: light-on 1.2s var(--ease) 1 both;
}
@keyframes light-on {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, #17192f 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2c48;
  color: #edece7;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
}
.logo {
  display: inline-flex;
  color: #edece7;
}
.logo svg {
  /* The symbol is 97% of the height; the brand needs it at 32 px or more. */
  height: 2.15rem;
  width: auto;
}
.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.9rem;
}
.nav a,
.link-quiet {
  text-decoration: none;
  color: #a3a4b8;
  transition: color 120ms var(--ease);
}
.nav a:hover,
.link-quiet:hover {
  color: #edece7;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 62rem) {
  .nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 120ms var(--ease),
    color 120ms var(--ease),
    transform 120ms var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}
.btn-light {
  background: #edece7;
  color: #17192f;
}
.btn-light:hover {
  background: #fff;
}
.btn-ghost {
  border-color: #3a3d63;
  color: #edece7;
}
.btn-ghost:hover {
  background: #23264a;
}
.btn-dark {
  background: #17192f;
  color: #edece7;
}
.btn-dark:hover {
  background: #23264a;
}
.btn-outline {
  border-color: var(--fg);
  color: var(--fg);
}
.btn-outline:hover {
  background: var(--tint);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form .btn-light {
  width: 100%;
}

/* shared type */
.eyebrow,
.index {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.index {
  display: flex;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.index span {
  color: var(--fg);
}
.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.section h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  max-width: 40rem;
}
.section-lead,
.lead-small {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.5;
}
.tag {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--tint);
  color: var(--fg);
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
}

/* hero */
.hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.hero-top {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 62rem) {
  .hero-top {
    grid-template-columns: 1.25fr 1fr;
  }
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.hero-ml {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-note {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* the example conversation */
.player {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  padding: 1.25rem;
  min-width: 0;
}
.player-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.player .chan-wa {
  display: none;
}
.player.wa .chan-call {
  display: none;
}
.player.wa .chan-wa {
  display: inline;
}
.replay {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}
.replay:hover {
  color: var(--fg);
}
.turns {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  display: grid;
  gap: 1rem;
}
.turn {
  max-width: 94%;
}
.turn-aluria {
  justify-self: end;
}
.who {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.turn p:not(.gloss) {
  background: #14162b;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0.6rem 0.8rem;
}
.turn-aluria p:not(.gloss) {
  background: var(--tint);
}
.turn-wa p:not(.gloss) {
  border-color: #3a3d63;
}
.gloss {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.player.anim [data-step] {
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
}
.player.anim [data-step]:not(.show) {
  opacity: 0;
  transform: translateY(6px);
}

/* the Thread: one customer's day, drawn as the conversation plays */
.thread-hero {
  list-style: none;
  margin: clamp(2.25rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tp {
  position: relative;
  padding: 1.6rem 1rem 0 0;
}
.tp::before,
.tp::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 0;
  height: 1px;
}
.tp::before {
  right: 0;
  background: var(--line);
}
.tp::after {
  width: 100%;
  background: var(--fg);
  transition: width 700ms var(--ease);
}
.tp-pt {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--fg);
  z-index: 1;
  transition: background-color 200ms var(--ease);
}
.thread-hero:not(.anim) .tp:last-child .tp-pt,
.thread-hero.anim .tp.now .tp-pt {
  background: var(--lamp);
}
.thread-hero.anim .tp:not(.on)::after {
  width: 0;
}
.thread-hero.anim .tp:not(.on) .tp-pt {
  background: var(--line);
}
.tp-time {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}
.tp-text {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
}
@media (max-width: 47.99rem) {
  .thread-hero {
    grid-template-columns: 1fr;
  }
  .tp {
    padding: 0 0 1.6rem 1.9rem;
  }
  .tp::before,
  .tp::after {
    top: 0.5rem;
    left: 0.4rem;
    width: 1px;
  }
  .tp::before {
    right: auto;
    bottom: 0;
    height: auto;
  }
  .tp::after {
    height: 100%;
    width: 1px;
    transition: height 700ms var(--ease);
  }
  .thread-hero.anim .tp:not(.on)::after {
    height: 0;
    width: 1px;
  }
  .tp:last-child::before,
  .tp:last-child::after {
    display: none;
  }
}

/* the cost of a missed call */
.statement {
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 62rem;
}
.inline-num {
  display: inline-flex;
  align-items: baseline;
  border-bottom: 2px solid var(--fg);
  margin-inline: 0.1em;
  padding-inline: 0.1em;
}
.inline-num input {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  text-align: center;
  width: 2.2ch;
  field-sizing: content;
  min-width: 1.4ch;
  -moz-appearance: textfield;
  appearance: textfield;
}
.inline-num input::-webkit-outer-spin-button,
.inline-num input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.inline-num input[id="calc-value"] {
  width: 3.9ch;
}
.inline-num:focus-within {
  background: var(--tint);
}
.figure {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.statement-note {
  margin-top: 2rem;
  color: var(--muted);
  max-width: 40rem;
}

/* a day with Aluria */
.day-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 62rem) {
  .day-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
  }
  .day-head {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}
.day-head h2 {
  margin-bottom: 1.25rem;
}
.day-head .index {
  margin-bottom: 2rem;
}
.day {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ev {
  position: relative;
  padding: 0 0 2.5rem 2.25rem;
}
.ev:last-child {
  padding-bottom: 0;
}
.ev::before {
  content: "";
  position: absolute;
  left: 0.37rem;
  top: 1rem;
  bottom: -0.6rem;
  width: 1px;
  background: var(--line);
  transition: background-color 320ms var(--ease);
}
.ev:last-child::before {
  display: none;
}
.ev-pt {
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--fg);
  transition: background-color 200ms var(--ease);
}
.ev-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.ev h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
}
.ev p:not(.ev-meta) {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 32rem;
}
.js-day .ev {
  opacity: 0.4;
  transition: opacity 320ms var(--ease);
}
.js-day .ev.done {
  opacity: 0.75;
}
.js-day .ev.active {
  opacity: 1;
}
.js-day .ev:not(.done):not(.active) .ev-pt {
  background: var(--line);
}
.js-day .ev.done::before {
  background: var(--fg);
}
.js-day .ev.active .ev-pt {
  background: var(--lamp);
}

/* two channels */
.channels {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 52rem) {
  .channels {
    grid-template-columns: 1fr 1fr;
  }
}
.channel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.channel-label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.channel h3 {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
}
.channel-lang {
  margin-top: 0.4rem;
  color: var(--muted);
}
.channel ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.channel li {
  padding: 0.65rem 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}
.channels-note {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

/* dashboard sample */
.app-frame {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  overflow: hidden;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.app-grid {
  display: grid;
}
@media (min-width: 56rem) {
  .app-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .app-col + .app-col {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
}
.app-col {
  padding: 1.4rem 1.25rem;
}
.app-col + .app-col {
  border-top: 1px solid var(--line);
}
.app-h {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rows li {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.rows li:first-child {
  border-top: 0;
}
.rows .mono {
  font-size: 0.78rem;
  color: var(--muted);
}
.rows small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.rows .attn .tag {
  background: var(--fg);
  color: var(--on-fg);
}
.rows li.arrive {
  animation: row-in 600ms var(--ease) backwards;
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
    background: var(--tint);
  }
}
.meter {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.meter-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.meter-bar {
  height: 6px;
  background: var(--tint);
  border-radius: 3px;
  overflow: hidden;
}
.meter-bar span {
  display: block;
  height: 100%;
  background: var(--fg);
}

/* pricing */
.plans {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}
@media (min-width: 56rem) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.plan-featured {
  --bg: #17192f;
  --fg: #edece7;
  --muted: #a3a4b8;
  --line: #2a2c48;
  --tint: #23264a;
  background: #17192f;
  color: #edece7;
  border-color: #17192f;
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.plan h3 {
  font-size: 1.4rem;
}
.plan-desc {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 2.8em;
}
.price {
  margin-top: 1.25rem;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price small {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0;
}
.perday,
.minutes {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.plan-groups {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.1rem;
  flex: 1;
}
.plan-groups h4 {
  margin: 0 0 0.45rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.plan-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.94rem;
}
.plan-groups li {
  position: relative;
  padding-left: 1.2rem;
}
.plan-groups li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 1.5px solid var(--fg);
  border-bottom: 1.5px solid var(--fg);
  transform: rotate(-45deg);
}
.plan .btn {
  margin-top: 1.75rem;
}
.tag-inline {
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* getting started */
.big-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 52rem) {
  .big-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .big-steps li + li {
    border-left: 1px solid var(--line);
  }
}
.big-steps li {
  padding: 1.5rem 1.5rem 1.5rem 0;
}
@media (min-width: 52rem) {
  .big-steps li + li {
    padding-left: 1.5rem;
  }
}
.big-n {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  color: var(--muted);
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}
.big-steps h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.big-steps p {
  margin-top: 0.5rem;
  color: var(--muted);
}

/* faq */
.faq-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 62rem) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
  }
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: "Geist Mono", ui-monospace, monospace;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 38rem;
}

/* audio */
.audio {
  margin: 1.5rem 0 0;
}
.audio audio {
  width: 100%;
}
.audio figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

/* demo */
.demo-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 62rem) {
  .demo-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}
.demo-grid h2 {
  margin-bottom: 1.25rem;
}
.demo-grid a {
  color: var(--fg);
}
.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  padding: 1.5rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 36rem) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field label {
  font-size: 0.85rem;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  color: #17192f;
  background: #f8f7f4;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 0.65rem 0.75rem;
  width: 100%;
}
.form [aria-invalid="true"] {
  border-color: #e0786b;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
}
.form-status[data-state="error"] {
  color: #ffb4a8;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* mobile call-to-action */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, #17192f 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid #2a2c48;
  transform: translateY(100%);
  transition: transform 320ms var(--ease);
}
.mobile-cta .btn {
  width: 100%;
}
.mobile-cta.show {
  transform: none;
}
@media (min-width: 52rem) {
  .mobile-cta {
    display: none;
  }
}

/* things arrive and settle (only when scripting is available) */
.js-reveal .rv {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
}
.js-reveal .rv.in {
  opacity: 1;
  transform: none;
}

/* real dashboard screenshots */
.shots {
  margin-top: 2rem;
}
.shot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.shot-tab {
  font: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition:
    background-color 120ms var(--ease),
    color 120ms var(--ease);
}
.shot-tab:hover {
  color: var(--fg);
}
.shot-tab[aria-selected="true"] {
  background: var(--fg);
  color: var(--on-fg);
  border-color: var(--fg);
}
.shot-frame {
  margin: 0;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
}
.shot[hidden] {
  display: none;
}
.shot-frame figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}
