/* Glam & You — one-page site
   Warm, clean, modern. Brand: black + yellow on soft light grounds. */

:root {
  --bg: #f7f4ee;
  --bg-warm: #f0ebe2;
  --bg-soft: #fffdf8;
  --surface: #ffffff;
  --ink: #121212;
  --ink-soft: #3a3834;
  --muted: #6b6860;
  --line: rgba(18, 18, 18, 0.08);
  --accent: #e8c200;
  --accent-deep: #c9a800;
  --accent-soft: #fff4b8;
  --dark: #0f0f0f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(18, 18, 18, 0.08);
  --shadow-soft: 0 8px 24px rgba(18, 18, 18, 0.06);
  --header-h: 72px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, calc(100% - 2rem));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1184px, calc(100% - 2rem));
}

.logo img {
  width: auto;
  height: 62px;}

.nav {
  display: none;
  gap: 1.6rem;
  align-items: center;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    color 0.28s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(232, 194, 0, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(18, 18, 18, 0.18);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #2a2a2a;
  color: #fff;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-head.narrow-head,
.narrow-head {
  max-width: 680px;
}

.section-intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: fadeUp 0.7s var(--ease) both;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

/* Hero — clean two-column product structure */
.hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: clip;
  background: #fffdf8;
  isolation: isolate;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  will-change: transform;
}

.ambient-orb--1 {
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(232, 194, 0, 0.45), transparent 68%);
  animation: ambientDrift 18s ease-in-out infinite;
}

.ambient-orb--2 {
  width: min(460px, 50vw);
  height: min(460px, 50vw);
  right: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.4), transparent 70%);
  animation: ambientDrift 22s ease-in-out infinite reverse;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
}
.ai-guide{background-color: #fffdf7;padding: 4rem 0;}
#trust{background-color: #fffdf7;padding: 4rem 0;}
.hero-content {
  max-width: 34rem;
}

.hero-content .eyebrow {
  margin-bottom: 1.1rem;
}

.hero-content h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-content .lede {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s var(--ease) 0.08s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  animation: fadeUp 0.7s var(--ease) 0.14s both;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  animation: fadeUp 0.7s var(--ease) 0.2s both;
}

.hero-trust li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-stage {
  position: relative;
  display: grid;
  animation: fadeUp 0.85s var(--ease) 0.12s both;
}

.hero-media {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0a0a0a;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.14);
}

.hero-media__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-scan__light {
  position: absolute;
  left: 0;
  width: 100%;
  height: 55%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: scanMove 3.2s ease-in-out infinite;
}

.hero-metric {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-metric--redness {
  top: 11%;
  left: 6%;
  padding: 0.65rem 0.8rem 0.7rem;
  border-radius: 16px;
  min-width: 108px;
  animation: metricFloat 5.5s ease-in-out infinite;
}

.hero-metric--pores {
  right: 5%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.55rem 0.9rem;
  border-radius: 18px;
  min-width: min(58%, 210px);
  animation: metricFloat 6.5s ease-in-out infinite reverse;
}

.hero-metric__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-bottom: 0.15rem;
}

.hero-metric__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-metric__value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-metric__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: #7dce6f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-metric__body {
  flex: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.15rem;
  min-width: 0;
}

.hero-metric--pores .hero-metric__value {
  font-size: 2.1rem;
}

.hero-metric__topic {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-metric__status {
  font-size: 0.72rem;
  opacity: 0.78;
}

.hero-metric__nav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

@keyframes scanMove {
  0%, 100% {
    top: 8%;
    opacity: 0.55;
  }
  50% {
    top: 48%;
    opacity: 1;
  }
}

@keyframes metricFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Cards */
.card-row {
  display: grid;
  gap: 1rem;
}

.card-row.three {
  grid-template-columns: 1fr;
}

.info-card,
.use-card,
.step-card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.info-card:hover,
.use-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--ink);
  margin-bottom: 1rem;
}

.icon-wrap.sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.icon-wrap svg,
.step-icon svg {
  width: 22px;
  height: 22px;
}

