:root {
  --bg: #f2f6f3;
  --ink: #17211d;
  --muted: #687874;
  --green: #1f6f5b;
  --line: #dce7e1;
  --white: #ffffff;
  --gold: #f5b83d;
  --blue: #dbeff4;
  --rose: #f4e5df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(242, 246, 243, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 225, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  min-width: 126px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-dropdown::after {
  content: "⌄";
  margin-left: 8px;
  color: var(--green);
  font-weight: 900;
  pointer-events: none;
}

.language-select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.nav-cta,
.primary-btn {
  color: var(--white);
  background: var(--green);
}

.secondary-btn {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 58px 7vw 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 18px;
  margin-top: 40px;
}

.hero-stats div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-preview {
  position: relative;
  width: min(100%, 390px);
  min-height: 660px;
  justify-self: center;
  padding: 24px;
  color: var(--white);
  background: #0b1512;
  border: 10px solid #101917;
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(16, 25, 23, 0.28);
}

.phone-top {
  width: 120px;
  height: 28px;
  margin: 0 auto 28px;
  background: #050807;
  border-radius: 0 0 18px 18px;
}

.scan-card,
.report-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.scan-card {
  display: grid;
  grid-template-columns: 78px 1fr 58px;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.scan-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: var(--white);
  border-radius: 16px;
}

.scan-card span {
  color: #9fd0c2;
  font-size: 13px;
  font-weight: 900;
}

.scan-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.scan-card p,
.report-block p {
  margin: 6px 0 0;
  color: #b7c4c0;
  font-size: 13px;
  line-height: 1.45;
}

.scan-card b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 999px;
  font-size: 20px;
}

.mode-row {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.mode-row span {
  flex: 1;
  padding: 9px 0;
  text-align: center;
  color: #c8d5d0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mode-row .active {
  color: #0b1512;
  background: #d7e6df;
}

.report-block {
  padding: 18px;
  margin-bottom: 14px;
}

.report-block h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.section {
  padding: 86px 7vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid,
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.data-grid div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-grid p,
.data-grid p,
.split p,
.final-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 14px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
}

.skin-panel {
  position: relative;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.skin-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.skin-score {
  position: absolute;
  top: 36px;
  right: 36px;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--white);
  background: rgba(11, 21, 18, 0.72);
  border: 4px solid var(--gold);
  border-radius: 999px;
}

.skin-score strong {
  font-size: 26px;
  line-height: 1;
}

.skin-score span {
  font-size: 11px;
}

.skin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skin-tags span {
  padding: 8px 12px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.data-band {
  background: #e8f0ec;
}

.data-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 7vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.compact-btn {
  min-height: 38px;
  padding: 0 16px;
}

.webapp-body {
  min-height: 100vh;
  background: #edf4f0;
}

.webapp-header {
  position: sticky;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 24px;
}

.app-top-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.app-top-nav button {
  min-width: 82px;
  height: 40px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.app-top-nav button.active {
  color: var(--white);
  background: var(--green);
}

.webapp-main {
  max-width: 1240px;
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 38px 24px 64px;
}

.app-page {
  display: none;
}

.app-page.active {
  display: block;
}

.app-page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.app-page-heading.compact {
  max-width: 680px;
  margin-bottom: 22px;
}

.app-page-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 5vw, 68px);
}

.app-page-heading.compact h1 {
  font-size: clamp(36px, 4vw, 52px);
}

.app-page-heading p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.quick-card {
  display: grid;
  min-height: 146px;
  padding: 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  cursor: pointer;
}

.quick-card.mint {
  background: #eaf7f1;
}

.quick-card.blue {
  background: #e8f3f5;
}

.quick-card.gold {
  background: #f7f0d9;
}

.quick-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
}

.quick-card strong {
  font-size: 22px;
}

.quick-card em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.app-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.app-section-head h2 {
  margin-bottom: 6px;
  font-size: 34px;
}

.app-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.app-section-head button {
  color: var(--green);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.home-records {
  display: grid;
  gap: 16px;
}

.home-record {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  cursor: pointer;
}

.home-record img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #eef6f2;
  border-radius: 18px;
}

.home-record span {
  color: var(--green);
  font-weight: 900;
}

.home-record strong {
  display: block;
  margin: 4px 0;
  font-size: 23px;
}

.home-record p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.home-record b {
  color: var(--muted);
  font-size: 34px;
}

.search-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-module input {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 800;
}

.search-module button {
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.app-article-grid {
  margin-top: 0;
}

.profile-account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.profile-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.profile-info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signout-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s;
}

.signout-btn:hover {
  background: var(--bg);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.profile-grid article {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.profile-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.profile-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.web-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 58px 5vw 74px;
}

.app-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(16, 25, 23, 0.16);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #10201b;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 900;
}

.app-logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.app-sidebar a {
  padding: 12px 14px;
  color: #bdd0c9;
  border-radius: 14px;
  font-weight: 900;
}

.app-sidebar a.active,
.app-sidebar a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.app-main {
  padding: 22px;
  background: #f6faf8;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-toolbar span {
  font-size: 22px;
  font-weight: 900;
}

.app-toolbar button,
.scan-zone button {
  height: 38px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.app-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.8fr);
  gap: 16px;
}

.webapp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px;
  background: #eaf2ee;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.webapp-tabs button {
  flex: 1;
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.webapp-tabs button.active {
  color: var(--white);
  background: var(--green);
}

