/* NomiChat website: shared styles for every page. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #4f46e5;
  --brand-deep: #4338ca;
  --brand-soft: #eef0ff;
  --link: #4f46e5;
  --ink: #0f172a;
  --muted: #475569;
  --page: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --good: #047857;
  --good-soft: #e7f7ef;
  --amber: #f59e0b;
  --phone: #0f172a;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --focus: #4f46e5;
}
[data-theme='dark'] {
  --ink: #f1f5f9;
  --muted: #a3acc0;
  --page: #0b0f1a;
  --surface: #121826;
  --line: #232b3d;
  --brand-soft: #1f2247;
  --link: #a5b4fc;
  --good: #34d399;
  --good-soft: #10302a;
  --phone: #000000;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --focus: #a5b4fc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font:
    17px/1.6 Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
.bar {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}

/* Header and navigation */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.mark svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
}
.site-nav a[aria-current='page'] {
  font-weight: 700;
}
.icon-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.theme .sun,
[data-theme='dark'] .theme .moon {
  display: none;
}
[data-theme='dark'] .theme .sun {
  display: block;
}
.menu {
  display: none;
}
.menu .shut,
.site-head.open .menu .burger {
  display: none;
}
.site-head.open .menu .shut {
  display: block;
}
.btn.get {
  padding: 9px 16px;
  font-size: 15px;
  border-radius: 12px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .menu {
    display: grid;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  }
  .site-head.open .site-nav {
    display: flex;
  }
  .site-nav a {
    font-size: 17px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .site-nav a:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 420px) {
  .site-head .wrap {
    gap: 8px;
    padding: 0 14px;
  }
  .mark {
    font-size: 18px;
    gap: 8px;
  }
  .mark svg {
    width: 26px;
    height: 26px;
  }
  .btn.get {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Buttons and small parts */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
}
.btn.primary:hover {
  background: var(--brand-deep);
}
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
[data-theme='dark'] .pill {
  color: #c7d2fe;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 18px 0 18px;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 8px 0 14px;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 28px;
}
.kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
[data-theme='dark'] .kicker {
  color: #a5b4fc;
}
.sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 36px;
}
.fine {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.more {
  font-weight: 700;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}
section {
  padding: 72px 0;
}
.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Store badges (coming soon) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--page);
  min-width: 180px;
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.store small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.2;
}
.store b {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

/* Home hero */
.hero {
  padding: 64px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* Real screens from the app, in a simple phone frame. */
.shot {
  margin: 0;
  border-radius: 38px;
  padding: 8px;
  background: var(--phone);
  box-shadow: var(--shadow);
  width: 100%;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}
.shot .dk,
[data-theme='dark'] .shot .lt {
  display: none;
}
[data-theme='dark'] .shot .dk {
  display: block;
}
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: center;
  max-width: 660px;
  margin: 0 auto;
}
.stage .shot.side {
  transform: scale(0.9);
  opacity: 0.97;
}
.stage .shot.l {
  margin-right: -40px;
}
.stage .shot.r {
  margin-left: -40px;
}
.stage .shot.main {
  position: relative;
  z-index: 2;
}
@media (max-width: 560px) {
  .stage {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .stage .shot.side {
    display: none;
  }
}
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}
.gallery > div {
  scroll-snap-align: start;
}
.gallery h3 {
  margin: 14px 0 2px;
  font-size: 17px;
}
.gallery p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 480px;
  margin: 0 auto;
}
.phone-one {
  max-width: 300px;
  margin: 0 auto;
}

/* Cards, lists and steps */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 960px) {
  .cards,
  .cards.three {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cards,
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.band .card {
  background: var(--page);
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.card:hover {
  border-color: var(--brand);
}
.card .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  margin-bottom: 14px;
}
.card .ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
}
[data-theme='dark'] .card .ic svg {
  stroke: #a5b4fc;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.card p + p {
  margin-top: 8px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.top {
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.list li {
  display: flex;
  gap: 12px;
}
.list li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  stroke: var(--good);
}
.list b {
  display: block;
}
.list span {
  color: var(--muted);
  font-size: 15px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: s;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  border-radius: 20px;
  padding: 22px;
  background: var(--page);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.family {
  border-radius: 28px;
  padding: 40px;
  background: #0b0b14;
  color: #f1f5f9;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}
[data-theme='dark'] .family {
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .family {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}
.family h2 {
  color: #fff;
}
.family p {
  color: #b6bdd0;
  margin: 0 0 20px;
}
.family .btn {
  background: var(--amber);
  color: #111;
}
.family .word {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -3px;
  color: #fff;
  text-align: center;
}
.family .word span {
  color: var(--amber);
}
.tag {
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
}

/* Questions */
details.q {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details.q summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.q summary::-webkit-details-marker {
  display: none;
}
details.q summary::after {
  content: '+';
  color: var(--muted);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
}
details.q[open] summary::after {
  content: '\2212';
}
details.q p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 70ch;
}

/* Inner pages */
.page-hero {
  padding: 56px 0 8px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -1.5px;
  margin: 10px 0 14px;
  max-width: 22ch;
}
.page-hero .lead {
  margin-bottom: 8px;
}
.page-hero + section {
  padding-top: 40px;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.6px;
  margin: 44px 0 10px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 19px;
  margin: 28px 0 6px;
}
.prose p,
.prose li {
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose li::marker {
  color: var(--muted);
}
.prose .muted {
  color: var(--muted);
}
.note {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
  margin: 20px 0;
}
.note p {
  margin: 0;
}
.contact-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-lines li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-lines svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  stroke: var(--muted);
}

/* Legal documents */
.legal {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.legal .updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 6px;
}
.toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  font-size: 14px;
  padding-right: 6px;
}
.toc summary {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  cursor: pointer;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  padding: 5px 0 5px 14px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover {
  color: var(--ink);
}
.legal .prose p,
.legal .prose li {
  font-size: 16px;
}
@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .toc {
    position: static;
    max-height: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
  }
  .toc summary {
    margin: 0;
  }
  .toc[open] summary {
    margin-bottom: 8px;
  }
}

/* Get the app */
.end {
  text-align: center;
  padding: 80px 0;
}
.end .sub {
  margin: 0 auto 28px;
}
.end .stores {
  justify-content: center;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  /* room at the end for the fixed Live chat button */
  padding: 56px 0 96px;
  font-size: 15px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .foot-grid {
    gap: 28px 20px;
  }
  .foot-contact {
    grid-column: 1 / -1;
  }
}
.site-foot .mark {
  color: var(--ink);
  text-decoration: none;
}
.foot-brand .mark {
  font-size: 19px;
  margin: 0 0 10px;
}
.foot-brand p {
  margin: 0 0 18px;
  max-width: 32ch;
}
.site-foot h2 {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 14px;
}
.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.site-foot a {
  color: var(--muted);
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  opacity: 0.6;
  cursor: default;
}
.social svg {
  width: 16px;
  height: 16px;
}
.foot-brand .family-link {
  margin: 18px 0 0;
  font-size: 14px;
}
.family-link a {
  color: var(--ink);
  font-weight: 600;
}
.foot-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
}
.foot-bottom p {
  margin: 0;
}
.prose .contact-lines {
  padding-left: 0;
}
