:root {
  --bg: #f7f8f4;
  --surface: #fff;
  --surface-soft: #f8faf6;
  --text: #203d30;
  --muted: #859087;
  --border: #e8ece5;
  --green: #235e42;
  --green-bright: #43845a;
  --green-light: #eaf1e3;
  --shadow: 0 3px 14px #253e2604;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111b16;
  --surface: #19261e;
  --surface-soft: #1d2b22;
  --text: #e3eee5;
  --muted: #a0b0a4;
  --border: #2b3c30;
  --green: #8fc59c;
  --green-bright: #88b68b;
  --green-light: #293e2c;
  --shadow: 0 3px 14px #0002;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #81b985;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
}
h1 {
  font-weight: 750;
}
h2 {
  font-weight: 750;
}
p {
  line-height: 1.65;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
::selection {
  background: #cae0ad;
  color: #183c2a;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.6px;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 10px;
  color: var(--surface);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}
.brand-wordmark {
  white-space: nowrap;
}
.brand-domain {
  font-size: 0.6em;
  letter-spacing: -0.025em;
  vertical-align: baseline;
}
.brand .brand-domain {
  color: #69a267;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 13px 21px;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #234c2810;
}
.button.primary {
  background: var(--green);
  color: var(--surface);
}
.button.primary:hover {
  filter: brightness(1.08);
}
.button.secondary {
  background: var(--surface);
  border-color: var(--border);
}
.button.small {
  padding: 9px 14px;
  font-size: 12px;
  gap: 8px;
}
.button.full {
  width: 100%;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--green-light);
  color: var(--green);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--green-bright);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #629452;
  border-radius: 50%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}
