:root {
  --burgundy: #6b1238;
  --merlot: #9b2f56;
  --blush: #e8cbd5;
  --green: #4f6f38;
  --leaf: #78945a;
  --gold: #a06a24;
  --cream: #fbf7f1;
  --cream-strong: #fffdf8;
  --white: #ffffff;
  --charcoal: #241a1d;
  --soft-text: #68595d;
  --line: rgba(107, 18, 56, 0.16);
  --shadow: 0 20px 52px rgba(36, 26, 29, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.56;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  padding-left: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 10px 30px;
  color: var(--charcoal);
  background: rgba(251, 247, 241, 0.94);
  border-bottom: 1px solid rgba(160, 106, 36, 0.2);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 241, 0.98);
  box-shadow: 0 8px 28px rgba(36, 26, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 244px;
}

.brand img {
  width: 244px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #3a2c30;
  font-size: 0.88rem;
  font-weight: 750;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 136px 0 84px;
  overflow: hidden;
  color: var(--white);
  background: #270814;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(62, 9, 29, 0.92) 0%, rgba(62, 9, 29, 0.78) 34%, rgba(62, 9, 29, 0.18) 66%, rgba(62, 9, 29, 0.04) 100%),
    linear-gradient(0deg, rgba(30, 7, 16, 0.72) 0%, rgba(30, 7, 16, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #efd4dc;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: 4.55rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.affiliation-line {
  max-width: 620px;
  margin: -4px 0 28px;
  padding-left: 14px;
  border-left: 2px solid rgba(232, 203, 213, 0.72);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(32, 8, 18, 0.58);
  color: var(--white);
}

.button.light {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: var(--cream);
  color: var(--burgundy);
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 800px;
  margin: 0 0 24px;
  list-style: none;
}

.benefit-row a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(232, 203, 213, 0.5);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(36, 26, 29, 0.24);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.benefit-row a:hover,
.benefit-row a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.benefit-row a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.hero-note {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.problem-section {
  padding: 76px 0 84px;
  background: var(--cream-strong);
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.problem-copy p {
  color: var(--soft-text);
}

.logo-showcase {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(160, 106, 36, 0.24);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.logo-showcase img {
  max-height: 380px;
  object-fit: contain;
}

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

.services-section,
.packages-section,
.use-cases-section,
.faq-section {
  padding: 88px 0;
}

.section-heading,
.growth-heading,
.ai-seo-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker,
.growth-heading .section-kicker,
.ai-seo-heading .section-kicker {
  align-self: start;
}

.section-heading p:not(.section-kicker),
.growth-heading p:not(.section-kicker),
.ai-seo-heading p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--soft-text);
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
}

.service-grid,
.package-grid,
.usecase-grid,
.growth-grid,
.seo-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.package-card,
.list-card,
.usecase-card,
.seo-card,
.faq-card,
.contact-form,
.conversation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card,
.package-card,
.list-card,
.usecase-card,
.seo-card,
.faq-card {
  padding: 26px;
}

.info-card p,
.package-card p,
.package-card li,
.list-card li,
.seo-card p,
.faq-card p,
.usecase-card p {
  color: var(--soft-text);
}

.info-card p,
.package-card p,
.seo-card p,
.faq-card p,
.usecase-card p {
  margin-bottom: 0;
}

.ai-seo-section {
  padding: 88px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-seo-heading {
  margin-bottom: 34px;
}

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

.seo-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.96)),
    var(--white);
}

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

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

.iwma-section {
  padding: 74px 0;
  background: var(--cream-strong);
  border-top: 1px solid var(--line);
}

.iwma-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: center;
}

.iwma-copy p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--soft-text);
}

.iwma-logo-link {
  width: 220px;
  justify-self: end;
}

.iwma-logo {
  width: 220px;
  height: auto;
}

.ai-section {
  padding: 88px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(232, 203, 213, 0.16), rgba(232, 203, 213, 0) 28%),
    linear-gradient(135deg, #50102d 0%, #6b1238 48%, #32101e 100%);
}

.ai-section .section-kicker {
  color: #e9c9d3;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 52px;
  align-items: center;
}

.ai-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.conversation-card {
  padding: 24px;
  color: var(--charcoal);
  background: rgba(255, 253, 248, 0.96);
}

.chat-label {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chat-label.attendant {
  color: var(--burgundy);
}

.chat-bubble {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 8px;
  color: var(--charcoal);
  background: #f7efe8;
}

.chat-bubble.attendant {
  margin-bottom: 0;
  border-left: 3px solid var(--gold);
  background: #fff8ef;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(232, 203, 213, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.growth-section {
  padding: 88px 0;
  background: var(--cream-strong);
  border-bottom: 1px solid var(--line);
}

.list-card ul,
.package-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  list-style: none;
}

