/* ===================================================================
   HouseKraft — shared design system  (Apple-grade rebuild)
   Retains original palette, texture & DM Serif Display / DM Sans pairing
   =================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #FDFBF7;
  --color-bg-warm: #F6F0E8;
  --color-bg-dark: #1A1814;
  --color-text: #2C2924;
  --color-text-muted: #7A7468;
  --color-text-light: #B5AFA5;
  --color-accent: #C8903E;
  --color-accent-hover: #B07D32;
  --color-accent-light: #F0DFC4;
  --color-white: #FFFFFF;
  --color-border: #E8E2D9;
  --color-green: #2D9F6F;
  --bp-bg: #1B3A5C;
  --bp-line: rgba(255,255,255,0.07);
  --bp-line-strong: rgba(255,255,255,0.12);
  --bp-text: #D0E4FF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --maxw: 1120px;
  --gutter: 22px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-card: 0 2px 14px rgba(44,41,36,0.05), 0 18px 60px rgba(44,41,36,0.08);
  --shadow-float: 0 30px 80px rgba(44,41,36,0.16);
}

html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
img { max-width: 100%; display: block; }

.kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 600; color: var(--color-text-muted); }
.pro-zone .kicker, .hero .kicker { color: var(--color-accent-light); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.05; }
.serif { font-family: var(--font-display); letter-spacing: -0.01em; font-weight: 400; }
a { color: inherit; }

/* ——— buttons / links ——— */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 100px; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600;
  font-size: 1.02rem; padding: 13px 26px; border: none;
  transition: transform .4s var(--ease), background .3s var(--ease-soft), box-shadow .4s var(--ease), color .3s;
}
.btn-fill { background: var(--color-accent); color: #fff; }
.btn-fill:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,144,62,0.35); }
.btn-dark { background: var(--color-bg-dark); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(26,24,20,0.35); }
.btn-ghost { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--color-accent); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.link svg { transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ——— NAV ——— */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253,251,247,0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(232,226,217,0.7);
}
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { font-family: var(--font-display); font-size: 1.3rem; text-decoration: none; color: var(--color-text); display: flex; align-items: center; gap: 9px; z-index: 1001; }
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--color-text); font-size: 0.86rem; font-weight: 500; opacity: 0.78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--color-bg-dark); color: #fff !important; opacity: 1 !important; padding: 7px 17px; border-radius: 100px; font-weight: 600 !important; transition: background .3s, transform .3s var(--ease); }
.nav-cta:hover { background: var(--color-accent); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 38px; height: 38px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; }
.nav-toggle span { display: block; width: 21px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all .35s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 56px 0 0 0; z-index: 999;
  background: rgba(253,251,247,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 4px; padding: 28px var(--gutter);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { text-decoration: none; color: var(--color-text); font-size: 1.6rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--color-border); }

/* ——— reveal ——— */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;} html{scroll-behavior:auto;} }

