/* Public pages share the homepage's design language. */
#marketingRoot {
  --green: #00b965;
  --green-dark: #00834c;
  --green-soft: #e8f9f0;
  --black: #0b202d;
  --ink: #102532;
  --muted: #566b80;
  --line: #e1ece7;
  --surface: #f6faf8;
  --radius: 14px;
  --shadow: 0 12px 36px #0b54360a;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  color: var(--ink);
}
#marketingRoot .marketing-nav {
  width: 100%; min-height: 82px;
  padding: 12px max(24px, calc((100% - 1280px) / 2));
  background: #ffffffef; border-bottom: 1px solid #e5efeb;
}
#marketingRoot .brand-logo-wrap > small { display: none; }
#marketingRoot .marketing-brand img { width: 176px; max-height: 50px; object-fit: contain; }
#marketingRoot .marketing-nav :is(nav a, summary, .marketing-nav-actions > a:not(.primary)) {
  font-weight: 500; color: #263e4c;
}
#marketingRoot .marketing-nav :is(nav a, summary):hover { color: #00834c; }
#marketingRoot .marketing-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 49px; padding: 13px 25px; border-radius: 10px;
  font-size: 15px; font-weight: 650; line-height: 1.4;
  transition: transform .18s, box-shadow .18s;
}
#marketingRoot .marketing-button.primary {
  background: linear-gradient(120deg, #00c96e, #009b4d); color: #fff;
  border: 1px solid transparent; box-shadow: 0 5px 12px #00ad6012;
}
#marketingRoot .marketing-button.secondary { background: white; color: var(--ink); border: 1px solid #dce7ee; }
#marketingRoot .marketing-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px #0b543616; }
#marketingRoot .marketing-button:disabled { transform: none; box-shadow: none; }
#marketingRoot :is(a, button, summary, input, textarea, select):focus-visible { outline: 3px solid #008c58; outline-offset: 4px; }
#marketingRoot .marketing-nav .primary { padding: 13px 22px; }