.webapp-workbench {
  align-items: stretch;
}

.webapp-panel {
  display: none;
}

.webapp-panel.active {
  display: block;
}

.scan-zone {
  min-height: 390px;
  padding: 20px;
  color: var(--white);
  background: #0b1512;
  border-radius: 24px;
}

.scan-zone span {
  display: block;
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 900;
}

.scan-frame {
  display: grid;
  place-items: center;
  height: 210px;
  margin-bottom: 28px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.18) 49%, rgba(255, 255, 255, 0.18) 51%, transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.scan-frame small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skin-scan-zone {
  background: #121817;
}

.face-frame {
  height: 260px;
  border-radius: 120px 120px 80px 80px;
}

.scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-report,
.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mini-report {
  align-content: start;
}

.mini-report img,
.product-row img,
.placeholder-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #eef6f2;
  border-radius: 16px;
}

.mini-report span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.mini-report strong,
.product-row strong {
  display: block;
  margin: 3px 0;
}

.ghost-scan-btn {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

.scan-note {
  margin: 14px 0 0;
  color: #b7c4c0;
  font-size: 13px;
  line-height: 1.55;
}

.analysis-board {
  min-height: 390px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.analysis-empty {
  display: grid;
  min-height: 100%;
  place-content: center;
  color: var(--muted);
  text-align: center;
}

.analysis-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

.analysis-empty p {
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

.analysis-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f3f8f5;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.progress-step::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 999px;
}

.result-card {
  display: grid;
  gap: 14px;
}

.result-hero {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 62px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.result-hero img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--white);
  border-radius: 18px;
}

.result-hero span,
.record-item span,
.ingredient-list small {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.result-hero strong {
  display: block;
  margin: 3px 0;
  font-size: 20px;
}

.result-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.result-score {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 5px solid var(--gold);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
}

.result-section {
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.result-section h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.ingredient-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.ingredient-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: #f1f7f4;
  border-radius: 14px;
}

.ingredient-item strong {
  font-size: 15px;
}

.ingredient-item p,
.result-section li {
  color: var(--muted);
  line-height: 1.5;
}

.result-section ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 12px;
  background: #f1f7f4;
  border-radius: 14px;
}

.metric strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.metric-bar {
  height: 8px;
  overflow: hidden;
  background: #dce7e1;
  border-radius: 999px;
}

.metric-bar i {
  display: block;
  height: 100%;
  background: var(--green);
}

.records-panel {
  min-height: 390px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.records-panel h3 {
  font-size: 24px;
}

.records-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.records-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.record-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  text-align: left;
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}

.record-item img,
.record-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #eaf5ef;
  border-radius: 12px;
}

.record-item strong {
  display: block;
  margin: 2px 0;
}

.record-score {
  color: var(--green);
  font-weight: 900;
}

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

.mini-report p,
.product-row span {
  color: var(--muted);
  font-size: 13px;
}

.mini-report b,
.product-row b {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  border: 4px solid var(--gold);
  border-radius: 999px;
}

.web-feature .section-heading {
  max-width: 860px;
}

.web-card-grid,
.article-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.web-card-grid article,
.article-demo-grid article,
.report-columns article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.web-card-grid strong,
.article-demo-grid strong,
.report-columns strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.web-card-grid p,
.article-demo-grid p,
.report-columns p {
  color: var(--muted);
  line-height: 1.6;
}

.web-section-alt {
  background: #e8f0ec;
}

.web-list-demo {
  display: grid;
  gap: 12px;
}

.search-bar {
  padding: 16px 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.placeholder-img {
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.report-layout-demo {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.score-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: 26px;
  color: var(--white);
  background: #10201b;
  border-radius: 26px;
}

.score-panel span {
  color: #bdd0c9;
  font-weight: 900;
}

.score-panel strong {
  margin: 10px 0;
  font-size: 74px;
  line-height: 1;
}

.score-panel p {
  color: #bdd0c9;
}

.report-columns {
  display: grid;
  gap: 12px;
}

.article-demo-grid span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero,
  .web-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .webapp-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .webapp-header .header-actions {
    justify-content: space-between;
  }

  .app-top-nav {
    justify-self: stretch;
    overflow-x: auto;
  }

  .quick-actions,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .feature-grid,
  .data-grid,
  .web-card-grid,
  .article-demo-grid,
  .report-layout-demo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .app-logo {
    min-width: 150px;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
    align-items: flex-start;
  }

  .nav-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    max-width: 230px;
  }

  h1 {
    font-size: 42px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-grid,
  .data-grid,
  .web-card-grid,
  .article-demo-grid,
  .report-layout-demo,
  .quick-actions,
  .profile-grid,
  .app-dashboard {
    grid-template-columns: 1fr;
  }

  .webapp-main {
    padding: 28px 16px 48px;
  }

  .webapp-header {
    padding: 14px 16px;
  }

  .app-top-nav button {
    min-width: 72px;
  }

  .home-record,
  .result-hero {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .home-record img,
  .result-hero img {
    width: 68px;
    height: 68px;
  }

  .home-record b,
  .result-score {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .phone-preview {
    min-height: 590px;
  }

  .scan-card {
    grid-template-columns: 64px 1fr;
  }

  .scan-card b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer {
    flex-direction: column;
  }
}