/* ——— section shell ——— */
section.block { padding: clamp(80px, 13vh, 150px) 0; }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.1rem, 5.2vw, 3.8rem); line-height: 1.03; margin: 14px 0 0; }
.section-head h2 .serif { display:block; }
.section-head p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--color-text-muted); margin-top: 20px; line-height: 1.5; max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* =================== HERO (home) =================== */
.hero { position: relative; background: var(--color-bg-dark); color: #fff; overflow: hidden; text-align: center; padding: clamp(90px, 14vh, 150px) var(--gutter) 0; }
.hero-glow { position: absolute; left: 50%; top: -10%; transform: translateX(-50%); width: 90vw; height: 70vh; pointer-events: none; background: radial-gradient(ellipse at center, rgba(200,144,62,0.22) 0%, rgba(200,144,62,0.05) 38%, transparent 70%); }
.hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,144,62,0.16); border: 1px solid rgba(200,144,62,0.3); color: var(--color-accent-light); padding: 7px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 28px; }
.hero-badge.dot::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--color-accent); }
.hero h1 { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.7rem, 8vw, 6rem); line-height: 1.0; margin: 0 auto 26px; max-width: 14ch; }
.hero h1 .grad { font-family: var(--font-display); font-weight: 400; font-style: italic; letter-spacing: -0.01em; background: linear-gradient(105deg, #E8B96A, var(--color-accent) 55%, #E8B96A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1.1rem, 2.3vw, 1.45rem); color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto 14px; line-height: 1.5; font-weight: 400; }
.hero-promise { font-size: 0.85rem; color: var(--color-accent-light); margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero .link { color: var(--color-accent-light); }
.hero-note { display:block; margin-top: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.hero-stage { position: relative; z-index: 2; max-width: 1080px; margin: 64px auto 0; }
.hero-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-float); aspect-ratio: 16/9; background:#000; border: 1px solid rgba(255,255,255,0.08); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease-soft); }
.hero-frame img.active { opacity: 1; }
.hero-frame img:not(:first-child){ position: absolute; inset: 0; }
.hero-fade { position: absolute; left:0; right:0; bottom:0; height: 38%; background: linear-gradient(to bottom, transparent, var(--color-bg)); z-index: 3; }

/* =================== stats =================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter); border-bottom: 1px solid var(--color-border); }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--color-text); line-height: 1; }
.stat .l { margin-top: 8px; font-size: 0.92rem; color: var(--color-text-muted); }

/* =================== steps =================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.step { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 38px 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step .num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--color-accent); opacity: 0.9; }
.step h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 12px; }
.step p { color: var(--color-text-muted); font-size: 1rem; }

/* =================== showcase rows =================== */
.showcase { display: flex; flex-direction: column; gap: clamp(80px, 11vh, 130px); margin-top: 80px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.show-row.flip .show-text { order: 2; }
.show-tag { color: var(--color-accent); font-weight: 600; font-size: 0.95rem; }
.show-row h3 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -0.035em; margin: 12px 0 16px; line-height: 1.05; }
.show-row p { font-size: 1.1rem; color: var(--color-text-muted); line-height: 1.55; max-width: 460px; }
.show-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-warm); box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.show-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.show-row:hover .show-media img { transform: scale(1.04); }

/* =================== tool grid =================== */
.tier-label { display:inline-flex; align-items:center; gap:8px; margin: 70px 0 26px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.tier-label::before { content:''; width: 26px; height: 1px; background: var(--color-accent); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; text-decoration: none; color: inherit; display: block; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--color-accent-light); }
.tool-pill { display:inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.pill-express { background: #EAF4FF; color: #2E6CB0; }
.pill-basic { background: var(--color-bg-warm); color: var(--color-accent-hover); }
.pill-pro { background: rgba(200,144,62,0.14); color: var(--color-accent-hover); }
.tool-card h4 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.tool-card p { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.5; }

/* =================== pro zone =================== */
.pro-zone { background-color: var(--bp-bg); color: #fff; position: relative; overflow: hidden; }
.blueprint-bg { background-image: linear-gradient(var(--bp-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line-strong) 1px, transparent 1px), linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px; }
.pro-zone::before { content:''; position:absolute; inset:0; pointer-events:none; background: radial-gradient(ellipse at 50% 0%, rgba(120,180,255,0.1) 0%, transparent 65%); }
.pro-zone .section-head h2 { color: #fff; }
.pro-zone .section-head p { color: var(--bp-text); opacity: 0.8; }
.pro-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; position: relative; z-index: 2; }
.pro-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 28px; transition: transform .5s var(--ease), background .4s; text-decoration: none; color: inherit; display: block; }
.pro-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.pro-card .ico { font-size: 1.7rem; }
.pro-card h4 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; margin: 16px 0 8px; color: #fff; }
.pro-card p { font-size: 0.93rem; color: var(--bp-text); opacity: 0.82; line-height: 1.55; }

/* =================== use cases =================== */
.uc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 60px; }
.uc-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); text-decoration: none; color: inherit; display: block; }
.uc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.uc-card .ico { font-size: 2rem; }
.uc-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; margin: 16px 0 8px; }
.uc-card > p { color: var(--color-text-muted); margin-bottom: 18px; }
.uc-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.uc-card li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--color-text); }
.uc-card li::before { content: '✓'; color: var(--color-green); font-weight: 700; flex: none; }

