@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&display=swap");

:root {
  --blue-950: oklch(0.24 0.12 262);
  --blue-850: oklch(0.34 0.18 262);
  --blue-700: oklch(0.55 0.24 262);
  --blue-500: oklch(0.66 0.21 259);
  --blue-100: oklch(0.94 0.045 252);
  --ink: oklch(0.20 0.012 260);
  --muted: oklch(0.52 0.025 260);
  --line: oklch(0.90 0.012 260);
  --paper: oklch(0.992 0.004 260);
  --soft: oklch(0.975 0.006 260);
  --cyan: oklch(0.91 0.075 215);
  --green: oklch(0.93 0.095 135);
  --pink: oklch(0.93 0.075 350);
  --amber: oklch(0.94 0.085 78);
  --radius-xl: 34px;
  --shadow-blue: 0 18px 70px oklch(0.55 0.24 262 / 0.28);
  color-scheme: light;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.offer-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 31px;
  padding: 5px 48px;
  background: oklch(0.58 0.24 260);
  color: oklch(0.99 0.004 260);
  font-weight: 650;
}

.bar-close {
  position: absolute;
  right: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 31px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 13px clamp(22px, 4.5vw, 90px);
  background: oklch(0.995 0.003 260 / 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 18px oklch(0.2 0.02 260 / 0.07);
}

.blog-header {
  top: 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-850));
  color: oklch(0.99 0.004 260);
  box-shadow: inset 0 0 0 2px oklch(0.99 0.004 260 / 0.2), 0 8px 22px oklch(0.35 0.18 262 / 0.22);
}

.brand-mark svg,
.toast-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header nav {
  display: flex;
  gap: clamp(34px, 4vw, 62px);
  color: oklch(0.32 0.014 260);
  font-size: 1.1rem;
  font-weight: 650;
}

.header-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-500));
  color: oklch(0.99 0.004 260);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px oklch(0.99 0.004 260 / 0.18), 0 10px 26px oklch(0.45 0.2 262 / 0.32);
}

.header-cta {
  justify-self: end;
  padding: 17px 36px;
  font-size: 1.08rem;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.login-link {
  font-weight: 800;
  color: var(--blue-850);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(62px, 7vw, 104px) 24px clamp(88px, 9vw, 130px);
  background:
    radial-gradient(circle at 50% 48%, oklch(0.70 0.18 258 / 0.58), transparent 34%),
    linear-gradient(180deg, oklch(0.31 0.16 260) 0%, oklch(0.58 0.24 260) 58%, oklch(0.88 0.08 250) 100%);
  color: oklch(0.99 0.004 260);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(oklch(0.99 0.004 260 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.99 0.004 260 / 0.08) 1px, transparent 1px),
    radial-gradient(circle, oklch(0.99 0.004 260 / 0.8) 1px, transparent 2px);
  background-size: 31px 31px, 31px 31px, 182px 182px;
  background-position: 0 0, 0 0, 20px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  text-align: center;
}

.money-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
  font-size: clamp(0.98rem, 1.45vw, 1.25rem);
}

.avatar-stack {
  display: inline-flex;
}

.avatar-stack img {
  display: block;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border: 3px solid oklch(0.99 0.004 260);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 7px 18px oklch(0.12 0.06 260 / 0.22);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.hero h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(4.8rem, 7.8vw, 7.55rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 > span {
  display: block;
}

.headline-top > span,
.headline-bottom > span {
  display: inline;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 760;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.04em;
  height: 0.07em;
  border-radius: 999px;
  background: oklch(0.78 0.17 250 / 0.65);
}

.hero-content > p {
  max-width: 760px;
  margin: 36px auto 0;
  color: oklch(0.91 0.035 260);
  font-size: clamp(1.15rem, 1.8vw, 1.48rem);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 52px;
}

.primary-cta {
  min-height: 68px;
  padding: 0 44px;
  font-size: clamp(1rem, 1.8vw, 1.32rem);
}

.hero-main-cta {
  min-width: 360px;
  background: linear-gradient(180deg, oklch(0.99 0.004 260), oklch(0.94 0.02 260));
  color: var(--blue-700);
  box-shadow: 0 10px 28px oklch(0.20 0.04 260 / 0.28);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 30px;
  border: 1px solid oklch(0.99 0.004 260 / 0.32);
  border-radius: 19px;
  color: oklch(0.97 0.012 260);
  font-weight: 750;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 68px;
  color: oklch(0.93 0.025 260);
  font-size: 1.05rem;
}

.micro-disclaimer {
  max-width: 760px;
  margin: 26px auto 0;
  color: oklch(0.91 0.03 260 / 0.72);
  font-size: 1rem;
}

.proof-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: oklch(0.91 0.07 250);
  font-size: 1.1rem;
}

.stars {
  padding: 3px 8px;
  border-radius: 4px;
  background: oklch(0.72 0.18 148);
  color: oklch(0.99 0.004 260);
  letter-spacing: 2px;
}

.activity-toast {
  position: relative;
  align-self: flex-start;
  margin: 48px 0 0 clamp(10px, 2.4vw, 44px);
  z-index: 2;
  width: min(420px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 20px;
  background: oklch(0.995 0.004 260 / 0.94);
  color: var(--ink);
  box-shadow: 0 18px 42px oklch(0.2 0.04 260 / 0.18);
}

.toast-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--blue-950);
  color: oklch(0.99 0.004 260);
}

