/* Pingo's site. Ink navy on ice, the droplet's blue for what acts; a dark stage only where the app itself is shown. */
@font-face {
  font-family: 'Nunito';
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0e1a45; /* the droplet's eyes */
  --ink-2: #44517a;
  --deep: #070d24; /* the app's own night */
  --water: #2f6bf2;
  --water-strong: #1f55cf;
  --ice: #eaf2fd;
  --mist: #c9dbf7;
  --foam: #ffffff;
  --display: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --measure: 62ch;
  --page: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--water-strong);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 68px);
}
h2 {
  font-weight: 900;
  font-size: clamp(30px, 3.7vw, 46px);
}
h3 {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}
p {
  margin: 0;
  max-width: var(--measure);
}
.wrap {
  width: var(--page);
  margin-inline: auto;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-2);
}

/* ---------- top ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 900 26px/1 var(--display);
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
}
.top nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
}
.top nav a:hover {
  text-decoration: underline;
}
.top nav a.btn {
  color: #fff;
  padding: 12px 22px;
  font-size: 16px;
}
.top nav a.btn:hover {
  text-decoration: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--water);
  color: #fff;
  font: 800 17px/1 var(--display);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--water-strong);
  color: #fff;
}
.btn--quiet {
  background: transparent;
  border-color: var(--mist);
  color: var(--ink);
}
.btn--quiet:hover {
  background: var(--foam);
  color: var(--ink);
}
.btn[aria-disabled='true'] {
  background: var(--mist);
  color: var(--ink-2);
  cursor: default;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
  padding-block: clamp(28px, 6vw, 80px) clamp(48px, 7vw, 96px);
}
.hero h1 {
  margin-bottom: 22px;
}
.hero .lead {
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__note {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.hero__art::before {
  content: '';
  position: absolute;
  inset: 6% 2% 2% 6%;
  border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%;
  background: var(--mist);
}
.hero__art img {
  position: relative;
  width: 100%;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- the stage: the app, as it looks ---------- */
.stage {
  background: var(--deep);
  color: #e8edf5;
  padding-block: clamp(56px, 8vw, 104px);
}
.stage h2 {
  color: #fff;
}
.stage .lead {
  color: #a9b6d6;
  margin-top: 14px;
}
.chat {
  margin-top: 40px;
  max-width: 760px;
  display: grid;
  gap: 18px;
}
.msg {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}
.msg__face {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 900 18px/1 var(--display);
  color: #fff;
}
.msg__face--you {
  background: #1a2444;
  color: #c9d6f5;
}
.msg__face--mare {
  background: #7c5cf0;
}
.msg__face--brisa {
  background: #14a3a3;
}
.msg__who {
  font: 800 16px/1.2 var(--display);
  color: #fff;
}
.msg__who span {
  font: 400 13.5px/1 var(--body);
  color: #8794b6;
  margin-left: 8px;
}
.msg p {
  margin-top: 4px;
  color: #d7deee;
}
.msg__steps {
  margin-top: 6px;
  font-size: 14px;
  color: #8794b6;
}
.approval {
  margin-top: 12px;
  border: 1px solid #263359;
  background: #0d1632;
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 520px;
}
.approval strong {
  display: block;
  font: 800 16px/1.3 var(--display);
  color: #fff;
}
.approval code {
  display: block;
  margin-top: 8px;
  font: 13.5px/1.5 ui-monospace, 'SF Mono', Menlo, monospace;
  color: #a9c4ff;
  white-space: pre-wrap;
  word-break: break-word;
}
.approval__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  font: 800 14.5px/1 var(--display);
  background: var(--water);
  color: #fff;
}
.pill--quiet {
  background: transparent;
  border: 1px solid #33426e;
  color: #c9d6f5;
}