/* =================== comparison =================== */
.compare { background: var(--color-bg-warm); }
.ctable { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-white); }
.crow { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--color-border); }
.crow:last-child { border-bottom: none; }
.crow > div { padding: 17px 20px; font-size: 0.96rem; }
.crow.head > div { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; }
.crow.head { background: var(--color-bg-dark); color: #fff; }
.crow.head .hk { color: var(--color-accent-light); }
.crow .cap { color: var(--color-text); }
.crow .hk { text-align: center; color: var(--color-green); font-weight: 700; }
.crow .gpt { text-align: center; color: var(--color-text-muted); }
.crow:nth-child(odd):not(.head) { background: #FCFAF6; }

/* =================== guarantee =================== */
.guarantee-card { background: var(--color-bg-dark); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 7vw, 72px); text-align: center; max-width: 820px; margin: 0 auto; position: relative; overflow: hidden; }
.guarantee-card::before { content:''; position:absolute; left:50%; top:-30%; transform:translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(200,144,62,0.18), transparent 60%); }
.guarantee-card .ico { font-size: 2.6rem; position: relative; }
.guarantee-card h3 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.6rem); margin: 18px 0 16px; position: relative; }
.guarantee-card p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; position: relative; line-height: 1.65; }

/* =================== pricing cards =================== */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; }
.price-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px 30px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.price-card.feature { background: var(--color-bg-dark); color: #fff; border-color: transparent; }
.price-card .ico { font-size: 1.9rem; }
.price-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 6px; }
.price-amt { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.price-amt small { font-size: 0.9rem; color: var(--color-text-muted); font-family: var(--font-body); }
.price-card.feature .price-amt small { color: rgba(255,255,255,0.6); }
.price-card p { margin: 16px 0 26px; font-size: 0.96rem; color: var(--color-text-muted); flex: 1; line-height: 1.55; }
.price-card.feature p { color: rgba(255,255,255,0.75); }
.price-card .link { color: var(--color-accent); }
.price-card.feature .link { color: var(--color-accent-light); }
.price-tag { position: absolute; top: 20px; right: 22px; background: var(--color-accent); color:#fff; font-size:0.68rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:4px 12px; border-radius:100px; }

/* =================== chips / ask ai =================== */
.soon-chips, .ask-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.chip { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 100px; padding: 13px 26px; font-weight: 600; font-size: 0.98rem; transition: transform .4s var(--ease), border-color .3s; }
.chip:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.ask-btn { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-text); padding: 12px 22px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.ask-btn:hover { transform: translateY(-3px); border-color: var(--color-accent); box-shadow: var(--shadow-card); }

/* =================== final cta =================== */
.final { background: var(--color-bg-dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content:''; position:absolute; left:50%; bottom:-40%; transform:translateX(-50%); width: 900px; height: 700px; background: radial-gradient(circle, rgba(200,144,62,0.16), transparent 60%); }
.final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.final h2 { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.0; }
.final h2 .serif { font-style: italic; display:block; }
.final p { color: rgba(255,255,255,0.7); font-size: clamp(1.05rem,2vw,1.3rem); margin: 22px auto 34px; max-width: 540px; }
.final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.final .btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.final-also { margin-top: 34px; font-size: 0.85rem; color: rgba(255,255,255,0.45); display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap; }
.final-also a { color: rgba(255,255,255,0.7); text-decoration: none; display:inline-flex; gap:6px; align-items:center; }
.final-also a:hover { color: #fff; }
.final-also svg { width: 15px; height: 15px; fill: currentColor; }

/* =================== inner-page hero =================== */
.page-hero { background: var(--color-bg-dark); color: #fff; position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 16vh, 170px) var(--gutter) clamp(80px,12vh,130px); }
.page-hero.bp { background-color: var(--bp-bg); }
.page-hero .glow { position: absolute; left: 50%; top: -20%; transform: translateX(-50%); width: 90vw; height: 80vh; pointer-events: none; background: radial-gradient(ellipse at center, rgba(200,144,62,0.2) 0%, transparent 62%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.page-hero h1 { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 1.0; margin-bottom: 22px; }
.page-hero h1 .serif { font-style: italic; }
.page-hero p { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: rgba(255,255,255,0.74); max-width: 620px; margin: 0 auto 30px; line-height: 1.5; }
.page-hero .hero-note { color: rgba(255,255,255,0.42); }
.page-hero .hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.page-hero .link { color: var(--color-accent-light); }

/* =================== before / after =================== */
.ba { display: flex; flex-direction: column; gap: clamp(70px,10vh,120px); margin-top: 76px; }
.ba-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: center; }
.ba-row.flip .ba-copy { order: 2; }
.ba-num { font-family: var(--font-display); font-size: 3rem; color: var(--color-accent); line-height: 1; opacity: 0.85; }
.ba-copy .tag { color: var(--color-accent); font-weight: 600; font-size: 0.92rem; margin-top: 8px; display:block; }
.ba-copy h3 { font-size: clamp(1.5rem,3.2vw,2.3rem); font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 14px; line-height: 1.08; }
.ba-copy p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.55; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-img { border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow-card); }
.ba-img img { width:100%; height:100%; object-fit: cover; }
.ba-img span { position: absolute; top: 12px; left: 12px; background: rgba(26,24,20,0.7); color:#fff; font-size:0.66rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding: 4px 11px; border-radius: 100px; backdrop-filter: blur(6px); }
.ba-img.after span { background: var(--color-accent); }

/* =================== benefits grid =================== */
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 60px; }
.benefit-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 30px 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.benefit-card h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); margin-bottom: 10px; line-height: 1.1; }
.benefit-card p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.5; }

/* =================== prose (legal / content) =================== */
.prose { max-width: 760px; margin: 0 auto; padding: clamp(60px,9vh,100px) var(--gutter); }
.prose h2 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; letter-spacing: -0.03em; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 32px 0 12px; }
.prose p { color: var(--color-text); opacity: 0.86; margin-bottom: 18px; font-size: 1.05rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 10px; opacity: 0.86; line-height: 1.65; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; opacity: 1; }
.prose hr { border: none; border-top: 1px solid var(--color-border); margin: 40px 0; }
.prose .muted { color: var(--color-text-muted); font-size: 0.92rem; }

/* =================== faq =================== */
.faq-list { max-width: 820px; margin: 56px auto 0; display:flex; flex-direction:column; gap: 14px; }
.faq-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { display:flex; justify-content:space-between; align-items:center; gap:16px; padding: 22px 26px; cursor:pointer; font-weight: 600; font-size: 1.08rem; list-style:none; }
.faq-q::-webkit-details-marker { display:none; }
.faq-q .pm { flex:none; width:22px; height:22px; position:relative; transition: transform .35s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content:''; position:absolute; background: var(--color-accent); border-radius: 2px; }
.faq-q .pm::before { left:0; top:10px; width:22px; height:2px; }
.faq-q .pm::after { left:10px; top:0; width:2px; height:22px; transition: transform .35s var(--ease); }
details[open] .faq-q .pm::after { transform: rotate(90deg); opacity:0; }
.faq-a { padding: 0 26px 24px; color: var(--color-text-muted); line-height: 1.65; font-size: 1rem; }

/* =================== contact form =================== */
.form-card { max-width: 640px; margin: 0 auto; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(30px,5vw,52px); box-shadow: var(--shadow-card); }
.field { margin-bottom: 22px; }
.field label { display:block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.field input, .field textarea, .field select { width:100%; font-family: var(--font-body); font-size: 1rem; padding: 13px 16px; border: 1.5px solid var(--color-border); border-radius: 12px; background: var(--color-bg); color: var(--color-text); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(200,144,62,0.14); }
.field textarea { min-height: 140px; resize: vertical; }
.contact-meta { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; max-width: 760px; margin: 48px auto 0; }
.contact-meta a { text-decoration:none; }
.cm-card { background: var(--color-white); border:1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; text-align:center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.cm-card .ico { font-size: 1.6rem; }
.cm-card h4 { margin: 10px 0 4px; font-weight: 700; }
.cm-card p { color: var(--color-text-muted); font-size: 0.9rem; }

/* =================== footer =================== */
footer { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .nav-logo { margin-bottom: 14px; }
.foot-brand p { color: var(--color-text-muted); font-size: 0.92rem; max-width: 280px; line-height: 1.6; }
.foot-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-light); margin-bottom: 16px; }
.foot-col a { display: block; text-decoration: none; color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--color-accent); }
.foot-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--color-border); font-size: 0.86rem; color: var(--color-text-muted); }
.foot-bottom a { color: var(--color-text); text-decoration: none; }