.activity-toast p {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.32;
}

.activity-toast mark {
  padding: 2px 7px;
  border-radius: 5px;
  background: oklch(0.86 0.012 260);
  color: oklch(0.37 0.012 260);
  font-weight: 800;
}

.activity-toast small {
  color: var(--muted);
}

.steps-section,
.feature-bands,
.ugc-section,
.pricing-section,
.profit-section,
.faq-section,
.blog-main {
  padding-inline: clamp(18px, 3.6vw, 70px);
}

.steps-section {
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto 64px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(oklch(0.96 0.014 250 / 0.55) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.96 0.014 250 / 0.55) 1px, transparent 1px),
    linear-gradient(180deg, oklch(0.995 0.004 260), oklch(0.955 0.03 250));
  background-size: 16px 16px, 16px 16px, auto;
  box-shadow: 0 18px 48px oklch(0.22 0.05 260 / 0.08);
  overflow: hidden;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: clamp(18px, 3vw, 36px);
  margin-bottom: 28px;
}

.section-head > span {
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2 {
  min-width: 0;
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  overflow-wrap: break-word;
}

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

.step-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border: 1px solid oklch(0.86 0.035 250);
  border-radius: 22px;
  padding: 24px;
  background: oklch(0.99 0.004 260 / 0.86);
  box-shadow: 0 8px 22px oklch(0.22 0.04 260 / 0.06);
}

.step-card.active {
  border-color: oklch(0.78 0.11 252);
  background: linear-gradient(180deg, oklch(0.985 0.008 260), var(--blue-100));
  box-shadow: 0 14px 36px oklch(0.44 0.18 260 / 0.14);
}

.step-card span,
.price-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0 0 28px;
  padding: 7px 13px;
  border-radius: 12px;
  background: var(--blue-700);
  color: oklch(0.99 0.004 260);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px oklch(0.99 0.004 260 / 0.18);
}

.step-card h3,
.step-card p {
  margin: 0;
}

.step-card h3 {
  color: var(--blue-950);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.step-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.feature-bands {
  display: grid;
  gap: 44px;
  margin-top: 56px;
}

.feature-band {
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5.2vw, 58px);
  border: 1px solid currentColor;
  box-shadow: inset 0 0 0 10px oklch(0.99 0.004 260 / 0.42);
}

.feature-band h2 {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.05;
}

.feature-band > div > p,
.ugc-section > p,
.blog-hero p {
  max-width: 900px;
  color: color-mix(in oklch, currentColor 70%, var(--muted));
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.45;
}

.cyan {
  background: var(--cyan);
  color: oklch(0.31 0.09 216);
}

.green {
  background: var(--green);
  color: oklch(0.31 0.09 135);
}

.pink {
  background: var(--pink);
  color: oklch(0.33 0.10 350);
}

.feature-columns,
.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 120px);
  margin-top: clamp(40px, 6vw, 72px);
}

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

.feature-columns h3,
.pick-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.feature-columns p,
.pick-card p {
  color: color-mix(in oklch, currentColor 72%, var(--muted));
  font-size: 1.08rem;
  line-height: 1.52;
}

.feature-columns a {
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  background: oklch(0.99 0.004 260);
  font-weight: 850;
}

.pick-card {
  min-height: 205px;
  padding: 24px;
  border-radius: 24px;
  background: oklch(0.99 0.004 260 / 0.72);
}

