/* =========================================================
   Welcome HOUM — Landing page (light "clean" theme)
   Brand: warm cream · ink black · signature red
   ========================================================= */

:root {
  --paper: #ffffff;
  --cream: #f7f6f4;
  --sand: #ecebe8;
  --white: #ffffff;
  --ink: #17181b;
  --ink-soft: #2b2c30;
  --red: #c32f29;
  --red-hi: #d83a33;
  --brass: #a8814a;
  --green: #2f7d4f;

  --text: #17181b;
  --muted: #6b655c;
  --muted-2: #8f887d;
  --line: rgb(23 24 27 / 0.1);
  --line-2: rgb(23 24 27 / 0.16);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 40px 80px -36px rgb(74 52 28 / 0.32), 0 12px 24px -12px rgb(74 52 28 / 0.12);
  --shadow-md: 0 18px 40px -20px rgb(74 52 28 / 0.3);
  --shadow-sm: 0 6px 18px -10px rgb(74 52 28 / 0.25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1 em, h2 em { font-style: italic; color: var(--red); }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section__lede {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 0.98rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: translate 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: translate 0.35s var(--ease-out); }
.btn:hover { translate: 0 -2px; }
.btn:hover svg { translate: 4px 0; }
.btn:active { translate: 0 0; }

.btn--red {
  --bg: var(--red);
  box-shadow: 0 12px 28px -12px rgb(195 47 41 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.btn--red:hover { --bg: var(--red-hi); box-shadow: 0 18px 36px -14px rgb(195 47 41 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.2); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { --bg: var(--white); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--dark { --bg: var(--ink); box-shadow: var(--shadow-md); }
.btn--dark:hover { --bg: var(--ink-soft); }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Brand lockup (nav) ---------- */
.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__roof { width: 44px; height: 26px; margin-bottom: 4px; }
.brand__words { position: relative; display: inline-block; padding-top: 0.55rem; }
.brand__script {
  position: absolute;
  left: -0.35rem;
  top: -0.35rem;
  font-family: var(--script);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--red);
  rotate: -6deg;
  white-space: nowrap;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 1.1rem;
  transition: background-color 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: rgb(251 248 242 / 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.7rem;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  position: relative;
  color: rgb(23 24 27 / 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--red);
  scale: 0 1;
  transform-origin: right;
  transition: scale 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { scale: 1 1; transform-origin: left; }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 960px);
  display: grid;
  align-items: center;
  padding: 8.5rem 0 6rem;
  background:
    radial-gradient(55% 60% at 88% 18%, rgb(195 47 41 / 0.07), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgb(168 129 74 / 0.1), transparent 70%),
    var(--paper);
  overflow: clip;
}
.hero__watermark {
  position: absolute;
  z-index: -1;
  left: -10%;
  bottom: -14%;
  width: 46vw;
  height: 26vw;
  color: rgb(23 24 27 / 0.025);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
}
.hero__lede {
  margin-top: 1.6rem;
  max-width: 33rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--red); }

/* Visual column: house-shaped photo + overlapping dashboard */
.hero__visual {
  position: relative;
  height: 620px;
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 12%;
  overflow: hidden;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-lg);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 60%;
}

.mock-stage {
  position: absolute;
  left: -10%;
  bottom: -44px;
  width: min(380px, 70%);
  z-index: 2;
}

/* Hero load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero__in {
    animation: rise 1s var(--ease-out) both;
    animation-delay: calc(var(--d, 0) * 110ms + 150ms);
  }
  .hero__photo img { animation: photoIn 2.2s var(--ease-out) both; }
  .mock-stage { animation: rise 1.1s 0.65s var(--ease-out) both; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes photoIn {
  from { scale: 1.1; }
  to { scale: 1; }
}

/* ---------- Product mock (light) ---------- */
.mock {
  position: relative;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 50px 90px -40px rgb(74 52 28 / 0.45), 0 18px 36px -18px rgb(74 52 28 / 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.82rem;
  color: var(--text);
}
.mock::before {
  content: "";
  position: absolute;
  inset: 0 18% auto 18%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--brass));
}

.mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}
.mock__hello { font-family: var(--serif); font-size: 1.2rem; line-height: 1.15; color: var(--ink); }
.mock__addr { color: var(--muted); font-size: 0.76rem; margin-top: 0.2rem; letter-spacing: 0.02em; }

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 94;
}
.ring {
  --p: 94;
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: conic-gradient(var(--red) calc(var(--p) * 1%), rgb(23 24 27 / 0.08) 0);
}
.ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.ring__val, .ring__lbl { position: relative; }
.ring__val { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; color: var(--ink); }
.ring__lbl { font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .ring { animation: ringFill 2.2s 1.1s var(--ease-out) both; }
}
@keyframes ringFill { from { --p: 0; } to { --p: 94; } }

