/* govoco.app landing page.
   Tokens come from the browser app (web-app/public/styles.css): Inter, blue for the AI interpreter
   and for actions, orange for the professional interpreter.
   Layout idea: a rate card. Left-aligned type, ruled rows, tabular figures, no cards, no shadows.
   The two colors carry meaning only: a blue dot is the AI interpreter, an orange dot is a person.
   No script, no inline styles. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  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;
}

:root {
  color-scheme: light;
  --surface: #ffffff;
  --ground: #f6f7fa;
  --container: #f5f7fb;
  --hairline: #e3e7ef;
  --control-line: #c8cedb;
  --rule: #101526;
  --text: #101526;
  --text-2: #414a60;
  --text-3: #5a6278;
  --accent: #1f5bff;
  --accent-hover: #1a4de0;
  --accent-text: #1241c7;
  --on-accent: #ffffff;
  --human: #fc8008;
  --ai-display: #1f5bff;
  --band: #101526;
  --band-text: #ffffff;
  --band-text-2: #b9c1d2;
  --pro: #fc8008;
  --pro-hover: #ee7400;
  --on-pro: #ffffff;
  --focus: #0b2a8a;
  --frame: #101526;
  --max: 1160px;
  --gutter: 20px;
  --r-8: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --surface: #0d111d;
    --ground: #070a12;
    --container: #171c2e;
    --hairline: #262d45;
    --control-line: #3b4463;
    --rule: #6b7594;
    --text: #f2f4fa;
    --text-2: #b9c1d2;
    --text-3: #9aa3b8;
    --accent: #1f5bff;
    --accent-hover: #2d63ff;
    --accent-text: #8fb0ff;
    --ai-display: #6f9bff;
    --band: #171c2e;
    --band-text: #f2f4fa;
    --band-text-2: #b9c1d2;
    --focus: #b3c9ff;
    --frame: #3b4463;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 .line {
  display: block;
}

h1 .human {
  color: var(--human);
}

h1 .ai {
  color: var(--ai-display);
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.nowrap {
  white-space: nowrap;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: var(--r-8);
  background: var(--surface);
  color: var(--accent-text);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.fine {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-3);
}

/* The mode mark, as in the app: blue is the AI interpreter, orange is a person. */
.dot {
  display: inline-block;
  flex: none;
  width: 0.625em;
  height: 0.625em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--accent);
}

.dot.human {
  background: var(--human);
}

/* Buttons: the app's shapes. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-8);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms, border-color 150ms;
}

.btn:hover {
  background: var(--container);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.btn-pro {
  border-color: var(--pro);
  background: var(--pro);
  color: var(--on-pro);
  font-weight: 700;
}

.btn-pro:hover {
  border-color: var(--pro-hover);
  background: var(--pro-hover);
}

.btn-large {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.play {
  display: inline-block;
  line-height: 0;
  border-radius: var(--r-8);
}

.play img {
  width: auto;
  height: 66px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  flex: none;
  border-radius: 4px;
}

.logo img {
  width: auto;
  height: 34px;
}

.nav-links {
  display: none;
  gap: 28px;
}

.nav-links a,
.nav-signin {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-signin:hover {
  color: var(--accent-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero: the claim on the left, the screen the other person sees on the right, the prices under both. */
.hero {
  padding: 40px 0 0;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero-grid > * {
  min-width: 0;
}

.lead {
  max-width: 34rem;
  margin: 20px 0 28px;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-2);
}

.hero .fine {
  margin-top: 16px;
}

.phone {
  overflow: hidden;
  flex: none;
  width: 100%;
  max-width: 264px;
  border: 6px solid var(--frame);
  border-radius: 30px;
  background: var(--surface);
}

.phone img {
  width: 100%;
}

.theirs {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.theirs .phone {
  width: 46%;
  max-width: 220px;
  border-width: 5px;
  border-radius: 24px;
}

figcaption {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-2);
}

figcaption b {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.theirs figcaption {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 12px;
}

/* The rate strip */
.rates {
  display: grid;
  margin-top: 48px;
  border-top: 2px solid var(--rule);
}

.rates li {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--hairline);
}