.pick-card small {
  display: block;
  margin-bottom: 20px;
  color: color-mix(in oklch, currentColor 62%, var(--muted));
  font-weight: 800;
}

.ugc-section {
  text-align: center;
  padding-block: clamp(86px, 11vw, 146px) clamp(76px, 10vw, 130px);
  overflow: hidden;
}

.ugc-section h2,
.profit-section h2,
.faq-section h2,
.blog-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
}

.ugc-section > p {
  margin: 26px auto 56px;
}

.ugc-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: max-content;
  max-width: none;
  margin: 0 50% 56px;
  transform: translateX(-50%);
}

.ugc-rail article {
  width: clamp(228px, 23vw, 378px);
  aspect-ratio: 0.68;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 12px solid oklch(0.99 0.004 260);
  border-radius: 30px;
  color: oklch(0.99 0.004 260);
  text-align: left;
  background:
    linear-gradient(180deg, transparent 20%, oklch(0.18 0.04 260 / 0.82)),
    linear-gradient(oklch(0.99 0.004 260 / 0.10) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.99 0.004 260 / 0.10) 1px, transparent 1px),
    radial-gradient(circle at 40% 18%, oklch(0.86 0.12 210), transparent 32%),
    linear-gradient(145deg, oklch(0.43 0.20 262), oklch(0.68 0.21 330));
  background-size: auto, 22px 22px, 22px 22px, auto, auto;
  box-shadow: 0 18px 45px oklch(0.2 0.03 260 / 0.14);
}

.ugc-rail article:nth-child(2) {
  background:
    linear-gradient(180deg, transparent 18%, oklch(0.18 0.04 260 / 0.80)),
    radial-gradient(circle at 42% 28%, oklch(0.96 0.015 74), transparent 36%),
    linear-gradient(155deg, oklch(0.86 0.018 78), oklch(0.64 0.045 42));
}

.ugc-rail article:nth-child(3) {
  transform: translateY(22px);
  box-shadow: 0 24px 60px oklch(0.2 0.03 260 / 0.20);
}

.ugc-rail article:nth-child(4) {
  background:
    linear-gradient(180deg, transparent 18%, oklch(0.18 0.04 260 / 0.82)),
    radial-gradient(circle at 54% 28%, oklch(0.82 0.20 310), transparent 34%),
    linear-gradient(150deg, oklch(0.36 0.17 284), oklch(0.61 0.18 310));
}

.ugc-rail .ghost {
  opacity: 0.2;
  filter: blur(0.2px);
}

.ugc-rail span {
  width: max-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 9px;
  background: oklch(0.99 0.004 260 / 0.18);
  font-weight: 900;
}

.ugc-rail strong {
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  line-height: 1.05;
}

.pricing-section {
  display: grid;
  place-items: center;
  padding-block: 82px 46px;
}

.price-timer {
  margin: 0 auto 26px;
  margin-bottom: 26px;
  background: oklch(0.94 0.055 55);
  color: oklch(0.50 0.14 45);
  box-shadow: none;
  border: 1px solid oklch(0.74 0.13 45);
}

.pricing-card {
  position: relative;
  width: min(920px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 2px solid oklch(0.78 0.15 248);
  border-radius: 34px;
  background: linear-gradient(180deg, oklch(0.99 0.004 260), var(--blue-100));
  box-shadow: var(--shadow-blue);
}

.price-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 7px 13px;
  border-radius: 999px;
  background: oklch(0.88 0.14 130);
  color: oklch(0.35 0.11 132);
  font-weight: 800;
}

.trusted {
  color: var(--muted);
  font-size: 1.15rem;
}

.pricing-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.price-line {
  margin: 30px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.price-line s {
  color: var(--muted);
}

.price-line span {
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--green);
  color: oklch(0.36 0.12 130);
  font-size: 1rem;
  vertical-align: middle;
}

.wide {
  width: 100%;
}

.pricing-card ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.pricing-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue-700);
  font-weight: 900;
}

.profit-section {
  padding-block: 88px 110px;
  text-align: center;
}

.calculator {
  width: min(780px, 100%);
  margin: 46px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 14px 42px oklch(0.2 0.02 260 / 0.06);
}

.calculator label {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 18px;
  background: var(--soft);
  font-size: 1.2rem;
  font-weight: 800;
}

.calculator label + label {
  margin-top: 16px;
}