.scan {
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}
.scan__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; }
.scan__status { font-size: 0.7rem; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill--red { background: rgb(195 47 41 / 0.1); color: var(--red); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes pulse { 50% { opacity: 0.25; } }

.plate {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #e3e5e8, #b7bbc1 55%, #dcdfe2);
  color: #22252a;
  font: 600 0.68rem/1.35 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -1px 0 rgb(0 0 0 / 0.12);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgb(195 47 41 / 0.3) 85%, rgb(216 58 51 / 0.85) 100%);
  border-bottom: 2px solid var(--red-hi);
  translate: 0 -110%;
}
@media (prefers-reduced-motion: no-preference) {
  .plate::after { animation: scan 2.8s ease-in-out infinite; }
}
@keyframes scan {
  0% { translate: 0 -110%; }
  55%, 100% { translate: 0 340%; }
}

.scan__result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.74rem;
}
.scan__result svg { width: 17px; height: 17px; flex: none; padding: 2px; border-radius: 50%; background: var(--green); color: #fff; }
.scan__result strong { color: var(--ink); font-weight: 600; }

.mock__label {
  margin: 0.95rem 0 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tasks { display: grid; gap: 0.4rem; }
.tasks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background-color 0.25s, translate 0.35s var(--ease-out), border-color 0.25s;
}
.tasks li:hover { background: #fff; border-color: rgb(195 47 41 / 0.3); translate: 3px 0; }
.tasks .t { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.tasks strong { color: var(--ink); font-weight: 600; font-size: 0.78rem; }
.tasks small { color: var(--muted); font-size: 0.68rem; }

.ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--cream) center / 16px no-repeat;
}
.ico--hvac { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v18M5 7l14 10M19 7L5 17'/%3E%3C/svg%3E"); }
.ico--water { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'/%3E%3C/svg%3E"); }
.ico--shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3C/svg%3E"); }

.tag {
  flex: none;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  background: rgb(23 24 27 / 0.06);
  color: var(--ink-soft);
}
.tag--red { background: rgb(195 47 41 / 0.12); color: var(--red); }
.tag--brass { background: rgb(168 129 74 / 0.16); color: #7f5d2c; }

.gift {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: linear-gradient(120deg, rgb(195 47 41 / 0.07), rgb(168 129 74 / 0.09));
  border: 1px solid rgb(195 47 41 / 0.16);
}
.avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, var(--brass), #7d5d33);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
}
.gift__t { display: grid; flex: 1; line-height: 1.25; min-width: 0; }
.gift__t small { font-size: 0.62rem; color: var(--muted); }
.gift__t strong { font-size: 0.72rem; color: var(--ink); font-weight: 600; }
.gift__btn {
  flex: none;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}

/* Floating cards */
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.97);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  line-height: 1.25;
}
.float strong { display: block; font-weight: 700; }
.float small { color: var(--muted); font-size: 0.7rem; }
.float__ico {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-content: center;
  background: #e3eefb;
  color: #2a5d9f;
  font-size: 1rem;
}
.float__ico--doc { background: rgb(195 47 41 / 0.1); color: var(--red); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; }
.float--toast { top: 24%; right: -4%; }
.float--chip { bottom: 12%; right: -6%; }

@media (prefers-reduced-motion: no-preference) {
  .float--toast { animation: popIn 0.8s 1.6s var(--ease-out) both, bob 6s 2.4s ease-in-out infinite; }
  .float--chip { animation: popIn 0.8s 2.2s var(--ease-out) both, bob 7s 3s ease-in-out infinite reverse; }
}
@keyframes popIn {
  from { opacity: 0; scale: 0.85; translate: 0 14px; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 1100px) {
  .float--toast, .float--chip { right: 2%; }
  .mock-stage { left: -4%; }
}
@media (max-width: 960px) {
  .hero { padding-top: 7.5rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: auto; margin-top: 1rem; }
  .hero__photo { position: relative; inset: auto; height: 420px; }
  .mock-stage { position: relative; left: auto; bottom: auto; width: min(100%, 380px); margin: -150px auto 0; }
  .float--toast { top: 70px; right: 4%; }
  .float--chip { display: none; }
}
@media (max-width: 520px) {
  .float { display: none; }
  .hero__photo { height: 320px; }
  .mock-stage { margin-top: -90px; }
  .hero__ctas .btn { width: 100%; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgb(23 24 27 / 0.6);
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 12%;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
.ticker__track { display: flex; width: max-content; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.15rem 0 1.15rem 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 7px;
  height: 7px;
  rotate: 45deg;
  background: var(--red);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee 38s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes marquee { to { translate: -50% 0; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }

.section h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* Scroll reveal: CSS scroll-driven where supported, JS IntersectionObserver fallback */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
  @supports not (animation-timeline: view()) {
    .js .reveal {
      opacity: 0;
      translate: 0 40px;
      transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out);
    }
    .js .reveal.is-in { opacity: 1; translate: 0 0; }
  }
}
@keyframes reveal {
  from { opacity: 0; translate: 0 48px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.compare__card {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius);
}
.compare__card h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1.5rem; }
.compare__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.compare__card--old {
  background: repeating-linear-gradient(180deg, transparent 0 33px, rgb(23 24 27 / 0.05) 33px 34px), var(--cream);
  border: 1px dashed var(--line-2);
  color: var(--muted);
}
.compare__card--old .compare__kicker { color: var(--muted-2); }
.compare__card--old h3 { color: var(--muted); }
.compare__card--new {
  background: #fff;
  border: 1px solid rgb(195 47 41 / 0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.compare__card--new::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--brass));
}
.compare__card--new .compare__kicker { color: var(--red); }

.compare__list { display: grid; gap: 0.95rem; }
.compare__list li { position: relative; padding-left: 2.1rem; }
.compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.8rem;
}
.compare__list--x li { text-decoration: line-through; text-decoration-color: rgb(195 47 41 / 0.4); text-decoration-thickness: 1.5px; }
.compare__list--x li::before {
  background-color: rgb(195 47 41 / 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c32f29' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.compare__list--check li { color: var(--ink); }
.compare__list--check li::before {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  position: relative;
  padding: 1.25rem 1.25rem 2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: translate 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.step:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.step__num {
  display: block;
  margin: 1.5rem 0 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--red);
}
.step h3 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 1rem; }

.step__visual {
  position: relative;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

/* Visual 1: viewfinder */
.step__visual--snap { background: radial-gradient(circle at 50% 45%, #fff, var(--cream) 75%); }
.viewfinder { position: relative; width: 72%; height: 66%; display: grid; place-items: center; }
.viewfinder > span {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
}
.viewfinder > span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.viewfinder > span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.viewfinder > span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.viewfinder > span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.vf-plate {
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #e3e5e8, #b2b7bd);
  color: #25282d;
  font: 600 0.72rem/1.6 ui-monospace, Consolas, monospace;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}
.vf-plate b { color: var(--red); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .viewfinder { animation: focusIn 3.2s ease-in-out infinite; }
}
@keyframes focusIn {
  0%, 100% { scale: 1.06; }
  45%, 70% { scale: 0.96; }
}

/* Visual 2: AI chips */
.step__visual--read {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: radial-gradient(circle at 50% 130%, rgb(195 47 41 / 0.16), var(--paper) 65%);
}
.chip-ai {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.chip-ai--red { background: var(--red); border-color: var(--red); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .chip-ai { animation: chipIn 4.5s var(--ease-out) infinite both; }
  .chip-ai:nth-child(2) { animation-delay: 0.25s; }
  .chip-ai:nth-child(3) { animation-delay: 0.5s; }
  .chip-ai:nth-child(4) { animation-delay: 0.75s; }
  .chip-ai:nth-child(5) { animation-delay: 1s; }
}
@keyframes chipIn {
  0% { opacity: 0; translate: 0 10px; }
  12%, 85% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 -6px; }
}

/* Visual 3: timeline */
.step__visual--ahead {
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(160deg, var(--paper), var(--cream));
}
.tl {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
}
.tl span { flex: 1; }
.tl em { font-style: normal; font-size: 0.72rem; color: var(--muted); }
.tl__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); }
.tl__dot--done { background: var(--green); border-color: var(--green); }
.tl__dot--now { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 0 rgb(195 47 41 / 0.5); }
.tl:has(.tl__dot--now) { background: rgb(195 47 41 / 0.06); border-color: rgb(195 47 41 / 0.3); }
.tl:has(.tl__dot--now) em { color: var(--red); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .tl__dot--now { animation: ping 1.8s ease-out infinite; }
}
@keyframes ping { to { box-shadow: 0 0 0 10px rgb(195 47 41 / 0); } }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: 1.9rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: translate 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgb(195 47 41 / 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { translate: 0 -4px; border-color: rgb(195 47 41 / 0.28); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card h3 { font-family: var(--serif); font-size: 1.55rem; margin: 1.2rem 0 0.55rem; color: var(--ink); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  background: rgb(195 47 41 / 0.09);
  color: var(--red);
}
.card__icon svg { width: 22px; height: 22px; }
.card--lg {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 40%, var(--paper));
}
.card--lg h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.card--lg p { font-size: 1.05rem; max-width: 46ch; }

.curator {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 2rem;
}
.curator__row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.curator__row > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; }
.curator__row strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.curator__row small { color: var(--muted); font-size: 0.8rem; }
.curator__row em { font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--green); }
.curator__row em.is-busy { color: var(--red); }
.curator__thumb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f1f2f3, #cfd2d6);
  position: relative;
}
.curator__thumb::before {
  content: "";
  position: absolute;
  inset: 8px 12px;
  border-radius: 3px;
  border: 2px solid #6d727a;
  border-top-width: 10px;
}
.curator__thumb--2 { background: linear-gradient(160deg, #f6f6f6, #d6d6d6); }
.curator__thumb--2::before { inset: 6px 14px; border-radius: 10px; border-top-width: 2px; }
.curator__thumb--3::before { inset: 9px; border-radius: 50%; border-width: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .curator__row em.is-busy { animation: pulse 1.4s ease-in-out infinite; }
}

/* ---------- Pros ---------- */
.pros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.pros__media { position: relative; }
.pros__media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.pros__badge {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  display: grid;
  padding: 1.1rem 1.5rem 1.2rem;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 1;
}
.pros__badge .brand__script { position: static; font-size: 2rem; rotate: -4deg; }
.pros__badge span:last-child { font-family: var(--serif); font-size: 2.2rem; margin-left: 1.6rem; margin-top: -0.2rem; }
.pros__list { display: grid; gap: 1.1rem; margin: 2rem 0 2.5rem; }
.pros__list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--muted); }
.pros__list strong { color: var(--ink); font-weight: 600; }
.pros__list svg {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin-top: 1px;
}

/* ---------- Story ---------- */
.story__inner { max-width: 820px; text-align: center; }
.story__inner .eyebrow { justify-content: center; }
.story__roof { width: 120px; height: 66px; color: var(--ink); margin: 0 auto 1.75rem; display: block; }
.story__text {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: #3b3833;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq .section__head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 500;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: rotate 0.4s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.faq summary:hover { color: var(--red); }
.faq details[open] summary::after {
  rotate: 45deg;
  background-color: var(--red);
  border-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq details p { padding: 0 3rem 1.6rem 0; color: var(--muted); }

/* ---------- CTA / Form ---------- */
.cta {
  overflow: clip;
  background:
    radial-gradient(55% 75% at 100% 0%, rgb(195 47 41 / 0.08), transparent 65%),
    radial-gradient(45% 65% at 0% 100%, rgb(168 129 74 / 0.12), transparent 65%),
    var(--paper);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field > span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); }
.field b { color: var(--red); }
.field input,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.2 var(--sans);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(195 47 41 / 0.12);
}
.field input:user-invalid { border-color: var(--red); }
.form__note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.form__note a { color: var(--red); }
.hp { position: absolute; left: -9999px; }

.form__success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: inherit;
  background: #fff;
  text-align: left;
}
.form__success[hidden] { display: none; }
.form__success svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--red); color: #fff; flex: none; }
.form__success strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.form__success span { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .form__success { animation: rise 0.6s var(--ease-out) both; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--cream);
  color: var(--muted);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem 4rem;
  align-items: center;
}
.lockup {
  position: relative;
  display: grid;
  justify-items: center;
  width: 240px;
  color: var(--ink);
}
.lockup__roof { width: 150px; height: 82px; margin-left: 10px; }
.lockup__script {
  position: absolute;
  left: 18px;
  top: 64px;
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--red);
  rotate: -6deg;
  line-height: 1;
}
.lockup__name { font-family: var(--serif); font-size: 3.6rem; line-height: 1; margin-top: 0.5rem; letter-spacing: 0.01em; }
.lockup__rule {
  width: 100%;
  height: 3px;
  margin-top: 0.6rem;
  background: currentColor;
  position: relative;
}
.lockup__rule::before,
.lockup__rule::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 3px;
  height: 13px;
  background: currentColor;
  border-radius: 2px;
}
.lockup__rule::before { left: 0; }
.lockup__rule::after { right: 0; }
.lockup__tag {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 2rem;
}
.footer__nav a { text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--red); }
.footer__legal {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .compare,
  .pros__grid,
  .faq,
  .cta__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--lg { grid-column: 1 / -1; grid-row: auto; }
  .faq .section__head { position: static; }
  .pros__badge { right: 1rem; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__nav { justify-content: center; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .brand__roof { width: 36px; height: 22px; }
  .brand__name { font-size: 1.35rem; }
}