.text-link svg {
  width: 15px;
}
.marketing-nav {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 44px;
}
.marketing-nav nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.marketing-nav nav a:hover {
  color: var(--green);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.login-link {
  font-weight: 600;
  font-size: 12px;
}
.landing {
  overflow: hidden;
}
.hero {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 82px 44px 92px;
}
.hero h1 {
  font-size: 51px;
  line-height: 1.18;
  letter-spacing: -2.8px;
  margin: 21px 0 24px;
}
.hero h1 em {
  color: var(--green-bright);
  letter-spacing: -2px;
}
.hero-copy > p {
  font-size: 15px;
  max-width: 380px;
  color: var(--muted);
  line-height: 1.85;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 29px;
}
.hero-trust {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  margin-top: 23px;
}
.hero-trust svg {
  width: 13px;
  height: 13px;
}
.hero-trust span {
  color: var(--green);
}
.hero-visual {
  position: relative;
  padding: 26px 12px 40px;
}
.orbit {
  position: absolute;
  border: 1px solid #b7c9a73b;
  border-radius: 50%;
  pointer-events: none;
  inset: -65px -45px;
}
.orbit-two {
  inset: -5px 5px;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: -100px;
  background: radial-gradient(ellipse, #dfeacc80, transparent 65%);
  z-index: -1;
}
.preview-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 27px 26px 0;
  box-shadow: 0 30px 65px #29462d12;
  transform: rotate(-2deg);
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 650;
}
.preview-top small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.preview-avatars {
  display: flex;
  padding-right: 5px;
}
.preview-avatars b {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e9ecd9;
  font-size: 13px;
  border: 3px solid var(--surface);
}
.preview-avatars b + b {
  margin-left: -8px;
  background: #e9d9cf;
}
.demo-pill {
  margin-left: auto;
  padding: 4px 9px;
  background: var(--green-light);
  font-size: 9px;
  border-radius: 5px;
  color: var(--green);
}
.preview-score {
  margin-top: 28px;
}
.preview-score > span {
  font-size: 10px;
  color: var(--muted);
}
.preview-score > strong {
  display: block;
  margin-top: 5px;
  font-size: 23px;
  letter-spacing: -0.8px;
}
.preview-score em {
  color: var(--green-bright);
}
.preview-bars {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 28px;
  padding-top: 10px;
  border-bottom: 1px solid var(--border);
}
.preview-bars > span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--bar-color);
}
.preview-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 1px;
}
.preview-stats {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
}
.preview-stats > div + div {
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.preview-stats strong {
  font-size: 26px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -1px;
}
.preview-stats strong span {
  font-size: 13px;
}
.preview-stats small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.preview-footer {
  font-size: 9px;
  border-top: 1px solid var(--border);
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.preview-footer svg {
  width: 13px;
  height: 13px;
  color: var(--green-bright);
}
.preview-footer > span {
  margin-left: auto;
  font-size: 8px;
}
.floating-note {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 25px #2543230b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.note-top {
  right: -6px;
  top: 0;
  padding: 13px 18px;
  transform: rotate(3deg);
}
.note-top > svg {
  color: #9b8050;
}
.note-bottom {
  bottom: 8px;
  left: -32px;
  padding: 14px 20px;
  transform: rotate(2deg);
}
.note-bottom small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.trust-strip {
  max-width: 1192px;
  margin: auto;
  border-block: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 0;
  font-size: 11px;
  color: var(--muted);
}
.trust-strip > span {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust-strip svg {
  width: 16px;
  color: var(--green-bright);
}
.marketing-section {
  max-width: 1192px;
  margin: 0 auto;
  padding: 85px 0;
}
.marketing-section > h2,
.marketing-section h2,
.privacy-section h2 {
  font-size: 32px;
  margin-top: 13px;
  letter-spacing: -1.3px;
}
.marketing-section > p,
.marketing-section > div > p {
  color: var(--muted);
  margin-top: 12px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 37px;
}
.steps-grid article {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.steps-grid article > svg {
  width: 26px;
  height: 26px;
  color: var(--green-bright);
  margin-bottom: 28px;
}
.step-number {
  position: absolute;
  right: 25px;
  top: 23px;
  font-family: var(--display);
  font-size: 28px;
  color: var(--border);
}
.steps-grid h3,
.feature-grid h3 {
  font-size: 16px;
  letter-spacing: -0.5px;
}
.steps-grid p,
.feature-grid p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 260px;
}
.feature-section {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 65px;
}
.feature-section .text-link {
  margin-top: 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.feature-grid article > svg {
  margin-bottom: 18px;
  color: var(--green-bright);
  width: 22px;
  height: 22px;
}
.privacy-section {
  max-width: 1192px;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 47px 65px;
  background: var(--green-light);
  display: flex;
  gap: 45px;
  align-items: center;
}
.privacy-emblem {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 13px #ffffff25;
}
.privacy-emblem svg {
  width: 48px;
  height: 48px;
  color: var(--green);
}
.privacy-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.faq-section details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-section details:first-child {
  padding-top: 0;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
.faq-section details p {
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
}
.final-cta {
  text-align: center;
  padding: 58px 25px 68px;
  background: var(--surface-soft);
  border-block: 1px solid var(--border);
}
.final-cta h2 {
  font-size: 35px;
  margin: 16px 0 26px;
}
.landing footer {
  max-width: 1192px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 10px;
  color: var(--muted);
}
.landing footer .brand {
  font-size: 23px;
  color: var(--text);
}
.landing footer .brand-mark {
  width: 27px;
  height: 28px;
}
.landing footer .brand-mark svg {
  width: 19px;
}
.app-layout {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 224px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 29px 19px 0;
  z-index: 20;
}
.sidebar > .brand {
  margin-left: 9px;
  font-size: 28px;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin: 46px 13px 15px;
}
.side-link {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 12px 13px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  border-radius: 7px;
  font-weight: 500;
}
.side-link svg {
  width: 17px;
  height: 17px;
}
.side-link:hover {
  background: var(--surface-soft);
  color: var(--green);
}
.side-link.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 650;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 19px 13px 13px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 70px;
}
.privacy-mini {
  padding: 19px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  margin-bottom: 19px;
}
.privacy-mini > svg {
  color: var(--green-bright);
  margin-bottom: 11px;
}
.privacy-mini strong {
  font-size: 10px;
  display: block;
  font-weight: 600;
}
.privacy-mini p {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
  margin: 7px 0 12px;
}
.privacy-mini .text-link {
  font-size: 9px;
  gap: 3px;
}
.privacy-mini .text-link svg {
  width: 12px;
  height: 12px;
}
.user-profile {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 19px 0;
}
.avatar {
  background: #eedfcf;
  color: #73604c;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.user-profile > div {
  flex: 1;
  min-width: 0;
}
.user-profile strong {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-profile small {
  font-size: 8px;
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.user-profile .icon-button {
  width: 25px;
}
.user-profile svg {
  width: 15px;
}
.main-wrapper {
  margin-left: 224px;
  flex: 1;
  min-width: 0;
}
.app-header {
  height: 75px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.breadcrumb > span {
  color: var(--muted);
}
.breadcrumb > strong {
  font-weight: 500;
}
.breadcrumb > svg {
  height: 12px;
  width: 12px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.private-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}
.private-label svg {
  height: 12px;
  width: 12px;
}
.mobile-menu {
  display: none;
}
.dashboard-content {
  max-width: 1480px;
  margin: auto;
  padding: 33px 35px 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
}
.page-heading h1 {
  font-size: 29px;
  letter-spacing: -1.2px;
  margin: 9px 0;
}
.heading-dot {
  color: var(--green-bright);
}
.page-heading p {
  font-size: 11px;
  color: var(--muted);
}
.page-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.page-heading > .button {
  font-size: 10px;
  align-self: center;
}
.demo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eff3e7;
  border: 1px solid #e2ead6;
  border-radius: 8px;
  font-size: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #677b52;
  gap: 15px;
}
.demo-banner > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-banner svg {
  width: 14px;
  height: 14px;
}
.demo-banner strong {
  font-weight: 600;
}
.demo-banner > a {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #487035;
  font-weight: 600;
  white-space: nowrap;
}
.local-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}
.local-banner svg {
  width: 15px;
  height: 15px;
}
.connection-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border: 1px solid var(--border);
  background: linear-gradient(110deg, var(--surface), var(--surface-soft));
  padding: 26px 23px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.connection-identity {
  display: flex;
  align-items: center;
  gap: 19px;
}
.couple-avatar {
  position: relative;
  display: flex;
  padding-right: 4px;
  flex-shrink: 0;
}
.couple-avatar > span {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-family: Georgia, serif;
  border: 3px solid var(--surface);
  background: #ece3cd;
  color: #9c825b;
}
.couple-avatar > span + span {
  margin-left: -13px;
  background: #dfd9e9;
  color: #8a6a97;
}
.couple-avatar > b {
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  bottom: -5px;
  left: 33px;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.couple-avatar > b svg {
  width: 11px;
  height: 11px;
  fill: #aab98d;
  color: #aab98d;
}
.connection-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 12px;
}
.relationship-tag {
  font-family: var(--font);
  background: var(--green-light);
  color: var(--green-bright);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 4px 8px;
}
.connection-identity p {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.connection-identity p svg {
  width: 12px;
  height: 12px;
}
.dot-divider {
  padding: 0 3px;
}
.connection-score {
  display: flex;
  align-items: center;
  gap: 13px;
  border-left: 1px solid var(--border);
  padding-left: 25px;
}
.score-ring {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: conic-gradient(#71955b calc(var(--score) * 1%), var(--border) 0);
  padding: 5px;
  flex-shrink: 0;
  transform: rotate(-30deg);
}
.score-ring > span {
  width: 100%;
  height: 100%;
  background: var(--surface-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  transform: rotate(30deg);
  line-height: 1.2;
}
.score-ring small {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 400;
  color: var(--muted);
}
.connection-score strong {
  display: flex;
  align-items: center;
  font-size: 10px;
  gap: 6px;
}
.connection-score strong svg {
  width: 11px;
  height: 11px;
  color: var(--muted);
}
.connection-score p {
  font-size: 9px;
  color: var(--green-bright);
  margin-top: 5px;
}
.connection-score button {
  font-size: 7px;
  color: var(--muted);
  padding: 0;
  margin-top: 6px;
  text-align: left;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 29px;
}
.metric-card {
  padding: 17px 19px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.metric-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.metric-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.metric-icon svg {
  width: 15px;
  height: 15px;
}
.green {
  --tone-bg: #eff4e9;
  --tone-text: #64884b;
  --tone-border: #e3eadb;
}
.blue {
  --tone-bg: #edf2f6;
  --tone-text: #728fa7;
  --tone-border: #e0e7ed;
}
.orange {
  --tone-bg: #fbf2e7;
  --tone-text: #b78e57;
  --tone-border: #f0e5d7;
}
.purple {
  --tone-bg: #f1eff9;
  --tone-text: #9480b7;
  --tone-border: #e8e4f1;
}
.pink {
  --tone-bg: #faf0ed;
  --tone-text: #c18a77;
  --tone-border: #f0e4de;
}
.metric-icon,
.insight-icon {
  background: var(--tone-bg);
  color: var(--tone-text);
}
.metric-card > strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 6px 0 11px;
  font-weight: 750;
}
.metric-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}
.metric-card > small {
  font-size: 8px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}
.metric-card:first-child > small {
  color: var(--green-bright);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.4px;
}
.section-heading h2 svg {
  height: 16px;
  width: 16px;
  color: #839a65;
}
.section-heading > span {
  font-size: 9px;
  color: var(--muted);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.insight-card {
  background: var(--tone-bg);
  border: 1px solid var(--tone-border);
  border-radius: 10px;
  padding: 17px;
}
.insight-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
}
.insight-card .insight-icon {
  background: var(--surface);
  box-shadow: 0 1px 4px #00000003;
}
.insight-icon svg {
  width: 17px;
  height: 17px;
}
.insight-card h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: -0.1px;
  margin: 13px 0 7px;
}
.insight-card p {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
}
.analytics-heading {
  margin-top: 29px;
}
.analytics-heading > div > p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.range-select {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 10px;
  font-size: 10px;
}
.range-select > svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.range-select select {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 8px 14px 8px 0;
  font-size: 10px;
  min-width: 95px;
  width: auto;
  outline: 0;
}
.charts-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}
.chart-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.chart-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.chart-title h3 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.chart-title p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.chart-title > svg {
  color: var(--muted);
}
.segmented {
  display: flex;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 2px;
  border-radius: 6px;
}
.segmented > button {
  padding: 4px 9px;
  font-size: 8px;
  color: var(--muted);
  border-radius: 4px;
}
.segmented > button.active {
  background: var(--surface);
  color: var(--green);
  box-shadow: 0 1px 3px #0000000c;
}
.chart-wrap {
  height: 184px;
  position: relative;
}
.chart-legend {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 3px;
}
.chart-legend > span {
  font-size: 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.chart-legend b {
  width: 6px;
  height: 6px;
  background: #347a56;
  border-radius: 50%;
}
.chart-legend b.light {
  background: #c4d9ac;
}
.donut-center {
  position: absolute;
  left: 50%;
  top: calc(50% - 16px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-align: center;
}
.donut-center strong {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 750;
}
.donut-center strong span {
  font-size: 15px;
  margin-left: 2px;
}
.donut-center small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 4px;
}
.subtle-tag {
  font-size: 8px;
  background: var(--surface-soft);
  color: var(--green-bright);
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.score-explainer {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px 19px;
  margin: 22px 0;
  background: var(--surface-soft);
}
.score-explainer > div {
  flex: 1;
}
.score-explainer strong {
  font-size: 10px;
  font-weight: 550;
}
.score-explainer p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.score-explainer > button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--green-bright);
}
.score-explainer > button svg {
  width: 12px;
  height: 12px;
}
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 35px 25px;
  gap: 15px;
  font-size: 8px;
  color: var(--muted);
  max-width: 1480px;
  margin: auto;
}
.dashboard-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dashboard-footer svg {
  width: 11px;
  height: 11px;
}
.dashboard-footer > button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: var(--muted);
}
.word-cloud {
  display: flex;
  gap: 13px 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px 5px;
  min-height: 185px;
}
.word-cloud > span {
  font-size: var(--word-size);
  color: var(--green-bright);
  font-weight: 600;
  letter-spacing: -0.6px;
}
.word-cloud small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 4px;
  font-weight: 400;
}
.emoji-list > div {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 14px 0;
}
.emoji-list > div > span {
  font-size: 22px;
  width: 30px;
}
.emoji-track {
  flex: 1;
  background: var(--surface-soft);
  height: 6px;
  border-radius: 4px;
}
.emoji-track > b {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #bbcea4;
}
.emoji-list strong {
  font-size: 10px;
  font-weight: 500;
  width: 35px;
  text-align: right;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
}
td,
th {
  text-align: right;
  padding: 11px 7px;
  border-bottom: 1px solid var(--border);
}
td:first-child,
th:first-child {
  text-align: left;
}
th {
  color: var(--muted);
  font-weight: 500;
}
tr:last-child td {
  border: 0;
}
.longest-message {
  margin-top: 18px;
}
.longest-message strong {
  font-size: 11px;
}
.longest-message small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 9px;
}
.longest-message blockquote {
  margin: 10px 0 0;
  padding: 12px 15px;
  border-left: 2px solid #a5bf8c;
  background: var(--surface-soft);
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  max-height: 180px;
  overflow: auto;
}
.score-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 10px;
  margin-bottom: 16px;
  gap: 6px;
}
.score-list > div > div {
  grid-column: span 2;
  background: var(--surface-soft);
  height: 5px;
  border-radius: 4px;
}
.score-list > div > div > span {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: #8fae70;
}
.empty-state {
  text-align: center;
  padding: 100px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 30px 0;
}
.empty-illustration {
  width: 94px;
  height: 94px;
  background: var(--green-light);
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  transform: rotate(-8deg);
}
.empty-illustration svg {
  width: 43px;
  height: 43px;
  color: var(--green-bright);
}
.empty-state h2 {
  font-size: 25px;
}
.empty-state p {
  margin: 15px 0 25px;
  color: var(--muted);
  font-size: 13px;
}
.empty-state > div:last-child {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.chart-unavailable {
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.auth-story {
  background: #eaf0e2;
  display: flex;
  flex-direction: column;
  padding: 42px 55px;
  color: #244b35;
  overflow: hidden;
}
.auth-story > .brand {
  color: #244b35;
}
.auth-story .brand-mark {
  background: #235e42;
  color: #fff;
}
.auth-story > div {
  margin: auto 0;
  padding: 55px 0;
}
.auth-story h1 {
  font-size: 53px;
  line-height: 1.18;
  letter-spacing: -2.5px;
  margin: 22px 0;
}
.auth-story h1 em {
  color: #648653;
}
.auth-story p {
  max-width: 320px;
  font-size: 14px;
  color: #7c8c75;
}
.auth-story > small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #7c8c75;
}
.auth-bubble {
  background: #fff;
  border-radius: 14px 14px 14px 0;
  padding: 20px 22px;
  margin: 45px 50px 0 0;
  max-width: 310px;
  font-size: 14px;
  box-shadow: 0 5px 15px #2d4e2805;
  transform: rotate(-3deg);
}
.auth-bubble span {
  display: block;
  text-align: right;
  font-size: 8px;
  color: #91a58a;
  margin-top: 10px;
}
.auth-bubble span svg {
  height: 13px;
  width: 13px;
}
.auth-bubble.reply {
  background: #d3e3bc;
  margin: 22px 0 0 70px;
  border-radius: 14px 14px 0 14px;
  transform: rotate(2deg);
}
.auth-main {
  padding: 30px 45px;
  display: flex;
  flex-direction: column;
}
.auth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-form-wrap {
  max-width: 380px;
  width: 100%;
  margin: auto;
  padding: 40px 0;
}
.auth-form-wrap h1 {
  font-size: 29px;
  margin: 16px 0 10px;
}
.auth-form-wrap > p {
  font-size: 12px;
  color: var(--muted);
}
form {
  margin-top: 27px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 18px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  margin-top: 8px;
  outline: none;
}
input::placeholder {
  color: var(--muted);
  opacity: 0.75;
}
input:focus,
select:focus {
  border-color: #8fac79;
  box-shadow: 0 0 0 3px #87a76e16;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 45px;
}
.password-wrap button {
  position: absolute;
  right: 6px;
  top: 5px;
}
.forgot-link {
  display: block;
  text-align: right;
  color: var(--green);
  font-size: 10px;
  margin: -6px 0 20px;
}
.form-error {
  color: #b85d4d;
  font-size: 12px;
  line-height: 1.65;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.form-error:empty {
  display: none;
}
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 11px !important;
}
.auth-switch a {
  color: var(--green);
  font-weight: 600;
}
.auth-divider {
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.browser-link {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
}
.browser-link svg {
  width: 13px;
  height: 13px;
}
.onboarding {
  max-width: 780px;
  margin: 30px auto 80px;
  padding: 0 25px;
}
.onboarding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.step-progress {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 40px 0;
}
.step-progress > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.step-progress span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  font-size: 10px;
}
.step-progress .current {
  color: var(--green);
}
.step-progress .current span {
  background: var(--green);
  color: var(--surface);
}
.onboarding-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 42px 55px;
  box-shadow: 0 15px 40px #304c2604;
}
.onboarding-card h1 {
  font-size: 30px;
  margin: 15px 0 10px;
}
.onboarding-card > p {
  color: var(--muted);
  font-size: 12px;
}
.relationship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0;
}
.relationship-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  text-align: left;
  font-size: 12px;
}
.relationship-option > svg {
  color: var(--muted);
  width: 18px;
}
.relationship-option > svg:last-child:not(:first-child) {
  margin-left: auto;
  width: 14px;
  color: var(--green);
}
.relationship-option.selected {
  background: var(--green-light);
  border-color: #a7be93;
  color: var(--green);
}
.relationship-option.selected > svg {
  color: var(--green);
}
.back-step {
  display: block;
  margin: 20px auto 0;
  font-size: 11px;
  color: var(--muted);
}
.dropzone {
  border: 1.5px dashed #bccbad;
  border-radius: 12px;
  text-align: center;
  background: var(--surface-soft);
  padding: 32px 16px;
  margin-top: 28px;
  transition: background 0.2s;
}
.dropzone.dragover {
  background: var(--green-light);
  border-color: var(--green);
}
.onboarding .account-upload-drop {
  margin-top: 28px;
  background: var(--surface-soft);
  border-color: color-mix(in srgb, var(--green) 32%, var(--border));
  color: var(--text);
}
.onboarding .account-upload-drop.dragover,
.onboarding .account-upload-drop.is-reading,
.onboarding .account-upload-drop.is-uploaded {
  background: var(--green-light);
  border-color: var(--green);
}
.onboarding .account-upload-drop > span,
.onboarding .account-upload-drop small,
.onboarding .account-upload-note,
.onboarding .wf-person-picker > p,
.onboarding .wf-person-hint,
.onboarding .wf-file-ready span {
  color: var(--muted);
}
.onboarding .wf-water-loading,
.onboarding .wf-file-ready,
.onboarding .wf-person-content {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}
.onboarding .wf-water-loading strong,
.onboarding .wf-person-content > strong,
.onboarding .wf-person-picker legend {
  color: var(--text);
}
.onboarding .wf-water-loading p,
.onboarding .wf-water-loading small {
  color: var(--muted);
}
.onboarding .account-file-ready {
  margin-top: 20px;
}
.onboarding .account-person-cards {
  max-height: 380px;
  padding: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.onboarding .wf-person-card input:checked + .wf-person-content {
  background: var(--green-light);
  border-color: var(--green);
}
.onboarding .account-analyze-button {
  margin-top: 22px;
}
.upload-emblem {
  width: 49px;
  height: 49px;
  border-radius: 13px;
  background: var(--green-light);
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  color: var(--green-bright);
}
.upload-emblem svg {
  width: 24px;
  height: 24px;
}
.dropzone h3 {
  font-size: 16px;
}
.dropzone p {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0;
}
.file-link {
  display: inline;
  color: var(--green);
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}
.dropzone small {
  font-size: 9px;
  color: var(--muted);
}
#chat-file {
  max-width: 250px;
  margin: 15px auto 0;
  font-size: 10px;
  padding: 7px;
}
.date-order {
  margin-top: 20px;
}
.export-help {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 11px;
}
.export-help summary {
  gap: 9px;
  justify-content: flex-start;
}
.export-help summary > svg:last-child {
  margin-left: auto;
  width: 13px;
}
.export-help > div {
  padding: 20px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.export-help p {
  margin: 5px 0 16px;
}
.upload-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 24px;
}
.upload-privacy svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.file-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin: 20px 0;
  color: var(--green);
}
.file-success > div {
  flex: 1;
  min-width: 0;
}
.file-success strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.file-success small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.warning-banner {
  padding: 13px 16px;
  background: #faf0df;
  color: #9a753d;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.processing {
  text-align: center;
  padding: 30px 0;
}
.processing-orb {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  animation: breathe 1.6s ease-in-out infinite;
}
.processing-orb svg {
  width: 32px;
  height: 32px;
}
.processing p {
  color: var(--muted);
  font-size: 12px;
}
.processing ul {
  list-style: none;
  padding: 0;
  text-align: left;
  width: max-content;
  max-width: 100%;
  margin: 35px auto 0;
}
.processing li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.processing li.done {
  color: var(--green);
}
.success-notice {
  border: 1px solid var(--border);
  background: var(--green-light);
  padding: 20px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
}
.saved-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 23px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.saved-card > div {
  flex: 1;
}
.saved-card h3 {
  font-size: 17px;
}
.saved-card p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.danger {
  color: #b87365;
}
.danger-button {
  background: #a65043;
  color: white;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #13271d65;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  max-width: 550px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 20px 100px #0002;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.modal h2 {
  font-size: 23px;
}
.modal p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.methodology dt {
  font-size: 12px;
  font-weight: 600;
  margin-top: 18px;
}
.methodology dd {
  margin: 5px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: var(--surface);
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 8px 30px #0002;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
[data-theme="dark"] .insight-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .metric-icon,
[data-theme="dark"] .insight-icon {
  background: var(--green-light);
}
[data-theme="dark"] .demo-banner {
  background: #263721;
  border-color: #34472c;
  color: #a6bc8e;
}
[data-theme="dark"] .demo-banner > a {
  color: #bacfa6;
}
[data-theme="dark"] .hero-visual:before {
  opacity: 0.13;
}
[data-theme="dark"] .warning-banner {
  background: #3c3020;
  color: #dbb77c;
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 0 16px #94b37a12;
    transform: scale(1.03);
  }
}
@media (min-width: 1550px) {
  .dashboard-content {
    padding-top: 42px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .metric-card {
    padding: 22px;
  }
  .metric-card > strong {
    font-size: 34px;
  }
  .insight-card {
    padding: 23px;
  }
  .insight-card h3 {
    font-size: 12px;
  }
  .insight-card p {
    font-size: 11px;
  }
  .chart-wrap {
    height: 240px;
  }
  .chart-title h3 {
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 42px;
  }
  .marketing-section,
  .trust-strip,
  .privacy-section,
  .landing footer {
    margin-left: 40px;
    margin-right: 40px;
  }
  .hero {
    gap: 25px;
  }
  .sidebar {
    width: 200px;
    padding-inline: 13px;
  }
  .main-wrapper {
    margin-left: 200px;
  }
  .app-header {
    padding: 0 25px;
  }
  .dashboard-content {
    padding: 27px 25px 0;
  }
  .connection-card {
    padding: 22px 18px;
  }
  .connection-score {
    padding-left: 18px;
  }
  .connection-score p {
    max-width: 160px;
  }
  .connection-identity {
    gap: 12px;
  }
  .connection-name {
    font-size: 18px;
  }
  .connection-identity p {
    font-size: 8px;
  }
  .couple-avatar > span {
    width: 42px;
    height: 42px;
  }
  .connection-score button {
    max-width: 175px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-card > small {
    font-size: 7px;
  }
  .insight-card {
    padding: 14px;
  }
  .insight-card h3 {
    font-size: 9px;
  }
  .insight-card p {
    font-size: 8px;
  }
  .chart-legend {
    display: none;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 180px;
  }
  .main-wrapper {
    margin-left: 180px;
  }
  .sidebar > .brand {
    font-size: 24px;
  }
  .sidebar .brand-mark {
    width: 29px;
    height: 30px;
  }
  .side-link {
    font-size: 10px;
    gap: 9px;
    padding-inline: 10px;
  }
  .privacy-mini {
    padding: 15px 10px;
  }
  .privacy-mini strong {
    font-size: 9px;
  }
  .user-profile strong {
    font-size: 9px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .connection-card {
    flex-wrap: wrap;
    gap: 22px;
  }
  .connection-score {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 18px 0 0;
    width: 100%;
  }
  .connection-score p {
    max-width: none;
  }
  .connection-score button {
    max-width: none;
  }
  .connection-score .score-ring {
    width: 52px;
    height: 52px;
  }
  .score-ring > span {
    font-size: 19px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card > div {
    font-size: 9px;
  }
  .metric-icon {
    width: 24px;
    height: 24px;
  }
  .metric-card > strong {
    font-size: 24px;
  }
  .metric-card > small {
    font-size: 8px;
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-card h3 {
    font-size: 11px;
  }
  .insight-card p {
    font-size: 10px;
  }
  .demo-banner {
    align-items: flex-start;
  }
  .demo-banner > span {
    display: block;
    line-height: 1.8;
  }
  .demo-banner > span svg {
    margin-right: 4px;
  }
  .demo-banner strong {
    margin-right: 3px;
  }
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .chart-card.wide {
    grid-column: span 2;
  }
  .chart-wrap {
    height: 210px;
  }
  .hero {
    padding-top: 65px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.8px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero .button {
    padding: 11px 14px;
    font-size: 11px;
  }
  .preview-card {
    padding: 20px 18px 0;
  }
  .preview-score > strong {
    font-size: 20px;
  }
  .preview-stats > div + div {
    padding-left: 10px;
  }
  .preview-stats small {
    font-size: 8px;
  }
  .preview-footer > span {
    display: none;
  }
  .note-bottom {
    left: -20px;
    padding: 12px;
    font-size: 9px;
  }
  .note-bottom small {
    font-size: 8px;
  }
  .note-top {
    font-size: 9px;
  }
  .trust-strip > span {
    display: none;
  }
  .feature-section {
    gap: 35px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .auth-main {
    padding: 25px 30px;
  }
  .auth-form-wrap h1 {
    font-size: 25px;
  }
  .auth-bubble.reply {
    margin-left: 30px;
  }
}
@media (max-width: 760px) {
  .marketing-nav {
    padding: 20px 23px;
  }
  .marketing-nav nav {
    display: none;
  }
  .marketing-nav .brand {
    font-size: 25px;
  }
  .nav-actions {
    gap: 12px;
  }
  .nav-actions .theme-toggle {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 25px 55px;
    gap: 55px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -2.2px;
  }
  .hero-copy > p {
    margin: auto;
    max-width: 370px;
    font-size: 14px;
  }
  .hero-buttons,
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    max-width: 440px;
    margin: auto;
    padding: 20px 15px 30px;
  }
  .preview-card {
    padding: 26px 25px 0;
  }
  .preview-score > strong {
    font-size: 24px;
  }
  .preview-bars {
    height: 130px;
  }
  .preview-stats small {
    font-size: 9px;
  }
  .note-bottom {
    left: 0;
  }
  .note-top {
    right: 0;
  }
  .orbit {
    inset: -20px 0;
  }
  .trust-strip {
    margin: 0 25px;
    padding: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 9px;
  }
  .trust-strip > div:last-child {
    display: none;
  }
  .marketing-section {
    margin-inline: 25px;
    padding: 55px 0;
  }
  .marketing-section h2,
  .privacy-section h2 {
    font-size: 28px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .steps-grid article {
    padding: 25px;
  }
  .steps-grid article > svg {
    margin-bottom: 15px;
  }
  .steps-grid p {
    max-width: none;
  }
  .feature-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-grid {
    gap: 30px 22px;
  }
  .feature-grid h3 {
    font-size: 14px;
  }
  .privacy-section {
    margin: 0 25px;
    padding: 30px;
    display: block;
  }
  .privacy-emblem {
    width: 65px;
    height: 65px;
    margin-bottom: 25px;
  }
  .privacy-emblem svg {
    width: 30px;
    height: 30px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .final-cta h2 {
    font-size: 28px;
  }
  .landing footer {
    margin: 0 25px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .landing footer > span {
    display: none;
  }
  .sidebar {
    left: -225px;
    width: 224px;
    transition: left 0.2s;
    box-shadow: 5px 0 40px #0002;
  }
  .sidebar.mobile-open {
    left: 0;
  }
  .main-wrapper {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .app-header {
    padding: 0 16px;
    height: 65px;
  }
  .breadcrumb {
    gap: 7px;
  }
  .header-actions {
    gap: 6px;
  }
  .private-label {
    display: none;
  }
  .header-actions .button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .dashboard-content {
    padding: 25px 18px 0;
  }
  .page-heading h1 {
    font-size: 25px;
    max-width: 280px;
    line-height: 1.3;
  }
  .page-heading > .button {
    padding: 8px;
    font-size: 0;
    gap: 0;
  }
  .page-heading > .button svg {
    width: 16px;
    height: 16px;
  }
  .demo-banner {
    padding: 11px 12px;
    font-size: 9px;
    align-items: center;
  }
  .demo-banner > a {
    font-size: 0;
    gap: 0;
  }
  .demo-banner > a svg {
    width: 18px;
    height: 18px;
  }
  .connection-card {
    gap: 16px;
  }
  .connection-identity {
    gap: 14px;
  }
  .connection-name {
    font-size: 20px;
  }
  .connection-identity p {
    font-size: 8px;
  }
  .connection-score {
    padding-top: 15px;
  }
  .connection-score strong {
    font-size: 11px;
  }
  .connection-score p {
    font-size: 10px;
  }
  .connection-score button {
    font-size: 8px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-card > div {
    font-size: 10px;
  }
  .metric-card > strong {
    font-size: 28px;
  }
  .metric-card > small {
    font-size: 8px;
  }
  .section-heading > span {
    display: none;
  }
  .insights-grid {
    gap: 12px;
  }
  .insight-card {
    padding: 16px;
  }
  .insight-card h3 {
    font-size: 10px;
    line-height: 1.5;
  }
  .insight-card p {
    font-size: 9px;
  }
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .chart-card.wide {
    grid-column: auto;
  }
  .chart-card {
    padding: 20px;
  }
  .chart-title h3 {
    font-size: 13px;
  }
  .chart-title p {
    font-size: 10px;
  }
  .chart-wrap {
    height: 220px;
  }
  .chart-legend {
    display: flex;
  }
  .score-explainer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .score-explainer > div {
    min-width: 200px;
  }
  .score-explainer > button {
    margin-left: 44px;
  }
  .score-explainer p {
    font-size: 10px;
  }
  .dashboard-footer {
    padding: 0 18px 25px;
    font-size: 7px;
  }
  .dashboard-footer > button {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 22px 25px;
  }
  .auth-form-wrap {
    padding: 40px 0;
  }
  .auth-form-wrap h1 {
    font-size: 29px;
  }
  .onboarding {
    padding: 0 18px;
    margin-top: 20px;
  }
  .onboarding-header {
    font-size: 8px;
  }
  .onboarding-header .text-link {
    font-size: 10px;
  }
  .step-progress {
    gap: 13px;
    margin: 30px 0;
  }
  .step-progress > div {
    font-size: 8px;
    gap: 5px;
  }
  .step-progress span {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .onboarding-card {
    padding: 28px 23px;
  }
  .onboarding-card h1 {
    font-size: 26px;
  }
  .relationship-option {
    padding: 15px 12px;
    gap: 8px;
    font-size: 11px;
  }
  .relationship-option > svg {
    width: 16px;
  }
  .saved-card {
    padding: 17px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .saved-card > div {
    min-width: 190px;
  }
  .saved-card .button {
    margin-left: 42px;
  }
  .empty-state {
    padding: 65px 20px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .empty-state > div:last-child {
    flex-wrap: wrap;
  }
  .modal {
    padding: 24px;
  }
  .modal h2 {
    font-size: 21px;
  }
}
.upload-date-check {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--text);
}
.upload-date-check > strong {
  font-size: 15px;
}
.upload-date-check p {
  margin: 8px 0 14px;
  font-size: 13px;
  line-height: 1.6;
}
.upload-date-check > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 10px;
}
.upload-date-check button {
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}
.upload-date-check button:hover {
  border-color: var(--green);
  color: var(--green);
}
.upload-date-check small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
}
.privacy-link {
  min-height: 44px;
  padding: 4px 0;
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-dialog-open {
  overflow: hidden;
}
.privacy-preferences {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 22px;
  margin: auto;
  padding: clamp(20px, 5vw, 32px);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 90px #12231b30;
}
.privacy-preferences::backdrop {
  background: #142d2466;
  backdrop-filter: blur(5px);
}
.privacy-preferences header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.privacy-dialog-eyebrow {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.privacy-preferences h2 {
  margin: 8px 0 0;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.privacy-preferences h3 {
  margin: 0;
  font-size: 15px;
}
.privacy-preferences p {
  font-size: 13px;
  line-height: 1.7;
}
.privacy-preferences section {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 22px;
}
.privacy-dialog-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 26px;
  line-height: 1;
}
.privacy-analytics-controls .button {
  white-space: normal;
  min-height: 44px;
}
.privacy-preference-status {
  color: var(--green);
  font-weight: 600;
}
.privacy-preference-error {
  color: var(--text);
}
.privacy-details-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
