/* The site before sign-in (landing, pricing, download, help, terms): plain HTML made by app/scripts/site.mjs.
   Same family as the app: the colours are the values of app/src/ui/kit.css (read there, written here — the kit file
   is not touched), black and white with ink for what is pressed and blue only for links and focus
   (docs/studio/28-our-look.md, B). Phone width first. */

:root {
  --bg: #ffffff;
  --bg-2: #f9f9f9;
  --soft: #efefef;
  --line: #ededed;
  --line-2: #e2e2e2;
  --edge-soft: #d0d0d0;
  --edge: #8a8a8a;
  --fg: #212121;
  --fg-2: #6b6b6b;
  --fg-3: #8f8f8f;
  --ink: #1a1a1a;
  --on-ink: #ffffff;
  --primary: #2f73e0;
  --primary-hover: #245fc4;
  --on-primary: #ffffff;
  --live: #2f67cc;
  --ok: #2e9a5d;
  --float: 0 1px 2px rgb(0 0 0 / 0.05), 0 8px 24px -6px rgb(0 0 0 / 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg: #242424;
    --bg-2: #1e1e1e;
    --soft: #303030;
    --line: #2e2e2e;
    --line-2: #3a3a3a;
    --edge-soft: #4a4a4a;
    --edge: #808080;
    --fg: #ededed;
    --fg-2: #a6a6a6;
    --fg-3: #7a7a7a;
    --ink: #ffffff;
    --on-ink: #1a1a1a;
    --primary: #2f73e0;
    --primary-hover: #3a82e6;
    --live: #6fa0f4;
    --ok: #3fb56e;
    --float: none;
    color-scheme: dark;
  }
}
:root.dark {
  --bg: #242424;
  --bg-2: #1e1e1e;
  --soft: #303030;
  --line: #2e2e2e;
  --line-2: #3a3a3a;
  --edge-soft: #4a4a4a;
  --edge: #808080;
  --fg: #ededed;
  --fg-2: #a6a6a6;
  --fg-3: #7a7a7a;
  --ink: #ffffff;
  --on-ink: #1a1a1a;
  --primary: #2f73e0;
  --primary-hover: #3a82e6;
  --live: #6fa0f4;
  --ok: #3fb56e;
  --float: none;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Pretendard Variable", Pretendard, Inter, system-ui, -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--live);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 2px;
  border-radius: 4px;
}
img,
svg {
  display: block;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 720px;
}