/* ---------- the hosted plan: the laptop is shut, the phone lights up ---------- */
.cloud__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}
.cloud__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 16px/1 var(--display);
  color: #dfe7fb;
  margin-bottom: 22px;
}
.cloud h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
}
.cloud h2 span {
  color: #6ea2ff;
}
.waitlist {
  margin-top: 30px;
  display: flex;
  gap: 8px;
  max-width: 560px;
  padding: 7px;
  border-radius: 999px;
  background: #fff;
}
.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 16px;
  font: 17px/1 var(--body);
  color: var(--ink);
  border-radius: 999px;
}
.waitlist input[type='email']::placeholder {
  color: #7d88a8;
}
.waitlist .btn {
  padding: 14px 22px;
}
.cloud__note {
  margin-top: 14px;
  font-size: 14.5px;
  color: #8794b6;
  max-width: 560px;
}
.cloud__note a {
  color: #c9d6f5;
}
.plans {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}
.plan {
  border-radius: 20px;
  padding: 20px;
  background: #0d1632;
  display: grid;
  gap: 8px;
  align-content: start;
}
.plan--next {
  border: 1px solid #2f6bf2;
  background: #0f1c44;
}
.plan__tag {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #1a2444;
  font: 800 12.5px/1 var(--display);
  color: #c9d6f5;
}
.plan--next .plan__tag {
  background: var(--water);
  color: #fff;
}
.plan h3 {
  color: #fff;
  font-size: 19px;
}
.plan p {
  color: #a9b6d6;
  font-size: 15.5px;
}
.plan strong {
  margin-top: 6px;
  font: 900 24px/1.1 var(--display);
  color: #fff;
}
.plan strong small {
  font: 500 15px/1 var(--body);
  color: #8794b6;
}
.phone {
  position: relative;
  justify-self: center;
  width: min(300px, 100%);
}
.phone__chip {
  position: absolute;
  left: -34%;
  top: 6%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
.phone__chip i {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
}
.phone__chip b {
  display: block;
  font: 800 14.5px/1.2 var(--display);
}
.phone__chip span {
  color: var(--ink-2);
}
.phone__body {
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  border: 10px solid #141c38;
  background: linear-gradient(180deg, #12204a 0%, #070d24 62%);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone__island {
  width: 34%;
  height: 22px;
  border-radius: 12px;
  background: #000;
}
.phone__date {
  margin-top: 30px;
  font-size: 14.5px;
  color: #c9d6f5;
}
.phone__time {
  font: 300 78px/1.05 var(--body);
  color: #fff;
  letter-spacing: -0.02em;
}
.phone__note {
  margin-top: auto;
  width: 100%;
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
}
.phone__note p {
  margin-top: 2px;
  color: #dfe7fb;
  line-height: 1.4;
}
.phone__from {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12.5px;
  color: #c9d6f5;
}
.phone__from em {
  margin-left: auto;
  font-style: normal;
}

/* ---------- plain sections ---------- */
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section--foam {
  background: var(--foam);
}
.section > .wrap > h2 + .lead {
  margin-top: 14px;
}
.list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 56px;
}
.list p {
  margin-top: 8px;
  color: var(--ink-2);
}
.rule {
  margin-top: 44px;
  display: grid;
  gap: 0;
  max-width: 760px;
  border-top: 2px solid var(--ink);
}
.rule > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--mist);
}
.rule dt,
.rule strong {
  font: 800 18px/1.3 var(--display);
}
.rule p {
  color: var(--ink-2);
}
.engines {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  padding: 0;
  list-style: none;
}
.engines li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ice);
  font-weight: 600;
  font-size: 15.5px;
}
.section--foam .engines li {
  background: var(--ice);
}

/* ---------- install ---------- */
.steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 900 20px/1 var(--display);
  margin-bottom: 16px;
}
.steps p {
  margin-top: 8px;
  color: var(--ink-2);
}
.downloads {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.download {
  background: var(--foam);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.section--foam .download {
  background: var(--ice);
}
.download.is-yours {
  outline: 3px solid var(--water);
}
.download small {
  color: var(--ink-2);
  font-size: 14.5px;
}
.download .btn {
  margin-top: 14px;
  justify-self: start;
  padding: 12px 20px;
  font-size: 16px;
}

/* The other way to install: on a server, with one command. */
.server {
  margin-top: 56px;
  max-width: 760px;
}
.server p {
  margin-top: 10px;
  color: var(--ink-2);
}
.command {
  margin: 16px 0 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--deep);
  color: #dfe7fb;
  font: 15.5px/1.5 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  overflow-x: auto;
  white-space: pre;
}
.command code {
  font: inherit;
  user-select: all;
}

/* ---------- questions ---------- */
.faq {
  margin-top: 36px;
  max-width: 760px;
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--mist);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font: 800 19px/1.3 var(--display);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 14px;
  font: 400 30px/1 var(--display);
  color: var(--water);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding-bottom: 22px;
  color: var(--ink-2);
}

/* ---------- end ---------- */
.end {
  background: var(--water);
  color: #fff;
  padding-block: clamp(56px, 8vw, 96px);
}
.end h2 {
  color: #fff;
  max-width: 16ch;
}
.end .btn {
  margin-top: 28px;
  background: #fff;
  color: var(--ink);
}
.end .btn:hover {
  background: var(--ice);
}
.foot {
  background: var(--deep);
  color: #a9b6d6;
  padding-block: 36px;
  font-size: 15px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.foot a {
  color: #dfe7fb;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* ---------- documents (privacy, terms) ---------- */
.doc {
  padding-block: 24px 96px;
}
.doc h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 10px;
}
.doc h2 {
  font-size: 26px;
  margin: 44px 0 10px;
}
.doc p,
.doc li {
  color: #26335c;
}
.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 12px;
}
.doc ul {
  max-width: var(--measure);
  padding-left: 22px;
  margin: 0;
}
.doc li + li {
  margin-top: 6px;
}
.doc .when {
  color: var(--ink-2);
  font-size: 15.5px;
}

@media (max-width: 860px) {
  .hero,
  .cloud__grid {
    grid-template-columns: 1fr;
  }
  .phone__chip {
    left: 0;
    top: -22px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .waitlist {
    border-radius: 22px;
    flex-direction: column;
  }
  .waitlist input[type='email'] {
    padding: 12px 14px;
  }
  .hero__art {
    justify-self: start;
    max-width: 300px;
    order: -1;
  }
  .list,
  .steps,
  .downloads {
    grid-template-columns: 1fr;
  }
  .rule > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .top nav a:not(.btn) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__art img {
    animation: none;
  }
}
