@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #071b27;
  --muted: #667782;
  --line: #dce6e8;
  --surface: #f6f9f8;
  --teal: #0d8c83;
  --teal-dark: #07635f;
  --cyan: #d3f6f0;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(7, 27, 39, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.5; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid rgba(13, 140, 131, .38); outline-offset: 3px; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(220, 230, 232, .7); position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 40px)); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.04em; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--cyan); background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 34px; color: #4e6069; font-size: 14px; }
.nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 28px 9px 12px; color: var(--ink); background: white; font-size: 13px; }
.mobile-menu { display: none; background: transparent; border: 0; color: var(--ink); padding: 6px; }

.btn { border: 0; border-radius: 999px; padding: 13px 21px; font-weight: 700; display: inline-flex; justify-content: center; align-items: center; gap: 8px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: white; box-shadow: 0 10px 24px rgba(13, 140, 131, .2); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-dark { background: var(--ink); color: white; }
.btn-ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-small { padding: 10px 16px; font-size: 13px; }

.hero { padding: 88px 0 76px; background: radial-gradient(circle at 72% 35%, rgba(207, 246, 240, .62), transparent 30%), linear-gradient(180deg, #fff 0%, #fbfdfd 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(13, 140, 131, .1); }
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -.055em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(52px, 7vw, 86px); margin: 22px 0 23px; max-width: 590px; }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 20px; }
.hero-copy { color: var(--muted); font-size: 18px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 23px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #70818a; font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; color: var(--teal-dark); border-radius: 50%; background: var(--cyan); font-size: 11px; font-weight: 800; }
.hero-visual { min-height: 540px; border-radius: 32px; overflow: hidden; position: relative; background: #eef4f3; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; min-height: 540px; display: block; object-fit: cover; object-position: center; filter: saturate(.9); }
.visual-label { position: absolute; left: 22px; top: 22px; padding: 9px 12px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.86); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; }
.visual-card { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 18px; background: rgba(7,27,39,.86); color: white; backdrop-filter: blur(12px); }
.visual-card small { display: block; color: #a4b6bc; font-size: 11px; margin-bottom: 4px; }
.visual-card strong { font-size: 18px; }
.score-pill { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--ink); background: #cdf3ed; font-weight: 800; font-size: 16px; }

.section { padding: 92px 0; }
.section-muted { background: var(--surface); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head p { max-width: 380px; color: var(--muted); margin: 0; }
.style-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.style-card { appearance: none; text-align: left; border: 1px solid var(--line); background: white; padding: 0; border-radius: 17px; overflow: hidden; color: var(--ink); transition: transform .2s, border .2s, box-shadow .2s; }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-card.selected { border: 2px solid var(--teal); box-shadow: 0 0 0 4px rgba(13,140,131,.1); }
.style-thumb { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #e8f4f1, #d6e5e6); position: relative; display: grid; place-items: center; overflow: hidden; }
.style-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: grayscale(.14) contrast(.95); }
.style-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,27,39,.18)); pointer-events: none; }
.style-card span { display: block; padding: 12px 13px 14px; font-size: 13px; font-weight: 700; }
.style-card small { display: block; padding: 0 13px 14px; color: var(--muted); font-size: 11px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step-number { color: var(--teal); font-family: 'Manrope'; font-weight: 800; font-size: 13px; margin-bottom: 22px; }
.step p, .feature-card p { color: var(--muted); margin-bottom: 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 26px; min-height: 210px; background: white; border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.feature-card::before { content: ''; width: 78px; height: 78px; position: absolute; right: -18px; top: -18px; border-radius: 50%; background: var(--cyan); opacity: .65; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal-dark); background: var(--cyan); border-radius: 13px; margin-bottom: 22px; }
.feature-card a { display: inline-flex; margin-top: 22px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }

.trend-strip { display: grid; grid-template-columns: 1.3fr .8fr .8fr .8fr; gap: 18px; align-items: center; padding: 28px; border-radius: 24px; color: white; background: var(--ink); }
.trend-strip h3 { color: white; }
.trend-strip p, .trend-stat span { color: #9dafb4; font-size: 13px; margin: 8px 0 0; }
.trend-stat { border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.trend-stat strong { display: block; font-family: 'Manrope'; font-size: 20px; }
.trend-stat em { color: #7fe2d4; font-style: normal; font-size: 12px; }

.page { padding: 70px 0 100px; min-height: calc(100vh - 76px); background: linear-gradient(180deg, #fbfdfd, white 42%); }
.page-heading { max-width: 720px; margin-bottom: 34px; }
.page-heading p { color: var(--muted); font-size: 17px; max-width: 560px; }
.market-profile { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; padding: 18px 20px; border: 1px solid #c9e9e4; border-radius: 18px; background: #effaf8; }
.market-profile strong { display: block; margin-top: 7px; font-family: 'Manrope'; font-size: 18px; }
.market-profile p { max-width: 560px; color: #557079; font-size: 13px; margin: 5px 0 0; }
.profile-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 330px; }
.profile-meta span, .profile-meta b { padding: 8px 10px; border-radius: 999px; background: white; color: var(--teal-dark); font-size: 11px; white-space: nowrap; }
.profile-meta b { color: var(--ink); border: 1px solid #b9ded8; }
.try-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: start; }
.panel { background: white; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: 0 12px 42px rgba(7,27,39,.05); }
.dropzone { min-height: 350px; border: 1.5px dashed #a8c9c6; border-radius: 20px; background: #f4fbfa; display: grid; place-items: center; text-align: center; padding: 34px; }
.dropzone.dragging { background: #e0f7f3; border-color: var(--teal); }
.upload-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; background: white; color: var(--teal); margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(7,27,39,.06); }
.dropzone h3 { margin-bottom: 8px; }
.dropzone p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.privacy-note { margin-top: 18px; color: var(--muted); font-size: 12px; display: flex; gap: 8px; align-items: flex-start; }
.privacy-note strong { color: var(--ink); }
.flow-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.flow-step { flex: 1; padding: 10px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 12px; text-align: center; }
.flow-step.active { background: var(--cyan); color: var(--teal-dark); font-weight: 800; }
.style-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 520px; overflow: auto; padding-right: 4px; }
.picker-card { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 15px; border: 1px solid var(--line); background: white; text-align: left; }
.picker-card.selected { border-color: var(--teal); background: #f1fbf9; }
.picker-card img { width: 48px; height: 48px; object-fit: cover; object-position: 50% 18%; border-radius: 11px; }
.picker-card strong { font-size: 13px; display: block; }
.picker-card small { color: var(--muted); font-size: 11px; }
.generate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; margin-top: 20px; border-top: 1px solid var(--line); }
.generate-row small { color: var(--muted); font-size: 12px; }
.preview-wrap { display: none; }
.preview-wrap.visible { display: block; }
.preview-wrap img { width: 100%; max-height: 420px; object-fit: cover; object-position: center 20%; border-radius: 18px; }

.progress-box { display: none; margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; padding: 17px; background: #fbfdfd; }
.progress-box.visible { display: block; }
.progress-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }
.progress-top span { color: var(--teal); }
.progress-bar { height: 7px; border-radius: 999px; background: #e2ecec; overflow: hidden; margin: 13px 0 10px; }
.progress-bar i { display: block; height: 100%; width: 18%; border-radius: inherit; background: var(--teal); transition: width .5s ease; }
.progress-caption { color: var(--muted); font-size: 12px; }

.result-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 22px; align-items: start; }
.result-portrait { min-height: 590px; border-radius: 26px; overflow: hidden; position: relative; background: #e8f1f0; }
.result-portrait img { width: 100%; height: 100%; min-height: 590px; display: block; object-fit: cover; object-position: center 18%; }
.result-photo-stage { min-height: 590px; height: 100%; position: relative; overflow: hidden; background: #e8f1f0; }
.result-photo-stage > img { width: 100%; height: 100%; min-height: 590px; display: block; object-fit: cover; object-position: center 18%; }
.beard-overlay { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.result-badge { position: absolute; left: 20px; top: 20px; padding: 9px 12px; background: rgba(7,27,39,.82); color: white; border-radius: 999px; font-size: 12px; font-weight: 800; }
.result-side { display: grid; gap: 16px; }
.result-side .panel { box-shadow: none; }
.match-score { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 24px; }
.score-big { font-family: 'Manrope'; font-weight: 800; font-size: 64px; letter-spacing: -.08em; }
.score-big span { font-size: 18px; color: var(--muted); letter-spacing: 0; }
.score-ring { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) 0 92%, #dfebea 92%); position: relative; }
.score-ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: white; }
.score-ring strong { position: relative; z-index: 1; font-size: 15px; }
.score-breakdown { display: grid; gap: 13px; }
.score-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 12px; }
.score-line .bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #e4eceb; overflow: hidden; }
.score-line .bar i { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.advisor { background: #eaf8f5 !important; border-color: #c8ebe5 !important; }
.advisor p { color: #39535b; font-size: 14px; }
.advisor ul { padding-left: 17px; margin: 15px 0 0; color: #39535b; font-size: 13px; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; }
.recommendations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recommend-card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: white; cursor: pointer; }
.recommend-card.selected { border: 2px solid var(--teal); box-shadow: 0 0 0 3px rgba(13,157,151,.1); }
.recommend-card img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; object-position: center; background: #e8f1f0; display: block; }
.recommend-card div { padding: 12px; }
.recommend-card strong { font-size: 13px; display: block; }
.recommend-card span { font-size: 12px; color: var(--teal-dark); }

.growth-heading { max-width: 820px; }
.growth-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.growth-preview { padding: 18px; }
.growth-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 4px 16px; }
.growth-preview-top h2 { margin-top: 6px; font-size: 25px; }
.growth-portrait { aspect-ratio: 1 / 1; position: relative; overflow: hidden; border-radius: 22px; background: #e6eff0; }
.growth-portrait img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; transition: opacity .28s ease, transform .28s ease; }
.growth-portrait::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -60px 80px rgba(7,27,39,.12); pointer-events: none; }
.growth-stage-badge { position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 10px 13px; border-radius: 999px; color: white; background: rgba(7,27,39,.84); font-size: 12px; font-weight: 800; }
.growth-projection-mark { position: absolute; right: 20px; top: 18px; color: white; font-size: 22px; text-shadow: 0 2px 12px rgba(7,27,39,.38); }
.growth-note { margin: 15px 4px 2px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.growth-controls { display: grid; gap: 24px; }
.growth-control-block { display: grid; gap: 10px; }
.growth-control-block > label, .growth-section-label strong { font-size: 14px; font-weight: 800; }
.growth-control-block .control { width: 100%; }
.growth-section-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pro-chip { padding: 6px 9px; border-radius: 999px; background: var(--cyan); color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.growth-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.growth-step { position: relative; min-height: 70px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); text-align: left; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.growth-step:hover { transform: translateY(-2px); border-color: #8bcac4; }
.growth-step.selected { border: 2px solid var(--teal); background: #effaf8; }
.growth-step.locked { color: #87999e; background: #f8fbfb; }
.growth-step strong, .growth-step small { display: block; }
.growth-step strong { font-size: 13px; }
.growth-step small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.lock-mark { position: absolute; top: 8px; right: 9px; color: var(--teal-dark); font-size: 15px; }
.growth-free-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.growth-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding-top: 20px; border-top: 1px solid var(--line); }
.growth-metric { padding: 13px; border-radius: 15px; background: var(--surface); }
.growth-metric span, .growth-metric strong { display: block; }
.growth-metric span { color: var(--muted); font-size: 11px; }
.growth-metric strong { margin-top: 8px; font-size: 14px; line-height: 1.25; }
.growth-paywall { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid #b9ded8; border-radius: 18px; background: #effaf8; }
.growth-paywall p { max-width: 290px; margin: 6px 0 0; color: #557079; font-size: 12px; line-height: 1.5; }
.growth-pro-status { padding: 12px 14px; border-radius: 14px; color: var(--teal-dark); background: var(--cyan); font-size: 12px; font-weight: 700; }

.auth-page { display: grid; place-items: center; }
.auth-card { width: min(100%, 470px); margin: 30px auto; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 18px 50px rgba(7,27,39,.07); }
.auth-card h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 48px); }
.auth-card > p { margin-top: 13px; color: var(--muted); line-height: 1.65; }
.social-auth-list { display: grid; gap: 10px; margin-top: 26px; }
.social-auth-btn { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, border .2s; }
.social-auth-btn:hover { transform: translateY(-2px); border-color: #8bcac4; box-shadow: var(--shadow); }
.social-auth-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.social-auth-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; font-size: 16px; font-weight: 900; }
.google-auth .social-auth-icon { color: #4285f4; background: #eef4ff; }
.github-auth .social-auth-icon { color: white; background: #071b27; }
.apple-auth .social-auth-icon { color: white; background: #071b27; font-size: 11px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 27px 0 16px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-footnote { font-size: 12px !important; line-height: 1.55 !important; }

.trend-page-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.map-card { min-height: 350px; position: relative; overflow: hidden; background: #e8f6f3; border-radius: 22px; border: 1px solid #c5e7e2; }
.map-lines { position: absolute; inset: 0; opacity: .72; background-image: radial-gradient(circle at 22% 34%, #79c8be 0 4px, transparent 5px), radial-gradient(circle at 49% 41%, #0d8c83 0 5px, transparent 6px), radial-gradient(circle at 72% 34%, #6caea9 0 4px, transparent 5px), radial-gradient(circle at 65% 66%, #0d8c83 0 4px, transparent 5px), linear-gradient(28deg, transparent 48%, rgba(13,140,131,.22) 49% 50%, transparent 51%), linear-gradient(-20deg, transparent 43%, rgba(13,140,131,.18) 44% 45%, transparent 46%); background-size: auto; }
.map-card::before { content: ''; position: absolute; width: 78%; height: 52%; left: 11%; top: 23%; border: 2px solid rgba(13,140,131,.24); border-radius: 44% 56% 50% 45%; transform: rotate(-9deg); box-shadow: 38px 20px 0 -10px rgba(13,140,131,.1), -50px 30px 0 -14px rgba(13,140,131,.12); }
.map-label { position: absolute; left: 22px; top: 20px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-tooltip { position: absolute; right: 20px; bottom: 20px; padding: 14px 16px; border-radius: 15px; background: white; box-shadow: 0 12px 30px rgba(7,27,39,.1); }
.map-tooltip strong { display: block; font-size: 13px; }
.map-tooltip span { color: var(--muted); font-size: 12px; }
.controls { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.control { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 14px; color: var(--ink); font-size: 13px; }
.tab-row { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { border: 0; background: transparent; padding: 11px 4px; margin-right: 18px; color: var(--muted); border-bottom: 2px solid transparent; }
.tab.active { color: var(--teal-dark); border-color: var(--teal); font-weight: 800; }
.ranking { display: grid; gap: 10px; }
.ranking-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranking-row > span:first-child { color: var(--muted); font-size: 12px; }
.ranking-row strong { display: block; font-size: 14px; }
.ranking-row small { display: block; color: var(--muted); font-size: 11px; }
.ranking-score { text-align: right; font-weight: 800; font-size: 14px; }
.ranking-score em { display: block; color: var(--teal); font-style: normal; font-size: 11px; }
.chart { display: flex; align-items: end; gap: 10px; height: 180px; padding-top: 18px; }
.chart-bar { flex: 1; min-width: 12px; background: linear-gradient(180deg, #53c8ba, #0d8c83); border-radius: 8px 8px 3px 3px; position: relative; }
.chart-bar span { position: absolute; top: calc(100% + 8px); width: 100%; text-align: center; font-size: 10px; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; margin-top: 36px; }
.price-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: white; }
.price-card.pro { color: white; background: var(--ink); border-color: var(--ink); }
.price-card p { color: var(--muted); }
.price-card.pro p { color: #a8bbc0; }
.price { font-family: 'Manrope'; font-weight: 800; font-size: 46px; margin: 20px 0; }
.price small { color: var(--muted); font-family: 'DM Sans'; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.price-card ul { padding: 0; list-style: none; display: grid; gap: 12px; margin: 25px 0; color: #45616a; font-size: 14px; }
.price-card.pro ul { color: #d3e2e4; }
.price-card li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 8px; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; transform: translate(-50%, 120px); background: var(--ink); color: white; border-radius: 999px; padding: 13px 18px; box-shadow: var(--shadow); transition: transform .25s ease; font-size: 13px; }
.toast.show { transform: translate(-50%, 0); }
.mobile-only { display: none; }

@media (max-width: 920px) {
  .nav { gap: 16px; margin-right: 14px; }
  .hero-grid, .try-layout, .result-grid, .trend-page-grid, .growth-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 62px; }
  .hero-visual, .hero-visual img { min-height: 450px; }
  .style-grid { grid-template-columns: repeat(3, 1fr); }
  .trend-strip { grid-template-columns: 1fr 1fr; }
  .trend-strip > :first-child { grid-column: 1 / -1; }
  .trend-stat:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 620px) {
  .shell, .topbar .shell { width: min(100% - 28px, 1180px); }
  .topbar { height: 68px; }
  .nav, .header-actions .btn-ghost { display: none; }
  .header-actions .btn-dark { display: none; }
  .mobile-menu { display: block; }
  .header-actions { margin-left: auto; margin-right: 10px; }
  h1 { font-size: 54px; }
  .hero { padding: 54px 0 58px; }
  .hero-visual, .hero-visual img { min-height: 390px; border-radius: 24px; }
  .section, .page { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .style-grid { display: flex; overflow-x: auto; padding-bottom: 8px; margin-right: -14px; }
  .style-card { min-width: 150px; }
  .steps, .pillar-grid, .pricing-grid { grid-template-columns: 1fr; }
  .trend-strip { grid-template-columns: 1fr 1fr; padding: 22px; }
  .trend-stat { padding-left: 15px; }
  .panel { padding: 18px; border-radius: 20px; }
  .market-profile { display: block; }
  .profile-meta { justify-content: flex-start; margin-top: 14px; max-width: none; }
  .dropzone { min-height: 290px; padding: 22px; }
  .style-picker { grid-template-columns: 1fr; max-height: none; }
  .generate-row { position: sticky; bottom: 12px; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); margin-left: -18px; margin-right: -18px; padding: 14px 18px 2px; }
  .growth-timeline { grid-template-columns: repeat(2, 1fr); }
  .growth-metrics { grid-template-columns: 1fr; }
  .growth-paywall { align-items: stretch; flex-direction: column; }
  .result-portrait, .result-portrait img, .result-photo-stage, .result-photo-stage > img { min-height: 460px; }
  .recommendations { grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow-x: auto; }
  .recommend-card { min-width: 130px; }
  .score-big { font-size: 54px; }
  .mobile-only { display: inline-flex; }
}
