:root {
  --brand-bg: #F7F3EF;
  --brand-surface: #FFFFFF;
  --brand-text: #3A2A24;
  --brand-muted: #8C8178;
  --brand-line: #E7DED6;
  --brand-accent: #8A5A44;
  --brand-accent-text: #F7F3EF;
  --brand-accent-soft: #EBDCD2;
  --brand-danger: #A3402E;
  --brand-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font-heading: "Cormorant Garamond", "Times New Roman", serif;
  --brand-radius: 14px;
  --pill: 100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--brand-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--brand-font-heading);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); }

p { margin: 0; }
a { color: var(--brand-accent); }

.band {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: clamp(56px, 8vw, 104px);
}

.band.white { background: var(--brand-surface); }
.band.soft { background: var(--brand-accent-soft); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--brand-text);
  max-width: 60ch;
}

.muted { color: var(--brand-muted); }

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-accent);
  color: var(--brand-accent-text);
  border: 0;
  border-radius: var(--pill);
  padding: 15px 26px;
  font: 500 15px/1.2 var(--brand-font);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.btn:hover { background: #774C39; transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--brand-accent);
  border: 1px solid var(--brand-accent);
}

.btn.ghost:hover { background: var(--brand-accent-soft); }

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

.ph {
  position: relative;
  max-width: 100%;
  background: repeating-linear-gradient(135deg, var(--brand-accent-soft) 0 14px, #E4D3C7 14px 15px);
  border: 1px dashed #C9AE9E;
  border-radius: var(--brand-radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px;
  color: #6B4535;
  overflow: hidden;
}

.ph .id {
  position: absolute;
  top: 12px;
  left: 12px;
  font: 500 11px/1 var(--brand-font);
  letter-spacing: 0.1em;
  background: var(--brand-surface);
  color: var(--brand-accent);
  padding: 6px 9px;
  border-radius: var(--pill);
}

.ph .t { font-weight: 500; font-size: 14px; line-height: 1.35; }
.ph .m { font-size: 12px; opacity: 0.85; }
.ph.v .id::before { content: "▶ "; }

.v916 { aspect-ratio: 9 / 16; }
.v45 { aspect-ratio: 4 / 5; }
.v169 { aspect-ratio: 16 / 9; }
.v11 { aspect-ratio: 1 / 1; }

.top {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 18px;
  border-bottom: 1px solid var(--brand-line);
  background: var(--brand-bg);
}

.top .wrap {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-start {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.langs {
  display: inline-flex;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.langs a {
  color: var(--brand-muted);
  text-decoration: none;
}

.langs a:hover,
.langs a[aria-current="page"] {
  color: var(--brand-text);
}

.logo {
  font-family: var(--brand-font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
}

.logo small {
  font-family: var(--brand-font);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-left: 8px;
  font-weight: 400;
}

.top .btn { padding: 10px 18px; font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

.hero-txt { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 em { font-style: italic; color: var(--brand-accent); }

.case-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--pill);
  padding: 8px 14px;
  align-self: flex-start;
}

.case-line b {
  font-family: var(--brand-font-heading);
  font-size: 22px;
  color: var(--brand-accent);
  font-weight: 600;
  line-height: 1;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--brand-line);
  margin-top: 6px;
}

.trust div {
  padding: 14px 12px 0 0;
  font-size: 13px;
  color: var(--brand-muted);
  line-height: 1.4;
}

.trust div + div {
  padding-left: 12px;
  border-left: 1px solid var(--brand-line);
}

.media {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--brand-radius);
  background: var(--brand-accent-soft);
}

.hero-media {
  display: flex;
  justify-content: flex-start;
  overflow: visible;
}

.hero-phone {
  position: relative;
  width: 100%;
  max-width: 420px;
  flex: none;
}

.hero-phone-plate {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* glass is 9:16 — video fills the screen edge to edge */
.hero-phone-screen {
  position: absolute;
  left: 9.5238%;
  top: 5.8605%;
  width: 81.1111%;
  height: 84.4651%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 12.133% / 6.828%;
  background: #f7f2ea;
}

.hero-media .media:not(.hero-phone-screen),
.hero-media .fc { width: min(340px, 100%); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.stat {
  background: var(--brand-bg);
  border-radius: var(--brand-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat.after { background: var(--brand-accent); color: var(--brand-accent-text); }
.stat .k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }

.stat .n {
  font-family: var(--brand-font-heading);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat .d { font-size: 14px; opacity: 0.9; }

.quote {
  font-family: var(--brand-font-heading);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  border-left: 2px solid var(--brand-accent);
  padding-left: 18px;
}

.quote cite {
  display: block;
  font: 400 13px/1.4 var(--brand-font);
  font-style: normal;
  color: var(--brand-muted);
  margin-top: 10px;
}

.case-left, .case-right { display: flex; flex-direction: column; min-width: 0; }
.case-left { gap: 22px; }
.case-right { gap: 12px; }
.note-real { font-size: 12px; color: var(--brand-danger); }

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ex { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ex .q { font-family: var(--brand-font-heading); font-size: 26px; font-weight: 600; line-height: 1.1; }
.ex p { font-size: 14px; color: var(--brand-text); }
.ex .btn { padding: 11px 16px; font-size: 13px; margin-top: auto; }
.foot-line { font-size: 15px; color: var(--brand-muted); text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--brand-line);
}

.step { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--brand-line); }
.step .when { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-accent); font-weight: 500; }
.step h3 { font-size: 24px; }
.step p { font-size: 15px; }
.small-note { font-size: 14px; color: var(--brand-muted); }

.thoughts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.col {
  background: var(--brand-surface);
  border-radius: var(--brand-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col.after { background: var(--brand-accent-soft); }
.col .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-muted); }

.bubble {
  align-self: flex-start;
  background: var(--brand-bg);
  border-radius: 18px 18px 18px 4px;
  padding: 11px 16px;
  font-size: 16px;
  max-width: 100%;
}

.col.after .bubble {
  background: var(--brand-accent);
  color: var(--brand-accent-text);
  border-radius: 18px 18px 4px 18px;
  align-self: flex-end;
}

.mini { width: 100%; border-collapse: collapse; font-size: 14px; }

.mini th, .mini td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--brand-line);
  vertical-align: top;
}

.mini th {
  font-weight: 500;
  color: var(--brand-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tbl { overflow-x: auto; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ready { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ready h3 { font-size: 22px; }
.ready p { font-size: 14px; }

.guar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.about-txt { display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 760px; }
.about figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--brand-line);
  max-width: 820px;
}

.faq details { border-bottom: 1px solid var(--brand-line); padding: 18px 0; }

.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--brand-text); max-width: 65ch; }

.final { text-align: center; align-items: center; }
.final .lead { text-align: center; }
.center { text-align: center; }

.page {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: clamp(40px, 6vw, 80px);
}

.page .wrap { max-width: 720px; gap: 20px; }
.page h1 { font-size: clamp(32px, 4vw, 46px); }
.page p, .page li { color: var(--brand-text); max-width: 65ch; }
.page ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }

footer {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 32px 96px;
  border-top: 1px solid var(--brand-line);
  font-size: 14px;
  color: var(--brand-muted);
}

footer .wrap {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--brand-muted); text-decoration: none; }
footer a:hover { color: var(--brand-text); }

.sticky { display: none; }

@media (max-width: 760px) {
  .hero, .case, .about { grid-template-columns: 1fr; }
  .hero-media { order: -1; justify-content: center; }
  .hero-phone { width: min(320px, 82%); }
  .hero-media .media:not(.hero-phone-screen),
  .hero-media .fc { width: min(260px, 70%); }
  .trust { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--brand-line); }
  .thoughts { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .grid3 .media,
  .grid3 .ph { width: min(300px, 100%); margin: 0 auto; }
  .top .btn { display: none; }
  .sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: rgba(247, 243, 239, 0.96);
    border-top: 1px solid var(--brand-line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .sticky .btn { width: 100%; }
  footer { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