/* =================== responsive =================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px 20px; }
  .steps, .grid, .pro-grid, .price-grid, .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .show-row { grid-template-columns: 1fr; gap: 28px; }
  .show-row.flip .show-text { order: 0; }
  .ba-row { grid-template-columns: 1fr; gap: 24px; }
  .ba-row.flip .ba-copy { order: 0; }
  .contact-meta { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .crow { grid-template-columns: 1.4fr 0.6fr 0.6fr; }
  .crow > div { padding: 13px 14px; font-size: 0.86rem; }
}
@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 44px; }
}

/* ===== icons & media (added) ===== */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.icon-badge { width: 54px; height: 54px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(160deg, rgba(200,144,62,0.16), rgba(200,144,62,0.06)); border: 1px solid var(--color-accent-light); color: var(--color-accent); }
.icon-badge .icon { width: 26px; height: 26px; }
.pro-card .icon-badge, .price-card.feature .icon-badge { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); color: var(--color-accent-light); }
.guarantee-card .icon-badge { background: rgba(200,144,62,0.18); border-color: rgba(200,144,62,0.4); color: var(--color-accent-light); width: 64px; height: 64px; margin: 0 auto; }
.guarantee-card .icon-badge .icon { width: 32px; height: 32px; }
.hero-badge .icon { width: 15px; height: 15px; color: var(--color-accent); }
.kicker .icon { width: 14px; height: 14px; vertical-align: -0.18em; margin-right: 4px; }

