@font-face {
  font-family: PPNeue;
  src: url("fonts/PPNeueMontreal-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: Simplon;
  src: url("fonts/SimplonMono-400.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #151b22;
  --ink-soft: #5f626a;
  --violet: #704a87;
  --violet-deep: #2d174c;
  --lavender: #e5dee7;
  --lavender-soft: #f0edef;
  --paper: #f8f6f2;
  --lake: #9dbfc4;
  --mauve: #c2b0c8;
  --line: rgba(45, 23, 76, 0.14);
  --metal: #cbc9cd;
  --shadow: 0 18px 48px rgba(53, 20, 104, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: PPNeue, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  z-index: 20;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
.account-view h1[tabindex="-1"]:focus { outline: none; }

.account-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .6s var(--ease), visibility .6s;
}
.account-loader span {
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet) 2px, transparent 3px) 0 0 / 10px 10px;
  animation: loader-turn 1.2s linear infinite;
}
body.is-ready .account-loader { opacity: 0; visibility: hidden; }
@keyframes loader-turn { to { transform: rotate(360deg); } }

.account-nav {
  position: fixed;
  z-index: 50;
  top: 24px;
  left: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}
.account-nav > * { pointer-events: auto; }
.account-brand {
  justify-self: start;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 31px 31px 31px 0;
  background: rgba(251, 250, 248, .75);
  backdrop-filter: blur(18px);
  font-weight: 700;
  letter-spacing: -.04em;
}
.account-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.account-primary {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 40px;
  background: rgba(218, 214, 222, .72);
  backdrop-filter: blur(20px);
}
.account-primary a {
  min-width: 102px;
  padding: 14px 20px;
  border-radius: 30px;
  text-align: center;
  transition: background .25s, color .25s, transform .25s;
}
.account-primary a:hover, .account-primary a:focus-visible, .account-primary a[aria-current="page"] {
  background: rgba(255, 255, 255, .7);
  color: var(--violet-deep);
  transform: translateY(-1px);
}
.account-auth-actions, .account-user { justify-self: end; display: flex; align-items: center; gap: 10px; }
.quiet-action {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  padding: 0 22px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
}
.quiet-action:hover, .quiet-action:focus-visible { background: rgba(238, 234, 250, .9); }

.metal-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(45, 29, 71, .2);
  border-radius: 30px;
  background: linear-gradient(145deg, #fff, #bcbac0 46%, #fff 72%, #aaa7ad);
  box-shadow: 0 9px 18px rgba(39, 28, 45, .16), inset 0 1px 1px #fff;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, color .25s;
}
.metal-action::before {
  content: "";
  position: absolute;
  inset: -80% -20%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 49%, transparent 60%);
  transform: translateX(-65%) rotate(7deg);
  transition: transform .65s var(--ease);
}
.metal-action > span {
  display: inline-grid;
  min-height: 48px;
  min-width: 154px;
  place-items: center;
  padding: 0 24px;
  border-radius: 27px;
  background: rgba(251, 250, 248, .92);
}
.metal-action:hover, .metal-action:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 24px rgba(53, 20, 104, .2), inset 0 1px 1px #fff; color: var(--violet-deep); }
.metal-action:hover::before, .metal-action:focus-visible::before { transform: translateX(65%) rotate(7deg); }
.metal-action:active { transform: translateY(0) scale(.98); }
.metal-action[disabled] { opacity: .52; cursor: not-allowed; transform: none; box-shadow: none; }
.metal-action.full { width: 100%; }
.metal-action.full > span { width: 100%; }