.rate-name {
  display: flex;
  align-items: baseline;
  font-size: 0.9375rem;
  font-weight: 600;
}

.rate-num {
  margin-top: 6px;
  font-size: 1rem;
  color: var(--text-2);
}

.rate-num b {
  margin-right: 0.12em;
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.rate-note {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* The one loud moment: the app's large view for the other person, at poster size. */
section.turn {
  margin-bottom: 64px;
  padding: 56px 0 64px;
  background: var(--band);
  color: var(--band-text);
}

.turn h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--band-text-2);
}

.turn-line {
  max-width: 11.5em;
  margin-top: 20px;
  font-size: clamp(2.5rem, 8.4vw, 6.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.turn-line span {
  display: block;
  color: var(--human);
}

.turn-en {
  margin-top: 24px;
  font-size: clamp(1.1875rem, 2.2vw, 1.625rem);
  color: var(--band-text-2);
}

.turn-note {
  max-width: 34rem;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--band-text-2);
  font-size: 0.9375rem;
  color: var(--band-text-2);
}

/* Cost of a conversation */
.calc-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 18px 0 6px;
}

.calc-control label {
  font-weight: 600;
}

.calc-control output {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.calc-control output {
  grid-row: 1;
  grid-column: 2;
}

.calc-control input {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-static {
  padding-top: 16px;
  font-weight: 600;
}

.rates.sums {
  margin-top: 8px;
  border-top: 0;
}

.rates.sums li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rates.sums .rate-num b {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
}

/* Sections: heading in a left column, content on the right, one ink rule on top. */
section {
  padding: 0 0 64px;
}

.sec {
  display: grid;
  gap: 28px;
}

.sec > * {
  min-width: 0;
}

.sec-head {
  padding-top: 20px;
  border-top: 2px solid var(--rule);
}

.sec-head p {
  max-width: 30rem;
  margin-top: 12px;
  color: var(--text-2);
}

.sec-head .btn {
  margin-top: 20px;
}

.sub {
  margin: 48px 0 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Side by side comparison. Rows line up across the two columns where subgrid is available. */
.compare {
  display: grid;
  gap: 32px 40px;
}

.col h3 {
  display: flex;
  align-items: baseline;
  padding-bottom: 12px;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.col dl > div {
  padding: 12px 0 14px;
  border-top: 1px solid var(--hairline);
}

.col dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-3);
}

.col dd {
  margin-top: 2px;
}

.col dd b {
  font-variant-numeric: tabular-nums;
}

/* Ruled lists */
.ledger li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--hairline);
}

.ledger li > div {
  min-width: 0;
}

.ledger b {
  font-weight: 600;
}

.ledger p {
  max-width: 38rem;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--text-2);
}

.ledger.plain {
  border-top: 1px solid var(--hairline);
}

.sec-head + .sec-body > .ledger.plain:first-child {
  border-top: 0;
}

/* On a narrow screen the answer sits above the situation, so the text keeps the full width. */
@media (max-width: 639px) {
  .ledger li:has(.which) {
    flex-direction: column-reverse;
    gap: 2px;
  }
}

.which {
  flex: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
}

.which.ai,
.which.human {
  color: var(--text);
}

.which.ai::before,
.which.human::before {
  content: "";
  display: inline-block;
  width: 0.625em;
  height: 0.625em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--accent);
}

.which.human::before {
  background: var(--human);
}

.sum {
  flex: none;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.aside {
  max-width: 44rem;
  margin-top: 24px;
  color: var(--text-2);
}

/* Steps */
.steps {
  display: grid;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 14px 0 16px 56px;
  border-bottom: 1px solid var(--hairline);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.steps p {
  max-width: 38rem;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--text-2);
}

.shot {
  max-width: 600px;
  margin-top: 32px;
}

.shot picture {
  display: block;
  overflow: hidden;
  border: 1px solid var(--control-line);
  border-top: 0;
  border-radius: 0 0 var(--r-8) var(--r-8);
}

.address {
  padding: 7px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-8) var(--r-8) 0 0;
  background: var(--container);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.shot figcaption {
  max-width: 38rem;
  margin-top: 12px;
}

/* During the call */
.facts li {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--hairline);
}