.info-card p,
.use-card p,
.step-card p,
.trust-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* About — haut.ai-style feature panel */
.about {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-shell {
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  width: min(1200px, calc(100% - 1.25rem));
  border-radius: 28px;
  background:
    linear-gradient(165deg, #ffffff 0%, #fffdf8 48%, #f8f1dc 100%);
  border: 1px solid rgba(18, 18, 18, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px rgba(18, 18, 18, 0.06);
}

.about-glow {
  position: absolute;
  inset: auto -10% -35% 35%;
  height: 70%;
  background:
    radial-gradient(ellipse at center, rgba(232, 194, 0, 0.28), transparent 68%);
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 2.5rem));
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.about-intro {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-intro h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.about-intro h2 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, transparent 0%, rgba(232, 194, 0, 0.35) 0%, rgba(232, 194, 0, 0.35) 100%);
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 88%;
  padding: 0 0.08em;
}

.about-copy {
  display: grid;
  gap: 0.85rem;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  max-width: 58ch;
}

.about-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(18, 18, 18, 0.07);
  border-radius: 22px;
  padding: 1.55rem 1.4rem 1.5rem;
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.04);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(232, 194, 0, 0.15));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(18, 18, 18, 0.1);
  border-color: rgba(232, 194, 0, 0.45);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(18, 18, 18, 0.35);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    linear-gradient(145deg, #fff7c2 0%, var(--accent) 100%);
  box-shadow:
    0 8px 18px rgba(232, 194, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28ch;
}

@media (min-width: 720px) {
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .pillar-card {
    min-height: 100%;
    padding: 1.75rem 1.5rem 1.65rem;
  }
}

@media (min-width: 960px) {
  .about-shell {
    width: min(1200px, calc(100% - 2rem));
    border-radius: 32px;
  }

  .about-intro {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: end;
    max-width: none;
  }

  .about-intro .eyebrow,
  .about-intro h2 {
    grid-column: 1;
  }

  .about-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

/* How it works */
.how {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.55) 80%, transparent);
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-card {
  position: relative;
  padding-top: 1.6rem;
}

.step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: rgba(232, 194, 0, 0.85);
  line-height: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

/* AI Guide */
.ai-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.use-cases {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.phone-mock {
  justify-self: center;
  width: min(320px, 100%);
}

.phone-shell {
  background: var(--dark);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.22);
}

.phone-notch {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: #2a2a2a;
  margin: 4px auto 10px;
}

.phone-screen {
  background: #f8f5ef;
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.phone-header strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}

.phone-header small {
  color: var(--muted);
  font-size: 0.75rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3dbf6b;
  box-shadow: 0 0 0 4px rgba(61, 191, 107, 0.18);
}

.phone-chat {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
  flex: 1;
  overflow: auto;
}

.msg {
  max-width: 92%;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.msg.you {
  background: #fff;
  border: 1px solid var(--line);
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.msg.ai {
  background: var(--ink);
  color: #f4f4f4;
  border-bottom-left-radius: 5px;
}

.mock-caption {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Experts */
.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

.trust-card {
  background: linear-gradient(180deg, #fff, #fffcf5);
}

.disclaimer-box {
  background: #fff8d6;
  border: 1px solid rgba(232, 194, 0, 0.45);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Partners band */
.partners-band {
  background: var(--dark);
  color: #eceae4;
  padding: 2.4rem 0;
}

.partners-band h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.partners-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 58ch;
}

.partners-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.partners-band .btn-dark {
  background: var(--accent);
  color: var(--ink);
}

.partners-band .btn-dark:hover {
  background: #ffe14a;
  color: var(--ink);
}

/* FAQ */
.faq-wrap {
  width: min(1100px, calc(100% - 2rem));
}

.faq-wrap > h2 {
  text-align: center;
  margin-bottom: 0.25rem;
}

.accordion {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 800px) {
  .accordion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.1rem;
  }
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.accordion-item:hover {
  border-color: rgba(232, 194, 0, 0.4);
}

.accordion-item.is-open {
  border-color: rgba(232, 194, 0, 0.55);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.06);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.accordion-trigger:hover {
  background: rgba(232, 194, 0, 0.06);
}

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-top: -4px;
}

.accordion-item.is-open .chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.15rem;
  color: var(--muted);
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.accordion-item.is-open .accordion-panel {
  padding-bottom: 1.15rem;
}

.accordion-panel a {
  color: var(--ink);
}

/* Contact */
.contact {
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(232, 194, 0, 0.14), transparent 60%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.contact-details li {
  display: grid;
  gap: 0.15rem;
}

.contact-details span:first-child {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row.two-col {
  display: grid;
  gap: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(232, 194, 0, 0.28);
}

.checkbox-row label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--accent-deep);
}

.form-success,
.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-success {
  background: #e8f7ee;
  color: #14532d;
}

.form-error {
  background: #fde8e8;
  color: #7f1d1d;
}

abbr[title="required"] {
  text-decoration: none;
  color: #b45309;
}

/* Footer */
.site-footer {
  background: #171614;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 28ch;
}

.footer-brand .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  height: 38px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

/* Legal pages */
.legal-page .legal-hero {
  padding: 3rem 0 1.5rem;
}

.legal-content {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* Mobile nav open */
@media (max-width: 899px) {
  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }

  .hero-scan__frame {
    width: min(72%, 240px);
    border-radius: 22px;
  }

  .hero-metric--redness {
    padding: 0.5rem 0.65rem 0.55rem;
    min-width: 92px;
  }

  .hero-metric__value {
    font-size: 1.5rem;
  }

  .hero-metric--pores {
    min-width: min(64%, 180px);
    padding: 0.7rem 0.4rem 0.75rem;
  }

  .hero-metric--pores .hero-metric__value {
    font-size: 1.7rem;
  }

  .hero-metric__nav {
    width: 24px;
    height: 24px;
  }
}

/* Desktop */
@media (min-width: 640px) {
  .card-row.three,
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }

  .partners-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-grid {
    /* grid-template-columns: 1.1fr 1.4fr; */
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions .btn {
    display: inline-flex;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-media {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    max-height: 620px;
  }

  .hero-metric--redness {
    top: 12%;
    left: 4%;
  }

  .hero-metric--pores {
    right: 4%;
    bottom: 8%;
    min-width: 220px;
  }

  .card-row.three,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ai-layout {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

}

@media (min-width: 1100px) {
  .use-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 8%) scale(1.08); }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes successPop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card.reveal,
.step-card.reveal,
.use-card.reveal,
.info-card.reveal,
.trust-card.reveal {
  transform: translateY(32px) scale(0.98);
}

.pillar-card.reveal.is-visible,
.step-card.reveal.is-visible,
.use-card.reveal.is-visible,
.info-card.reveal.is-visible,
.trust-card.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.phone-mock.reveal {
  transform: translateY(36px) translateX(12px);
}

.phone-mock.reveal.is-visible {
  transform: translateY(0) translateX(0);
}

.phone-mock.is-visible .phone-shell {
  animation: phoneFloat 5.5s ease-in-out infinite;
  animation-delay: 0.6s;
}

.hero-media {
  transition: transform 0.5s var(--ease);
}

.hero-media__photo {
  transition: transform 0.8s var(--ease);
}

.hero-stage:hover .hero-media__photo {
  transform: scale(1.03);
}

.hero-metric {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.icon-wrap,
.pillar-icon,
.step-icon {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar-card:hover .pillar-icon,
.info-card:hover .icon-wrap,
.use-card:hover .icon-wrap,
.step-card:hover .step-icon {
  transform: scale(1.08) rotate(-4deg);
}

.partners-band .btn {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.partners-band .btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(232, 194, 0, 0.35);
}

.form-success.is-shown {
  animation: successPop 0.45s var(--ease);
}

.contact-form {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-form:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(18, 18, 18, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .reveal.is-visible,
  .pillar-card.reveal,
  .step-card.reveal,
  .use-card.reveal,
  .info-card.reveal,
  .trust-card.reveal,
  .phone-mock.reveal,
  .phone-mock.reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ambient-orb,
  .phone-mock.is-visible .phone-shell,
  .hero-media__photo,
  .hero-scan__light,
  .hero-metric--redness,
  .hero-metric--pores {
    animation: none !important;
  }

  .hero-stage:hover .hero-media__photo,
  .pillar-card:hover .pillar-icon,
  .info-card:hover .icon-wrap,
  .use-card:hover .icon-wrap,
  .step-card:hover .step-icon {
    transform: none !important;
  }
}
