/* gethivoo.com: light theme only, hivoo's tokens (docs/design in the hivoo.me repo). */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #f2f6f4;
  --ink: #08211d;
  --muted: #4c605a;
  --line: #d9e3df;
  --field: #c9d6d1;
  --teal: #09c7a8;
  --tt: #05705f;
  --danger: #b4321f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: #e8f2ef;
  border-radius: 12px 12px 12px 3px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.w {
  position: relative;
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
}
.nav .sp,
.ft .sp {
  flex: 1;
}
.nav a:not(.lk) {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.nav a:not(.lk):hover,
.ft a:hover {
  color: var(--tt);
}

/* The wordmark: the "hi" bubble, then "voo" */
.lk {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
.lk .sym {
  display: inline-block;
  width: 1.412em;
  height: 1.412em;
  background: var(--teal);
  border-radius: 0.31em 0.31em 0.31em 0.07em;
  overflow: hidden;
  vertical-align: -0.348em;
  margin-right: 0.05em;
}
.lk .sym img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Buttons and the email field */
.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px 18px 18px 4px;
  background: var(--teal);
  color: var(--ink);
  font: 800 15.5px var(--sans);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn2:hover {
  filter: brightness(1.04);
}
.btn2[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Start page */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  align-items: center;
  padding: 40px 0 60px;
}
.h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 2rem + 4.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.h1 em {
  font-weight: 400;
  color: var(--tt);
}
.sub {
  margin: 26px 0 0;
  max-width: 500px;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
}

.signup {
  margin-top: 36px;
  max-width: 500px;
}
.claim2 {
  display: flex;
  align-items: center;
  width: 100%;
  height: 66px;
  padding: 8px 8px 8px 22px;
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: 22px 22px 22px 5px;
  box-shadow: 0 14px 34px rgba(8, 33, 29, 0.08);
}
.claim2:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #dff5ef, 0 14px 34px rgba(8, 33, 29, 0.08);
}
.claim2 input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font: 500 17px var(--sans);
  color: var(--ink);
}
.claim2 input[type="email"]::placeholder {
  color: #7a8c86;
}
.claim2 input[type="email"]:focus-visible {
  outline: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.small {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.err {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
  min-height: 0;
}
.err:empty {
  display: none;
}
.done2 {
  display: none;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 14px 22px;
  background: #e2f7f2;
  border: 1.5px solid var(--teal);
  border-radius: 22px 22px 22px 5px;
  font-size: 17px;
  font-weight: 700;
}
.done2 .ck2 {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px 12px 12px 3px;
  background: var(--teal);
}
.done2 svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signup.is-done .done2,
.signup:has(#thanks:target) .done2 {
  display: flex;
}
.signup.is-done form,
.signup:has(#thanks:target) form {
  display: none;
}

/* Abstract pages and bubbles (decoration) */
.stack {
  position: relative;
  height: 640px;
}
.pgx {
  position: absolute;
  width: 280px;
  height: 560px;
  border-radius: 44px;
  border: 9px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(8, 33, 29, 0.25);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pgx > * {
  flex: none;
}
.pgx .av {
  width: 74px;
  height: 74px;
  border-radius: 28px 28px 28px 7px;
  margin-bottom: 4px;
}
.pgx .nm {
  width: 120px;
  height: 14px;
  border-radius: 7px;
}
.pgx .tg {
  width: 170px;
  height: 9px;
  border-radius: 5px;
  opacity: 0.6;
  margin-bottom: 10px;
}
.pgx .row {
  width: 100%;
  height: 50px;
  border-radius: 18px 18px 18px 4px;
}
.pgx .big {
  width: 100%;
  height: 150px;
  border-radius: 22px 22px 22px 5px;
}
.p-dark {
  left: 215px;
  top: 20px;
  z-index: 3;
  background: #061714;
}
.p-dark .av {
  background: #09c7a8;
}
.p-dark .nm,
.p-dark .tg {
  background: #e8f2ef;
}
.p-dark .big,
.p-dark .row {
  background: #11302a;
}
.p-light {
  left: 70px;
  top: 60px;
  z-index: 2;
  transform: rotate(-7deg);
  background: #f6faf8;
}
.p-light .av {
  background: #05705f;
}
.p-light .nm,
.p-light .tg {
  background: #08211d;
}
.p-light .big,
.p-light .row {
  background: #e3ede9;
}
.p-violet {
  left: 370px;
  top: 70px;
  z-index: 1;
  transform: rotate(7deg);
  background: #2b1d3a;
}
.p-violet .av {
  background: #f2b544;
}
.p-violet .nm,
.p-violet .tg {
  background: #f5eeff;
}
.p-violet .big,
.p-violet .row {
  background: #3d2c52;
}
.bub {
  position: absolute;
  z-index: 5;
  padding: 15px 20px;
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 18px 40px rgba(8, 33, 29, 0.14);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
}
.bub.r {
  border-radius: 24px 24px 6px 24px;
  background: var(--teal);
}
.b1 {
  left: 80px;
  top: 470px;
}
.b2 {
  left: 450px;
  top: 380px;
}
.b3 {
  left: 420px;
  top: 110px;
  font-size: 16px;
}

/* Footer */
.ft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.ft a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

/* Legal pages */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 0 120px;
}
.doc h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.7rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.doc .upd {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.doc h2 {
  margin: 56px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4375rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.doc p,
.doc li {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: #2a3f3a;
}
.doc p {
  margin: 14px 0 0;
}
.doc ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.doc li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
}
.doc li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 4px 4px 4px 1px;
}
.doc li b {
  color: var(--ink);
  font-weight: 700;
}
.doc a {
  color: var(--tt);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.doc a svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 404 */
.nf {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 80px;
}

/* Smaller screens: the pages stack under the text, scaled down */
.stackwrap {
  position: relative;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 16px;
  }
  .stackwrap {
    height: 590px;
    margin: 24px -24px 0;
    overflow: hidden;
  }
  .stack {
    position: absolute;
    left: 50%;
    top: 0;
    width: 700px;
    margin-left: -350px;
    transform: scale(0.8);
    transform-origin: top center;
  }
}
@media (max-width: 560px) {
  .w {
    padding: 0 20px;
  }
  .nav {
    height: 72px;
  }
  .claim2 {
    height: 58px;
    padding-left: 18px;
  }
  .claim2 input[type="email"] {
    font-size: 16px;
  }
  .btn2 {
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }
  .sub {
    margin-top: 16px;
  }
  .signup {
    margin-top: 22px;
  }
  .stackwrap {
    height: 390px;
    margin: 24px -20px 0;
  }
  .stack {
    transform: scale(0.52);
  }
  .doc {
    padding: 28px 0 60px;
  }
  .doc h2 {
    margin-top: 40px;
  }
}