.facts li:first-child {
  padding-top: 0;
}

.facts p {
  max-width: 34rem;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--text-2);
}

/* Pricing: each row is a call type, the two values are pay as you go and Pro. */
.plans-head {
  display: none;
}

.plan-row {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--hairline);
}

.plan-row:first-of-type {
  padding-top: 0;
}

.plan-row h3 {
  display: flex;
  align-items: baseline;
}

.plan-row dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.plan-row dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-3);
}

.plan-row dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.buy {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.buy h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.buy p {
  max-width: 26rem;
  margin-top: 6px;
  color: var(--text-2);
}

.buy .btn {
  margin-top: 16px;
}

.buy .fine {
  margin-top: 10px;
}

.notes {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.notes li {
  position: relative;
  max-width: 44rem;
  padding-left: 18px;
}

.notes li + li {
  margin-top: 6px;
}

.notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
}

/* Questions */
.faq details {
  border-bottom: 1px solid var(--hairline);
}

.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 details:first-child summary {
  padding-top: 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-3);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  max-width: 42rem;
  padding: 0 0 18px;
  color: var(--text-2);
}

.prose p {
  max-width: 42rem;
  color: var(--text-2);
}

.prose p + p {
  margin-top: 16px;
}

.prose b {
  color: var(--text);
}

/* Closing */
.final {
  padding: 64px 0 72px;
  background: var(--ground);
}

.final h2 {
  max-width: 16em;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.final p {
  margin: 16px 0 28px;
  font-size: 1.1875rem;
  color: var(--text-2);
}

footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hairline);
  font-size: 0.9375rem;
  color: var(--text-2);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot-links a {
  color: var(--text-2);
}

footer .fine {
  margin-top: 12px;
}

/* 404 page */
.lost {
  padding: 96px 0;
}

.lost p {
  margin: 16px 0 28px;
  font-size: 1.1875rem;
  color: var(--text-2);
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .rates {
    grid-template-columns: repeat(3, 1fr);
  }

  .rates.sums {
    border-bottom: 1px solid var(--hairline);
  }

  .rates li {
    padding: 20px 24px 24px;
    border-bottom: 0;
    border-left: 1px solid var(--hairline);
  }

  .rates li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .compare {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, auto);
    row-gap: 0;
  }

  .col,
  .col dl {
    display: grid;
    grid-template-rows: subgrid;
  }

  .col {
    grid-row: span 7;
  }

  .col dl {
    grid-row: span 6;
  }

  .buy {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .plans-head {
    display: grid;
    grid-template-columns: 5fr 3fr 3fr;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-3);
  }

  .plan-row,
  .plan-row:first-of-type {
    display: grid;
    grid-template-columns: 5fr 3fr 3fr;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
  }

  .plan-row dl {
    grid-column: 2 / 4;
    grid-template-columns: subgrid;
    margin-top: 0;
  }

  /* The column labels sit in the header row; keep them for screen readers only. */
  .plan-row dt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 960px) {
  section {
    padding: 0 0 96px;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: 56px 0 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 236px;
    gap: 72px;
    align-items: start;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .theirs {
    display: block;
  }

  .theirs .phone {
    width: 100%;
    max-width: 236px;
    border-width: 6px;
    border-radius: 28px;
  }

  .theirs figcaption {
    padding: 14px 0 0;
  }

  .rates {
    margin-top: 40px;
  }

  section.turn {
    margin-bottom: 96px;
    padding: 80px 0 88px;
  }

  .sec {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 0 64px;
  }

  .sec::before {
    content: "";
    grid-column: 1 / -1;
    border-top: 2px solid var(--rule);
  }

  .sec-head {
    position: sticky;
    top: 88px;
    align-self: start;
    padding-top: 24px;
    border-top: 0;
  }

  .sec-body {
    padding-top: 28px;
  }

  .final {
    padding: 96px 0 104px;
  }
}
