@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/PublicSans.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fbf2f4;
  --surface: #fffdfd;
  --surface-soft: #f3d9de;
  --surface-blue: #f7e9ed;
  --text: #3e2930;
  --muted: #806b73;
  --primary: #a65b6b;
  --primary-dark: #6d3545;
  --primary-bright: #e9b7c1;
  --secondary: #c58995;
  --warning: #d18b52;
  --danger: #b34a5b;
  --outline: #e1bbc3;
  --success: #2f7656;
  --shadow: 0 12px 34px rgb(62 41 48 / 10%);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--background); }

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 6%, rgb(233 183 193 / 35%), transparent 28rem),
    var(--background);
  font-family: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: var(--primary-dark); }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.auth-card {
  width: min(100%, 460px);
  padding: clamp(24px, 6vw, 38px);
  border: 1px solid rgb(225 187 195 / 78%);
  border-radius: 28px;
  background: rgb(255 253 253 / 94%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.auth-card::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/images/botanical_background.png") right top / cover no-repeat;
  opacity: .07;
}

.auth-content, .hero-content { position: relative; z-index: 1; }

.brand-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-bright);
  font-size: 34px;
  line-height: 1;
}

.auth-card h1, .page-title, .hero-card h2 {
  margin: 20px 0 6px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.auth-card h1 { font-size: clamp(30px, 8vw, 38px); }
.subtitle { color: var(--muted); line-height: 1.55; margin: 0 0 22px; }

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-blue);
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-weight: 700; font-size: 14px; }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--outline);
  border-radius: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
}
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgb(166 91 107 / 12%); }

.button {
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { color: #fff; background: var(--primary); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { color: var(--primary-dark); background: var(--surface-soft); }
.button.outline { color: var(--primary); border: 2px solid var(--primary); background: transparent; }
.button.ghost { color: var(--primary-dark); background: transparent; }
.button.danger { color: var(--danger); background: #fff; }
.button.block { width: 100%; }
.button.small { min-height: 42px; padding: 8px 13px; font-size: 14px; }
.form-actions { display: grid; gap: 9px; margin-top: 20px; }
.form-message { min-height: 22px; margin: 10px 0 0; color: var(--danger); font-size: 14px; }
.auth-back { margin: 0 0 20px; padding: 6px 0; border: 0; color: var(--primary-dark); background: transparent; font-weight: 800; }

.app-shell { min-height: 100vh; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: max(10px, env(safe-area-inset-top)) clamp(18px, 3vw, 34px) 10px;
  border-bottom: 1px solid rgb(225 187 195 / 45%);
  background: rgb(255 253 253 / 97%);
  box-shadow: 0 3px 14px rgb(62 41 48 / 5%);
}
.topbar-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.topbar-brand .mini-mark {
  width: 50px;
  height: 50px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary-bright);
  color: var(--primary-dark);
  box-shadow: 0 3px 8px rgb(62 41 48 / 7%);
  font-size: 22px;
  object-fit: cover;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--primary-dark); font-size: 21px; font-weight: 900; line-height: 1.1; }
.brand-copy small { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.desktop-nav { display: none; gap: 10px; margin-left: auto; }
.nav-button {
  min-height: 44px;
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}
.nav-button.active, .nav-button:hover { color: var(--primary-dark); background: transparent; }
.nav-button.active { box-shadow: inset 0 -2px var(--primary); }
.toolbar-actions { display: flex; align-items: center; gap: 9px; margin-left: clamp(10px, 2vw, 28px); }
.site-search { width: clamp(170px, 18vw, 250px); height: 44px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--outline); border-radius: 999px; background: white; }
.site-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgb(166 91 107 / 10%); }
.site-search input { min-width: 0; width: 100%; height: 100%; padding: 0 4px 0 15px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.site-search button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; color: var(--primary-dark); background: transparent; font-size: 21px; }
.widget-link { color: white; border-radius: 999px; background: var(--primary-dark); white-space: nowrap; }
.widget-link:hover { background: var(--primary); }
.mobile-widget-label { display: none; }
.account-button { color: var(--primary-dark); border: 1px solid var(--outline); border-radius: 999px; background: var(--surface); }
.signin-button { border-radius: 999px; white-space: nowrap; }
.language-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface-soft);
}
.language-toggle button {
  min-height: 28px;
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.language-toggle button.active { color: white; background: var(--primary); }

.main-content { width: min(100%, 1180px); margin: 0 auto; padding: 24px clamp(18px, 5vw, 34px) 42px; }
.page-heading { margin-bottom: 20px; }
.page-title { font-size: clamp(29px, 7vw, 38px); margin-top: 0; }

.hero-card {
  position: relative;
  padding: clamp(22px, 6vw, 34px);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4dce1, #fff7f8);
  box-shadow: 0 10px 28px rgb(62 41 48 / 8%);
}
.hero-card h2 { font-size: clamp(25px, 6vw, 31px); }
.hero-card p { color: var(--muted); max-width: 540px; line-height: 1.55; }

.section { margin-top: 24px; }
.section-title { margin: 0 0 12px; font-size: 22px; }
.card {
  border: 1px solid rgb(225 187 195 / 40%);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgb(62 41 48 / 4%);
}
.card-pad { padding: 18px; }
.step-list { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 38px 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--surface-soft);
}
.step:last-child { border-bottom: 0; }
.step-number { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-bright); color: var(--primary-dark); font-weight: 900; }
.step-icon { font-size: 23px; line-height: 36px; text-align: center; }
.step h3 { margin: 0 0 3px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }

