/* boxomaticapp.com: rebuilt from the Framer site (measured 2026-11-03).
   Desktop metrics at 1440 wide; one breakpoint at 810 (Framer's tablet/phone split). */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("/fonts/kaushan-script.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #111;
  --heading: #333;
  --navy: #001122;
  --muted: #888;
  --body: #666;
  --faint: #999;
  --link: #09f;
  --orange: #fa8a19;
  --star: #f69935;
  --panel: #f7f7f7;
  --field: #ebebeb;
  --shadow: 0 0.8px 2.4px -0.6px rgb(0 0 0 / 5%), 0 2.4px 7.2px -1.25px rgb(0 0 0 / 5%),
            0 6.4px 19px -1.9px rgb(0 0 0 / 5%), 0 20px 60px -2.5px rgb(0 0 0 / 5%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 500 16px/1.6 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3 { margin: 0; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- header ---------------------------------------------------------- */
.site-header {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #eee;
}
.logo img { width: 190px; height: 40px; object-fit: cover; }
.site-header ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-header a { font-size: 16px; font-weight: 500; color: var(--link); }
.site-header a:hover { color: #08f; text-decoration: underline; }
.site-header li.active a { color: var(--ink); }

/* ---- shared ---------------------------------------------------------- */
.lede {
  font-size: 24px; line-height: 1.5; letter-spacing: -0.7px; color: var(--muted);
  text-align: center; margin: 0 auto;
}
section > h2 {
  font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -2.1px;
  color: var(--navy); text-align: center;
}
.app-store { display: block; width: 150px; margin: 0 auto; }

/* ---- scroll-in animations (as on the Framer site: rise 100 px and fade in, ~0.7 s) ---- */
.appear [data-appear] { opacity: 0; transform: translateY(100px); }
.appear [data-appear].shown {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

/* ---- hero ------------------------------------------------------------ */
.hero { padding: 117px 0 70px; text-align: center; }
.eyebrow {
  margin: 0 auto; max-width: 1116px;
  font-size: 40px; line-height: 1.2; font-weight: 700; letter-spacing: -0.7px;
  text-transform: uppercase; color: rgb(17 17 17 / 52%);
}
.hero h1 {
  margin-top: 31px;
  font-size: 72px; line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; color: var(--ink);
}
.subhead {
  margin: 36px auto 0;
  font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; color: var(--ink);
}
.hero .lede { max-width: 620px; margin-top: 21px; }
.hero .app-store { margin-top: 20px; }

/* Two photos side by side inside the page margins, shrinking with the window
   (Framer's sizes: 521 px at 1440, 413 at 1200). */
.carousel {
  --photo: min(528px, calc(45vw - 127px));
  position: relative; width: calc(2 * var(--photo) + 48px); max-width: 100%; margin: 41px auto 0;
}
.carousel .track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 48px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel .track::-webkit-scrollbar { display: none; }
.carousel li { flex: 0 0 var(--photo); scroll-snap-align: start; }
.carousel li img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 21px; }
.carousel button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(0 0 0 / 20%); cursor: pointer;
}
.carousel button:disabled { visibility: hidden; }
.carousel .prev { left: 14px; }
.carousel .next { right: 14px; }

/* ---- features -------------------------------------------------------- */
.features { max-width: 1040px; margin: 0 auto; padding: 100px 20px; display: grid; gap: 101px; }
.feature { display: grid; grid-template-columns: 460px 380px; gap: 80px; align-items: center; }
.feature:nth-child(even) { grid-template-columns: 380px 460px; gap: 160px; }
.feature:nth-child(even) img { order: 2; }
.feature img { width: 460px; height: 383px; object-fit: contain; border-radius: 20px; }
.feature h2 { font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -2px; color: var(--heading); }
.feature p { margin: 0; font-size: 24px; line-height: 1.5; letter-spacing: -0.5px; color: var(--muted); }

/* ---- reviews --------------------------------------------------------- */
.reviews { padding: 150px 20px 100px; }
.reviews .lede { max-width: 1360px; margin-top: 30px; }
.review-grid { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.review-col { width: 320px; display: flex; flex-direction: column; gap: 20px; }
.review {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 31px 30px 30px;
}
.stars { display: flex; margin: 0; height: 26px; }
.stars svg { width: 26px; height: 26px; fill: var(--star); }
.review h3 { font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -0.8px; color: var(--heading); }
.byline { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: -0.7px; color: var(--faint); text-transform: uppercase; }
.review p:last-child { margin: 20px 0 0; }

/* ---- FAQ ------------------------------------------------------------- */
.faq { padding: 100px 20px 0; }
.faq-list {
  max-width: 1000px; margin: 60px auto 0; padding: 20px 60px 20px;
  background: var(--panel); border-radius: 20px;
}
.faq details { padding: 10px 0; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -0.5px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; position: absolute; left: -30px; top: -1px;
  font-weight: 400; font-size: 20px; color: var(--faint);
  transition: transform 0.2s;
}
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { margin: 20px 0 10px; }

/* ---- download + footer ---------------------------------------------- */
.download { padding: 100px 20px; }
.download .app-store { margin-top: 30px; }
.site-footer {
  background: var(--orange); min-height: 121px; padding: 30px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.copyright { font: 400 14px/1.5 "Kaushan Script", cursive; color: #e6e6e6; }
.legal { display: flex; gap: 20px; font-size: 14px; }
.legal a { color: #fff; }
.legal a:hover { text-decoration: underline; }

/* ---- contact --------------------------------------------------------- */
.contact { max-width: 940px; margin: 0 auto; padding: 40px 20px 100px; text-align: center; }
.contact h1 { font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -2.6px; color: var(--heading); }
.contact .lede { font-size: 18px; letter-spacing: 0; margin-top: 20px; }
.contact-form { max-width: 550px; margin: 24px auto 0; display: grid; gap: 15px; text-align: left; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea, .contact-form button {
  width: 100%; border: 0; border-radius: 8px; padding: 15px;
  font: 400 16px/1.4 "Inter", system-ui, sans-serif; color: #000;
}
.contact-form input, .contact-form textarea { background: var(--field); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #777; }
.contact-form textarea { min-height: 88px; resize: vertical; }
.contact-form button { background: #000; color: #fff; font-weight: 600; cursor: pointer; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }
.contact-form .status { margin: 0; text-align: center; color: var(--heading); }

/* ---- beta sign-up ---------------------------------------------------- */
.beta { max-width: 720px; margin: 0 auto; padding: 30px 20px 100px; }
.beta h1 { font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -2px; color: var(--heading); text-align: center; }
.beta .lede { font-size: 20px; letter-spacing: -0.3px; margin-top: 20px; text-align: left; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 30px; font-size: 15px; }
html[lang="en"] .langs a[hreflang="en"], html[lang="de"] .langs a[hreflang="de"],
html[lang="nl"] .langs a[hreflang="nl"], html[lang="fr"] .langs a[hreflang="fr"],
html[lang="es"] .langs a[hreflang="es"], html[lang="it"] .langs a[hreflang="it"] { color: var(--ink); font-weight: 700; }
.beta-form { margin-top: 30px; display: grid; gap: 24px; }
.beta-form fieldset { margin: 0; padding: 24px; border: 0; border-radius: 20px; background: var(--panel); display: grid; gap: 12px; }
.beta-form legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--heading); }
.beta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beta-form label { display: grid; gap: 6px; color: var(--heading); font-weight: 500; }
.beta-form input:not([type=checkbox]):not([type=radio]), .beta-form textarea {
  width: 100%; border: 0; border-radius: 8px; padding: 12px 15px; background: #fff;
  font: 400 16px/1.4 "Inter", system-ui, sans-serif; color: #000;
}
.beta-form input::placeholder { color: #999; }
.beta-form textarea { resize: vertical; }
.beta-form .hint { margin: -6px 0 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.beta-form .question { margin: 8px 0 0; color: var(--heading); font-weight: 600; }
.beta-form .choices { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.beta-form .choices.stacked { flex-direction: column; }
.beta-form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.beta-form .check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--orange); }
.beta-form .tool { display: grid; gap: 8px; }
.beta-form .tool .more { margin-left: 28px; }
/* Follow-up fields appear once their box is ticked (no JavaScript needed). */
.beta-form .tool:not(:has(.check input:checked)) .more,
.beta-form:not(:has(input[name="answers[language]"][value="other"]:checked)) [data-when="answers[language]=other"],
.beta-form:not(:has(input[name="answers[features][]"][value="other"]:checked)) [data-when="feature-other"] { display: none; }
.beta-form .consent { display: grid; gap: 10px; padding: 0 24px; }
.beta-form button {
  justify-self: center; min-width: 220px; border: 0; border-radius: 8px; padding: 15px 30px;
  background: #000; color: #fff; font: 600 17px/1.4 "Inter", system-ui, sans-serif; cursor: pointer;
}
.beta-form button:disabled { opacity: 0.6; cursor: default; }
.beta-form .status { margin: 0; text-align: center; font-weight: 600; color: var(--heading); }
.beta-form .status.error { color: #c0392b; }
.beta-form [hidden] { display: none; }
.beta-form .again { margin: 0; text-align: center; }
.beta-form .again .link { min-width: 0; background: none; border: 0; border-radius: 0; padding: 0; color: var(--link, inherit); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---- privacy, terms, 404 ------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; padding: 60px 20px 100px; color: #444; }
.prose h1 { font-size: 50px; line-height: 1.2; font-weight: 700; letter-spacing: -2px; color: var(--heading); }
.prose h2 { margin-top: 40px; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.5px; color: var(--heading); }
.prose .updated { color: var(--faint); font-size: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose code { font-size: 0.9em; }
.not-found, .invite { text-align: center; }
.invite .lede { margin-top: 20px; }
.invite .app-store { margin-top: 30px; }
.nowrap { white-space: nowrap; }

/* ---- tablet (810-1199, Framer's breakpoints) ------------------------ */
@media (max-width: 1199px) {
  .hero { padding-top: 60px; }
  .eyebrow { font-size: 32px; }
  .hero h1 { margin-top: 70px; font-size: 60px; }
  .subhead { margin-top: 76px; font-size: 32px; }
  .carousel { --photo: calc(45vw - 82px); margin-top: 80px; }
  .hero .lede { max-width: 342px; margin-top: 57px; font-size: 20px; }
  section > h2 { font-size: 40px; }
  .download h2 { font-size: 50px; }
  .reviews .lede { font-size: 20px; }
  .features { padding-inline: 40px; }
  .feature { grid-template-columns: min(460px, calc(50vw - 87px)) minmax(0, 380px); gap: 80px; justify-content: center; }
  .feature:nth-child(even) { grid-template-columns: minmax(0, 380px) min(460px, calc(50vw - 87px)); gap: 80px; }
  .feature img { width: 100%; height: auto; aspect-ratio: 460 / 383; }
  .reviews { padding-inline: 40px; }
  .review-col { flex: 1 1 0; width: auto; max-width: 320px; min-width: 0; }
}

/* ---- phone --------------------------------------------------------- */
@media (max-width: 809px) {
  .site-header { padding: 0 20px; }
  .logo img { width: 150px; height: 32px; }
  .site-header ul { gap: 16px; }
  .lede { font-size: 18px; }
  section > h2 { font-size: 32px; letter-spacing: -1.5px; }
  .hero { padding: 22px 20px 60px; }
  .eyebrow { font-size: 17px; }
  .hero h1 { margin-top: 31px; font-size: 29px; }
  .subhead { margin-top: 29px; font-size: 22px; }
  .carousel { --photo: calc(92vw - 56px); width: var(--photo); max-width: none; margin-top: 35px; overflow: visible; }
  .carousel .prev { left: 14px; }
  .carousel .next { right: 14px; }
  .hero .lede { max-width: 298px; margin-top: 30px; font-size: 18px; }
  .features { padding: 60px 20px; gap: 60px; }
  .reviews .lede { font-size: 18px; }
  .feature p { max-width: 380px; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
  .feature:nth-child(even) img { order: 0; }
  .feature img { width: 100%; height: auto; aspect-ratio: 460 / 383; }

  .reviews { padding: 60px 40px; }
  .review-grid { flex-direction: column; align-items: center; }
  .review-col { width: 100%; max-width: none; flex: none; }
  .faq { padding-top: 60px; }
  .faq-list { padding: 20px 20px 20px 60px; margin-top: 40px; }
  .download { padding: 60px 20px; }
  .download h2 { font-size: 50px; letter-spacing: -2.1px; }
  .site-footer { min-height: 81px; padding: 20px 30px; }
  .contact h1, .prose h1 { font-size: 40px; }
  .prose { padding-top: 40px; }
  .beta h1 { font-size: 36px; letter-spacing: -1.2px; }
  .beta .lede { font-size: 17px; }
  .beta-form fieldset { padding: 20px 16px; }
  .beta-form .row { grid-template-columns: 1fr; }
  .beta-form .consent { padding: 0 4px; }
}
