/* SOMED Skin Studio — landing page styles
   Light: mint / warm off-white / botanical green. Dark: deep ink-green. */
:root {
  --bg: #f7f5f0;
  --bg-alt: #eef3ee;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(31, 77, 58, 0.10);
  --text: #17322a;
  --text-soft: #4c6359;
  --text-mute: #7b8d85;
  --mint: #cfe6d6;
  --mint-strong: #a9d3b7;
  --sage: #8fb59c;
  --green: #1f4d3a;
  --green-deep: #133528;
  --accent: #2f7a57;
  --wa: #1fa855;
  --wa-hover: #178a45;
  --line: rgba(23, 50, 42, 0.12);
  --shadow: 0 18px 50px -24px rgba(19, 53, 40, 0.35);
  --shadow-sm: 0 6px 20px -12px rgba(19, 53, 40, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Marcellus", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1a15; --bg-alt: #11221b; --surface: #15291f; --glass: rgba(24, 46, 36, 0.62);
    --glass-border: rgba(169, 211, 183, 0.12); --text: #e3eee7; --text-soft: #b4c8bc; --text-mute: #869b8f;
    --mint: #1f3b2e; --mint-strong: #2c5541; --sage: #7fa98d; --green: #a9d3b7; --green-deep: #cfe6d6;
    --accent: #8fd1aa; --line: rgba(207, 230, 214, 0.12);
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7); --shadow-sm: 0 6px 20px -12px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1a15; --bg-alt: #11221b; --surface: #15291f; --glass: rgba(24, 46, 36, 0.62);
  --glass-border: rgba(169, 211, 183, 0.12); --text: #e3eee7; --text-soft: #b4c8bc; --text-mute: #869b8f;
  --mint: #1f3b2e; --mint-strong: #2c5541; --sage: #7fa98d; --green: #a9d3b7; --green-deep: #cfe6d6;
  --accent: #8fd1aa; --line: rgba(207, 230, 214, 0.12);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7); --shadow-sm: 0 6px 20px -12px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { padding: 88px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.22; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(28px, 4.2vw, 44px); margin-top: 14px; }
h3 { font-size: 22px; }
.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-soft); max-width: 640px; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.sec-head .lead { margin: 16px auto 0; }
.sec-head:not(.center) .lead { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 24px; border-radius: 999px; border: 1px solid transparent; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 168, 85, .8); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-primary { background: var(--green); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; white-space: normal; text-align: center; } }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.logo { font-family: var(--font-display); font-size: 24px; letter-spacing: .14em; text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.logo small { font-family: var(--font-body); font-size: 10px; letter-spacing: .28em; color: var(--text-mute); text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--text-soft); white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.tool {
  height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600;
}
.tool svg { width: 18px; height: 18px; }
.tool .on { color: var(--accent); }
.tool .off { color: var(--text-mute); font-weight: 400; }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
  :root:not([data-theme="light"]) .theme-icon-light { display: none; }
}
@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 420px) { .logo small { display: none; } .nav-tools .btn { display: none; } }

/* Hero */
.hero { padding: 48px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--mint) 0%, transparent 70%); opacity: .9; pointer-events: none; z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mint-strong) 55%, transparent) 0%, transparent 70%); pointer-events: none; z-index: 0;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.08); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .btn-row { margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 13px; color: var(--text-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero-visual { position: relative; }
.hero-card {
  border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; position: relative;
  border: 1px solid var(--glass-border);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-sm); font-size: 13px; line-height: 1.4;
  animation: float 6s ease-in-out infinite;
}
.hero-chip b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--accent); }
.hero-chip.c1 { left: -28px; top: 14%; }
.hero-chip.c2 { right: 14px; bottom: 10%; animation-delay: -3s; }
.hero h1 em { white-space: nowrap; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; }
}

/* Funnel progress (tiny nav of the journey) */
.journey { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.journey a { font-size: 12px; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-soft); }
.journey a:hover { border-color: var(--accent); color: var(--text); }