.account-user { position: relative; }
.account-user-trigger {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 5px 18px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(251, 250, 248, .84);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.account-avatar, .large-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--violet-deep);
  font-weight: 700;
}
.account-avatar { width: 44px; height: 44px; }
.large-avatar { width: 64px; height: 64px; font-size: 24px; }
.profile-menu {
  position: absolute;
  top: 68px;
  right: 0;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
  background: rgba(251, 250, 248, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: menu-in .32s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.profile-menu-head { padding: 12px 12px 16px; border-bottom: 1px solid var(--line); }
.profile-menu-head strong, .profile-menu-head span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu-head span { margin-top: 3px; color: var(--ink-soft); font-size: 13px; }
.profile-menu a, .profile-menu button {
  display: flex;
  width: 100%;
  padding: 13px 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.profile-menu a:hover, .profile-menu button:hover, .profile-menu a:focus-visible, .profile-menu button:focus-visible { background: var(--lavender); }

.account-main { min-height: 100vh; padding: 118px 28px 36px; }
.account-view { max-width: 1380px; margin: 0 auto; animation: page-in .72s var(--ease); }
@keyframes page-in { from { opacity: 0; transform: translateY(22px); filter: blur(5px); } }
.preview-notice {
  position: fixed;
  z-index: 45;
  right: 30px;
  bottom: 24px;
  max-width: 330px;
  padding: 12px 16px;
  border: 1px solid rgba(100, 56, 180, .25);
  border-radius: 18px 18px 18px 5px;
  color: var(--violet-deep);
  background: rgba(247, 245, 252, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  font: 12px/1.4 Simplon, monospace;
}
.section-kicker {
  margin-bottom: 18px;
  color: var(--violet);
  font: 13px/1.2 Simplon, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-view {
  max-width: 1320px;
  min-height: calc(100vh - 154px);
  display: grid;
  grid-template-columns: minmax(380px, .86fr) minmax(540px, 1.14fr);
  border: 1px solid rgba(45,23,76,.1);
  border-radius: 38px 38px 38px 12px;
  overflow: hidden;
  background: #f7f5f2;
  box-shadow: 0 24px 80px rgba(42,31,47,.1), 0 1px 0 rgba(255,255,255,.9) inset;
}
.auth-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 4vw, 56px); }
.back-link { align-self: flex-start; margin-bottom: 28px; color: var(--ink-soft); }
.back-link:hover { color: var(--violet); }
.auth-copy h1, .dashboard-hero h1, .onboarding-head h1 {
  max-width: 720px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 380;
  line-height: .95;
  letter-spacing: -.055em;
}
.auth-copy h1 { max-width: 540px; font-size: clamp(46px, 4.2vw, 62px); line-height: .98; }
.auth-copy > p:not(.section-kicker):not(.auth-switch) { max-width: 450px; margin-top: 18px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.45; }
.auth-copy h1 { color: #181b20; }
.auth-copy > p:not(.section-kicker):not(.auth-switch) { color: #6d6a71; }
.auth-copy .section-kicker { color: #765d80; }
.auth-copy label { color: #2b2a2e; }
.auth-copy .password-mode-toggle,
.auth-copy .auth-recovery-actions button,
.auth-copy .auth-switch a,
.auth-copy .preview-action { color: #5d4268; }
.auth-form { max-width: 440px; margin-top: 22px; }
label { display: grid; gap: 8px; margin-bottom: 18px; font-size: 14px; }
input, select, textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  padding: 0 17px;
  background: rgba(255,255,255,.78);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 128px; resize: vertical; padding-top: 15px; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(100,56,180,.12); }
.field-error, .form-message { min-height: 20px; margin: 4px 0 12px; color: #8c2756; font-size: 13px; }
.preview-action {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--violet);
  cursor: pointer;
}
.auth-switch { margin-top: 25px; color: var(--ink-soft); }
.auth-switch a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 4px; }
.consent-row { grid-template-columns: 20px 1fr; align-items: start; margin: 16px 0; }
.consent-row input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--violet); }
.google-action { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 28px; background: #fff; cursor: pointer; font-weight: 540; transition: transform .2s, box-shadow .2s; }
.google-action:hover, .google-action:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21,27,34,.1); }
.google-mark { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(21,27,34,.15); border-radius: 50%; color: #4285f4; font: 700 14px Arial, sans-serif; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 17px 0; color: var(--ink-soft); font: 10px Simplon, monospace; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-code-step { padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.64); }
.code-sent { margin-bottom: 18px; color: var(--ink-soft); line-height: 1.4; }
.code-sent strong { color: var(--ink); overflow-wrap: anywhere; }
.otp-input { min-height: 66px; font: 28px Simplon, monospace; letter-spacing: .28em; text-align: center; }
.code-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; }
.code-actions button { padding: 8px 0; border: 0; color: var(--violet-deep); background: transparent; cursor: pointer; }
.password-mode-toggle { width: 100%; margin-top: 10px; padding: 10px; border: 0; color: var(--violet-deep); background: transparent; cursor: pointer; }
.password-login-panel { margin-top: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.62); }
.password-login-panel p { margin-top: 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.auth-recovery-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.auth-recovery-actions button { min-height: 42px; padding: 8px 0; border: 0; color: var(--violet-deep); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.email-recovery-help { margin-top: 8px; padding: 14px 16px; border-radius: 18px; color: var(--ink-soft); background: var(--lavender-soft); font-size: 12px; line-height: 1.5; }
.auth-reset-step { padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.68); }
.auth-reset-step label + input { margin-bottom: 14px; }
.auth-visual { position: relative; min-height: max(470px, calc(100vh - 154px)); margin: 0; overflow: hidden; background: #263943; }
.auth-visual > picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.auth-visual > picture img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.auth-visual figcaption { position: absolute; z-index: 4; left: 38px; bottom: 34px; max-width: 480px; color: #fff; font-size: 21px; line-height: 1.25; text-shadow: 0 2px 18px rgba(9,18,22,.72); text-wrap: balance; }

.product-proof {
  position: absolute;
  z-index: 5;
  top: clamp(150px, 19vh, 190px);
  right: clamp(24px, 3vw, 42px);
  width: min(276px, 39%);
  padding: 6px 6px 10px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 25px 25px 12px 12px;
  color: #292032;
  background: rgba(248,245,250,.9);
  box-shadow: 0 22px 58px rgba(18,19,26,.2), inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  animation: product-proof-in .8s var(--ease) both;
}
@keyframes product-proof-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.product-proof > span, .product-proof > strong { display: block; padding-inline: 8px; }
.product-proof > span { margin-top: 8px; color: #735d80; font: 9px Simplon, monospace; letter-spacing: .06em; text-transform: uppercase; }
.product-proof > strong { margin-top: 4px; color: #251d2d; font-size: 18px; font-weight: 480; line-height: 1.08; }
.product-proof .vedika-live-demo { position: relative; inset: auto; width: 100%; transform: none; }

.vedika-live-demo {
  position: relative;
  width: 100%;
  min-height: 342px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(75,45,96,.14);
  border-radius: 19px;
  color: #252230;
  background: #fbf9fd;
  box-shadow: 0 10px 28px rgba(57,35,75,.09);
}
.vedika-live-demo::before { content: ""; position: absolute; z-index: 2; top: 0; left: 30px; right: 30px; height: 2px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #8f6cad, #c7acd9); }
.vedika-demo-head { min-height: 58px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 10px 11px 9px; color: #2c2234; background: linear-gradient(135deg, #f0e8f6, #fbf8fd); border-bottom: 1px solid rgba(75,45,96,.1); }
.vedika-demo-head > img { width: 34px; height: 34px; padding: 3px; border: 1px solid rgba(91,57,119,.12); border-radius: 50%; background: #fff; box-shadow: 0 4px 10px rgba(71,43,95,.1); }
.vedika-demo-head strong, .vedika-demo-head span { display: block; }
.vedika-demo-head strong { font-size: 13px; font-weight: 600; line-height: 1.1; }
.vedika-demo-head span { margin-top: 4px; color: #776c7e; font-size: 10px; }
.vedika-demo-head span i { width: 6px; height: 6px; display: inline-block; margin-right: 3px; border-radius: 50%; background: #82e6bb; box-shadow: 0 0 0 3px rgba(130,230,187,.15); }
.vedika-demo-head b { padding: 6px 8px; border: 1px solid rgba(91,57,119,.14); border-radius: 999px; color: #624679; background: rgba(255,255,255,.68); font: 9px Simplon, monospace; }
.vedika-demo-body { display: flex; flex-direction: column; gap: 9px; padding: 11px; background: radial-gradient(circle at 86% 12%, rgba(221,207,238,.34), transparent 38%), linear-gradient(180deg, #fcfafc, #f5f1f7); }
.vedika-demo-eyebrow { color: #75578d; font: 8.5px/1.4 Simplon, monospace; letter-spacing: .06em; text-transform: uppercase; }
.vedika-demo-question { align-self: flex-end; max-width: 90%; padding: 9px 10px 7px; border-radius: 15px 15px 5px 15px; color: #fff; background: linear-gradient(145deg, #513269, #6e4a84); font-size: 12px; line-height: 1.45; box-shadow: 0 7px 16px rgba(73,43,94,.13); }
.vedika-demo-question small, .vedika-demo-answer small { display: block; margin-top: 6px; font: 8px Simplon, monospace; opacity: .72; }
.vedika-demo-answer { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.vedika-demo-answer > img { width: 28px; height: 28px; padding: 2px; border: 1px solid rgba(91,63,115,.12); border-radius: 50%; background: #fff; box-shadow: 0 5px 12px rgba(64,38,89,.12); }
.vedika-demo-answer p { min-height: 82px; padding: 9px 10px 8px; border: 1px solid rgba(91,63,115,.1); border-radius: 5px 15px 15px 15px; color: #332b38; background: rgba(255,255,255,.94); box-shadow: 0 7px 18px rgba(62,39,82,.06); font-size: 12px; line-height: 1.48; }
.vedika-demo-composer { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 5px 6px 5px 11px; border: 1px solid rgba(86,56,108,.12); border-radius: 16px; color: #817488; background: rgba(255,255,255,.8); font-size: 9px; }
.vedika-demo-composer i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5c3d72; font-style: normal; font-size: 15px; }
.vedika-cursor { width: 2px; height: 1em; display: inline-block; margin-left: 3px; vertical-align: -.12em; background: currentColor; animation: vedika-cursor 750ms steps(1) infinite; }
@keyframes vedika-cursor { 50% { opacity: 0; } }
.vedika-demo-foot { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 8px; border-top: 1px solid rgba(75,46,100,.09); background: rgba(255,255,255,.96); }
.vedika-pause { width: 34px; min-width: 34px; height: 34px; padding: 0; border: 1px solid rgba(73,43,100,.12); border-radius: 50%; color: #543570; background: #f3edf7; cursor: pointer; font: 10px Simplon, monospace; }
.vedika-pause[aria-pressed="true"] { color: #fff; background: #4a2d68; }
.vedika-language-switch { display: flex; gap: 6px; }
.vedika-language-switch button { min-width: 44px; height: 34px; padding: 0 7px; border: 1px solid rgba(73,43,100,.12); border-radius: 999px; color: #543570; background: #f5f0f8; cursor: pointer; font: 8px Simplon, monospace; }
.vedika-language-switch button[aria-pressed="true"] { color: #fff; background: #4a2d68; }
.vedika-language-switch button:focus-visible, .vedika-pause:focus-visible { outline: 2px solid #6c4a82; outline-offset: 2px; }
.free-report-stack { position: absolute; z-index: 3; left: 34px; right: 34px; bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.free-report-stack article { display: grid; grid-template-columns: 74px 1fr; column-gap: 12px; align-items: center; min-height: 94px; padding: 10px; border-radius: 22px; background: rgba(251,250,248,.9); backdrop-filter: blur(14px); }
.free-report-stack img { grid-row: span 2; width: 74px; height: 74px; border-radius: 15px; object-fit: cover; }
.free-report-stack span { align-self: end; color: var(--ink-soft); font: 10px Simplon, monospace; text-transform: uppercase; }
.free-report-stack strong { align-self: start; }
.free-report-stack .matching-preview { position: relative; }
.free-report-stack .matching-preview::after {
  content: "36";
  position: absolute;
  left: 56px;
  bottom: 8px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
  color: #fff;
  background: var(--violet-deep);
  font: 10px Simplon, monospace;
  box-shadow: 0 7px 16px rgba(49,21,94,.24);
}

.onboarding-shell { max-width: 960px; min-height: calc(100vh - 154px); margin: 0 auto; padding: clamp(36px, 6vw, 84px); border-radius: 50px 50px 50px 12px; background: var(--lavender-soft); box-shadow: var(--shadow); }
.onboarding-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.onboarding-head h1 { font-size: clamp(48px, 6vw, 78px); }
.onboarding-head > span { flex: none; color: var(--ink-soft); font: 13px Simplon, monospace; }
.progress-track { height: 4px; margin: 44px 0 62px; overflow: hidden; border-radius: 4px; background: rgba(100,56,180,.12); }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--violet); transition: width .5s var(--ease); }
.onboarding-form fieldset { min-height: 300px; padding: 0; border: 0; animation: page-in .45s var(--ease); }
.onboarding-form legend { margin-bottom: 12px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.onboarding-form fieldset > p { margin-bottom: 34px; color: var(--ink-soft); font-size: 17px; }
.choice-row, .interest-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.choice-row button, .interest-grid button {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.choice-row button:hover, .interest-grid button:hover, .choice-row button.is-selected, .interest-grid button.is-selected { transform: translateY(-2px); color: #fff; background: var(--violet-deep); }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; }
.onboarding-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; }

.field-grid { display: grid; gap: 14px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field-grid.three { grid-template-columns: repeat(3, 1fr); }
.compact-fields input { min-width: 0; }
.account-home { display: grid; gap: 16px; }
.home-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: #25282f;
}
.home-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 7vw, 92px); }
.home-hero-copy .section-kicker { color: #cdb8f2; }
.home-hero-copy h1 { max-width: 680px; margin-top: 22px; font-size: clamp(52px, 6.5vw, 88px); font-weight: 350; line-height: .92; letter-spacing: -.04em; text-wrap: balance; }
.home-hero-copy h1 span { color: #d9c7f7; }
.home-hero-copy > p:not(.section-kicker) { max-width: 580px; margin: 28px 0 34px; color: #e8e7eb; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.home-hero-copy .metal-action { color: var(--ink); background: #f8f7f4; }
.home-hero-visual { position: relative; min-height: 560px; overflow: hidden; background: #303740; }
.home-hero-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.home-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(12, 15, 20, .72)); pointer-events: none; }
.home-hero-visual figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
.home-hero-visual figcaption span, .home-hero-visual figcaption strong { display: block; }
.home-hero-visual figcaption span { color: #d9c7f7; font: 11px Simplon, monospace; }
.home-hero-visual figcaption strong { max-width: 380px; margin-top: 7px; font-size: 25px; font-weight: 430; line-height: 1.08; text-wrap: balance; }
.home-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: #fff; }
.home-summary article { min-width: 0; padding: 28px; border-right: 1px solid var(--line); }
.home-summary article:last-child { border-right: 0; }
.home-summary span, .home-summary strong, .home-summary a { display: block; }
.home-summary span { color: var(--ink-soft); font: 11px Simplon, monospace; text-transform: uppercase; }
.home-summary strong { margin: 17px 0 24px; overflow-wrap: anywhere; font-size: 31px; font-weight: 420; letter-spacing: -.035em; }
.home-summary a { min-height: 44px; display: inline-flex; align-items: center; color: var(--violet-deep); text-decoration: underline; text-underline-offset: 5px; }
.home-paths { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(38px, 7vw, 100px); padding: clamp(42px, 7vw, 88px); border-radius: 16px; background: #ebe7f1; }
.home-paths-copy h2 { max-width: 520px; margin-top: 18px; font-size: clamp(42px, 5vw, 68px); font-weight: 380; line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.home-paths-copy > p:last-child { max-width: 500px; margin-top: 25px; color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.home-path-list { border-top: 1px solid rgba(42, 30, 61, .22); }
.home-path-list a { min-height: 116px; display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 18px; border-bottom: 1px solid rgba(42, 30, 61, .22); color: var(--ink); transition: color .2s, transform .3s var(--ease); }
.home-path-list a:hover, .home-path-list a:focus-visible { color: var(--violet-deep); transform: translateX(5px); }
.home-path-list > a > span { font: 11px Simplon, monospace; }
.home-path-list strong, .home-path-list small { display: block; }
.home-path-list strong { font-size: 24px; font-weight: 450; }
.home-path-list small { margin-top: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.home-path-list b { font-size: 24px; font-weight: 400; }
.dashboard-hero {
  min-height: 390px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(38px, 6vw, 88px);
  border-radius: 50px 50px 50px 12px;
  background: var(--lavender);
}
.dashboard-hero > div > p:last-child { max-width: 660px; margin-top: 24px; color: var(--ink-soft); font-size: 19px; }
.compact-hero { min-height: 330px; }
.allowance-card { flex: none; width: 190px; padding: 25px; border-radius: 30px 30px 30px 8px; color: #fff; background: var(--violet-deep); }
.allowance-card span, .allowance-card small, .allowance-card strong { display: block; }
.allowance-card span, .allowance-card small { opacity: .72; font: 12px Simplon, monospace; }
.allowance-card strong { margin: 14px 0 2px; font-size: 64px; font-weight: 350; line-height: .9; }
.starter-reports { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.starter-report { min-height: 480px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 44px 44px 44px 10px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.starter-report:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.report-art { min-height: 420px; padding: 38px; background: #ded6ee; }
.report-art img { width: 100%; height: 100%; border-radius: 24px 24px 24px 7px; object-fit: cover; }
.matching-art { position: relative; background: linear-gradient(145deg, #ded6ee, #c9b8e7); }
.matching-art img { object-position: 38% center; transform: rotate(-2.5deg) scale(.94); box-shadow: 0 25px 55px rgba(55,26,101,.16); }
.matching-art::after {
  content: "36";
  position: absolute;
  right: 28px;
  bottom: 29px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.9);
  border-radius: 50%;
  color: #fff;
  background: var(--violet-deep);
  font: 18px Simplon, monospace;
  box-shadow: 0 12px 32px rgba(49,21,94,.28);
}
.report-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 46px; }
.report-info > span { color: var(--violet); font: 11px Simplon, monospace; text-transform: uppercase; }
.report-info h2 { margin-top: 18px; font-size: clamp(35px, 4vw, 55px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.report-info p { margin: 22px 0 32px; color: var(--ink-soft); font-size: 17px; line-height: 1.45; }
.catalog-section { margin-top: 16px; padding: clamp(36px, 5vw, 68px); border-radius: 44px 44px 44px 10px; background: #f0eef3; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.catalog-head h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 380; letter-spacing: -.05em; }
.catalog-head p { margin-top: 12px; color: var(--ink-soft); }
.catalog-head > span { color: var(--ink-soft); font: 11px Simplon, monospace; text-transform: uppercase; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.catalog-card { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid transparent; border-radius: 30px 30px 30px 8px; background: #fff; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.catalog-card:hover { transform: translateY(-5px); border-color: rgba(100,56,180,.22); box-shadow: 0 15px 30px rgba(53,20,104,.08); }
.catalog-card > span { color: var(--violet); font: 10px Simplon, monospace; text-transform: uppercase; }
.catalog-card h3 { margin: 18px 0 10px; font-size: 27px; font-weight: 420; line-height: 1; }
.catalog-card p { color: var(--ink-soft); line-height: 1.4; }
.catalog-card footer { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 26px; }
.catalog-card button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--lavender-soft); cursor: pointer; }
.catalog-card button:not([disabled]):hover { color: #fff; background: var(--violet-deep); }
.catalog-card button[disabled] { opacity: .55; cursor: not-allowed; }

.profile-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 16px; }
.profile-layout > * { min-width: 0; }
.profile-card, .family-panel, .history-list { padding: clamp(28px, 5vw, 58px); border-radius: 42px 42px 42px 10px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.profile-card-head { display: flex; align-items: center; gap: 17px; margin-bottom: 38px; }
.profile-card-head h2, .family-panel h2 { font-size: 31px; font-weight: 420; letter-spacing: -.035em; }
.profile-card-head p, .family-panel > div > p { margin-top: 4px; color: var(--ink-soft); }
.family-panel { background: var(--lavender-soft); }
.family-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px; border-radius: 22px; background: #fff; }
.family-card > span { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: var(--violet); font-weight: 700; }
.family-card div { min-width: 0; flex: 1; }
.family-card strong, .family-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.family-card small { margin-top: 3px; color: var(--ink-soft); }
.family-card button { border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; }
.family-empty { margin-top: 28px; padding: 30px; border: 1px dashed rgba(100,56,180,.25); border-radius: 24px; color: var(--ink-soft); text-align: center; }
.security-panel, .danger-panel { margin-top: 16px; padding: clamp(28px, 5vw, 58px); border-radius: 42px 42px 42px 10px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.security-panel > header, .danger-panel { display: flex; align-items: start; justify-content: space-between; gap: 28px; }
.security-panel h2, .danger-panel h2 { margin-top: 6px; font-size: 36px; font-weight: 420; letter-spacing: -.04em; }
.security-panel header p:last-child, .danger-panel p:last-child, .security-grid p { margin-top: 8px; color: var(--ink-soft); line-height: 1.45; }
.security-email { max-width: 280px; overflow-wrap: anywhere; padding: 10px 14px; border-radius: 18px; background: var(--lavender-soft); }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.security-grid article { min-height: 210px; display: flex; flex-direction: column; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: 28px; }
.security-grid h3 { font-size: 23px; font-weight: 460; }
.security-grid button, .danger-panel button { min-height: 44px; margin-top: auto; padding: 0 18px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--lavender-soft); cursor: pointer; }
.security-grid button[disabled], .danger-panel button[disabled] { opacity: .58; cursor: not-allowed; }
.password-security-card label { width: 100%; margin: 18px 0 10px; font-size: 12px; }
.password-security-card input { min-height: 46px; }
.password-security-card small { min-height: 18px; margin-top: 9px; color: var(--ink-soft); }
.danger-panel { align-items: center; background: #fff5f4; border: 1px solid rgba(151, 46, 60, .16); }
.danger-panel button { flex: none; color: #782733; background: #ffe4e1; }
.history-list { margin-top: 16px; }
.history-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.history-card:last-child { border-bottom: 0; }
.history-card p, .empty-state p { margin-top: 7px; color: var(--ink-soft); }
.history-card-actions { display: flex; gap: 8px; }
.history-card-actions a, .history-card-actions button { padding: 10px 14px; border: 0; border-radius: 20px; color: var(--ink); background: var(--lavender); cursor: pointer; }
.history-card-actions a:hover, .history-card-actions button:hover { color: #fff; background: var(--violet-deep); }
.refund-copy { margin: -10px 0 22px; color: var(--ink-soft); line-height: 1.48; }
.refund-actions { display: grid; gap: 12px; }
.refund-actions > a { justify-self: center; color: var(--violet-deep); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.empty-state { min-height: 280px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state .metal-action { margin-top: 24px; }
.receipt-note { max-width: 650px; margin: 24px 0 0 auto; color: var(--ink-soft); font-size: 13px; }
.invoice-definition { display: grid; grid-template-columns: minmax(150px,.35fr) 1fr; gap: 11px 24px; margin-top: 16px; padding: 25px 30px; border: 1px solid var(--line); border-radius: 28px 28px 28px 8px; background: #fff; }
.invoice-definition strong { font-weight: 560; }
.invoice-definition span { color: var(--ink-soft); line-height: 1.42; }
.support-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 16px; margin-top: 16px; }
.support-chat, .ticket-panel { min-width: 0; padding: clamp(26px,4vw,48px); border-radius: 42px 42px 42px 10px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.ticket-panel { background: #eef2f1; }
.support-chat-head, .support-chat-head > div, .ticket-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.support-chat-head > div { justify-content: flex-start; }
.support-chat-head h2, .ticket-panel h2 { font-size: 30px; font-weight: 430; letter-spacing: -.035em; }
.support-chat-head p { margin-top: 4px; color: var(--ink-soft); }
.support-chat-head > span, .ticket-panel-head > span { color: var(--ink-soft); font: 10px Simplon, monospace; text-transform: uppercase; }
.support-presence { width: 13px; height: 13px; flex: none; border: 3px solid #dce9e6; border-radius: 50%; background: #3b876e; }
.support-messages { min-height: 230px; max-height: 390px; overflow: auto; display: grid; align-content: end; gap: 10px; margin: 28px 0; padding: 18px; border-radius: 26px; background: var(--paper); }
.support-message { display: flex; align-items: end; gap: 9px; max-width: 86%; }
.support-message.is-user { justify-self: end; flex-direction: row-reverse; }
.support-message > span { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: var(--violet-deep); font: 9px Simplon, monospace; }
.support-message.is-user > span { color: var(--ink); background: var(--lake); }
.support-message p { padding: 12px 14px; border-radius: 18px 18px 18px 5px; background: #fff; line-height: 1.42; box-shadow: 0 1px 0 var(--line); }
.support-message.is-user p { border-radius: 18px 18px 5px 18px; background: #e5eeed; }
.support-form { display: grid; }
.support-form .metal-action { justify-self: end; min-width: 170px; }
.ticket-list { display: grid; gap: 10px; margin-top: 27px; }
.ticket-card, .ticket-empty { padding: 18px; border: 1px solid var(--line); border-radius: 22px 22px 22px 7px; background: rgba(255,255,255,.78); }
.ticket-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-card header span { padding: 5px 8px; border-radius: 12px; color: var(--violet-deep); background: var(--lavender); font: 9px Simplon, monospace; text-transform: uppercase; }
.ticket-card p { margin-top: 10px; color: var(--ink-soft); line-height: 1.4; }
.ticket-card small, .ticket-empty { color: var(--ink-soft); }

dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 36px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 36px 36px 36px 10px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(35,15,67,.3); }
dialog::backdrop { background: rgba(35,15,67,.32); backdrop-filter: blur(8px); }
dialog[open] { animation: dialog-in .42s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
dialog form { padding: 32px; }
.report-dialog { width: min(1100px, calc(100% - 28px)); }
.report-dialog-shell { padding: 24px; }
.report-dialog iframe { width: 100%; height: min(68vh, 760px); border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.report-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.report-dialog footer p { max-width: 520px; color: var(--ink-soft); }
dialog header { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
dialog header h2 { font-size: 38px; font-weight: 400; letter-spacing: -.04em; }
dialog header button { padding: 9px 12px; border: 0; border-radius: 18px; background: var(--lavender); cursor: pointer; }
.capability-note { margin: 8px 0 18px; padding: 14px; border-radius: 16px; color: var(--ink-soft); background: var(--lavender-soft); font-size: 13px; }
.toast-region { position: fixed; z-index: 1000; right: 24px; bottom: 24px; display: grid; gap: 10px; }
.toast { max-width: 380px; padding: 15px 18px; border-radius: 18px 18px 18px 5px; color: #fff; background: var(--violet-deep); box-shadow: var(--shadow); animation: toast-in .35s var(--ease); }
.toast.is-error { background: #7a214d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1120px) {
  .account-nav { left: 14px; right: 14px; }
  .account-primary a { min-width: 84px; padding-inline: 14px; }
  .account-brand span, .account-user-trigger > span:last-child { display: none; }
  .account-brand { width: 58px; padding: 6px; }
  .profile-layout, .support-layout { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-visual { min-height: 470px; order: -1; }
  .home-summary { grid-template-columns: 1fr 1fr; }
  .home-summary article:nth-child(2) { border-right: 0; }
  .home-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .home-paths { grid-template-columns: 1fr; }
  .starter-reports { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .account-main { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 960px) {
  .auth-view { grid-template-columns: 1fr; }
  .auth-copy { padding: 54px 34px; }
  .auth-visual { min-height: 560px; }
}

@media (max-width: 720px) {
  .account-nav { grid-template-columns: 1fr auto; }
  .account-primary { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; justify-content: stretch; box-shadow: var(--shadow); }
  .account-primary a { min-width: 0; flex: 1; }
  .account-main { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .account-nav { top: 12px; }
  .account-auth-actions .quiet-action { display: none; }
  .account-auth-actions .metal-action > span { min-width: 120px; padding: 0 16px; }
  .account-main { padding-top: 90px; }
  .account-primary a { padding-inline: 8px; font-size: 12px; }
  .auth-view, .dashboard-hero, .onboarding-shell { border-radius: 32px 32px 32px 8px; }
  .auth-copy { padding: 42px 24px; }
  .back-link { margin-bottom: 40px; }
  .auth-copy h1, .dashboard-hero h1, .onboarding-head h1 { font-size: 46px; }
  .auth-visual { min-height: 610px; }
  .home-hero { min-height: 0; }
  .home-hero-copy { padding: 40px 24px 46px; }
  .home-hero-copy h1 { font-size: 49px; }
  .home-hero-copy > p:not(.section-kicker) { font-size: 17px; }
  .home-hero-visual { min-height: 380px; }
  .product-proof { top: 48px; right: 14px; width: 224px; max-width: calc(100% - 28px); padding: 6px 6px 10px; }
  .product-proof > span { margin-top: 10px; }
  .product-proof > strong { font-size: 19px; }
  .vedika-live-demo { min-height: 344px; border-radius: 18px; }
  .vedika-demo-head { min-height: 58px; grid-template-columns: 34px 1fr auto; gap: 7px; padding: 10px; }
  .vedika-demo-head > img { width: 34px; height: 34px; }
  .vedika-demo-body { gap: 8px; padding: 10px; }
  .vedika-demo-question { padding: 9px 10px 7px; font-size: 10.5px; }
  .vedika-demo-answer { grid-template-columns: 24px 1fr; gap: 6px; }
  .vedika-demo-answer > img { width: 24px; height: 24px; }
  .vedika-demo-answer p { min-height: 82px; padding: 9px 10px 8px; font-size: 10.5px; }
  .vedika-demo-composer { min-height: 36px; padding: 5px 5px 5px 10px; font-size: 8.5px; }
  .vedika-demo-composer i { width: 26px; height: 26px; }
  .vedika-demo-foot { min-height: 48px; gap: 4px; padding: 6px; }
  .vedika-language-switch { gap: 4px; }
  .vedika-language-switch button { min-width: 39px; height: 34px; padding-inline: 5px; font-size: 7.5px; }
  .vedika-pause { width: 34px; min-width: 34px; height: 34px; }
  .vedika-demo-head b { display: none; }
  .home-summary { grid-template-columns: 1fr; }
  .home-summary article { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-summary article:last-child { border-bottom: 0; }
  .home-paths { grid-template-columns: 1fr; gap: 34px; padding: 42px 24px; }
  .home-path-list a { min-height: 126px; grid-template-columns: 30px 1fr 20px; gap: 12px; }
  .auth-visual figcaption { left: 24px; right: auto; bottom: 24px; max-width: 165px; font-size: 18px; }
  .free-report-stack { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; }
  .free-report-stack article:last-child { display: none; }
  .onboarding-shell { padding: 34px 22px; }
  .onboarding-head { align-items: start; }
  .progress-track { margin: 32px 0 42px; }
  .field-grid.two, .field-grid.three, .interest-grid { grid-template-columns: 1fr; }
  .dashboard-hero { min-height: 430px; align-items: start; flex-direction: column; padding: 40px 24px; }
  .allowance-card { align-self: flex-end; }
  .starter-report { grid-template-columns: 1fr; border-radius: 32px 32px 32px 8px; }
  .report-art { min-height: 320px; }
  .report-info { padding: 32px 24px; }
  .catalog-section, .profile-card, .family-panel, .history-list, .support-chat, .ticket-panel { padding: 30px 22px; border-radius: 30px 30px 30px 8px; }
  .catalog-head { align-items: start; flex-direction: column; }
  .catalog-grid { grid-template-columns: 1fr; }
  .profile-layout, .profile-card, .family-panel { width: 100%; max-width: 100%; }
  .security-panel, .danger-panel { padding: 30px 22px; border-radius: 30px 30px 30px 8px; }
  .security-panel > header, .danger-panel { flex-direction: column; }
  .security-grid { grid-template-columns: 1fr; }
  .preview-notice {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px auto;
    box-shadow: none;
  }
  .history-card { grid-template-columns: 1fr; }
  .invoice-definition { grid-template-columns: 1fr; padding: 22px; }
  .report-dialog footer { align-items: stretch; flex-direction: column; }
}

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