/* Phew. — site styles. Mobile-first. */
:root {
  --terracotta: #c66f55;
  --terracotta-deep: #a9553d;
  --terracotta-soft: #f0d2c4;
  --cream: #f7f0e6;
  --cream-2: #efe4d4;
  --brown: #3a2219;
  --brown-2: #6b4a3c;
  --gold: #d4a853;
  --gold-deep: #a9802f;
  --led: #35d07f;
  --white: #fffaf4;
  --danger: #b3261e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(58, 34, 25, .10);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terracotta-deep); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--alt { background: var(--cream-2); }
.section--dark { background: var(--brown); color: var(--cream); }
.section--dark a { color: var(--gold); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: 12px; }
.section--dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--brown-2); }
.section--dark .lead { color: #e9d9c8; }
.center { text-align: center; }
.muted { color: var(--brown-2); font-size: .92rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: var(--cream); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.dot { color: var(--gold); }

/* Buttons — big, thumb-friendly */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: 0 8px 20px rgba(198, 111, 85, .35); }
.btn--primary:hover { background: var(--terracotta-deep); }
.btn--ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--brown); }
.btn--wa { background: #1f8f4e; color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 240, 230, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(58, 34, 25, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.6rem; color: var(--brown); text-decoration: none; letter-spacing: -.03em; }
.logo .dot { color: var(--terracotta); }
.nav { display: none; }
.nav a { color: var(--brown); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream-2); }
.header-cta { display: flex; align-items: center; gap: 6px; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--brown); border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
.mobile-nav { display: none; border-top: 1px solid rgba(58, 34, 25, .08); padding: 8px var(--gutter) 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 500; color: var(--brown); text-decoration: none; border-bottom: 1px solid rgba(58, 34, 25, .06); }
@media (min-width: 860px) {
  .nav { display: flex; gap: 2px; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 28px 0 40px; background: radial-gradient(120% 70% at 50% 30%, #fbf6ef 0%, var(--cream) 55%, var(--cream-2) 100%); }
.hero .wrap { display: grid; gap: 8px; align-items: center; }
.hero-copy { text-align: center; }
.hero-copy .lead { max-width: 34ch; margin: 0 auto 22px; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hero-actions .btn { width: 100%; max-width: 340px; }
.hero-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; touch-action: pan-y; cursor: grab; }
.hero-stage canvas:active { cursor: grabbing; }
.hero-stage.is-3d canvas { opacity: 1; }
.hero-stage .tag-fallback { position: absolute; inset: 8%; transition: opacity .5s ease; }
.hero-stage.is-3d .tag-fallback { opacity: 0; }
.drag-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font-size: .8rem; color: var(--brown-2); background: rgba(255, 250, 244, .8); padding: 4px 12px; border-radius: 999px; opacity: 0; transition: opacity .4s; pointer-events: none; white-space: nowrap; }
.hero-stage.is-3d .drag-hint { opacity: 1; }
.hero-stage.touched .drag-hint { opacity: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid rgba(58, 34, 25, .1); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 500; margin-bottom: 14px; }
.pill .led { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 4px rgba(53, 208, 127, .2); animation: blink 2.4s infinite; }
@keyframes blink { 0%, 70%, 100% { opacity: 1; } 80% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pill .led { animation: none; } }
@media (min-width: 860px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 32px; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin-left: 0; }
  .hero-actions { flex-direction: row; justify-content: flex-start; }
  .hero-actions .btn { width: auto; }
  .hero-stage { max-width: 520px; }
}

/* Two-way find strip */
.twoway { display: grid; gap: 14px; margin-top: 28px; }
.twoway-item { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); text-align: left; }
.twoway-item .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--terracotta-soft); display: grid; place-items: center; color: var(--terracotta-deep); }
.twoway-item strong { display: block; }
.twoway-item span { color: var(--brown-2); font-size: .95rem; }
@media (min-width: 640px) { .twoway { grid-template-columns: 1fr 1fr; } }