.calculator label strong,
.calculator p strong {
  width: max-content;
  margin: 0 auto;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.8rem;
}

.calculator input {
  width: 100%;
  accent-color: var(--blue-700);
}

.calculator p {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
}

.calculator small {
  color: var(--muted);
}

.faq-section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-bottom: 96px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.faq-list details,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 1px 2px oklch(0.2 0.02 260 / 0.04);
}

.faq-list summary {
  cursor: pointer;
  padding: 24px 28px;
  font-size: 1.25rem;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px 28px;
}

.final-cta h3,
.final-cta p {
  margin: 0;
}

.final-cta p {
  margin-top: 6px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr));
  gap: 42px;
  padding: 58px clamp(24px, 5vw, 90px) 70px;
  border-top-left-radius: 58px;
  border-top-right-radius: 58px;
  background: var(--blue-700);
  color: oklch(0.96 0.02 260);
}

.site-footer p,
.site-footer a {
  display: block;
  color: oklch(0.86 0.05 260);
}

.site-footer h4 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer a + a {
  margin-top: 12px;
}

.blog-main {
  padding-bottom: 90px;
}

.blog-hero {
  text-align: center;
  padding: 100px 0 70px;
}

.blog-hero p {
  margin: 28px auto 0;
  color: var(--blue-700);
  font-weight: 700;
}

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

.blog-grid article {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.blog-grid h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.blog-grid p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.45;
}

.blog-grid a {
  margin-top: auto;
  color: var(--blue-700);
  font-weight: 850;
}

.product-surface {
  min-height: 100vh;
  background:
    linear-gradient(oklch(0.91 0.018 255 / 0.62) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.91 0.018 255 / 0.62) 1px, transparent 1px),
    linear-gradient(180deg, oklch(0.98 0.008 255), oklch(0.94 0.018 252));
  background-size: 28px 28px, 28px 28px, auto;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid oklch(0.88 0.018 252);
  background: oklch(0.995 0.004 260 / 0.9);
  backdrop-filter: blur(18px);
}

.compact-brand {
  font-size: 1.2rem;
}

.compact-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.app-topbar nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: oklch(0.99 0.004 260 / 0.8);
}

.app-topbar nav a,
.support-link,
.secondary-button,
.tool-panel button,
.input-row button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 15px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
}

.app-topbar nav a {
  color: var(--muted);
}

.app-topbar nav a[aria-current="page"] {
  background: var(--blue-950);
  color: oklch(0.99 0.004 260);
}

.support-link {
  justify-self: end;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--blue-700);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
}

.app-sidebar {
  position: sticky;
  top: 100px;
  height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  border: 1px solid oklch(0.86 0.02 252);
  border-radius: 24px;
  background: oklch(0.995 0.004 260 / 0.78);
  box-shadow: 0 18px 50px oklch(0.22 0.04 260 / 0.08);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-sidebar h1,
.settings-hero h1,
.billing-summary h1,
.blueprint-hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
}

.app-sidebar p,
.settings-hero p,
.billing-summary p,
.blueprint-hero p,
.tool-panel p,
.plan-card p,
.blueprint-map p {
  color: var(--muted);
  line-height: 1.55;
}

.app-sidebar nav {
  display: grid;
  gap: 8px;
}

.app-sidebar nav a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}

.app-sidebar nav a[aria-current="page"],
.app-sidebar nav a:hover {
  background: var(--blue-100);
  color: var(--blue-700);
}

.app-workspace,
.settings-page,
.billing-page,
.blueprint-page {
  min-width: 0;
}

.workspace-head,
.billing-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  margin-bottom: 18px;
}

.workspace-head h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.status-pill,
.label-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.neutral {
  background: oklch(0.92 0.012 260);
  color: oklch(0.42 0.02 260);
}

.status-pill.amber {
  background: var(--amber);
  color: oklch(0.48 0.12 62);
}

.green-pill {
  background: var(--green);
  color: oklch(0.34 0.11 135);
}

.builder-grid,
.settings-grid,
.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-panel,
.plan-card,
.blueprint-map article {
  min-width: 0;
  border: 1px solid oklch(0.86 0.018 252);
  border-radius: 20px;
  padding: 22px;
  background: oklch(0.995 0.004 260 / 0.86);
  box-shadow: 0 14px 38px oklch(0.22 0.04 260 / 0.07);
}

