/*
Theme Name: SmallBusiness.Tech
Theme URI: https://smallbusiness.tech/
Author: SmallBusiness.Tech
Description: Custom launch theme for the SmallBusiness.Tech founding membership homepage.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: smallbusinesstech
*/

@font-face {
  font-family: "Fraunces SBT";
  src: url("assets/fonts/Fraunces_72pt_Soft-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces SBT";
  src: url("assets/fonts/Fraunces_72pt_Soft-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces SBT";
  src: url("assets/fonts/Fraunces_72pt_Soft-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sbt-slate: #2a3a4f;
  --sbt-blue-slate: #4a5d8b;
  --sbt-sage: #3f7868;
  --sbt-cream: #f7f3ec;
  --sbt-paper: #fffdf8;
  --sbt-ink: #182333;
  --sbt-muted: #5b6573;
  --sbt-line: #ded8cc;
  --sbt-gold: #b98935;
  --sbt-focus: #0b6f85;
  --sbt-serif: "Fraunces SBT", Georgia, serif;
  --sbt-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sbt-wrap: min(1120px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sbt-paper);
  color: var(--sbt-ink);
  font-family: var(--sbt-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--sbt-slate);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sbt-sage);
}

:focus-visible {
  outline: 3px solid var(--sbt-focus);
  outline-offset: 4px;
}

.skip-link {
  background: var(--sbt-slate);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(42, 58, 79, 0.12);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner,
.site-footer__inner,
.section__inner {
  margin: 0 auto;
  width: var(--sbt-wrap);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 78px;
}

.site-branding img {
  width: min(322px, 68vw);
}

.site-nav ul {
  align-items: center;
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--sbt-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sbt-sage);
}

.button,
.wp-block-button__link {
  align-items: center;
  background: var(--sbt-sage);
  border: 2px solid var(--sbt-sage);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 21px;
  text-decoration: none;
}

.button:hover {
  background: #315f52;
  border-color: #315f52;
  color: #fff;
}

.button--ghost {
  background: transparent;
  border-color: rgba(42, 58, 79, 0.28);
  color: var(--sbt-slate);
}

.button--ghost:hover {
  background: var(--sbt-cream);
  border-color: var(--sbt-slate);
  color: var(--sbt-slate);
}

.button--light {
  background: var(--sbt-cream);
  border-color: var(--sbt-cream);
  color: var(--sbt-slate);
}

.button--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sbt-slate);
}