/* Video */
.video-card { position: relative; max-width: 380px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(58, 34, 25, .25); background: #000; aspect-ratio: 478 / 850; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(58, 34, 25, .15); cursor: pointer; color: var(--white); }
.video-play span { width: 76px; height: 76px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-card.playing .video-play { display: none; }
.video-layout { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .video-layout { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; padding: 0; margin: 28px 0 0; list-style: none; }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brown); color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.step p { margin: 0; color: var(--brown-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Problem stat */
.stat { font-size: clamp(4rem, 18vw, 8rem); font-weight: 700; line-height: 1; color: var(--gold); letter-spacing: -.04em; }
.stat small { font-size: .3em; color: var(--cream); letter-spacing: 0; font-weight: 500; }
.problem-grid { display: grid; gap: 24px; align-items: center; }
.lost-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lost-list span { border: 1px solid rgba(247, 240, 230, .3); border-radius: 999px; padding: 8px 16px; }
@media (min-width: 860px) { .problem-grid { grid-template-columns: 1fr 1fr; } }

/* Feature cards */
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--terracotta-soft); color: var(--terracotta-deep); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 26px; height: 26px; }
.card p { margin: 0; color: var(--brown-2); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Product card */
.product-card { display: grid; background: var(--white); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); max-width: 880px; margin: 28px auto 0; }
.product-card img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; background: var(--cream-2); }
.product-card .body { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.product-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.tagline-sm { color: var(--terracotta-deep); font-weight: 600; margin-bottom: 14px; }
.price-soon { display: inline-block; background: var(--cream-2); border-radius: 999px; padding: 6px 14px; font-weight: 600; margin: 6px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--led); box-shadow: inset 0 0 0 4px #c9f3dc; }
@media (min-width: 760px) { .product-card { grid-template-columns: 1fr 1fr; } .product-card img { aspect-ratio: auto; height: 100%; } }

/* App section */
.app-row { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.app-icon { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 14px 30px rgba(58, 34, 25, .25); }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; background: var(--brown); color: var(--cream); padding: 12px 20px; border-radius: 14px; font-weight: 600; text-decoration: none; min-height: 52px; }
.badge-soon small { display: block; font-size: .72rem; font-weight: 400; opacity: .8; text-align: left; }
.store-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 760px) { .app-row { flex-direction: row; text-align: left; justify-content: center; gap: 32px; } }

/* FAQ */
.faq { max-width: 760px; margin: 28px auto 0; }
.faq details { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; box-shadow: 0 2px 10px rgba(58, 34, 25, .05); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--terracotta); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--brown-2); }

/* CTA band */
.cta-band { background: var(--terracotta); color: var(--white); border-radius: 28px; padding: 40px 24px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #fde9df; max-width: 40ch; margin: 0 auto 22px; }
.cta-band .btn--primary { background: var(--brown); box-shadow: none; }
.cta-band .btn--primary:hover { background: #22130d; }

/* Forms */
.form-card { background: var(--white); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--brown-2); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--brown);
  background: var(--cream); border: 2px solid transparent; border-radius: 12px; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%233a2219' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); outline: none; background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--brown-2); }
.check input { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--terracotta); }
.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; display: none; }
.form-status.error { display: block; background: #fbe5e3; color: var(--danger); }
.form-status.ok { display: block; background: #dff6e9; color: #135c33; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Page header */
.page-head { padding: 48px 0 24px; text-align: center; }
.page-head .lead { max-width: 52ch; margin: 0 auto; }

/* Product page */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .85rem; color: var(--brown-2); margin-top: 6px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.explode-layout { display: grid; gap: 24px; align-items: center; }
.explode-stage { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin: 0 auto; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--cream-2) 75%); border-radius: 28px; overflow: hidden; }
.explode-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; touch-action: pan-y; }
.explode-stage.is-3d canvas { opacity: 1; }
.explode-stage .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.explode-stage.is-3d .still { opacity: 0; }
.parts { list-style: none; padding: 0; margin: 0 0 18px; }
.parts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(58, 34, 25, .1); }
.parts .sw { flex: 0 0 14px; height: 14px; border-radius: 50%; margin-top: 6px; }
@media (min-width: 860px) { .explode-layout { grid-template-columns: 1fr 1fr; } }
.specs { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--cream-2); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--brown-2); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* About */
.team { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
.member { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; }
.avatar { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--terracotta-soft); color: var(--terracotta-deep); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; }
.member p { margin: 0; color: var(--brown-2); font-size: .95rem; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }

/* Prose (legal) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }
.notice { background: #fff4d6; border: 1px solid #ecd28a; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 24px; }

/* Thanks */
.thanks-mark { width: 120px; height: 120px; margin: 0 auto 18px; }

/* Footer */
.site-footer { background: var(--brown); color: #e9d9c8; padding: 48px 0 32px; margin-top: 0; }
.site-footer a { color: #e9d9c8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; gap: 28px; }
.foot-grid .logo { color: var(--cream); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot-links a { display: inline-block; padding: 6px 0; }
.foot-bottom { border-top: 1px solid rgba(233, 217, 200, .15); margin-top: 32px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(233, 217, 200, .08); }
.socials svg { width: 20px; height: 20px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(58, 34, 25, .35); }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* Cookie consent */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--white); border-radius: 18px; box-shadow: 0 16px 40px rgba(58, 34, 25, .25); padding: 18px; max-width: 520px; margin: 0 auto; display: none; }
.consent.show { display: block; }
.consent p { font-size: .92rem; margin-bottom: 12px; }
.consent .row { display: flex; gap: 10px; }
.consent .btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: .95rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
