/* MakeFilter — selling chrome: Precision Bench */

.page-marketing,
.page-account,
.page-auth {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(15, 118, 110, 0.09), transparent 60%),
    linear-gradient(rgba(12, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 16, 20, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  background-attachment: fixed;
  min-height: 100vh;
}

/* —— Nav —— */
.site-nav {
  max-width: var(--max-tool);
  margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 30;
  border: 0;
  backdrop-filter: blur(14px);
  background: rgba(232, 236, 239, 0.82);
}

.site-nav .brand {
  font-family: var(--display);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

.nav-links .btn {
  margin-left: 0.15rem;
}

/* —— Hero: one composition, brand first —— */
.mkt-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad) 1.5rem;
  animation: rise 0.7s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.mkt-hero .brand-hero {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 11vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
  color: var(--ink);
}

.mkt-hero h1 {
  margin: 1.25rem 0 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}

.mkt-hero .lead {
  margin: 0.9rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.mkt-hero .cta-row {
  margin-top: 1.5rem;
  gap: 0.65rem;
}

.mkt-hero .btn {
  padding: 0.65rem 1.15rem;
}

.mkt-hero .btn-primary {
  animation: pulse-cta 2.8s var(--ease) 1.2s 2;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 16, 20, 0); }
  40% { box-shadow: 0 0 0 6px rgba(12, 16, 20, 0.08); }
}

/* —— Product tool —— */
.tool-note {
  max-width: var(--max-tool);
  margin: 0 auto 0.55rem;
  padding: 0 var(--pad);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool {
  max-width: var(--max-tool);
  margin: 0 auto 3.5rem;
  padding: 0 0.65rem;
  animation: rise 0.75s var(--ease) 0.12s both;
}

.tool-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tool-shell .app-header {
  position: static;
  height: auto;
  min-height: var(--header-h);
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}

.tool-shell .workspace {
  height: auto;
  min-height: 68vh;
  background: #f0f3f6;
}

.tool-shell .main-pane {
  height: auto;
  max-height: none;
}

.tool-shell .page-app {
  min-height: 0;
  display: block;
  background: transparent;
}

.tool-shell .page-app .app-header {
  justify-content: space-between;
}

/* —— Sections —— */
.mkt-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  border-top: 1px solid var(--line);
}

.mkt-section h2 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-lead {
  margin: 0.75rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  counter-reset: none;
}

.steps li {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.steps li::before { content: none; }

.step-num {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Price — interaction containers, not decorative cards clutter */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-card {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.price-card.is-accent {
  background: #f4faf9;
  box-shadow: inset 0 3px 0 var(--accent);
}

.price-card h2,
.price-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-value {
  margin: 0.55rem 0 0.7rem;
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.price-card p,
.price-card ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.price-card ul {
  padding-left: 1.05rem;
}

.price-card .btn {
  margin-top: 1rem;
}

/* FAQ */
.faq {
  margin-top: 1.75rem;
  max-width: 36rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--muted);
}

.faq details[open] summary::after { content: "–"; }

.faq p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
  clear: both;
}

/* Closing CTA strip */
.mkt-close {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad) 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.mkt-close h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.035em;
}

.mkt-close p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-footer {
  max-width: var(--max-tool);
  margin: 0 auto;
  padding: 2rem var(--pad) 2.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer strong {
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.site-footer a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover { color: var(--ink); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

/* —— Account —— */
.page-account .account-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem var(--pad) 3.5rem;
}

.page-account .eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-account .account-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1px;
  margin-bottom: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.page-account .account-hero > div:first-child {
  padding: 1.5rem 1.4rem;
  background: var(--surface);
}

.page-account .account-hero h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  word-break: break-all;
}

.page-account .account-hero .lead {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
}

.page-account .balance-card {
  padding: 1.35rem 1.4rem;
  background: #f4faf9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-account .balance-big {
  margin: 0.2rem 0 1rem;
  font-family: var(--mono);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.topup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.topup-row .btn {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
}

.topup-custom {
  margin-bottom: 0.75rem;
}

.page-account .account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.page-account .account-panel {
  margin: 0;
  padding: 1.25rem 1.3rem 1.4rem;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-account .account-panel-wide { grid-column: 1 / -1; }

.page-account .account-panel h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.page-account .account-panel > .muted {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.page-account .projects-list {
  max-height: none;
  margin-bottom: 1rem;
}

.page-account .project-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.page-account .project-row:last-child { border-bottom: 0; }

.page-account .project-row.is-focus {
  background: var(--accent-soft);
  margin: 0 -0.65rem;
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius-sm);
}

.tx-list {
  display: grid;
  gap: 0;
}

.tx-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.tx-row:last-child { border-bottom: 0; }

.tx-row .muted { font-size: 0.8rem; }

/* —— Auth —— */
.page-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.page-auth .auth-card {
  width: min(400px, 100%);
  margin: 0;
  padding: 1.75rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  animation: rise 0.55s var(--ease) both;
}

.page-auth .auth-card .brand {
  font-family: var(--display);
  font-size: 1.35rem;
}

.page-auth .auth-card h1 {
  margin: 1rem 0 0.35rem;
  font-family: var(--display);
  letter-spacing: -0.035em;
}

.page-auth .btn-primary { width: 100%; }

.page-auth .muted { font-size: 0.9rem; }

@media (max-width: 900px) {
  .steps,
  .price-cards,
  .page-account .account-hero,
  .page-account .account-grid {
    grid-template-columns: 1fr;
  }

  .mkt-hero { padding-top: 1.5rem; }

  .tool-shell .workspace { min-height: 0; }

  .mkt-close { flex-direction: column; align-items: flex-start; }
}


/* Landing tool uses same bench */
.tool-shell .bench { min-height: 68vh; }
.tool-shell .channels { max-height: 68vh; }
@media (max-width: 860px) {
  .tool-shell .channels { max-height: none; }
}