.large-panel {
  grid-column: span 2;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.tool-panel h2,
.tool-panel h3,
.plan-card h2,
.blueprint-map h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.input-row input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.input-row button,
.tool-panel button,
.secondary-button {
  background: var(--blue-950);
  color: oklch(0.99 0.004 260);
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin-top: 14px;
  border: 1px dashed oklch(0.70 0.08 252);
  border-radius: 18px;
  background: oklch(0.96 0.025 252 / 0.7);
  color: var(--blue-700);
}

.drop-zone span,
.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-row,
.check-list,
.control-stack,
.strategy-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-row span,
.control-stack label,
.check-list label,
.strategy-card > div,
.paper-ticket {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  background: var(--soft);
}

.metric-row strong,
.paper-ticket strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.45rem;
}

.control-stack label {
  display: grid;
  gap: 10px;
  color: var(--blue-950);
  font-weight: 850;
}

.control-stack input {
  width: 100%;
  accent-color: var(--blue-700);
}

.control-stack span {
  color: var(--muted);
  font-size: 0.92rem;
}

.strategy-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paper-ticket {
  display: grid;
  gap: 12px;
}

.settings-page,
.billing-page,
.blueprint-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 42px) 88px;
}

.settings-hero,
.blueprint-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.toggle span {
  display: block;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: var(--blue-950);
  box-shadow: inset 0 0 0 3px oklch(0.99 0.004 260 / 0.28);
}

.toggle span::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 4px;
  border-radius: 999px;
  background: oklch(0.99 0.004 260);
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-950);
  font-weight: 800;
}

.danger-panel {
  border-color: oklch(0.78 0.12 20);
  background: oklch(0.99 0.015 22 / 0.86);
}

.danger-panel button {
  background: oklch(0.46 0.17 24);
}

.billing-summary {
  align-items: stretch;
}

.plan-card {
  width: min(360px, 100%);
  background: linear-gradient(180deg, oklch(0.99 0.004 260), var(--blue-100));
}

.blueprint-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blueprint-map article {
  min-height: 280px;
}

.blueprint-map span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--blue-950);
  color: oklch(0.99 0.004 260);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    top: 31px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .feature-columns,
  .pick-grid,
  .blog-grid,
  .app-layout,
  .billing-summary,
  .blueprint-map {
    grid-template-columns: 1fr;
  }

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

  .app-topbar nav {
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
  }

  .app-sidebar {
    position: static;
    height: auto;
  }

  .strategy-card,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .site-footer,
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ugc-rail {
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 48px;
    padding: 0 18px 16px;
    overflow-x: auto;
    transform: none;
    scroll-snap-type: x mandatory;
  }

  .ugc-rail article {
    flex: 0 0 min(78vw, 340px);
    scroll-snap-align: center;
  }

  .ugc-rail .ghost {
    display: none;
  }

  .activity-toast {
    position: relative;
    align-self: center;
    left: auto;
    bottom: auto;
    margin: 34px auto 0;
  }

  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .price-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
  }

  .feature-band h2 {
    font-size: clamp(2rem, 7vw, 3.35rem);
  }
}

