/*
  Verstat website. One stylesheet, no build step, no scripts.
  The look is the approved Verstat design (verstat-design/HANDOFF.md): light paper, one material
  (glass) for panels and pills, Sofia Sans for text, Sofia Sans Condensed for figures, one blue.
  Fonts are served from this folder: the page asks no other server for anything.
*/

@font-face {
  font-family: "Sofia Sans";
  src: url("fonts/SofiaSans_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("fonts/SofiaSans_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("fonts/SofiaSansCondensed_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #edeeea;
  --paper-top: #f7f7f3;
  --paper-bottom: #ecede8;
  --ink: #18202b;
  --ink2: #566070;
  --hairline: rgba(24, 32, 43, 0.1);
  --accent: #1f4bff;
  --accent-tint: rgba(31, 75, 255, 0.12);
  --on-bead: #0e1420;
  --glass-top: rgba(255, 255, 255, 0.74);
  --glass-bottom: rgba(255, 255, 255, 0.48);
  --glass-rim: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 14px 34px rgba(24, 32, 43, 0.12), 0 1px 2px rgba(24, 32, 43, 0.06);
  --text: "Sofia Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --figure: "Sofia Sans Condensed", "Sofia Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --page: 1080px;
  --gutter: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  background-color: var(--ground);
  /* The paper of the app: two soft washes of colour over a plain ground. */
  background-image:
    radial-gradient(420px 380px at 14% 120px, rgba(120, 190, 240, 0.16), rgba(120, 190, 240, 0)),
    radial-gradient(460px 420px at 98% 520px, rgba(150, 130, 250, 0.13), rgba(150, 130, 250, 0)),
    linear-gradient(var(--paper-top), var(--paper-bottom));
  background-repeat: no-repeat;
  background-size: 100% 1200px, 100% 1200px, 100% 100%;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- glass, the one material ---------- */

.glass {
  /* A faint diagonal shine over the fill, as on the app's glass. */
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-rim);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border-radius: 28px;
}
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: rgba(250, 250, 247, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------- header ---------- */

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 18px;
  padding-bottom: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 22px;
  text-decoration: none;
}
.brand .mark {
  height: 18px;
  width: auto;
}
.brand .wordmark {
  height: 14px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 22px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(24, 32, 43, 0.08);
}

/* ---------- type ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(34px, 6.2vw, 58px);
}
h2 {
  font-size: clamp(26px, 3.6vw, 36px);
}
h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--ink2);
}
.small {
  font-size: 15px;
  color: var(--ink2);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- the line of the voice ---------- */

.voice-line {
  position: relative;
  height: 2px;
  margin: 0;
  border: 0;
  background: var(--accent);
  overflow: visible;
}
.voice-line::after {
  content: "";
  position: absolute;
  left: 28%;
  top: -11px;
  width: 120px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(200, 214, 255, 0.6) 45%, rgba(200, 214, 255, 0));
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 56px;
}
.hero-text > * + * {
  margin-top: 20px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
}
.pill.soon {
  border-color: var(--accent);
  color: var(--accent);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone {
  flex: 0 1 auto;
  width: min(300px, 74vw);
  padding: 9px;
  border-radius: 46px;
  background: #0e1420;
  box-shadow: 0 30px 60px rgba(24, 32, 43, 0.22), 0 2px 6px rgba(24, 32, 43, 0.18);
}
.phone img {
  border-radius: 38px;
}
.room {
  flex: 0 1 auto;
  width: min(300px, 74vw);
  margin: 0;
  padding: 8px 8px 12px;
  border-radius: 22px;
}
.room img {
  border-radius: 15px;
}
.room figcaption {
  margin-top: 9px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink2);
}
@media (min-width: 620px) {
  .hero-show {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
  }
  .phone {
    flex: 0 1 280px;
    width: auto;
    min-width: 0;
  }
  .room {
    flex: 0 1 190px;
    width: auto;
    min-width: 0;
    margin-bottom: 34px;
  }
}

/* ---------- sections ---------- */

.section {
  padding-top: 64px;
  padding-bottom: 8px;
}
.section > .head {
  max-width: 720px;
}
.section > .head > * + * {
  margin-top: 12px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.card {
  padding: 24px 24px 26px;
}
.card > * + * {
  margin-top: 10px;
}
.card p {
  color: var(--ink2);
}
.card .step-number {
  font-family: var(--figure);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

/* The price, as the app shows it. */
.price {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 26px 24px;
}
.price .total {
  font-family: var(--figure);
  font-weight: 600;
  font-size: clamp(46px, 8vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.price dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  margin: 0;
  font-size: 17px;
}
.price dt {
  color: var(--ink2);
}
.price dd {
  margin: 0;
  text-align: right;
  font-family: var(--figure);
  font-weight: 600;
  font-size: 19px;
}
.price .note {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 28px;
  margin: 24px 0 0;
}
.contact dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-top: 8px;
}
.contact dd {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact dd a {
  display: inline-block;
  padding: 10px 0;
  color: var(--ink);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(120% 140% at 50% 22%, #cbd6ff 0%, #8fa7ff 38%, #5c7cff 72%, #4060e8 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.75), inset 0 -10px 16px rgba(24, 40, 150, 0.45), 0 10px 24px rgba(70, 105, 255, 0.35);
  color: var(--on-bead);
  font-weight: 600;
  text-decoration: none;
}
.button.quiet {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- documents (privacy, terms, support) ---------- */

.doc {
  max-width: 760px;
  padding-top: 36px;
  padding-bottom: 24px;
}
.doc > * + * {
  margin-top: 16px;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 44px);
}
.doc h2 {
  font-size: 24px;
  margin-top: 44px;
  line-height: 1.2;
}
.doc h3 {
  font-size: 18px;
  margin-top: 28px;
}
.doc ul,
.doc ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.doc li + li {
  margin-top: 8px;
}
.doc .updated {
  color: var(--ink2);
  font-size: 15px;
}
.doc .summary {
  padding: 22px 24px;
}
.doc .summary > * + * {
  margin-top: 10px;
}
.doc .first,
.contact.first {
  margin-top: 0;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.6);
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
tbody tr:last-child > * {
  border-bottom: 0;
}
th {
  font-weight: 600;
  background: rgba(24, 32, 43, 0.04);
}
details {
  padding: 4px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
}
details + details {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  min-height: 44px;
}
details > *:not(summary) {
  margin: 0 0 14px;
  color: var(--ink2);
}
details ul {
  padding-left: 20px;
}

/* ---------- footer ---------- */

.foot {
  margin-top: 72px;
  padding-top: 28px;
  padding-bottom: 44px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink2);
}
.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.foot .links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.foot .links a:hover {
  text-decoration: underline;
}
.foot address {
  font-style: normal;
}
.foot p + p,
.foot address + p {
  margin-top: 8px;
}

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }
  .price {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px 56px;
    align-items: center;
    padding: 30px 34px;
  }
  .contact {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }
}

@media (min-width: 940px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 84px;
  }
  .hero-show {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .nav a {
    padding: 0 9px;
    font-size: 14px;
  }
  .brand {
    padding: 0 14px 0 12px;
  }
}

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

@media print {
  body {
    background: #fff;
  }
  .glass {
    box-shadow: none;
    border-color: #ccc;
  }
  .top .nav,
  .hero-show {
    display: none;
  }
}