/* Glass card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.alt { background: var(--bg-alt); }

/* Concerns */
.concern-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.concern {
  text-align: left; padding: 18px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s, background .2s; display: flex; flex-direction: column; gap: 10px; min-height: 120px;
}
.concern:hover { transform: translateY(-3px); border-color: var(--sage); }
.concern[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--mint) 60%, var(--surface)); }
.concern .ico { font-size: 22px; line-height: 1; }
.concern strong { font-size: 15px; font-weight: 600; line-height: 1.4; }
.concern-panel { margin-top: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.concern-panel h3 { margin-bottom: 12px; }
.concern-panel ul { margin: 0; padding-left: 1.1em; color: var(--text-soft); }
.concern-panel li { margin: 6px 0; }
.concern-panel .label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 18px 0 6px; }
.concern-panel .label:first-of-type { margin-top: 0; }
.concern-side { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.concern-side p { margin: 0; color: var(--text-soft); font-size: 15px; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.questions { display: grid; gap: 10px; margin-bottom: 34px; }
.questions p { margin: 0; font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 24px); color: var(--text-soft); }
.questions p::before { content: "“"; color: var(--accent); margin-right: 4px; }
.note { font-size: 13px; color: var(--text-mute); margin-top: 18px; }
@media (max-width: 800px) { .concern-panel { grid-template-columns: 1fr; } }

/* Science */
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.layers { position: relative; display: flex; flex-direction: column; gap: 10px; }
.layer {
  text-align: left; width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  padding: 18px 20px; display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; transition: border-color .2s, background .2s;
}
.layer[aria-expanded="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--mint) 50%, var(--surface)); }
.layer-swatch { width: 54px; height: 54px; border-radius: 14px; position: relative; overflow: hidden; }
.layer-swatch.s1 { background: linear-gradient(135deg, #f3e9d2, #e7d5ac); }
.layer-swatch.s2 { background: radial-gradient(circle at 30% 30%, #a9d3b7 0 6px, transparent 7px), radial-gradient(circle at 70% 60%, #8fb59c 0 5px, transparent 6px), radial-gradient(circle at 40% 78%, #cfe6d6 0 4px, transparent 5px), #e6f2ea; }
.layer-swatch.s3 { background: repeating-linear-gradient(0deg, #d9c6b4 0 7px, #efe3d6 7px 9px); }
.layer-swatch.s4 { background: linear-gradient(180deg, #f4d4cf, #e9b8b0); }
.layer h3 { font-size: 18px; }
.layer small { display: block; color: var(--text-mute); font-size: 13px; }
.layer-detail { grid-column: 1 / -1; color: var(--text-soft); font-size: 15px; display: none; margin: 4px 0 0; }
.layer[aria-expanded="true"] .layer-detail { display: block; }
.cycle-card { text-align: center; }
.cycle { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 18px auto 10px; }
.cycle svg { width: 100%; height: 100%; }
.cycle-node {
  position: absolute; transform: translate(-50%, -50%); background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.cycle-node.n1 { left: 50%; top: 6%; } .cycle-node.n2 { left: 94%; top: 50%; } .cycle-node.n3 { left: 50%; top: 94%; } .cycle-node.n4 { left: 6%; top: 50%; }
.cycle-center { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 18px; color: var(--accent); line-height: 1.3; }
.cycle-ring { stroke-dasharray: 6 8; animation: spin 30s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.fact { padding: 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.fact .num { font-family: var(--font-display); font-size: 30px; color: var(--sage); line-height: 1; }
.fact h3 { font-size: 17px; margin: 12px 0 8px; font-family: var(--font-body); font-weight: 600; }
.fact p { margin: 0; font-size: 14px; color: var(--text-soft); }
.refs { margin-top: 26px; font-size: 12px; color: var(--text-mute); }
.refs summary { cursor: pointer; }
.refs ol { padding-left: 1.2em; }
@media (max-width: 900px) { .science-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .cycle-node { font-size: 12px; padding: 6px 10px; } }

/* Product */
.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.product-stage { position: sticky; top: 90px; }
.product-img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.product-img img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.hotspot {
  position: absolute; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f4d3a;
  font-weight: 700; font-size: 14px; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2.4s infinite;
}
.hotspot[aria-expanded="true"] { background: #1f4d3a; color: #fff; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.hotspot-tip {
  position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(13, 26, 21, .82); color: #eef5f0; backdrop-filter: blur(12px);
  border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.55; min-height: 64px;
}
.hotspot-tip b { color: #a9d3b7; display: block; font-weight: 600; margin-bottom: 2px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 26px 0 0; }
.tab { border: 0; background: none; padding: 12px 14px; font-size: 14px; color: var(--text-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { padding: 22px 0 6px; color: var(--text-soft); min-height: 180px; }
.tab-panel ul { padding-left: 1.1em; margin: 0; }
.tab-panel li { margin: 8px 0; }
.tab-panel p { margin: 0 0 12px; }
.tab-panel strong { color: var(--text); }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } .product-stage { position: static; max-width: 460px; margin-inline: auto; width: 100%; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step {
  text-align: left; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); padding: 20px; position: relative;
  transition: border-color .2s, transform .2s;
}
.step[aria-selected="true"] { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--font-display); font-size: 14px; color: var(--accent); letter-spacing: .16em; }
.step h3 { font-size: 18px; margin-top: 6px; }
.step-bar { height: 3px; background: var(--line); border-radius: 3px; margin: 22px 0; overflow: hidden; }
.step-bar span { display: block; height: 100%; background: var(--accent); width: 25%; transition: width .5s ease; }
.step-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.step-detail ul { margin: 0; padding-left: 1.1em; color: var(--text-soft); }
.step-detail li { margin: 6px 0; }
.routine { display: grid; gap: 10px; }
.routine-tog { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 14px; background: var(--surface); }
.routine-tog button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.routine-tog button[aria-pressed="true"] { background: var(--green); color: var(--bg); }
.r-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.r-item .k { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-weight: 700; color: var(--green); font-size: 13px; }
.r-item small { display: block; color: var(--text-mute); font-size: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step-detail { grid-template-columns: 1fr; } }

/* Range */
.filter { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); margin-bottom: 28px; flex-wrap: wrap; }
.filter button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 14px; }
.filter button[aria-pressed="true"] { background: var(--green); color: var(--bg); }
.range-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard .ph { aspect-ratio: 1; background: #f3f5f2; overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .ph img { transform: scale(1.04); }
.pcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .code { font-size: 12px; letter-spacing: .18em; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.pcard h3 { font-size: 18px; }
.pcard p { margin: 0; font-size: 14px; color: var(--text-soft); flex: 1; }
.pcard .ask { margin-top: 10px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--wa); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pcard .ask:hover { text-decoration: underline; }
.pcard .ask svg { width: 16px; height: 16px; }

/* Treatment banner */
.treat { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--green-deep); color: #eef5f0; margin-top: 48px; }
:root[data-theme="dark"] .treat { background: #1a3a2c; color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .treat { background: #1a3a2c; color: var(--text); } }
.treat .txt { padding: 44px; }
.treat .txt .eyebrow { color: #a9d3b7; }
.treat h2 { color: inherit; }
.treat ul { padding-left: 1.1em; color: rgba(238,245,240,.82); }
:root[data-theme="dark"] .treat ul { color: var(--text-soft); }
.treat li { margin: 8px 0; }
.treat .img { min-height: 320px; position: relative; }
.treat .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .treat { grid-template-columns: 1fr; } .treat .txt { padding: 30px 22px; } .treat .img { min-height: 240px; aspect-ratio: 4/3; } }

/* Proof */
.proof-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.rating { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.rating .big { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: var(--accent); display: block; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--text-soft); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.testis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.testi blockquote { margin: 0 0 14px; font-size: 15px; }
.testi figcaption { font-size: 13px; color: var(--text-mute); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.pillars { display: grid; gap: 14px; margin-top: 26px; }
.pillar { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.pillar .k { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; font-family: var(--font-display); color: var(--green); }
.pillar h3 { font-size: 17px; font-family: var(--font-body); font-weight: 600; }
.pillar p { margin: 2px 0 0; font-size: 14px; color: var(--text-soft); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.roles .card { padding: 20px; }
.roles h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.roles p { margin: 0; font-size: 14px; color: var(--text-soft); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .roles { grid-template-columns: 1fr; } }

/* B2B */
.b2b { background: linear-gradient(160deg, var(--bg-alt), var(--bg)); }
.b2b-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.who span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.benefit h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: 14px; color: var(--text-soft); }
.process { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 0; }
.process li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.process li:last-child { border-bottom: 0; }
.process .k { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 14px; }
.process b { display: block; }
.process span { font-size: 14px; color: var(--text-soft); }
@media (max-width: 860px) { .b2b-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 22px; color: var(--text-soft); }
.faq .ans p { margin: 0 0 10px; }

/* Final CTA */
.final { text-align: center; overflow: hidden; }
.final .card { padding: 64px 28px; background: radial-gradient(120% 120% at 50% 0%, var(--mint) 0%, var(--surface) 60%); border-radius: 36px; }
.final .btn-row { justify-content: center; margin-top: 30px; }
.final .lead { margin: 16px auto 0; }
.contact-line { margin-top: 26px; font-size: 14px; color: var(--text-soft); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }

/* Footer */
footer { padding: 48px 0 120px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-mute); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { color: var(--text); font-size: 14px; margin: 0 0 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot p { margin: 4px 0; }
.disclaimer { margin-top: 28px; font-size: 12px; line-height: 1.6; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Sticky CTA */
.sticky-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 60; display: flex; gap: 8px; align-items: center;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-border);
  padding: 8px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.2,.8,.2,1); width: max-content; max-width: calc(100% - 24px);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta .msg { font-size: 13px; padding: 0 10px 0 12px; color: var(--text-soft); }
@media (max-width: 560px) { .sticky-cta .msg { display: none; } .sticky-cta { width: calc(100% - 24px); } .sticky-cta .btn { flex: 1; padding: 0 12px; font-size: 14px; } }

/* Reveal */
.reveal { transform: translateY(18px); transition: transform .8s ease; } /* stays visible at rest; only slides */
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
