@font-face {
  font-family: Jost;
  src: url("jost-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --bg: #fbf9f4;
  --grn: #25d366;
  --dgrn: #128c4a;
  --whatsapp-fill: #5fc866;
  --whatsapp-hover: #52b859;
  --whatsapp-active: #48a84f;
  --whatsapp-text: #1a1a1a;
  --yel: #ffc94d;
  --paper: #fff;
  --muted: #5c5a55;
  --sand: #efe9df;
  --line: #e4ded3;
  --soft-green: #c9f5d6;
  --soft-yellow: #fff3c4;
  --border: 2.5px solid var(--ink);
  --shadow: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Jost, Futura, "Trebuchet MS", sans-serif;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }
a { color: var(--dgrn); }
:focus-visible { outline: 3px solid var(--dgrn); outline-offset: 3px; }
.wrap {
  width: min(100%, 1184px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.body { margin: 0; font-size: 16px; line-height: 1.45; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; }
.top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
  padding-top: 6px;
}
.logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.logo i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--grn);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
}
.logo i::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.join { font-size: 13px; }
nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.top nav {
  font-size: 13px;
  font-weight: 600;
}
.top nav a { color: var(--ink); text-underline-offset: .18em; }

h1, h2 {
  font-weight: 800;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(29px, 7.9vw, 39px); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: 27px; line-height: 1.08; letter-spacing: -.015em; }
.green { color: var(--dgrn); }
.fold, .intro, .detail-fold { display: grid; gap: 11px; }
.fold { padding-top: 5px; padding-bottom: 14px; }
.detail-fold { padding-top: 5px; padding-bottom: 24px; }
.doors, .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.door {
  text-decoration: none;
  color: var(--ink);
  border: var(--border);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.door .pic {
  position: relative;
  height: clamp(126px, 23vh, 240px);
  border-bottom: 2px solid var(--ink);
  background: var(--sand);
}
.door .pic img, .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.door:first-child img { object-position: 50% 40%; }
.tagp {
  position: absolute;
  top: 7px;
  left: 7px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 2px 9px;
  font-size: 15px;
}
.door .txt { padding: 8px 9px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.door .txt b { font-size: 16px; line-height: 1.1; }
.door-detail { font-size: 13px; line-height: 1.3; padding-bottom: 3px; }
.cta {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: var(--border);
  border-radius: 11px;
  font-weight: 800;
  font-size: 15px;
  margin-top: auto;
}
.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 14px;
  border: var(--border);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  padding: 6px 11px;
}
.btn b { font-size: 17px; }
.btn small { font-size: 13px; font-weight: 500; line-height: 1.25; }
.btn:active, .door:active { box-shadow: none; transform: translate(2px, 2px); }
.btn-whatsapp {
  flex-direction: row;
  gap: 10px;
  background: var(--whatsapp-fill);
  color: var(--whatsapp-text);
}
.btn-whatsapp > svg { flex: none; fill: currentColor; }
.btn-whatsapp > span { display: flex; flex-direction: column; }
.btn-whatsapp[aria-disabled="true"] { cursor: wait; }
@media (hover: hover) {
  .btn-whatsapp:hover { background: var(--whatsapp-hover); }
}
.btn-whatsapp:active { background: var(--whatsapp-active); }
.btn-whatsapp:focus-visible {
  outline-color: var(--whatsapp-fill);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--whatsapp-text);
}
.yel { background: var(--yel); }
.grnbg { background: var(--grn); }
.down {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-self: center;
  font-size: 14px;
  font-weight: 700;
}