/* tool card thumbnail */
.tool-card .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--color-bg-warm); margin-bottom: 16px; border: 1px solid var(--color-border); }
.tool-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tool-card:hover .thumb img { transform: scale(1.05); }
.pro-card .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: rgba(255,255,255,0.05); margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.12); }
.pro-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tool-card .arrow { margin-top: 14px; color: var(--color-accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; }

/* generic media frame (feature hero visual) */
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid rgba(255,255,255,0.08); background:#000; }
.media-frame img { width: 100%; display: block; }

/* uc-card / show-row as links */
a.uc-card, a.show-cta { text-decoration: none; }
.show-cta { display:inline-flex; align-items:center; gap:5px; margin-top:18px; color:var(--color-accent); font-weight:600; }
.uc-card .uc-more { margin-top: 16px; color: var(--color-accent); font-weight: 600; font-size: 0.95rem; display:inline-flex; align-items:center; gap:5px; }

/* contact card icon */
.cm-card .icon-badge { margin: 0 auto 4px; }

/* ============================================================
   Shared page components (savings · founder · walkthrough)
   ============================================================ */
.savings-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:56px; }
.savings-col { background:var(--color-white); border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:34px; }
.savings-col h3 { font-size:1.3rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:18px; }
.savings-col ul { list-style:none; display:flex; flex-direction:column; gap:13px; padding:0; margin:0; }
.savings-col li { display:flex; gap:11px; font-size:0.96rem; color:var(--color-text-muted); line-height:1.55; }
.savings-col li::before { content:'✓'; color:var(--color-green); font-weight:700; flex:none; }
.savings-col li strong { color:var(--color-text); font-weight:600; }
@media (max-width:760px){ .savings-grid { grid-template-columns:1fr; } }