.hero {
  background: linear-gradient(135deg, var(--sbt-cream) 0%, #ffffff 52%, #edf3f1 100%);
  overflow: hidden;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(42, 58, 79, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(42, 58, 79, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(115deg, transparent 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
  position: absolute;
}

.hero .section__inner {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  min-height: calc(100vh - 78px);
  padding: 78px 0 46px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--sbt-sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  max-width: 850px;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
}

h3 {
  font-size: 25px;
  font-weight: 600;
}

.hero__copy {
  align-self: center;
}

.hero__lede {
  color: #38465a;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.52;
  margin: 24px 0 0;
  max-width: 730px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__panel {
  align-self: end;
  background: var(--sbt-slate);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(42, 58, 79, 0.24);
  color: var(--sbt-cream);
  padding: 30px;
}

.hero__panel img {
  margin-bottom: 28px;
  max-width: 246px;
}

.hero__panel p {
  color: rgba(247, 243, 236, 0.88);
  margin: 0;
}

.stat-row {
  border-top: 1px solid rgba(247, 243, 236, 0.2);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  padding-top: 24px;
}

.stat strong {
  color: #fff;
  display: block;
  font-family: var(--sbt-serif);
  font-size: 31px;
  line-height: 1;
}

.stat span {
  color: rgba(247, 243, 236, 0.76);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 8px;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section--cream {
  background: var(--sbt-cream);
}

.section--dark {
  background: var(--sbt-slate);
  color: var(--sbt-cream);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p,
.section--dark li {
  color: rgba(247, 243, 236, 0.86);
}

.section-header {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-header p {
  color: var(--sbt-muted);
  font-size: 19px;
  margin: 16px 0 0;
}

.section--dark .section-header p {
  color: rgba(247, 243, 236, 0.82);
}

.problem-grid,
.framework-grid,
.benefits-grid,
.trust-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 22px;
}

.problem-grid,
.framework-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-card,
.phase-card,
.benefit-card,
.price-card,
.quote-card,
.faq-item {
  background: #fff;
  border: 1px solid rgba(42, 58, 79, 0.13);
  border-radius: 8px;
}

.problem-card {
  padding: 28px;
}

.problem-card strong {
  color: var(--sbt-slate);
  display: block;
  font-family: var(--sbt-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 14px;
}

.problem-card p,
.phase-card p,
.benefit-card p,
.price-card p,
.faq-item p {
  color: var(--sbt-muted);
  margin: 0;
}

.transition-line {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  margin: 38px 0 0;
  max-width: 820px;
}

.phase-card {
  border-top: 6px solid var(--phase-color, var(--sbt-sage));
  padding: 30px;
}

.phase-card__icon {
  align-items: center;
  background: var(--sbt-cream);
  border-radius: 999px;
  color: var(--phase-color, var(--sbt-sage));
  display: inline-flex;
  font-size: 24px;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.phase-card em {
  border-top: 1px solid var(--sbt-line);
  color: #475365;
  display: block;
  font-size: 15px;
  line-height: 1.55;
  margin-top: 22px;
  padding-top: 18px;
}

.about-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.75fr 1.25fr;
}

.portrait-card {
  background: linear-gradient(145deg, var(--sbt-slate), #1b293b);
  border-radius: 8px;
  color: #fff;
  min-height: 470px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.portrait-card::before {
  border: 1px solid rgba(247, 243, 236, 0.18);
  border-radius: 8px;
  content: "";
  inset: 18px;
  position: absolute;
}

.portrait-card__initials {
  color: rgba(247, 243, 236, 0.96);
  font-family: var(--sbt-serif);
  font-size: 132px;
  line-height: 1;
  position: relative;
}

.portrait-card__caption {
  bottom: 34px;
  color: rgba(247, 243, 236, 0.78);
  font-size: 15px;
  left: 34px;
  max-width: 250px;
  position: absolute;
}

.about-copy p {
  color: #465163;
  margin: 18px 0 0;
}

.about-copy .lead {
  color: var(--sbt-slate);
  font-size: 20px;
  font-weight: 800;
}

.quote-card {
  background: var(--sbt-cream);
  border-color: var(--sbt-line);
  margin-top: 26px;
  padding: 26px;
}

.quote-card blockquote {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: 25px;
  line-height: 1.3;
  margin: 0;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.trust-item {
  border-top: 2px solid var(--sbt-sage);
  color: #485467;
  font-size: 14px;
  font-weight: 700;
  padding-top: 12px;
}

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

.benefit-card {
  padding: 26px;
}

.benefit-card__icon {
  color: var(--sbt-sage);
  font-size: 24px;
  margin-bottom: 13px;
}

.benefit-card h3,
.faq-item h3 {
  font-family: var(--sbt-sans);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.benefit-card p,
.faq-item p {
  margin-top: 10px;
}

.founding {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
}

.founding ul,
.price-card ul {
  margin: 24px 0 0;
  padding: 0;
}

.founding li,
.price-card li {
  list-style: none;
  margin-top: 10px;
  padding-left: 28px;
  position: relative;
}

.founding li::before,
.price-card li::before {
  color: var(--sbt-sage);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.counter {
  align-self: start;
  background: #fff;
  border-radius: 8px;
  color: var(--sbt-slate);
  padding: 30px;
}

.counter__number {
  color: var(--sbt-sage);
  display: block;
  font-family: var(--sbt-serif);
  font-size: 76px;
  font-weight: 600;
  line-height: 0.9;
}

.counter__label {
  color: var(--sbt-slate);
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-top: 12px;
}

.progress {
  background: #e6dfd3;
  border-radius: 999px;
  height: 12px;
  margin-top: 24px;
  overflow: hidden;
}

.progress span {
  background: var(--sbt-sage);
  display: block;
  height: 100%;
  width: 26%;
}

.pricing-grid {
  align-items: stretch;
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  padding: 34px;
  position: relative;
}

.price-card--featured {
  border: 2px solid var(--sbt-sage);
  box-shadow: 0 18px 38px rgba(42, 58, 79, 0.12);
}

.badge {
  background: var(--sbt-sage);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 7px 11px;
  text-transform: uppercase;
}

.price {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  margin: 18px 0 8px;
}

.price span {
  color: var(--sbt-muted);
  font-family: var(--sbt-sans);
  font-size: 17px;
  font-weight: 800;
}

.price-card .button {
  margin-top: 28px;
}

.fine-print {
  color: var(--sbt-muted);
  display: block;
  font-size: 14px;
  margin-top: 14px;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 44px;
}

.faq-item {
  padding: 25px;
}

.final-cta {
  text-align: center;
}

.final-cta .section__inner {
  max-width: 860px;
}

.final-cta p {
  color: rgba(247, 243, 236, 0.86);
  font-size: 20px;
  margin: 20px auto 0;
  max-width: 780px;
}

.final-cta .button {
  margin-top: 30px;
}

.final-cta .contact {
  font-size: 15px;
}

.final-cta a:not(.button) {
  color: #fff;
}

.site-footer {
  background: #162234;
  color: rgba(247, 243, 236, 0.78);
  padding: 40px 0;
}

.site-footer__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.site-footer img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  width: 235px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a,
.site-footer a {
  color: rgba(247, 243, 236, 0.9);
}

.site-footer p {
  font-size: 14px;
  margin: 0;
}

.page-shell {
  background: linear-gradient(180deg, var(--sbt-cream) 0, var(--sbt-paper) 320px);
}

.page-hero {
  padding: 78px 0 36px;
}

.page-hero .section__inner,
.content-shell {
  max-width: 880px;
}

.page-hero p {
  color: var(--sbt-muted);
  font-size: 20px;
  margin: 18px 0 0;
}

.content-shell {
  background: #fff;
  border: 1px solid rgba(42, 58, 79, 0.13);
  border-radius: 8px;
  margin: 0 auto 86px;
  padding: 44px;
}

.content-shell h2,
.content-shell h3 {
  margin-top: 34px;
}

.content-shell h2:first-child,
.content-shell h3:first-child {
  margin-top: 0;
}

.content-shell p,
.content-shell li {
  color: #465163;
}

.content-shell a {
  font-weight: 700;
}

.sbt-contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--sbt-slate);
  font-size: 14px;
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  background: #fff;
  border: 2px solid var(--sbt-line);
  border-radius: 8px;
  color: var(--sbt-ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
}

.notice {
  border-radius: 8px;
  font-weight: 800;
  padding: 14px 16px;
}

.notice--success {
  background: #e7f2ed;
  color: #245b4d;
}

.notice--error {
  background: #f8e8e4;
  color: #873520;
}

@media (max-width: 920px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 13px 18px;
  }

  .hero .section__inner,
  .about-grid,
  .founding {
    grid-template-columns: 1fr;
  }

  .hero .section__inner {
    min-height: auto;
    padding: 58px 0 42px;
  }

  .hero__panel {
    align-self: stretch;
  }

  .problem-grid,
  .framework-grid,
  .benefits-grid,
  .trust-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --sbt-wrap: min(100vw - 28px, 1120px);
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: auto;
    padding: 18px 0;
  }

  .site-branding img {
    width: min(290px, 82vw);
  }

  .section {
    padding: 66px 0;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .problem-grid,
  .framework-grid,
  .benefits-grid,
  .trust-grid,
  .pricing-grid,
  .faq-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    min-height: 360px;
  }

  .portrait-card__initials {
    font-size: 96px;
  }

  .price {
    font-size: 46px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .content-shell {
    padding: 28px;
  }
}

/* ============================================================
   Coming Soon front page
   ============================================================ */

.coming-soon {
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(63, 120, 104, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(74, 93, 139, 0.10), transparent 60%),
    var(--sbt-paper);
  min-height: calc(100vh - 200px);
}

.coming-soon__hero {
  padding: 64px 0 96px;
}

.coming-soon__inner {
  margin: 0 auto;
  max-width: var(--sbt-wrap);
  text-align: center;
}

.coming-soon__logo {
  height: auto;
  margin: 0 auto 36px;
  max-width: 360px;
  width: 100%;
}

.coming-soon__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}

.coming-soon__headline {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 auto 22px;
  max-width: 860px;
}

.coming-soon__lede {
  color: var(--sbt-muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 auto 56px;
  max-width: 640px;
}

.ted-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin: 0 auto 64px;
  max-width: 980px;
}

@media (min-width: 760px) {
  .ted-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ted-card {
  background: #fff;
  border: 1px solid var(--sbt-line);
  border-radius: 14px;
  box-shadow: 0 2px 0 rgba(24, 35, 51, 0.03), 0 12px 30px -22px rgba(24, 35, 51, 0.25);
  padding: 32px 26px 28px;
  position: relative;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ted-card::before {
  background: var(--phase-color, var(--sbt-slate));
  border-radius: 14px 14px 0 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ted-card:hover {
  box-shadow: 0 2px 0 rgba(24, 35, 51, 0.03), 0 18px 40px -20px rgba(24, 35, 51, 0.3);
  transform: translateY(-2px);
}

.ted-card__letter {
  align-items: center;
  background: var(--phase-color, var(--sbt-slate));
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-family: var(--sbt-serif);
  font-size: 28px;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.ted-card__title {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
}

.ted-card__copy {
  color: var(--sbt-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.coming-soon__signup {
  background: var(--sbt-cream);
  border: 1px solid var(--sbt-line);
  border-radius: 16px;
  margin: 0 auto;
  max-width: 720px;
  padding: 40px 32px;
}

.coming-soon__signup-title {
  color: var(--sbt-slate);
  font-family: var(--sbt-serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  margin: 0 0 10px;
}

.coming-soon__signup-lede {
  color: var(--sbt-ink);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 auto 24px;
  max-width: 560px;
}

.coming-soon__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  max-width: 480px;
}

@media (min-width: 560px) {
  .coming-soon__form {
    flex-direction: row;
  }
}

.coming-soon__input {
  background: #fff;
  border: 1px solid var(--sbt-line);
  border-radius: 10px;
  color: var(--sbt-ink);
  flex: 1;
  font-family: var(--sbt-sans);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.coming-soon__input:focus {
  border-color: var(--sbt-focus);
  box-shadow: 0 0 0 3px rgba(11, 111, 133, 0.18);
  outline: none;
}

.coming-soon__button {
  white-space: nowrap;
}

.coming-soon__fine-print {
  color: var(--sbt-muted);
  font-size: 13px;
  margin: 16px 0 0;
}

.thanks-steps {
  color: var(--sbt-ink);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 8px;
  padding-left: 22px;
  text-align: left;
}

.thanks-steps li {
  margin-bottom: 14px;
}

.thanks-steps li::marker {
  color: var(--sbt-sage);
  font-weight: 700;
}

.thanks-steps code {
  background: #fff;
  border: 1px solid var(--sbt-line);
  border-radius: 4px;
  font-size: 14px;
  padding: 1px 6px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