section { border-top: 2px solid var(--ink); padding-block: 28px 32px; }
section .wrap { display: grid; gap: 14px; }
section.alt { background: var(--paper); }
section.cream { background: var(--soft-yellow); }
.media { margin: 0; min-width: 0; }
.photo {
  position: relative;
  border: var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.photo img { position: absolute; inset: 0; }
#screen img, [data-site-page="ipad"] .detail-fold img { object-fit: contain; }
[data-site-page="kit"] .detail-fold img { object-position: 50% 35%; }
.steps, .screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step { display: grid; align-content: start; gap: 6px; text-align: center; font-size: 14px; line-height: 1.2; }
.step .photo { aspect-ratio: 3 / 4; }
.num {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 99px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 800;
}
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
  background: var(--paper);
}
.cmp th, .cmp td { padding: 9px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th:nth-child(2) { background: var(--yel); }
.cmp thead th:nth-child(3) { background: var(--soft-green); }
.cmp tbody th { color: var(--muted); font-weight: 600; width: 28%; }
details { border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); padding-inline: 12px; }
details + details { margin-top: 8px; }
summary { font-weight: 700; padding-block: 13px; min-height: 44px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; margin-left: 6px; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 13px; }
.screens figure { margin: 0; display: grid; align-content: start; gap: 5px; }
.screens img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 10px; display: block; }
.screens figcaption { font-size: 13px; font-weight: 600; text-align: center; }
.flow, ul.kit { padding-left: 22px; display: grid; gap: 8px; }
.demo { display: block; width: 100%; height: auto; aspect-ratio: 620 / 308; }
.sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  border-top: 2px solid var(--ink);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  z-index: 5;
  transition: transform .2s ease, visibility .2s;
}
/* Hide the bottom bar while the same button is on screen at the top. */
.sticky.fold-visible { transform: translateY(100%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }
footer { border-top: 2px solid var(--ink); padding: 12px 0 28px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 380px) and (max-height: 680px) {
  .fold, .fold .intro { row-gap: 7px; }
  .door .pic { height: max(100px, 16vh); }
}

@media (min-width: 800px) {
  .wrap { padding-inline: 32px; }
  .top { padding-block: 16px; }
  .top nav { width: auto; gap: 0 20px; font-size: 15px; }
  .join { margin-left: auto; margin-right: 24px; font-size: 15px; }
  h1 { font-size: clamp(44px, 5vw, 64px); }
  h2 { font-size: clamp(32px, 4vw, 46px); text-wrap: initial; }
  .body { font-size: 20px; }
  .fold {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: 12px 36px;
    padding-block: 44px 48px;
  }
  .fold .intro { align-content: center; gap: 18px; }
  .fold h1 { font-size: clamp(42px, 4.45vw, 57px); text-wrap: initial; }
  .doors, .two { gap: 16px; }
  .door .pic { height: clamp(215px, 36vh, 290px); }
  .door .txt { padding: 14px; gap: 8px; }
  .door .txt b { font-size: 22px; }
  .door-detail { font-size: 16px; }
  .cta, .btn b { font-size: 18px; }
  .btn small { font-size: 15px; }
  .down { grid-column: 2; font-size: 16px; }
  .detail-fold { padding-block: 44px 54px; }
  section { padding-block: 60px 64px; }
  section .wrap { gap: 22px; }
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    align-content: center;
    align-items: center;
    column-gap: 52px;
  }
  section .split, .detail-fold.split { column-gap: 52px; }
  .split > h1, .split > h2 { align-self: end; }
  .split > .media, .split > .photo-column, .split > .demo { grid-column: 2; grid-row: 1 / span 3; }
  .split > :not(.media, .photo-column, .demo) { grid-column: 1; }
  .split > :last-child:not(.media, .photo-column, .demo) { align-self: start; }
  .split > .btn, section > .wrap > .btn { justify-self: start; min-width: 200px; }
  .two { width: min(100%, 620px); }
  .steps, .screens { gap: 16px; }
  .step .photo { aspect-ratio: 4 / 3; }
  .step { font-size: 18px; }
  .cmp { font-size: 18px; }
  .cmp th, .cmp td { padding: 13px 18px; }
  .sticky .btn { width: min(100%, 400px); margin-inline: auto; }
}

@media (min-width: 800px) and (max-width: 960px) {
  .fold { gap: 12px 24px; }
  .door .txt { padding: 10px; }
  .door .txt b { font-size: 18px; }
  .door-detail { font-size: 14px; }
}

body[data-region="other"] .eu,
body:not([data-region="other"]) .xeu { display: none !important; }