.list-card li,
.package-card li {
  position: relative;
  padding-left: 20px;
}

.list-card li::before,
.package-card li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.process-band {
  padding: 88px 0;
  color: var(--white);
  background: #241a1d;
}

.process-band .section-kicker {
  color: #e9c9d3;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list li {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 36px;
  color: #f0cdd8;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
}

.process-list span {
  color: rgba(255, 255, 255, 0.72);
}

.package-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border-color: rgba(160, 106, 36, 0.5);
  box-shadow: 0 24px 58px rgba(107, 18, 56, 0.16);
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
}

.package-note {
  min-height: 72px;
}

.package-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  color: var(--burgundy);
  font-weight: 850;
}

.use-cases-section {
  background: var(--cream-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.usecase-card {
  min-height: 220px;
}

.list-reminder-section {
  padding: 72px 0;
  color: var(--white);
  background: #4b0827;
}

.list-reminder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.list-reminder-section .section-kicker {
  color: #f0cdd8;
}

.list-reminder-section h2 {
  max-width: 860px;
}

.list-reminder-section p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-band {
  padding: 88px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.contact-copy p {
  color: var(--soft-text);
}

.small-note {
  font-weight: 750;
}

.direct-email {
  display: inline-flex;
  margin-top: 12px;
  color: var(--burgundy);
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

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

.contact-form span {
  color: var(--soft-text);
  font-size: 0.9rem;
  font-weight: 750;
}

.site-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(107, 18, 56, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--charcoal);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(160, 106, 36, 0.18);
  border-color: var(--gold);
}

.full-field,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

.form-button {
  width: 100%;
  border-radius: 6px;
  font: inherit;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--soft-text);
  font-size: 0.9rem;
}

.site-footer {
  padding: 42px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  background: #241a1d;
}

.footer-top {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-top p {
  max-width: 780px;
  margin-bottom: 0;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 4px;
  justify-self: end;
  text-align: right;
}

.footer-meta a {
  color: #f0cdd8;
  font-weight: 750;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .brand,
  .brand img {
    width: 218px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .hero {
    min-height: 84svh;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  .problem-grid,
  .section-heading,
  .growth-heading,
  .ai-seo-heading,
  .ai-grid,
  .contact-grid,
  .iwma-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .growth-heading,
  .ai-seo-heading,
  .ai-grid,
  .contact-grid,
  .problem-grid,
  .iwma-grid,
  .list-reminder-grid {
    gap: 28px;
  }

  .service-grid,
  .package-grid,
  .usecase-grid,
  .growth-grid,
  .seo-grid,
  .faq-grid,
  .problem-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .package-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding: 9px 14px;
  }

  .brand,
  .brand img {
    width: 174px;
  }

  .header-action {
    min-height: 38px;
    max-width: 132px;
    padding: 0 12px;
    font-size: 0.74rem;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }

  .hero {
    align-items: flex-end;
    min-height: 84svh;
    padding: 104px 0 52px;
  }

  .hero img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(62, 9, 29, 0.92) 0%, rgba(62, 9, 29, 0.74) 60%, rgba(62, 9, 29, 0.24) 100%),
      linear-gradient(0deg, rgba(30, 7, 16, 0.82) 0%, rgba(30, 7, 16, 0.14) 70%);
  }

  h1 {
    font-size: 2.88rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .benefit-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .benefit-row a {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.78rem;
    text-align: center;
  }

  .affiliation-line {
    margin-bottom: 24px;
    font-size: 0.88rem;
  }

  .feature-list span {
    width: 100%;
    justify-content: center;
  }

  .problem-section,
  .services-section,
  .ai-section,
  .ai-seo-section,
  .growth-section,
  .packages-section,
  .use-cases-section,
  .faq-section,
  .iwma-section,
  .list-reminder-section,
  .contact-band {
    padding: 58px 0;
  }

  .service-grid,
  .package-grid,
  .usecase-grid,
  .growth-grid,
  .seo-grid,
  .faq-grid,
  .problem-cards,
  .process-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .list-reminder-grid {
    grid-template-columns: 1fr;
  }

  .iwma-logo-link,
  .iwma-logo {
    width: 180px;
  }

  .iwma-logo-link {
    justify-self: start;
  }

  .info-card,
  .package-card,
  .list-card,
  .usecase-card,
  .seo-card,
  .faq-card,
  .contact-form,
  .conversation-card {
    padding: 20px;
  }

  .logo-showcase {
    padding: 16px;
  }

  .process-list li,
  .seo-card,
  .usecase-card {
    min-height: 0;
  }

  .process-list strong {
    margin-bottom: 18px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-self: start;
    text-align: left;
  }
}
