/*
Theme Name: Speaking Opportunity Intelligence
Theme URI: https://example.com/
Author: OpenClaw
Description: Local WordPress MVP for a personalized speaking opportunity intelligence newsletter.
Version: 1.0.0
Text Domain: soi-intelligence
*/

:root {
  --bg: #f6f8fc;
  --bg-alt: #eef3fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --line: #d9e2f2;
  --navy: #09162f;
  --navy-2: #122855;
  --blue: #2f7cff;
  --blue-2: #1a5fd0;
  --amber: #f2b544;
  --amber-2: #d89917;
  --text: #122033;
  --muted: #5c6c82;
  --success: #0f8f6a;
  --shadow: 0 24px 70px rgba(16, 36, 86, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 124, 255, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(242, 181, 68, 0.14), transparent 35%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

p {
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

.site-wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 252, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 226, 242, 0.8);
}

.site-header__inner,
.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255,255,255,0) 32%),
    linear-gradient(145deg, var(--blue), #1848a6 65%, var(--amber) 150%);
  box-shadow: 0 12px 30px rgba(47, 124, 255, 0.25);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 0 65%);
}

.brand__text {
  display: grid;
  gap: 0.1rem;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text span {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--navy-2);
  font-weight: 600;
}

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

.site-main {
  padding: 2rem 0 4.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.eyebrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-2);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -150px;
  top: 0;
  background: radial-gradient(circle, rgba(47, 124, 255, 0.18), transparent 68%);
}

.hero::after {
  width: 290px;
  height: 290px;
  left: -120px;
  bottom: 0;
  background: radial-gradient(circle, rgba(242, 181, 68, 0.18), transparent 68%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 720px;
}

.hero__lede {
  font-size: 1.14rem;
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(19, 48, 115, 0.14);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  border-color: var(--line);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-2);
  border-color: rgba(47, 124, 255, 0.24);
}

.hero__stats,
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 226, 242, 0.95);
  box-shadow: 0 12px 30px rgba(24, 43, 88, 0.06);
  font-size: 0.92rem;
  color: var(--navy-2);
  font-weight: 600;
}

.panel {
  border: 1px solid rgba(217, 226, 242, 0.95);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel--soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.8));
}

.card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(13, 30, 75, 0.05);
}

.card--accent {
  border: 1px solid rgba(47, 124, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(47,124,255,0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, rgba(246,248,252,0.96) 100%);
}

.card__price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading p {
  font-size: 1.05rem;
}

.steps {
  counter-reset: step;
}

.step {
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 800;
}

.sample-brief {
  overflow: hidden;
  background:
    linear-gradient(180deg, #0b1530 0%, #10244d 100%);
  color: #f8fbff;
}

.sample-brief h2,
.sample-brief h3,
.sample-brief p,
.sample-brief li,
.sample-brief span {
  color: inherit;
}

.brief-shell {
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brief-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brief-item:last-child {
  border-bottom: 0;
}

.brief-score {
  flex: 0 0 auto;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(242, 181, 68, 0.16);
  color: #ffd972;
}

.faq-item {
  padding: 1.2rem 1.35rem;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

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

.faq-item p {
  margin-top: 0.8rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.check-item input {
  margin: 0;
}

.inline-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-cta {
  padding: 0 0 4rem;
}

.footer-cta__box {
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(47,124,255,0.18), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-cta__box p {
  color: rgba(255,255,255,0.82);
  margin: 0;
}

.site-footer {
  padding: 1.4rem 0 2.4rem;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero__panel {
  padding: 2rem;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(47, 124, 255, 0.08);
  color: var(--blue-2);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.text-white {
  color: #fff;
}

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

.spaced {
  display: grid;
  gap: 1rem;
}

.pricing-ring {
  position: relative;
}

.pricing-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(47, 124, 255, 0.18);
  border-radius: 24px;
  pointer-events: none;
}

.callout {
  padding: 1.2rem 1.35rem;
  border-radius: 20px;
  background: rgba(47, 124, 255, 0.08);
  border: 1px solid rgba(47, 124, 255, 0.18);
}

@media (max-width: 1024px) {
  .hero__inner,
  .grid--4,
  .grid--3,
  .grid--2,
  .form-grid--2 {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-main {
    padding-top: 1rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .hero__stats,
  .meta-chips {
    flex-direction: column;
    align-items: flex-start;
  }
}