@media (max-width: 560px) {
  .offer-bar {
    justify-content: flex-start;
    font-size: 0.86rem;
    padding-inline: 16px 42px;
    white-space: nowrap;
    overflow: hidden;
  }

  .site-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .compact-brand span:last-child {
    display: inline;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 74px 18px 72px;
  }

  .hero h1 {
    max-width: 292px;
    font-size: clamp(1.9rem, 8.2vw, 2.05rem);
    line-height: 1.02;
  }

  .hero h1 > span {
    max-width: 292px;
    margin-inline: auto;
  }

  .headline-top > span,
  .headline-bottom > span {
    display: block;
  }

  .hero-content {
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
    padding-inline: 0;
    overflow: hidden;
  }

  .money-line {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 0.95rem;
  }

  .money-line > span:not(.avatar-stack):not(.proof-badge) {
    flex-basis: 100%;
    overflow-wrap: anywhere;
  }

  .proof-badge {
    display: none;
  }

  .hero p {
    font-size: 1.08rem;
  }

  .hero-content > p {
    max-width: 272px;
    overflow-wrap: break-word;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    min-height: 66px;
  }

  .hero-actions {
    width: 100%;
    padding-inline: 0;
  }

  .hero-main-cta {
    flex: none;
    width: min(100%, 260px);
    max-width: 260px;
    min-width: 0;
    padding-inline: 18px;
  }

  .rating-row {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    width: 100%;
    margin-top: 34px;
    padding-inline: 14px;
  }

  .rating-row > span:nth-child(3),
  .rating-row > span:last-child {
    display: none;
  }

  .rating-row span:last-child {
    grid-column: 1 / -1;
    flex-basis: 100%;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
    overflow-wrap: break-word;
    font-size: 0.95rem;
  }

  .micro-disclaimer {
    display: none;
  }

  .activity-toast {
    margin: 28px auto 0;
    width: calc(100vw - 36px);
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 18px;
  }

  .toast-icon {
    width: 46px;
    height: 46px;
  }

  .activity-toast p {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .steps-section {
    width: calc(100vw - 26px);
    max-width: calc(100vw - 26px);
    margin-top: 42px;
    padding: 20px;
  }

  .steps-grid,
  .site-footer,
  .builder-grid,
  .settings-grid,
  .metric-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .large-panel {
    grid-column: auto;
  }

  .app-topbar {
    display: grid;
    padding: 12px;
  }

  .app-topbar nav {
    justify-content: start;
  }

  .support-link {
    display: none;
  }

  .app-layout,
  .settings-page,
  .billing-page,
  .blueprint-page {
    padding-inline: 13px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .steps-section *,
  .section-head,
  .step-card {
    min-width: 0;
  }

  .section-head h2 {
    width: 100%;
    max-width: 280px;
    font-size: clamp(1.35rem, 7.5vw, 1.78rem);
    overflow-wrap: anywhere;
  }

  .step-card {
    width: 100%;
    max-width: 100%;
    min-height: 155px;
    padding: 20px;
  }

  .step-card p {
    max-width: 250px;
    overflow-wrap: break-word;
  }

  .feature-band {
    padding: 28px 22px;
  }

  .ugc-section h2,
  .profit-section h2,
  .faq-section h2,
  .blog-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .site-footer {
    border-radius: 30px 30px 0 0;
  }
}

[data-theme="dark"] {
  --ink: oklch(0.95 0.01 260);
  --muted: oklch(0.72 0.025 260);
  --line: oklch(0.34 0.035 260);
  --paper: oklch(0.18 0.035 260);
  --soft: oklch(0.23 0.04 260);
  --blue-100: oklch(0.28 0.08 258);
  color-scheme: dark;
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background: oklch(0.15 0.032 260);
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .app-header,
[data-theme="dark"] .blog-header {
  background: oklch(0.18 0.035 260 / 0.94);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 13px clamp(18px, 4vw, 70px);
  background: oklch(0.995 0.003 260 / 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 18px oklch(0.2 0.02 260 / 0.07);
}

.app-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-weight: 800;
}

.icon-button,
.chat-form button,
.mock-upload button,
.billing-actions button {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.icon-button {
  width: 46px;
  height: 46px;
}

.app-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 54px);
}

.compact-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 34px;
  background:
    linear-gradient(oklch(0.99 0.004 260 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.99 0.004 260 / 0.08) 1px, transparent 1px),
    linear-gradient(145deg, var(--blue-950), var(--blue-700));
  background-size: 28px 28px, 28px 28px, auto;
  color: oklch(0.99 0.004 260);
}

.compact-hero > *,
.tool-card,
.app-panel,
.status-panel {
  min-width: 0;
  max-width: 100%;
}

.app-hero h1,
.document-hero h1,
.settings-card h1,
.billing-card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.app-hero p,
.document-hero p,
.billing-card p {
  max-width: 760px;
  color: color-mix(in oklch, currentColor 78%, var(--muted));
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compact-hero .eyebrow {
  color: oklch(0.84 0.08 250);
}

.status-panel,
.app-panel,
.tool-card,
.watchlist-section,
.backend-section,
.settings-card,
.settings-list,
.billing-card,
.billing-actions,
.roadmap-panel,
.blueprint-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 42px oklch(0.2 0.03 260 / 0.07);
}

.status-panel {
  display: grid;
  align-content: center;
  padding: 26px;
  color: var(--ink);
}

.status-panel strong {
  font-size: 4.8rem;
  line-height: 0.9;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.tool-card {
  padding: 24px;
}

.tool-card > span,
.blueprint-grid span,
.pill {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
}

.tool-card h2,
.app-panel h2,
.watchlist-section h2,
.backend-section h2,
.roadmap-panel h2,
.blueprint-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.tool-card p,
.tool-card li,
.trader-grid p,
.backend-section li,
.blueprint-grid p,
.settings-list a,
.billing-actions button {
  color: var(--muted);
  line-height: 1.48;
}

.tool-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.primary-tool {
  border-color: oklch(0.74 0.15 248);
  background: linear-gradient(180deg, oklch(0.99 0.004 260), var(--blue-100));
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  margin-top: 28px;
}

.app-panel,
.watchlist-section,
.backend-section,
.roadmap-panel {
  padding: clamp(22px, 3vw, 34px);
}

.panel-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-weight: 900;
  text-transform: uppercase;
}

.mock-upload {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin-top: 22px;
  border: 2px dashed var(--line);
  border-radius: 22px;
  text-align: center;
}

.mock-upload button,
.chat-form button {
  padding: 12px 18px;
}

.analysis-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: var(--soft);
}