.recent-row, .profile-card { display: flex; align-items: center; gap: 14px; padding: 17px; }
.recent-icon, .profile-avatar { flex: 0 0 auto; display: grid; place-items: center; background: var(--surface-soft); color: var(--primary-dark); }
.recent-icon { width: 58px; height: 58px; border-radius: 13px; font-size: 25px; }
.profile-avatar { width: 74px; height: 74px; border-radius: 50%; font-size: 34px; }
.recent-copy, .profile-copy { min-width: 0; flex: 1; }
.recent-copy strong, .profile-copy strong { display: block; font-size: 18px; }
.recent-copy span, .profile-copy span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.score-pill { border-radius: 999px; padding: 7px 11px; color: var(--primary-dark); background: var(--primary-bright); font-weight: 800; }

.bottom-nav {
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: calc(72px + env(safe-area-inset-bottom));
  padding: 6px 6px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgb(225 187 195 / 75%);
  background: rgb(255 253 253 / 96%);
  backdrop-filter: blur(16px);
}
.bottom-nav button {
  min-width: 0;
  border: 0;
  border-radius: 15px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.bottom-nav button span { display: block; margin-bottom: 3px; font-size: 21px; }
.bottom-nav button.active { color: var(--primary-dark); background: var(--surface-soft); }

.capture-stage { display: grid; gap: 16px; }
.camera-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #202126;
  box-shadow: var(--shadow);
}
.camera-frame video, .camera-frame img, .camera-frame canvas { width: 100%; height: 100%; object-fit: cover; }
.camera-frame video { transform: scaleX(-1); }
.camera-guide {
  position: absolute;
  inset: 9% 15%;
  border: 4px dashed rgb(255 255 255 / 88%);
  border-radius: 48%;
  pointer-events: none;
}
.camera-status {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  text-align: center;
  color: var(--text);
  background: rgb(255 255 255 / 92%);
  font-weight: 800;
  font-size: 13px;
}
.capture-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.capture-controls .wide { grid-column: 1 / -1; }
.quality-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.quality-line strong { color: var(--text); }
.quality-badge { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--success); }

.progress-card { text-align: center; padding: 34px 22px; }
.spinner { width: 76px; height: 76px; margin: 0 auto 22px; border: 9px solid var(--surface-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track { width: 100%; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-soft); }
.progress-bar { height: 100%; width: 12%; background: var(--primary); transition: width .35s ease; }

.results-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric { padding: 16px; }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric strong { display: block; margin-top: 4px; font-size: 25px; }
.overall-score { text-align: center; padding: 24px; }
.score-ring { width: 130px; height: 130px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--primary-dark); background: conic-gradient(var(--primary) var(--score-angle, 0deg), var(--surface-soft) 0); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface); }
.score-ring strong { position: relative; z-index: 1; font-size: 35px; }
.comparison { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--surface-soft); }
.comparison img { width: 100%; height: 100%; object-fit: cover; }
.comparison-after { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.comparison-after img { width: var(--comparison-width, 400px); max-width: none; }
.comparison-range { width: 100%; accent-color: var(--primary); }
.comparison-empty { display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted); }
.comparison-empty p { max-width: 36ch; margin: 0; line-height: 1.55; }