/* ---------------------------------------------------------------- header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--fg);
  margin-right: auto;
}
.logo:hover {
  text-decoration: none;
}
.logo .mark {
  width: 22px;
  height: 22px;
}
.logo .word {
  height: 14px;
  width: auto;
}
.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav a,
.plain {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
}
.nav a:hover,
.plain:hover {
  color: var(--fg);
  background: var(--soft);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: var(--fg);
}
.menu {
  position: relative;
}
.menu summary {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--fg-2);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary:hover {
  background: var(--soft);
  color: var(--fg);
}
.menu[open] summary {
  background: var(--soft);
}
.menu ul {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 180px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--float);
}
.menu li a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--fg);
  font-size: 15px;
}
.menu li a:hover {
  background: var(--soft);
  text-decoration: none;
}
@media (min-width: 760px) {
  .nav {
    display: flex;
  }
  .menu {
    display: none;
  }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--edge-soft);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 80ms, border-color 80ms, transform 80ms;
}
.btn:hover {
  border-color: var(--edge);
  text-decoration: none;
}
.btn:active {
  transform: scale(0.97);
}
/* The main button wears the app's accent (kit.css --k-primary), so the site, the sign-in page and the app agree. */
.btn.ink {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.btn.ink:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn.small {
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.soon {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 5px;
  border: 1px solid var(--edge-soft);
  border-radius: 4px;
  color: var(--fg-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.btn.ink .soon {
  border-color: color-mix(in srgb, var(--on-primary) 55%, transparent);
  color: var(--on-primary);
}

/* ---------------------------------------------------------------- sections */
main {
  display: block;
}
section {
  padding: 56px 0;
}
section + section {
  border-top: 1px solid var(--line);
}
.hero {
  padding: 56px 0 32px;
}
.hero h1 {
  font-size: clamp(30px, 7.2vw, 52px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 14em;
}
.lead {
  margin-top: 16px;
  max-width: 34em;
  color: var(--fg-2);
  font-size: clamp(16px, 2.4vw, 19px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.under {
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 13px;
}
h2 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}
.sub {
  margin-top: 8px;
  max-width: 38em;
  color: var(--fg-2);
}
.kicker {
  margin-bottom: 8px;
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* The app's own screen (sample data), the one thing on the page that floats. */
.shot {
  padding: 0 0 56px;
  border-top: 0 !important;
}
.shot figure {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--float);
  background: var(--bg-2);
}
.shot img {
  width: 100%;
  height: auto;
}
.shot figcaption {
  margin-top: 10px;
  color: var(--fg-3);
  font-size: 13px;
  text-align: center;
}
.only-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light) .only-dark {
    display: block;
  }
  :root:not(.light) .only-light {
    display: none;
  }
}
:root.dark .only-dark {
  display: block;
}
:root.dark .only-light {
  display: none;
}

.cols {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .cols.two {
    grid-template-columns: 1fr 1fr;
  }
  .cols.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
}
.card > p {
  margin-top: 6px;
  color: var(--fg-2);
  font-size: 15px;
}

/* What a person would say: their words, as in the chat (a grey bubble, right side in the app). */
.asks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.asks li {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}
/* The mark's two shapes as the two kinds of asking: the filled circle does, the ring waits. */
.dot,
.ring {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 1px;
}
.dot {
  background: var(--fg);
}
.ring {
  border: 1.5px solid var(--fg);
}

.steps {
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 600;
}
.facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.facts b {
  font-weight: 600;
}
.facts span {
  color: var(--fg-2);
  font-size: 15px;
}
@media (min-width: 760px) {
  .facts li {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
}

/* ---------------------------------------------------------------- pricing */
.plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.plan .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.plan .price {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.plan .price small {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan .what {
  margin-top: 6px;
  color: var(--fg-2);
  font-size: 15px;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 24px;
  font-size: 15px;
}
.plan li {
  position: relative;
  padding-left: 16px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg);
}
.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}
.plan .note {
  margin-top: 10px;
  color: var(--fg-2);
  font-size: 13px;
}
.promise {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-2);
  font-weight: 600;
}
.promise p + p {
  margin-top: 4px;
  color: var(--fg-2);
  font-weight: 400;
  font-size: 15px;
}
.table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 15px;
}
.table th,
.table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.table thead th,
.table thead td {
  border-bottom: 1px solid var(--line);
}
.table thead th {
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 600;
}
.table tbody th {
  width: 40%;
  color: var(--fg);
}
.table td {
  color: var(--fg-2);
}
.scroll {
  overflow-x: auto;
}

/* ---------------------------------------------------------------- questions */
.faq {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--fg-3);
  border-bottom: 1.5px solid var(--fg-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 120ms ease-out;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq details p {
  padding: 0 0 16px;
  max-width: 44em;
  color: var(--fg-2);
}

/* ---------------------------------------------------------------- page (download, help, terms) */
.page {
  padding: 40px 0 56px;
}
.page h1 {
  font-size: clamp(26px, 5.4vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page h2 {
  margin-top: 40px;
  font-size: 20px;
}
.page h2 + * {
  margin-top: 12px;
}
.page p + p {
  margin-top: 10px;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
}
ol.list {
  list-style: decimal;
}
ul.list {
  list-style: disc;
}
.list li {
  padding-left: 2px;
}
.muted {
  color: var(--fg-2);
}
.fine {
  color: var(--fg-2);
  font-size: 13px;
}
.get {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.get .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--fg-2);
  font-size: 14px;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.get p {
  margin-top: 12px;
}
.address {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-weight: 600;
  user-select: all;
  -webkit-user-select: all;
}
[hidden] {
  display: none !important;
}
.spin {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 1.5px solid var(--live);
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.legal h2 {
  font-size: 17px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.legal th,
.legal td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal th {
  color: var(--fg-2);
  font-weight: 600;
}

/* ---------------------------------------------------------------- end */
.last {
  text-align: center;
}
.last .actions {
  justify-content: center;
}
.last .sub {
  margin-left: auto;
  margin-right: auto;
}
.foot {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot .logo {
  margin-right: 0;
}
.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot a {
  color: var(--fg-2);
}
.foot a:hover {
  color: var(--fg);
}
.foot .fine a[aria-current] {
  color: var(--fg);
}
@media (min-width: 760px) {
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 88px 0 48px;
  }
  .shot {
    padding-bottom: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .spin {
    animation-duration: 3s;
  }
}
.shotnote {
  margin-top: 10px;
  text-align: center;
}
.card .fine {
  margin-top: 14px;
}
.page h3 {
  margin-top: 20px;
}
.page h3 + * {
  margin-top: 8px;
}
.page .list + p,
.page .lead + .get {
  margin-top: 16px;
}
/* A phone shows the middle of the app's screen (the chat), large enough to read. */
@media (max-width: 759px) {
  .shot img {
    width: 185%;
    max-width: none;
    margin-left: -43%;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}
.chips .chip {
  color: var(--fg);
}

/* For a keyboard: the first stop jumps past the header. */
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
}
.skip:focus {
  top: 8px;
}
/* A finger needs 44: the header's button, the menu's lines and the footer's links on a phone. */
@media (max-width: 759px) {
  .btn.small {
    height: 40px;
  }
  .menu summary {
    width: 44px;
    height: 44px;
  }
  .menu ul {
    top: 50px;
  }
  .menu li a {
    height: 44px;
  }
  .foot ul a,
  .foot .fine a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .foot ul {
    gap: 0 20px;
  }
}

/* A link inside a sentence is told apart by more than colour. */
.page p a,
.page li a,
.under a,
.get p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page p a.btn {
  text-decoration: none;
}
.logo {
  min-height: 44px;
}
