/* unicentum.com: same tokens and fonts as the back-office; logo files in brand/ */
@font-face {
  font-family: 'Figtree';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/figtree-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/figtree-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/sora-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-mono-latin-400-normal.woff2) format('woff2');
}

:root {
  --bg: #ffffff;
  --band: #f4f8fc;
  --surface: #ffffff;
  --surface-2: #eaf0f6;
  --ink: #101c2e;
  --muted: #5b6b80;
  --line: #d8e2ed;
  --primary: #0b5fe8;
  --primary-600: #0950c4;
  --primary-50: #ebf2fe;
  --deep: #0a2f8f;
  --midnight: #071224;
  --accent: #1b7a50;
  --sun-50: #fbe7c6;
  --warn-ink: #8a5a12;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-display: 'Sora', 'Figtree', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
}
a:hover {
  color: var(--primary-600);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 18px;
}
p {
  margin: 0;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.muted {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.away {
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
/* jumping to a section leaves room for the header */
section[id],
.legal h2 {
  scroll-margin-top: 80px;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.wordmark {
  display: inline-flex;
}
.wordmark img {
  height: 32px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover {
  color: var(--ink);
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.button:hover {
  background: var(--primary-600);
  color: #fff;
}
.button.quiet {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button.quiet:hover {
  background: var(--band);
  color: var(--ink);
}
.button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.note {
  color: var(--muted);
  font-size: 14px;
}
.feature-shot {
  margin: 40px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 28, 46, 0.06);
}

/* hero devices: the register on a tablet and a phone, the owner app on a phone */
.hero-glow {
  background:
    radial-gradient(900px 440px at 78% 45%, var(--primary-50) 0%, rgba(235, 242, 254, 0) 70%),
    var(--bg);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}
.devices {
  position: relative;
  margin: 0 7% 10% 0;
}
.tablet {
  padding: 12px;
  border-radius: 24px;
  background: var(--midnight);
  box-shadow:
    0 30px 60px -20px rgba(10, 47, 143, 0.45),
    0 12px 24px -12px rgba(0, 0, 0, 0.35);
}
.tablet img {
  border-radius: 10px;
}
.phone {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 30%;
  padding: 8px;
  border-radius: 24px;
  background: var(--midnight);
  box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.45);
}
/* the register on a phone, over the tablet's other corner; the whole screen, Charge included */
.phone-register {
  right: auto;
  left: -6%;
  width: 24%;
}
.phone img {
  aspect-ratio: 9 / 16;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
}
.phone-register img {
  aspect-ratio: 720 / 1538;
}

/* sections */
.band {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dark-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--midnight);
  color: #fff;
}
.dark-band h2 {
  color: #fff;
}
.dark-band p {
  max-width: 56ch;
  margin: 12px 0 0;
  color: #b9c6da;
  font-size: 18px;
}
.dark-mark {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  opacity: 0.07;
  pointer-events: none;
}
.hardware {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hardware h2 {
  margin-bottom: 12px;
}
.hardware img {
  border-radius: 20px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}
.steps h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.not-bir {
  margin-top: 48px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--sun-50);
  color: var(--warn-ink);
  max-width: 72ch;
}
.not-bir strong {
  font-weight: 600;
}

/* plans */
.plans-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.plans-section .lead {
  margin-top: 12px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.price {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.price strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
}
.includes {
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
}
.plan ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.plan li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.plan h3 + .price + ul {
  margin-top: 20px;
}
.coming {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.plan .later-list {
  margin-top: 8px;
}
.plan .later-list li {
  color: var(--muted);
}
.plan {
  display: flex;
  flex-direction: column;
}
/* the button sits at the bottom of each card, so the three line up */
.plan-foot {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 8px;
}
.plan-note {
  color: var(--muted);
  font-size: 13px;
}
/* the BIR edition: no price, coming; stacks on phones, a row from tablets up */
.bir-edition {
  margin-top: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 16px;
}
.bir-edition h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.bir-edition p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  max-width: 62ch;
}
.soon-tag.small {
  min-height: 28px;
  padding: 0 12px;
  font-size: 13px;
}
@media (min-width: 760px) {
  .bir-edition {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}
.plans-help {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

/* Talk to us (lead form) */
.lead-form[hidden],
.lead-thanks[hidden] {
  display: none;
}
.talk-section {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  gap: 32px;
}
.talk-intro .lead {
  margin-top: 12px;
}
.lead-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.lead-form .field {
  display: grid;
  gap: 8px;
  align-content: start;
}
.lead-form label {
  font-weight: 600;
  font-size: 15px;
}
.lead-form .optional,
.lead-form .hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}
.lead-form input:not([type='checkbox']),
.lead-form select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  color: inherit;
  width: 100%;
}
.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
}
.lead-form [aria-invalid='true'] {
  border-color: var(--bad, #b42318);
}
.lead-form .field-error,
.lead-form .form-error {
  color: var(--bad, #b42318);
  font-size: 14px;
  margin: 0;
}
.notice-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.notice-box p {
  margin: 0;
}
.notice-box strong {
  color: var(--ink);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-thanks {
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 24px;
  display: grid;
  gap: 12px;
  justify-items: start;
}
.thanks-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}
.lead-thanks h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
}
.lead-thanks h3:focus {
  outline: none;
}
.lead-thanks .lead {
  margin: 0;
}
.thanks-next {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  width: 100%;
}
.thanks-next p {
  margin: 0;
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 760px) {
  .lead-form {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form .wide {
    grid-column: 1 / -1;
  }
  .lead-form button.wide {
    justify-self: start;
    min-width: 200px;
  }
}

/* questions */
.questions {
  max-width: 800px;
}
.questions h2 {
  margin-bottom: 24px;
}
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}
details p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 68ch;
}

/* footer */
.site-footer {
  padding: 48px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 32px;
}
.footer-grid p + p {
  margin-top: 4px;
}
.footer-name {
  color: var(--ink);
  font-weight: 600;
}
.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

/* terms and privacy */
.legal {
  max-width: 800px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.legal h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
}
.legal h2 {
  font-size: 20px;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  max-width: 72ch;
}
.legal p + p {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  padding-left: 20px;
  margin: 12px 0;
}
.legal li + li {
  margin-top: 8px;
}
.legal code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.legal .table {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  background: var(--band);
  font-weight: 500;
  color: var(--muted);
}
.legal tr:last-child td {
  border-bottom: 0;
}
.draft-note {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--sun-50);
  color: var(--warn-ink);
  font-weight: 600;
}

/* narrow screens */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .cards,
  .steps,
  .hardware {
    grid-template-columns: 1fr;
  }
  .devices {
    margin: 8px 6% 12% 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .phone-register {
    left: 0;
  }
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-nav {
    display: none;
  }
  .header-row {
    justify-content: space-between;
  }
  .band {
    padding: 56px 0;
  }
  .plans-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .dark-band,
  .hardware {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Plus and Pro until they can be bought */
.soon-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}
