/* Digital Interaction - mobile redesign (Core simple, A3 direction) */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --ink:    #0A0A0A;
  --smoke:  #1A1A1A;
  --bone:   #F5F2EB;
  --mist:   #E5E3DD;
  --hair-d: rgba(245, 242, 235, 0.14);
  --hair-d2: rgba(245, 242, 235, 0.28);
  --hair-l: rgba(10, 10, 10, 0.10);
  --hair-l2: rgba(10, 10, 10, 0.22);

  --f-display: 'Geist', -apple-system, system-ui, sans-serif;
  --f-body:    'Inter', -apple-system, system-ui, sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #EAE6DC;
  font-family: var(--f-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* desktop-side framing */
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 80px;
  gap: 18px;
}
.stage-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  display: flex;
  gap: 18px;
  align-items: center;
}
.stage-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.stage-meta .label { font-weight: 600; color: var(--ink); }

/* phone frame */
.phone {
  width: 390px;
  background: var(--bone);
  box-shadow:
    0 1px 0 rgba(10,10,10,0.04),
    0 30px 60px -20px rgba(10,10,10,0.25),
    0 80px 120px -40px rgba(10,10,10,0.20);
  overflow: hidden;
  position: relative;
  border-radius: 36px;
}

/* status bar */
.status {
  height: 44px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.status .right { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.status .battery { width: 24px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; position: relative; opacity: 0.9; }
.status .battery::after { content:''; position:absolute; right:-3px; top:3px; width:2px; height:5px; background: currentColor; border-radius:0 1px 1px 0; }
.status .battery::before { content:''; position:absolute; inset: 1.5px; right: 30%; background: currentColor; border-radius:1px; }
.status.ink-fg { color: var(--ink); }
.status.bone-fg { color: var(--bone); }

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 16px;
}
.nav .logo img { height: 26px; width: auto; display: block; }
.nav .right { display: flex; align-items: center; gap: 14px; }
.nav .lang {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.nav .lang .active { font-weight: 600; }
.nav .lang .slash { opacity: 0.35; }
.nav .menu {
  width: 56px; height: 36px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  gap: 5px; flex-direction: column;
}
.nav .menu span { display: block; width: 18px; height: 1.6px; border-radius: 2px; }

/* tone helpers */
.bone-bg  { background: var(--bone); color: var(--ink); }
.ink-bg   { background: var(--ink);  color: var(--bone); }
.smoke-bg { background: var(--smoke); color: var(--bone); }

.section { padding: 56px 22px 64px; }
.section.tight { padding-top: 36px; padding-bottom: 44px; }
.section.lead  { padding-top: 8px; }

/* eyebrows */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}
.eyebrow .tick {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex: 0 0 6px;
}

/* type system */
.h1 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.94; font-size: 54px; }
.h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.96; font-size: 42px; }
.h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; font-size: 26px; }
.body { font-family: var(--f-body); font-size: 15px; line-height: 1.55; }
.body-lg { font-family: var(--f-body); font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; }
.it { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

.dim { opacity: 0.72; }
.dim-2 { opacity: 0.55; }
.dim-3 { opacity: 0.38; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn .arr {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.btn-ink   { background: var(--ink);  color: var(--bone); }
.btn-ink  .arr { background: var(--bone); color: var(--ink); }
.btn-bone  { background: var(--bone); color: var(--ink); }
.btn-bone .arr { background: var(--ink); color: var(--bone); }
.btn-ghost-ink   { color: var(--ink);  background: transparent; padding: 12px 0; gap: 8px; }
.btn-ghost-bone  { color: var(--bone); background: transparent; padding: 12px 0; gap: 8px; }
.btn-block { width: 100%; }

/* hover affordance — every clickable pill/button reacts on hover */
.btn, .cta-pill, .submit, .btn-back, .cta-secondary, .chip-f,
.menu.tp-offcanvas-open-btn {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.35s ease, opacity 0.25s ease;
}
.btn .arr, .cta-pill .arr, .submit .arr, .cta-secondary .ic {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover, .cta-pill:hover, .submit:hover { transform: translateY(-3px); }
.btn:active, .cta-pill:active, .submit:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

/* arrow slides in its direction of travel */
.btn:hover .arr, .cta-pill:hover .arr, .submit:hover .arr {
  transform: translate(3px, -3px);
}
/* centered buttons keep the arr absolutely positioned — preserve the Y-centering */
.btn-center:hover .arr { transform: translateY(-50%) translateX(4px); }

/* dark pill on light bg: soft shadow settling underneath */
.btn-ink:hover {
  background: var(--smoke);
  box-shadow: 0 18px 30px -14px rgba(10, 10, 10, 0.55),
              0 4px 10px -4px rgba(10, 10, 10, 0.25);
}
/* light pill on dark bg: luminous glow underneath */
.btn-bone:hover {
  background: #ffffff;
  box-shadow: 0 18px 34px -10px rgba(245, 242, 235, 0.30),
              0 4px 14px -2px rgba(245, 242, 235, 0.16);
}
.btn:active { box-shadow: none; }
.btn-ghost-ink:hover, .btn-ghost-bone:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}

.cta-secondary:hover {
  background: rgba(245, 242, 235, 0.07);
  border-color: var(--hair-d2);
  transform: translateY(-2px);
}
.cta-secondary:hover .ic { transform: scale(1.12); }

.chip-f:hover:not(.on) {
  background: rgba(245, 242, 235, 0.10);
  border-color: rgba(245, 242, 235, 0.55);
}

.menu.tp-offcanvas-open-btn:hover { transform: scale(1.08); }

/* hairlines */
.hair-d   { height: 1px; background: var(--hair-d); width: 100%; }
.hair-d2  { height: 1px; background: var(--hair-d2); width: 100%; }
.hair-l   { height: 1px; background: var(--hair-l); width: 100%; }
.hair-l2  { height: 1px; background: var(--hair-l2); width: 100%; }

/* striped image placeholder */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,10,10,0.06) 0 8px,
      rgba(10,10,10,0.02) 8px 16px);
  border: 1px solid var(--hair-l);
}
.ph-dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(245,242,235,0.05) 0 8px,
      rgba(245,242,235,0.015) 8px 16px);
  border: 1px solid var(--hair-d);
}
.ph .label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.6;
}
.ph .corner {
  position: absolute;
  right: 14px; top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

/* number cell */
.num-cell .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(52px, 11vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.num-cell .lbl {
  font-family: var(--f-body);
  font-size: 13px;
  margin-top: 14px;
  opacity: 0.6;
}

/* service card */
.svc {
  border: 1px solid var(--hair-d);
  border-radius: 22px;
  padding: 26px 22px 22px;
  background: rgba(245,242,235,0.015);
}
.svc-light {
  border: 1px solid var(--hair-l);
  background: var(--bone);
}
.svc .idx {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.svc .title { margin-top: 14px; }
.svc .desc  { margin-top: 16px; }

/* tag chip */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-d { border: 1px solid var(--hair-d2); color: var(--bone); }
.chip-l { border: 1px solid var(--hair-l2); color: var(--ink); }

/* step block */
.step {
  border: 1px solid var(--hair-d);
  border-radius: 22px;
  padding: 26px 22px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.step .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.06em;
  line-height: 0.8;
  -webkit-text-stroke: 1.2px var(--bone);
  color: transparent;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}
.step .body-w { flex: 1; }
.step .body-w .t { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.step .body-w .d { font-family: var(--f-body); font-size: 14px; line-height: 1.5; opacity: 0.7; margin-top: 10px; }

/* review */
.review {
  border-radius: 18px;
  background: var(--bone);
  color: var(--ink);
  padding: 24px;
}

/* brand wordmark cell */
.brand {
  border: 1px solid var(--hair-d);
  height: 76px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  opacity: 0.78;
}
.brand .serif-mark { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.brand .mono-mark { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* big footer wordmark */
.footer-mark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: -0.05em;
  line-height: 0.86;
  text-align: center;
}

/* utility */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.stack-12 > * + * { margin-top: 12px; }
.stack-20 > * + * { margin-top: 20px; }
.stack-28 > * + * { margin-top: 28px; }
.stack-36 > * + * { margin-top: 36px; }

/* slim divider with sigils */
.slim-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.slim-rule .line { flex: 1; height: 1px; background: currentColor; opacity: 0.4; }

/* ──────────────────────────────────────────────────────────────
   FAITHFUL TO DESIGN: stacked single-column flow at all widths,
   content centered + capped on desktop, type scales modestly.
   No multi-column reflows - the design is mobile-first scroll.
   ────────────────────────────────────────────────────────────── */
body { background: var(--bone); }
.stage { padding: 0 !important; gap: 0 !important; align-items: stretch !important; }
.stage-meta { display: none !important; }
.phone {
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--bone);
}
.status { display: none !important; }

/* fluid section padding (left/right scales with viewport) */
.section { padding: clamp(56px, 7vw, 96px) clamp(22px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.phone > section { padding-left: clamp(22px, 5vw, 64px); padding-right: clamp(22px, 5vw, 64px); }

/* cap content readable-column on big screens */
.phone > section > * { max-width: 720px; margin-left: auto; margin-right: auto; }

/* modest type scaling - keep mobile feel */
.h1 { font-size: clamp(54px, 6.5vw, 88px) !important; }
.h2 { font-size: clamp(38px, 4.4vw, 60px) !important; }
.h3 { font-size: clamp(24px, 2.2vw, 32px) !important; }
.footer-mark { font-size: clamp(72px, 10vw, 140px); }

/* nav layout - keep mobile-style on all widths (logo left, lang+menu right) */
.nav { padding: clamp(14px, 1.6vw, 24px) clamp(22px, 5vw, 64px); }
.nav .logo img { height: clamp(26px, 2.2vw, 32px); }

/* real image inside .ph frame */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.has-img { background: var(--mist); border: 0; }
.ph.has-img .corner, .ph.has-img .label { display: none; }
.avatar-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; }
.brand-logo { max-width: 70%; max-height: 38px; width: auto; height: auto; opacity: 0.85; filter: brightness(0) invert(1); }

/* about - overlapping team avatars */
.team-stack { display: flex; }
.team-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bone);
  background: var(--mist);
  display: block;
}
.team-stack img + img { margin-left: -14px; }

/* ──────────────────────────────────────────────────────────────
   HERO SCREEN - hero + proof fit exactly one viewport (mobile)
   On desktop, hero stays single column (per design) but a bit
   taller to keep the audit CTA above the fold.
   ────────────────────────────────────────────────────────────── */
.hero-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-screen .hero-pane,
.hero-screen .proof-pane { padding: 0; display: flex; flex-direction: column; }
.hero-screen .hero-pane { flex: 1 1 auto; min-height: 0; }
.hero-screen .proof-pane {
  flex: 0 0 auto;
  padding: clamp(20px, 3vh, 36px) clamp(22px, 5vw, 64px) clamp(20px, 3vh, 36px);
}
.hero-screen .hero-content {
  padding: clamp(16px, 3vh, 36px) clamp(22px, 5vw, 64px) clamp(20px, 3vh, 36px);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
/* cap inner content to a readable column on desktop */
.hero-screen .hero-content > *,
.hero-screen .proof-pane > * { max-width: 720px; margin-left: auto; margin-right: auto; width: 100%; }

.hero-screen .hero-h1 {
  font-size: clamp(46px, min(11.5vw, 8.5vh), 88px) !important;
  line-height: 0.95;
}
.hero-screen .hero-h1-it { font-size: clamp(46px, min(11.5vw, 8.5vh), 88px); }
.hero-screen .hero-sub { font-size: clamp(13px, 1.6vh, 16px); line-height: 1.45; }
.hero-screen .hero-note { font-size: clamp(10px, 1.4vh, 12px); }
.hero-screen .proof-grid {
  margin-top: clamp(14px, 2vh, 22px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: clamp(14px, 2.2vh, 26px);
  column-gap: 16px;
}
.hero-screen .proof-num { font-size: clamp(28px, 5.5vh, 56px) !important; }
.hero-screen .proof-cta { margin-top: clamp(16px, 2.4vh, 30px); }
.hero-screen .hero-content .eyebrow { font-size: clamp(10px, 1.5vh, 12px); }

/* ── desktop ≥ 1024px: hero left ~67%, proof right ~33%, both 100svh ── */
@media (min-width: 1024px) {
  .hero-screen {
    flex-direction: row;
    height: 100svh;
    min-height: 100svh;
    position: relative;
  }
  .hero-screen .hero-pane {
    flex: 0 0 67%;
    max-width: 67%;
    border-right: 1px solid var(--hair-l);
  }
  .hero-screen .proof-pane {
    flex: 0 0 33%;
    max-width: 33%;
    justify-content: center;
    padding: clamp(110px, 11vh, 140px) clamp(28px, 3vw, 56px) clamp(40px, 4vw, 72px);
  }
  .hero-screen .hero-content {
    justify-content: center;
    padding: clamp(110px, 11vh, 140px) clamp(40px, 5vw, 80px) clamp(40px, 5vh, 80px);
  }
  /* keep hero content cap but align left (no auto-centering inside the wider bone pane) */
  .hero-screen .hero-content > * { max-width: 720px; margin-left: 0; margin-right: 0; }
  /* proof content fills its narrower column */
  .hero-screen .proof-pane > * { max-width: none; margin-left: 0; margin-right: 0; }

  .hero-screen .hero-h1 { font-size: clamp(64px, 6vw, 112px) !important; line-height: 0.92; }
  .hero-screen .hero-h1-it { font-size: clamp(64px, 6vw, 112px); }
  .hero-screen .hero-sub { font-size: clamp(15px, 1.1vw, 18px); max-width: 480px; }
  .hero-screen .hero-note { font-size: 12px; }

  /* proof grid stays 2×2 in the narrow right column */
  .hero-screen .proof-grid { grid-template-columns: 1fr 1fr; row-gap: clamp(24px, 3.5vh, 40px); }
  .hero-screen .proof-num { font-size: clamp(40px, 3.4vw, 56px) !important; }

  /* NAV: pull out of the bone-pane so it spans the full viewport */
  .hero-screen .hero-pane > .hair-l { display: none; }
  .hero-screen .hero-pane > .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: clamp(18px, 2vh, 28px) clamp(28px, 3vw, 56px);
    background: transparent;
  }
  /* right-side (RO/EN + menu) sits over the ink pane → must be bone (light) */
  .hero-screen .hero-pane > .nav .right { color: var(--bone); }
  .hero-screen .hero-pane > .nav .lang { color: var(--bone); }
  .hero-screen .hero-pane > .nav .lang .slash { color: var(--bone); opacity: 0.45; }
  .hero-screen .hero-pane > .nav .menu {
    background: rgba(245, 242, 235, 0.06) !important;
    border-color: var(--hair-d) !important;
  }
  .hero-screen .hero-pane > .nav .menu span { background: var(--bone) !important; }
}

/* ──────────────────────────────────────────────────────────────
   REVIEW SWIPER - horizontal scroll-snap carousel with dots
   ────────────────────────────────────────────────────────────── */
.review-swiper {
  /* break out of the parent's max-width cap so the track can use full section width */
  margin-left: calc(clamp(22px, 5vw, 64px) * -1);
  margin-right: calc(clamp(22px, 5vw, 64px) * -1);
  max-width: none !important;
}
.review-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 clamp(22px, 5vw, 64px);
  -webkit-overflow-scrolling: touch;
}
.review-track::-webkit-scrollbar { display: none; }
.review-slide {
  flex: 0 0 calc(100% - clamp(22px, 5vw, 64px) * 2);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-width: 0;
  margin: 0 !important;
}
@media (min-width: 720px) {
  .review-slide { flex-basis: min(560px, 80%); }
}
@media (min-width: 1024px) {
  .review-slide { flex-basis: min(600px, 60%); }
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bone);
  opacity: 0.25;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.review-dot.is-active { opacity: 1; transform: scale(1.2); }
.review-dot:hover { opacity: 0.7; }