.founder { background:var(--color-bg-dark); color:#fff; }
.founder-inner { display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px; }
.founder-inner h2 { color:#fff; font-size:clamp(1.5rem,3vw,2.2rem); font-weight:700; letter-spacing:-0.02em; }
.founder-inner p { color:rgba(255,255,255,0.74); max-width:560px; margin:8px auto 0; line-height:1.6; }
.founder-badge { display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--color-accent-light); background:rgba(200,144,62,0.16); padding:5px 13px; border-radius:100px; margin-bottom:12px; }
.founder-ctas { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.founder-ctas .btn-ghost { border-color:rgba(255,255,255,0.4); color:#fff; }
.founder-ctas .btn-ghost:hover { border-color:var(--color-accent); color:var(--color-accent); }
@media (max-width:760px){ .founder-ctas .btn { width:100%; justify-content:center; } }

.walkthrough { display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap; margin-top:48px; text-align:center; }
.walkthrough span { font-weight:600; color:inherit; opacity:0.92; }

/* ============================================================
   Legal / long-form prose + forms
   ============================================================ */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-family: var(--font-body); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border); }
.legal h3 { font-size: 1.08rem; font-weight: 700; color: var(--color-text); margin: 26px 0 10px; }
.legal p { font-size: 0.98rem; color: var(--color-text-muted); line-height: 1.75; margin-bottom: 14px; }
.legal ul { margin: 12px 0 20px; padding-left: 0; list-style: none; }
.legal ul li { font-size: 0.96rem; color: var(--color-text-muted); line-height: 1.7; padding: 6px 0 6px 22px; position: relative; }
.legal ul li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.legal a { color: var(--color-accent); }

.hk-form { max-width: 620px; margin: 0 auto; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-card); }
.hk-form label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-text-muted); margin: 14px 0 6px; }
.hk-form input, .hk-form textarea, .hk-form select { width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 12px 14px; font-family: var(--font-body); font-size: 0.96rem; color: var(--color-text); }
.hk-form input:focus, .hk-form textarea:focus, .hk-form select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(200,144,62,0.12); }
.hk-form textarea { min-height: 120px; resize: vertical; }
.hk-form .btn { width: 100%; justify-content: center; margin-top: 20px; }
.hk-form-status { margin-top: 14px; text-align: center; font-size: 0.9rem; min-height: 1.2em; }
.hk-form-status.ok { color: var(--color-green); } .hk-form-status.err { color: #C0563C; }

.contact-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items:start; }
.contact-info .ci-item { margin-bottom: 22px; }
.contact-info .ci-item h4 { font-weight:700; margin-bottom:4px; }
.contact-info .ci-item p, .contact-info .ci-item a { color: var(--color-text-muted); font-size: 0.96rem; text-decoration:none; }
@media (max-width:760px){ .contact-grid { grid-template-columns: 1fr; } }

.tools-tier { margin-top: 40px; }
.tools-tier .tier-name { display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--color-accent); background:var(--color-accent-light); padding:6px 14px; border-radius:100px; margin-bottom:20px; }

/* ============================================================
   Marquees (brands + themes) + spherical gallery
   ============================================================ */