.guide-grid { display: grid; gap: 15px; }
.guide-card { padding: 19px; }
.guide-card h3 { margin: 0 0 9px; font-size: 19px; }
.guide-card p, .guide-card li { color: var(--muted); line-height: 1.55; }
.guide-card ul, .guide-card ol { padding-left: 22px; }
.guide-card li + li { margin-top: 7px; }
.warning-card { border-color: rgb(209 139 82 / 55%); background: #fffaf3; }

.history-list, .profile-list { display: grid; gap: 11px; }
.history-item, .profile-item { padding: 16px; }
.history-item { display: flex; gap: 12px; align-items: center; }
.history-item .copy { flex: 1; }
.history-item time, .profile-item p { color: var(--muted); font-size: 14px; }
.profile-item h3 { margin: 0 0 4px; }
.profile-item p { margin: 0; }
.empty { padding: 28px 18px; text-align: center; color: var(--muted); }
.error-box { padding: 13px 15px; border-radius: 14px; color: #7b2634; background: #ffe5e9; line-height: 1.45; }

.home-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid rgb(225 187 195 / 45%);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgb(248 224 229 / 97%) 0%, rgb(255 248 249 / 92%) 56%, rgb(247 229 233 / 88%) 100%),
    url("assets/images/botanical_background.png") center / cover;
  box-shadow: var(--shadow);
}
.home-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -190px;
  border-radius: 50%;
  background: rgb(166 91 107 / 12%);
}
.home-hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgb(255 253 253 / 74%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow.light { color: #ffeef2; background: rgb(255 255 255 / 10%); }
.home-hero h1 {
  max-width: 12ch;
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.home-hero-copy > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-secondary { color: var(--primary-dark); background: rgb(255 253 253 / 72%); }
.hero-secondary:hover { background: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 27px 0 0; padding: 0; color: var(--primary-dark); font-size: 13px; font-weight: 800; list-style: none; }
.hero-proof li::before { content: "✓"; margin-right: 7px; color: var(--success); }
.scan-demo {
  position: relative;
  min-height: 340px;
  padding: 19px;
  overflow: hidden;
  border: 8px solid rgb(255 253 253 / 82%);
  border-radius: 30px;
  background: linear-gradient(145deg, #4d3940, #21191c);
  box-shadow: 0 24px 50px rgb(62 41 48 / 25%);
}
.scan-demo-heading { display: flex; align-items: center; gap: 8px; color: white; font-size: 13px; }
.scan-demo-heading > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--primary-dark); background: var(--primary-bright); }
.scan-demo-heading i { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #7ce3ac; box-shadow: 0 0 0 5px rgb(124 227 172 / 15%); }
.scan-oval { position: absolute; inset: 60px 22% 58px; border: 3px dashed rgb(255 255 255 / 72%); border-radius: 48%; }
.scan-oval::before, .scan-oval::after { content: ""; position: absolute; left: 50%; width: 54%; height: 36%; transform: translateX(-50%); border: 2px solid rgb(233 183 193 / 55%); border-radius: 50%; }
.scan-oval::before { top: 18%; }
.scan-oval::after { bottom: 10%; height: 28%; }
.scan-line { position: absolute; left: -10%; right: -10%; top: 45%; height: 2px; background: linear-gradient(90deg, transparent, #ffcad5, transparent); box-shadow: 0 0 14px #ffcad5; }
.scan-point { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #ffe0e6; box-shadow: 0 0 0 5px rgb(255 224 230 / 14%); }
.scan-point.one { left: 20%; top: 34%; }
.scan-point.two { right: 20%; top: 34%; }
.scan-point.three { left: calc(50% - 4px); top: 58%; }
.scan-demo-status { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 13px; color: #183b2b; background: rgb(234 255 244 / 92%); font-size: 12px; }
.scan-demo-status span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--success); }

.home-section { margin-top: clamp(42px, 7vw, 76px); }
.home-section-heading { max-width: 660px; margin-bottom: 22px; }
.home-section-heading h2, .value-panel-heading h2, .home-guide-callout h2 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.12; }
.home-section-heading p, .value-panel-heading p, .home-guide-callout p { margin: 0; color: var(--muted); line-height: 1.6; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-action { padding: 10px 0; border: 0; color: var(--primary-dark); background: transparent; font-weight: 900; white-space: nowrap; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit-card { min-height: 214px; padding: 24px; border-radius: 22px; background: #f8e8ec; }
.benefit-card:nth-child(2) { background: #f3e8f7; }
.benefit-card:nth-child(3) { background: #f9efdf; }
.benefit-card:nth-child(4) { background: #e5f2ed; }
.benefit-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; color: var(--primary-dark); background: rgb(255 255 255 / 76%); font-size: 25px; font-weight: 900; }
.benefit-card h3 { margin: 22px 0 7px; font-size: 18px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.workflow-card { position: relative; min-height: 238px; padding: 26px; border: 1px solid rgb(225 187 195 / 45%); border-radius: 22px; background: var(--surface); box-shadow: 0 7px 20px rgb(62 41 48 / 5%); }
.workflow-number { position: absolute; right: 22px; top: 20px; color: var(--outline); font-size: 25px; font-weight: 900; }
.workflow-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; color: var(--primary-dark); background: var(--surface-soft); font-size: 25px; }
.workflow-card h3 { margin: 24px 0 8px; font-size: 20px; }
.workflow-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card {
  position: relative;
  min-width: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgb(225 187 195 / 45%);
  border-radius: 22px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 7px 20px rgb(62 41 48 / 5%);
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(62 41 48 / 10%); }
.tool-art { height: 150px; display: grid; place-items: center; align-content: center; gap: 9px; margin-bottom: 18px; background: #f8e8ec; }
.tool-art i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; color: var(--primary-dark); background: rgb(255 255 255 / 75%); font-size: 29px; font-style: normal; font-weight: 900; }
.tool-art b { color: var(--primary-dark); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.history-art { background: #f3e8f7; }
.guide-art { background: #f9efdf; }
.widget-art { background: #e5f2ed; }
.tool-copy { display: block; padding: 0 42px 0 18px; }
.tool-copy strong, .tool-copy small { display: block; }
.tool-copy strong { font-size: 17px; }
.tool-copy small { margin-top: 5px; color: var(--muted); line-height: 1.4; }
.tool-arrow { position: absolute; right: 18px; bottom: 27px; color: var(--primary); font-size: 22px; font-weight: 900; }
.value-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 70px); padding: clamp(30px, 5vw, 56px); border-radius: 28px; color: #fff8fa; background: linear-gradient(135deg, #6d3545, #3e2930); box-shadow: var(--shadow); }
.value-panel-heading p { color: #dec5cc; }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.value-grid article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: var(--primary-dark); background: var(--primary-bright); font-weight: 900; }
.value-grid h3 { margin: 13px 0 5px; font-size: 17px; }
.value-grid p { margin: 0; color: #dec5cc; font-size: 14px; line-height: 1.5; }
.home-guide-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 48px); border: 1px solid rgb(225 187 195 / 55%); border-radius: 26px; background: linear-gradient(100deg, #fff9fa, #f4dce1); }
.home-guide-callout > div { max-width: 680px; }
.home-guide-callout .button { flex: 0 0 auto; }
.callout-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.home-guide-callout .callout-actions { max-width: none; }
.recent-section { max-width: 820px; margin-left: auto; margin-right: auto; }
.recent-arrow { color: var(--primary); font-size: 25px; font-weight: 900; }
.home-footer { margin-top: 72px; padding: 42px clamp(24px, 5vw, 52px) 22px; border-radius: 28px 28px 0 0; color: #dec5cc; background: #3e2930; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 5vw, 60px); }
.footer-brand strong { color: #fff8fa; font-size: 22px; }
.footer-brand p, .footer-column p { margin: 10px 0 0; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h3 { margin: 0 0 5px; color: #fff8fa; font-size: 15px; }
.footer-column button { padding: 0; border: 0; color: #dec5cc; background: transparent; text-align: left; }
.footer-column button:hover, .footer-widget-link:hover { color: white; }
.footer-widget-link { color: #ffd6df; font-weight: 900; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 12px; }

@media (min-width: 760px) {
  .desktop-nav { display: flex; }
  .bottom-nav { display: none; }
  .app-shell { padding-bottom: 0; }
  .main-content { padding-top: 34px; padding-bottom: 60px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card.wide { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy > p { max-width: 680px; }
  .scan-demo { width: min(100%, 480px); }
  .benefit-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-search { display: none; }
}

@media (max-width: 1200px) {
  .desktop-widget-label { display: none; }
  .mobile-widget-label { display: inline; }
}

@media (max-width: 1120px) {
  .site-search { display: none; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .topbar-brand .mini-mark { width: 42px; height: 42px; border-radius: 50%; }
  .main-content { padding-left: 16px; padding-right: 16px; }
  .results-grid { grid-template-columns: 1fr; }
  .capture-controls { grid-template-columns: 1fr; }
  .capture-controls .wide { grid-column: auto; }
}

@media (max-width: 620px) {
  .home-hero { min-height: 0; padding: 26px 20px; border-radius: 23px; }
  .home-hero h1 { font-size: clamp(38px, 13vw, 50px); }
  .home-hero-copy > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .scan-demo { min-height: 300px; }
  .benefit-grid, .workflow-grid, .value-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .split-heading, .home-guide-callout { align-items: stretch; flex-direction: column; }
  .home-guide-callout .button { width: 100%; }
  .callout-actions { display: grid; justify-content: stretch; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 700px) {
  .signin-button, .account-button { padding-left: 11px; padding-right: 11px; }
}

@media (max-width: 520px) {
  .brand-copy { display: none; }
  .topbar-brand .mini-mark { width: 42px; height: 42px; border-radius: 50%; }
  .topbar { padding-left: 12px; padding-right: 12px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { display: grid; grid-template-columns: 112px 1fr; align-items: center; padding: 0; }
  .tool-art { height: 118px; margin: 0; }
  .tool-copy { padding: 16px 38px 16px 16px; }
  .tool-arrow { bottom: 47px; }
  .toolbar-actions { gap: 5px; }
  .language-toggle button { padding-left: 5px; padding-right: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