/* Inner-page canvas and hierarchy. */
#marketingRoot .inner-main { background: white; font-size: 16px; line-height: 1.65; padding-bottom: 64px; }
.inner-main :is(h1, h2, h3) { color: #0b202d; }
.inner-main h1 { font-weight: 800; letter-spacing: -1.7px; }
.inner-main h2 { font-weight: 750; letter-spacing: -.85px; }
.inner-main h3 { font-weight: 650; letter-spacing: -.3px; }
.inner-main :is(.marketing-grid, .industry-layout, .marketing-contact, .pricing-builder, .faq-section, .final-cta) {
  width: min(1280px, calc(100% - 64px));
}
.inner-main :is(.marketing-hero.lite, .seo-hero, .legal-hero) {
  width: 100%; margin: 0 auto 56px;
  padding: 64px max(32px, calc((100% - 1280px) / 2));
  background: radial-gradient(ellipse at 8% 12%, #def9ed, transparent 55%), radial-gradient(ellipse at 95% 25%, #e8fbf1, transparent 48%), linear-gradient(#f8fdfb, white);
}
.inner-main :is(.marketing-hero.lite, .seo-hero) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 540px; gap: 64px;
}
.inner-main :is(.hero-copy h1, .seo-hero h1, .legal-hero h1) {
  font-size: clamp(36px, 3.75vw, 56px); line-height: 1.12; margin: 18px 0;
}
.inner-main :is(.hero-copy > p, .seo-hero > div > p, .legal-hero > p) { color: #566b80; font-size: 18px; line-height: 1.65; max-width: 680px; }
.inner-main .marketing-eyebrow,
.inner-main .hero-copy > .marketing-eyebrow,
.inner-main .seo-hero > div > .marketing-eyebrow,
.inner-main .legal-hero > .marketing-eyebrow {
  display: inline-block; width: fit-content; padding: 6px 15px; margin: 0 0 8px;
  border-radius: 24px; color: #007b4c; background: #dff7eb;
  font-size: 12px; font-weight: 650; letter-spacing: .7px; line-height: 1.5;
}
.inner-main .marketing-actions { gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.inner-main .hero-product { min-height: 420px; border-radius: 20px; border-color: #d3e8de; padding: 20px; background: #f0faf4; box-shadow: 0 20px 55px #086b4c12; }
.inner-main :is(.mini-dashboard, .lead-journey-card, .topic-mockup) { border-radius: 14px; border-color: #dcebe3; box-shadow: 0 12px 32px #086b4c0d; }
.inner-main .topic-mockup { padding: 28px; }
.inner-main .mockup-toolbar span:first-child { background: #ff6058; }
.inner-main .mockup-toolbar span:nth-child(2) { background: #ffbf2f; }
.inner-main .mockup-toolbar span:nth-child(3) { background: #28cc5e; }
.inner-main .mockup-row span { font-weight: 600; }
.inner-main .mockup-panel { background: #e8f9f0; color: #007b4c; font-weight: 600; border-radius: 10px; }

/* Feature, industry, and guide content. */
.inner-main :is(.marketing-grid, .industry-layout, .screen-grid, .seo-card-grid) { gap: 22px; }
.inner-main :is(.feature-card, .addon-card, .industry-layout article, .screen-grid article, .seo-card-grid article) {
  padding: 28px; border: 1px solid #e1ece7; border-radius: 15px; background: white; box-shadow: 0 8px 26px #0b543606;
}
.inner-main :is(.feature-card, .industry-layout article) { min-height: 220px; }
.inner-main :is(.feature-card, .addon-card, .industry-layout article) { transition: border-color .18s, box-shadow .18s; }
.inner-main :is(.feature-card, .addon-card, .industry-layout article):hover { border-color: #afdcc5; box-shadow: 0 12px 32px #0b54360c; }
.inner-main :is(.feature-card h3, .addon-card h3, .industry-layout h2, .screen-grid h3, .seo-card-grid h3) { font-size: 20px; line-height: 1.3; margin: 16px 0 10px; letter-spacing: -.4px; }
.inner-main :is(.feature-card p, .addon-card p, .industry-layout p, .screen-grid p, .seo-card-grid p) { font-size: 16px; line-height: 1.65; color: #566b80; }
.inner-main :is(.icon-badge, .screen-grid article > span) { background: #e4f8ee; color: #008850; border-radius: 12px; font-weight: 650; }
.inner-main .industry-layout a { display: inline-flex; align-items: center; min-height: 44px; color: #00834c; font-size: 14px; font-weight: 650; }
.inner-main .industry-layout a::after { content: "→"; margin-left: 10px; }
.inner-main .seo-section { width: min(1080px, calc(100% - 64px)); padding: 36px 0; }
.inner-main .seo-section + .seo-section { border-top: 1px solid #e8efeb; }
.inner-main .seo-section h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin-top: 0; }
.inner-main .seo-section > p { max-width: 85ch; line-height: 1.8; }
.inner-main .seo-internal-links { width: min(1080px, calc(100% - 64px)); gap: 12px; }
.inner-main .seo-internal-links a { border-radius: 10px; background: #f5fbf8; font-size: 14px; font-weight: 550; padding: 12px; }
.inner-main .sample-chat { border-radius: 16px; box-shadow: none; background: #f4faf6; padding: 24px; }
.inner-main .faq-section { margin: 48px auto; padding: 40px; border: 1px solid #e1ece7; border-radius: 20px; background: #f7fcf9; gap: 48px; }
.inner-main .faq-section h2 { font-size: clamp(26px, 3vw, 36px); }
.inner-main .faq-list details { border: 1px solid #e0ebe5; border-radius: 12px; background: white; padding: 18px 22px; box-shadow: none; }
.inner-main .faq-list summary { color: #18382c; font-size: 16px; font-weight: 600; cursor: pointer; line-height: 1.5; }
.inner-main .faq-list p { color: #566b80; line-height: 1.75; font-size: 15px; }
.inner-main .final-cta { margin: 56px auto 0; padding: 44px; border: 1px solid #cdeedb; border-radius: 20px; background: radial-gradient(ellipse at 95% 15%, #c7f2dd, transparent 60%), #eafaf1; }
.inner-main .final-cta h2 { max-width: 700px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 0 0 14px; color: #0b202d; }
.inner-main .final-cta p { color: #566b80; max-width: 660px; }

/* Account and contact forms. Existing actions and validation are retained. */
.inner-main .marketing-auth { width: 100%; margin: 0; padding: 64px 24px; background: radial-gradient(ellipse at 15% 10%, #dcf7e9, transparent 60%), #f7fcf9; }
.inner-main :is(.auth-panel, .signup-flow-panel, .marketing-form, .checkout-summary) { border: 1px solid #dcebe3; border-radius: 20px; padding: 36px; background: white; box-shadow: 0 18px 50px #0b54360b; }
.inner-main .auth-panel { width: min(100%, 480px); }
.inner-main .auth-panel h1 { font-size: 32px; letter-spacing: -.9px; line-height: 1.2; margin: 24px 0 12px; }
.inner-main .auth-panel .marketing-button { width: 100%; }
.inner-main .auth-logo img { max-width: 176px; }
.inner-main :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  width: 100%; max-width: 100%; min-height: 48px; border: 1px solid #d8e5df; border-radius: 9px;
  background: #fcfefd; color: #102532; padding: 12px 14px; font-size: 16px;
}
.inner-main textarea { min-height: 130px; resize: vertical; }
.inner-main :is(input, select, textarea):focus { border-color: #008c58; }
.inner-main :is(label, .form-row) { font-size: 14px; font-weight: 550; color: #284637; }
.inner-main .marketing-contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; }
.inner-main .contact-panel { align-self: start; border-radius: 18px; padding: 32px; background: #eefaf3; border: 1px solid #d6eedd; box-shadow: none; }
.inner-main .contact-panel h2 { margin-top: 0; font-size: 26px; }
.inner-main .contact-panel li { margin-bottom: 14px; color: #385948; }

/* Policy pages use the same canvas with a readable article column. */
.inner-main .legal-hero { min-height: auto; padding-top: 56px; padding-bottom: 42px; margin-bottom: 40px; }
.inner-main .legal-hero > p { max-width: 800px; }
.inner-main .legal-layout { width: min(1180px, calc(100% - 64px)); gap: 40px; }
.inner-main .legal-toc { padding: 24px; border: 1px solid #deebe3; border-radius: 14px; background: #f7fcf9; top: 106px; box-shadow: none; }
.inner-main .legal-toc a { font-size: 14px; line-height: 1.55; font-weight: 500; color: #526c60; }
.inner-main .legal-toc a:hover { color: #00834c; }
.inner-main .legal-section { border-radius: 14px; padding: 28px; border-color: #e1ece7; box-shadow: none; scroll-margin-top: 110px; }
.inner-main .legal-section h2 { font-size: 24px; line-height: 1.3; }
.inner-main .legal-section :is(p, li) { font-size: 16px; line-height: 1.8; color: #566b80; }

/* A distinct pricing page, using the existing start-free offer. */
.inner-main .inner-pricing-hero { text-align: center; padding: 64px 24px 40px; background: radial-gradient(ellipse at 50% 0%, #def9ed, transparent 75%); width: 100%; }
.inner-pricing-hero h1 { font-size: clamp(36px, 3.75vw, 56px); line-height: 1.12; margin: 18px auto; max-width: 740px; }
.inner-pricing-hero > p:last-child { max-width: 640px; margin: auto; color: #566b80; font-size: 18px; }
.inner-main .inner-plan { width: min(1040px, calc(100% - 64px)); display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid #cfe9db; border-radius: 20px; overflow: hidden; margin: 24px auto 56px; box-shadow: 0 18px 48px #0b543609; }
.inner-plan-offer { padding: 40px; background: #edfaf3; }
.inner-plan-offer h2 { font-size: 26px; margin: 10px 0; }
.inner-plan-price { font-size: 48px; line-height: 1.1; letter-spacing: -1.5px; font-weight: 800; display: block; margin: 24px 0 12px; }
.inner-plan-offer p { color: #566b80; }
.inner-plan-offer .marketing-button { margin-top: 18px; width: 100%; }
.inner-plan-features { padding: 40px; }
.inner-plan-features h3 { font-size: 20px; margin: 0 0 20px; }
.inner-plan-features ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inner-plan-features li { font-size: 15px; display: flex; gap: 10px; }
.inner-plan-features li::before { content: "✓"; color: #008c50; font-weight: 700; }
.inner-plan-note { font-size: 14px; color: #566b80; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #e1ece7; }

/* Shared public footer. */
#marketingRoot .marketing-footer { width: 100%; margin: 0; padding: 52px max(32px, calc((100% - 1280px) / 2)) 24px; display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 28px; background: #f5fbf8; border-top: 1px solid #dfeee5; color: #102532; }
#marketingRoot .marketing-footer .footer-column h3 { font-size: 14px; font-weight: 650; color: #12382a; }
#marketingRoot .marketing-footer :is(.footer-column a, p) { font-size: 14px; line-height: 1.7; color: #5c7367; font-weight: 400; }
#marketingRoot .marketing-footer .footer-column a { padding: 3px 0; }
#marketingRoot .marketing-footer .footer-column a:hover { color: #00834c; }
#marketingRoot .marketing-footer .product-credit { font-size: 12px; color: #73877c; }
#marketingRoot .footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 22px; margin-top: 12px; border-top: 1px solid #dfeee5; font-size: 12px; color: #657e70; }

@media (max-width: 1100px) {
  .inner-main :is(.marketing-hero.lite, .seo-hero) { gap: 32px; }
  #marketingRoot .marketing-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inner-main .screen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .inner-main :is(.marketing-hero.lite, .seo-hero) { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 36px; gap: 36px; }
  .inner-main :is(.marketing-hero.lite, .seo-hero) > :last-child { width: 100%; max-width: 600px; margin-inline: auto; }
  .inner-main :is(.marketing-grid.three, .industry-layout) { grid-template-columns: 1fr 1fr; }
  .inner-main :is(.marketing-contact, .legal-layout, .inner-plan) { grid-template-columns: 1fr; }
  .inner-main .legal-toc { position: static; }
  .inner-main .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .inner-main .final-cta { grid-template-columns: 1fr; }
  .inner-main .seo-internal-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  #marketingRoot .marketing-menu-panel { top: 82px; max-height: calc(100dvh - 98px); border-radius: 14px; }
  #marketingRoot .marketing-menu-backdrop { inset: 82px 0 0; }
}
@media (max-width: 600px) {
  #marketingRoot .marketing-nav { min-height: 72px; padding: 12px 18px; }
  #marketingRoot .marketing-nav .marketing-brand img { width: 145px; }
  #marketingRoot .marketing-menu-panel { top: 72px; max-height: calc(100dvh - 88px); }
  #marketingRoot .marketing-menu-backdrop { inset: 72px 0 0; }
  .inner-main :is(.marketing-grid, .industry-layout, .marketing-contact, .pricing-builder, .faq-section, .final-cta, .seo-section, .seo-internal-links, .legal-layout, .inner-plan) { width: calc(100% - 36px); }
  .inner-main :is(.marketing-hero.lite, .seo-hero, .legal-hero) { padding-inline: 18px; margin-bottom: 28px; }
  .inner-main :is(.hero-copy h1, .seo-hero h1, .legal-hero h1, .inner-pricing-hero h1) { font-size: 36px; letter-spacing: -1px; }
  .inner-main :is(.hero-copy > p, .seo-hero > div > p) { font-size: 17px; }
  .inner-main :is(.marketing-grid.three, .industry-layout, .seo-card-grid, .inner-plan-features ul) { grid-template-columns: 1fr; }
  .inner-main :is(.feature-card, .industry-layout article) { min-height: auto; }
  .inner-main :is(.auth-panel, .signup-flow-panel, .marketing-form, .checkout-summary, .contact-panel, .legal-section, .inner-plan-offer, .inner-plan-features) { padding: 24px; }
  .inner-main .marketing-auth { padding: 36px 18px; }
  .inner-main .hero-product { padding: 12px; min-height: 380px; }
  .inner-main .marketing-actions { flex-direction: column; align-items: stretch; }
  .inner-main .faq-section { padding: 24px 18px; margin-block: 32px; }
  .inner-main .faq-list details { padding: 16px; }
  .inner-main .final-cta { padding: 28px 22px; margin-top: 32px; }
  .inner-main .final-cta .marketing-button { width: 100%; }
  .inner-main .legal-section { scroll-margin-top: 90px; }
  #marketingRoot .marketing-footer { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 36px 20px 24px; }
  #marketingRoot .footer-brand-block { grid-column: 1 / -1; max-width: 360px; }
  #marketingRoot .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  #marketingRoot .marketing-button, .inner-main :is(.feature-card, .addon-card, .industry-layout article) { transition: none; }
}