.mq { position:relative; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.mq-track { display:flex; align-items:center; gap:18px; width:max-content; animation:mq-scroll linear infinite; }
.mq:hover .mq-track { animation-play-state:paused; }
@keyframes mq-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .mq-track { animation:none; } }

.mq-brand { flex:none; width:170px; height:84px; display:flex; align-items:center; justify-content:center; position:relative; background:var(--color-white); border:1px solid var(--color-border); border-radius:16px; text-decoration:none; overflow:hidden; }
.mq-brand .mq-fallback { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--color-text-muted); font-size:0.9rem; padding:0 12px; text-align:center; }
.mq-brand img { position:relative; max-width:72%; max-height:56%; object-fit:contain; filter:grayscale(1); opacity:.8; transition:filter .3s,opacity .3s; }
.mq-brand:hover img { filter:none; opacity:1; }

.mq-theme { flex:none; width:250px; text-decoration:none; color:inherit; }
.mq-theme .mq-thumb { display:block; aspect-ratio:4/3; border-radius:18px; overflow:hidden; background:linear-gradient(135deg,var(--color-bg-warm),var(--color-border)); border:1px solid var(--color-border); }
.mq-theme .mq-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.mq-theme:hover .mq-thumb img { transform:scale(1.05); }
.mq-theme .mq-title { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; font-weight:600; font-size:0.95rem; }
.mq-theme .mq-cat { font-size:0.7rem; color:var(--color-accent); font-weight:700; text-transform:uppercase; letter-spacing:0.05em; }

