/*
 * BLINDNEXUS.COM (634, 670) - design B brought up to date, `design/website`
 * boards BNow and Support. The values are the app's own tokens
 * (`packages/tokens`), written out: charcoal #0F1115, orange #FF8A00, the
 * greys of the app's text and hairlines. Inter is served from here, not from
 * Google, so a visitor's address goes nowhere else and no consent is needed.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #0f1115;
  --orange: #ff8a00;
  --text-strong: #3d444b;
  --text-secondary: #565e66;
  --on-dark: #d5d9df;
  --on-dark-quiet: #c9ced4;
  --on-dark-faint: #aeb4bd;
  --edge-dark: #2a2f36;
  --line: #e3e6e9;
  --hairline: #eff1f3;
  --ground: #f2f4f7;
  --sunken: #eef0f3;
  --picked: #fff1df;
  --success: #15803d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #a85a00;
}

a:hover {
  color: #7a4200;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 9vw, 96px) 24px;
}

.dark {
  background: var(--ink);
  color: #fff;
}

.grey {
  background: var(--ground);
}

h1,
h2,
h3 {
  margin: 0;
}

h2.big {
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.muted {
  color: var(--text-strong);
}

.dark .muted {
  color: var(--on-dark);
}

/* The orange button, the site's one action. */
.button {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 10px;
  text-align: center;
}

.button:hover {
  color: var(--ink);
  background: #ff9a26;
}

/* ---- The top: navigation and the opening ------------------------------- */

.top {
  padding: 0 24px;
}

.nav {
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.nav__logo img {
  height: 24px;
  width: auto;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  flex: 1 1 auto;
  font-size: 15px;
}

.nav a:not(.button):not(.nav__logo) {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 15px;
}

.nav a:not(.button):not(.nav__logo):hover {
  color: #fff;
  text-decoration: underline;
}

.nav .button {
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 8px;
}

.hero {
  padding: 72px 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero__lead {
  max-width: 640px;
  font-size: 20px;
  color: var(--on-dark);
}

.hero__act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__price {
  color: var(--on-dark-quiet);
  font-size: 15px;
}

.hero__shot {
  margin-top: 32px;
  border: 1px solid var(--edge-dark);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: var(--ground);
}

/* ---- The eight steps ---------------------------------------------------- */

.steps {
  border-bottom: 1px solid var(--line);
}

.steps .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.steps__lead {
  margin-top: 12px;
  max-width: 680px;
}

.steps__bars {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.steps__bars span {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

.steps__bars span.on {
  background: var(--orange);
}

.steps__body {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
}

.steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps__list button {
  width: 100%;
  min-height: 56px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.steps__list button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--picked);
}

.steps__n {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  width: 14px;
  flex-shrink: 0;
}

.steps__words {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.steps__title {
  font-weight: 700;
}

.steps__line {
  font-size: 15px;
  color: var(--text-strong);
}

.steps__figure {
  margin: 0;
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shot {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 17, 21, 0.1);
  background: var(--ground);
}

.steps__figure figcaption {
  font-size: 15px;
  color: var(--text-strong);
}

.steps__figure figcaption b {
  color: var(--ink);
}

/* ---- Two columns: words and a picture ------------------------------------ */

.pair {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: center;
}

.pair__words {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pair__picture {
  flex: 999 1 560px;
  min-width: 0;
}

.pair__words b {
  color: var(--ink);
}

.small {
  font-size: 15px;
  color: var(--on-dark-quiet);
}

/* The three texts, in a phone. */
.texts {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.texts__phone {
  width: 320px;
  max-width: 100%;
  border: 10px solid var(--edge-dark);
  border-radius: 44px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.texts__who {
  padding: 22px 20px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.texts__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-strong);
}

.texts__list {
  padding: 18px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.texts__when {
  align-self: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.texts__bubble {
  max-width: 86%;
  background: var(--sunken);
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
}

/* ---- Three cards ---------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.card__words {
  padding: 24px;
}

.card h3 {
  font-size: 21px;
}

.card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-strong);
}

/* ---- On your phone ------------------------------------------------------- */

.phones {
  flex: 2 1 560px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.phones__one {
  width: 200px;
  height: 420px;
  border: 8px solid var(--edge-dark);
  border-radius: 32px;
  overflow: hidden;
  background: var(--ground);
}

/* ---- The price ------------------------------------------------------------- */

.price .wrap {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.price__box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price__label {
  font-size: 18px;
  color: var(--text-secondary);
}

.price__figure {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price__box .button {
  margin-top: 8px;
}

.price__sum {
  background: var(--ground);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price__field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.price__field input {
  width: 100%;
  min-height: 44px;
  accent-color: var(--orange);
}

.price__hint {
  font-size: 14px;
  color: var(--text-secondary);
}

.price__total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price__total strong {
  font-size: 40px;
  letter-spacing: -0.02em;
}

.price__note {
  font-size: 15px;
  color: var(--text-strong);
}

/* ---- Who built it ------------------------------------------------------------ */

.who {
  padding: clamp(48px, 8vw, 80px) 24px;
}

.who .wrap {
  max-width: 900px;
}

.who blockquote {
  margin: 0;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
}

.who p {
  margin-top: 12px;
  color: var(--text-secondary);
}

/* ---- The end: try it, and the footer ----------------------------------------- */

.end {
  padding: clamp(48px, 8vw, 80px) 24px 40px;
  text-align: center;
}

.end p {
  margin: 12px auto 0;
  max-width: 560px;
}

.end .button {
  margin-top: 28px;
}

.foot {
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--edge-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--on-dark-quiet);
  text-align: left;
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

.foot__row img {
  height: 20px;
  width: auto;
}

.foot__space {
  flex: 1 1 auto;
}

.foot a {
  color: var(--on-dark-quiet);
}

.foot a:hover {
  color: #fff;
}

.end .foot__legal {
  margin: 0;
  max-width: none;
  color: var(--on-dark-faint);
  font-size: 13px;
}

/* ---- Support ------------------------------------------------------------------ */

.page-head {
  padding: 0 24px 56px;
}

.page-head .narrow {
  padding-top: 48px;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.page-head h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-head p {
  margin-top: 14px;
  font-size: 20px;
  color: var(--on-dark);
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.box--pad {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.box h2 {
  font-size: 21px;
}

.box__title {
  padding: 20px 24px 12px;
}

.box__row {
  padding: 12px 24px;
  border-top: 1px solid var(--hairline);
}

.box__row b {
  display: block;
  font-weight: 600;
}

.box__row span {
  font-size: 15px;
  color: var(--text-strong);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.end--plain {
  padding-top: 28px;
}

.end--plain .foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