.chat-box {
  display: grid;
  gap: 12px;
  min-height: 230px;
  max-height: 330px;
  overflow-y: auto;
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
}

.chat-box p {
  margin: 0;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.chat-form input,
.field-label input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.watchlist-section,
.backend-section {
  margin-top: 28px;
}

.trader-grid,
.blueprint-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.trader-grid article,
.roadmap-grid div {
  min-height: 180px;
  padding: 20px;
  border-radius: 18px;
  background: var(--soft);
}

.trader-grid a {
  color: var(--blue-700);
  font-weight: 900;
}

.backend-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
}

.backend-section ol {
  margin: 0;
  padding-left: 22px;
}

.document-shell,
.narrow-shell,
.billing-shell {
  width: min(1120px, 100%);
}

.document-hero {
  padding: clamp(30px, 5vw, 64px) 0;
  text-align: center;
}

.legal-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 16px 42px oklch(0.2 0.03 260 / 0.07);
}

.legal-panel h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
}

.legal-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

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

.blueprint-grid article {
  padding: 24px;
}

.roadmap-panel {
  margin-top: 22px;
}

.narrow-shell {
  display: grid;
  gap: 22px;
}

.settings-card,
.settings-list,
.billing-card,
.billing-actions {
  padding: clamp(24px, 4vw, 44px);
}

.field-label {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 800;
}

.toggle-row,
.settings-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.settings-list strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green);
  color: oklch(0.32 0.12 132);
}

.danger-action {
  color: oklch(0.58 0.18 25) !important;
}

.inline-notice {
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.billing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.billing-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.billing-actions button {
  padding: 16px;
  text-align: left;
}

.billing-start-link {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--blue-700);
}

.checkout-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.checkout-status[data-state="error"] {
  color: oklch(0.56 0.18 25);
}

.account-chip {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.account-chip a {
  color: var(--blue-700);
}

.account-state {
  color: var(--muted);
  font-weight: 750;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 20px;
  background:
    linear-gradient(oklch(0.94 0.03 250 / 0.55) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.94 0.03 250 / 0.55) 1px, transparent 1px),
    linear-gradient(180deg, oklch(0.99 0.004 260), var(--blue-100));
  background-size: 22px 22px, 22px 22px, auto;
}

.auth-card {
  width: min(520px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: oklch(0.995 0.004 260 / 0.94);
  box-shadow: 0 20px 60px oklch(0.2 0.04 260 / 0.13);
}

.auth-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.auth-card p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.auth-note a {
  color: var(--blue-700);
  font-weight: 850;
}

@media (max-width: 980px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .app-header nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .compact-hero,
  .panel-grid,
  .backend-section,
  .billing-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-grid,
  .blueprint-grid,
  .trader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: 100%;
    max-width: 100vw;
    padding: 16px;
  }

  .app-header {
    min-height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .app-header .brand span:last-child {
    display: none;
  }

  .app-header nav {
    gap: 12px;
    justify-content: flex-start;
    font-size: 0.84rem;
  }

  .compact-hero {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    padding: 24px;
    overflow: hidden;
  }

  .app-hero h1,
  .document-hero h1,
  .settings-card h1,
  .billing-card h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.35rem);
    line-height: 1.02;
  }

  .app-hero p,
  .document-hero p,
  .billing-card p,
  .tool-card p,
  .tool-card li {
    font-size: 0.98rem;
  }

  .compact-hero p,
  .tool-card p,
  .tool-card li {
    max-width: 280px;
  }

  .tool-grid,
  .blueprint-grid,
  .trader-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-header nav,
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}