.gallery-sphere-sec { background:var(--color-bg-dark); color:#fff; position:relative; overflow:hidden; }
.gallery-sphere-sec .kicker { color:var(--color-accent-light); }
.gallery-sphere-sec h2 { color:#fff; }
.gallery-sphere-sec p { color:rgba(255,255,255,0.72); }
#gallerySphere { display:block; width:100%; height:min(68vh,560px); cursor:grab; margin:8px 0; touch-action:pan-y; }
#gallerySphere:active { cursor:grabbing; }
.gallery-fallback { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; max-width:1100px; margin:24px auto 0; padding:0 24px; }
.gf-item { position:relative; aspect-ratio:4/3; border-radius:16px; overflow:hidden; background:linear-gradient(135deg,#2a2620,#1a1814); text-decoration:none; display:block; border:1px solid rgba(255,255,255,0.08); }
.gf-item img { width:100%; height:100%; object-fit:cover; }
.gf-cap { position:absolute; left:10px; bottom:8px; color:#fff; font-size:0.8rem; font-weight:600; text-shadow:0 1px 4px rgba(0,0,0,.6); }

/* ============================================================
   FIXES — contrast, context, list formatting
   ============================================================ */
/* pro-card: readable on LIGHT pages (tools, roadmap, feature grids) by default */
.pro-card { background: var(--color-white); border-color: var(--color-border); color: var(--color-text); }
.pro-card h4 { color: var(--color-text); }
.pro-card p { color: var(--color-text-muted); opacity: 1; }
.pro-card .thumb { background: var(--color-bg-warm); border-color: var(--color-border); }
.pro-card .arrow { color: var(--color-accent); font-weight: 700; display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:0.92rem; }
.pro-card:hover { background: var(--color-white); box-shadow: var(--shadow-card); }
/* dark styling ONLY inside the pro-zone */
.pro-zone .pro-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.pro-zone .pro-card:hover { background: rgba(255,255,255,0.09); box-shadow: none; }
.pro-zone .pro-card h4 { color: #fff; }
.pro-zone .pro-card p { color: var(--bp-text); opacity: 0.82; }
.pro-zone .pro-card .thumb { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.pro-zone .pro-card .arrow { color: var(--color-accent-light); }

/* ghost buttons on dark sections */
.gallery-sphere-sec .btn-ghost, .pro-zone .btn-ghost, .brands .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.gallery-sphere-sec .btn-ghost:hover, .pro-zone .btn-ghost:hover, .brands .btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* list items with inline <strong> must NOT be flex (it splits into columns) */
.savings-col li, .brands-points li { display:block; position:relative; padding-left:28px; gap:0; }
.savings-col li::before, .brands-points li::before { position:absolute; left:0; top:0; }

/* marquee sections: a little breathing room before the next band */
#brand-library, #themes { padding-bottom: 40px; }

/* tier tags */
.tier-tag { display:inline-block; font-size:0.64rem; font-weight:700; letter-spacing:0.09em; text-transform:uppercase; padding:4px 10px; border-radius:100px; margin-bottom:12px; }
.tier-tag.express { background:var(--color-green-light,#E0F5EC); color:var(--color-green,#2D9F6F); }
.tier-tag.basic { background:var(--color-accent-light); color:var(--color-accent-hover); }
.tier-tag.pro { background:var(--bp-bg,#1B3A5C); color:#cfe0ff; }
.tier-tag.star::before { content:'★ '; }

/* ============================================================
   FIXES 2 — marquees + sphere polish
   ============================================================ */
/* brands: logo OR name, never overlapping */
.mq-brand .mq-fallback { display:none; }
.mq-brand img { position:static; max-width:76%; max-height:58%; object-fit:contain; }
.mq-brand.mq-noimg { font-weight:700; color:var(--color-text-muted); font-size:0.92rem; padding:0 14px; text-align:center; line-height:1.2; }
.mq-brand.mq-noimg img { display:none; }

/* themes: uniform cards — single-line title, landscape image (not 1:1) */
.mq-theme { width:250px; }
.mq-theme .mq-thumb { aspect-ratio:1/1; }
.mq-theme .mq-title { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:10px; font-weight:600; font-size:0.95rem; }
.mq-theme .mq-cat { display:block; margin-top:2px; font-size:0.68rem; color:var(--color-accent); font-weight:700; text-transform:uppercase; letter-spacing:0.06em; }

/* gallery sphere: smaller, cleaner, responsive */
#gallerySphere { height:min(56vh,480px); }
@media (max-width:600px){ #gallerySphere { height:min(48vh,340px); } .gallery-sphere-sec { padding-left:0; padding-right:0; } }

/* footer divider (For Brands under Use Cases) */
.foot-col hr { border:none; border-top:1px solid var(--color-border); margin:12px 0; width:60%; }

/* hero video slide (mirrors hero img stacking) */
.hero-frame video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.4s var(--ease-soft); }
.hero-frame video.active { opacity:1; }


/* compact hero bottom padding (fixes tight CTA margins on landing pages) */
.hero[style*="min-height:auto"] { padding-bottom: clamp(72px,10vh,110px); }
/* videos fill showcase/thumb containers like images */
.show-media video, .thumb video { width:100%; height:100%; object-fit:cover; display:block; }

/* ============================================================
   Video mobile/responsive + home "in action" strip
   ============================================================ */
.hero-frame video, .show-media video, .thumb video { max-width:100%; background:#000; }
@media (max-width:600px){
  .hero-frame { aspect-ratio:4/3; }
  .show-media video, .show-media img, .thumb video, .thumb img { width:100%; height:100%; }
}
.action-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:44px; }
.action-strip figure { margin:0; }
.action-strip .frame { display:block; aspect-ratio:1/1; border-radius:18px; overflow:hidden; border:1px solid var(--color-border); background:var(--color-bg-warm); box-shadow:var(--shadow-card); }
.action-strip img, .action-strip video { width:100%; height:100%; object-fit:cover; display:block; }
.action-strip figcaption { text-align:center; font-weight:600; font-size:0.9rem; margin-top:10px; color:var(--color-text); }
@media (max-width:700px){ .action-strip { grid-template-columns:1fr 1fr; gap:12px; } }
