/*
Theme Name: SkillForge Global
Theme URI: https://skillforgeglobal.com
Author: SkillForge Global
Description: A premium WordPress theme for SkillForge Global, focused on parent trust, learning support, and education partner lead capture.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skillforge-global
*/

:root {
  --sfg-ink: #112326;
  --sfg-ink-soft: #3f5759;
  --sfg-muted: #6a7d7c;
  --sfg-paper: #f7f4ed;
  --sfg-paper-strong: #fffdf7;
  --sfg-line: #d8ded7;
  --sfg-teal: #115f5d;
  --sfg-green: #55a665;
  --sfg-coral: #d96943;
  --sfg-gold: #e6b84d;
  --sfg-shadow: 0 24px 70px rgba(19, 43, 42, 0.14);
  --sfg-radius: 8px;
  --sfg-max: 1160px;
}

html[data-accent="teal"] {
  --sfg-teal: #115f5d;
  --sfg-green: #55a665;
  --sfg-coral: #d96943;
  --sfg-gold: #e6b84d;
}

html[data-accent="purple"] {
  --sfg-teal: #5c1a91;
  --sfg-green: #4f9460;
  --sfg-coral: #c65a42;
  --sfg-gold: #d9aa3a;
}

html[data-accent="blue"] {
  --sfg-teal: #155f9e;
  --sfg-green: #348956;
  --sfg-coral: #c75f37;
  --sfg-gold: #dcae38;
}

html[data-accent="amber"] {
  --sfg-teal: #a35b00;
  --sfg-green: #517f27;
  --sfg-coral: #bf4d2d;
  --sfg-gold: #d88900;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --sfg-ink: #f7f7f7;
  --sfg-ink-soft: #d1d8d5;
  --sfg-muted: #a1aaa6;
  --sfg-paper: #000000;
  --sfg-paper-strong: #060606;
  --sfg-line: #252525;
  --sfg-shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sfg-paper);
  color: var(--sfg-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 222, 215, 0.72);
  background: #f7f4ed;
}

.nav-wrap {
  width: min(var(--sfg-max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: var(--sfg-teal);
  box-shadow: 0 10px 24px rgba(82, 24, 134, 0.16);
}

.brand-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name span {
  color: var(--sfg-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--sfg-ink-soft);
  font-weight: 800;
  font-size: 0.93rem;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  background: #fff;
  color: var(--sfg-teal);
  outline: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--sfg-teal);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(17, 95, 93, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--sfg-teal);
  box-shadow: inset 0 0 0 1px var(--sfg-line);
}

.button.coral {
  background: var(--sfg-coral);
  box-shadow: 0 16px 34px rgba(217, 105, 67, 0.22);
}

.theme-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--sfg-line);
  border-radius: 999px;
  background: var(--sfg-paper-strong);
  color: var(--sfg-ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.theme-toggle-dark {
  display: none;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-light {
  display: none;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-dark {
  display: inline;
}

.palette-options {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.palette-swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid var(--sfg-paper-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--sfg-line);
  cursor: pointer;
}

.palette-swatch[data-accent="teal"] {
  background: #115f5d;
}

.palette-swatch[data-accent="purple"] {
  background: #5c1a91;
}

.palette-swatch[data-accent="blue"] {
  background: #155f9e;
}

.palette-swatch[data-accent="amber"] {
  background: #a35b00;
}

.palette-swatch.active,
.palette-swatch:focus-visible {
  outline: 2px solid var(--sfg-ink);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sfg-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sfg-ink);
}

.menu-toggle span[aria-hidden="true"] {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 245, 239, 0.92) 0%, rgba(255, 253, 247, 0.94) 46%, rgba(244, 225, 213, 0.72) 100%),
    var(--sfg-paper);
  color: var(--sfg-ink);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .section {
  background: #000;
}

html[data-theme="dark"] .site-header {
  border-bottom-color: #252525;
  background: #000;
}

html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .primary-menu a:hover,
html[data-theme="dark"] .primary-menu a:focus-visible,
html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-menu,
html[data-theme="dark"] .proof-item,
html[data-theme="dark"] .card,
html[data-theme="dark"] .bot,
html[data-theme="dark"] .chat-composer {
  background: #060606;
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .theme-toggle {
  color: #f7f7f7;
}

html[data-theme="dark"] .hero {
  background: #000;
}

html[data-theme="dark"] .section.alt {
  background: #060606;
}

html[data-theme="dark"] .phone-shadow {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .phone-frame,
html[data-theme="dark"] .phone-speaker {
  border-color: #181818;
  background: #181818;
  box-shadow: none;
}

html[data-theme="dark"] .phone-screen {
  background: #050505;
}

html[data-theme="dark"] .phone-screen::before {
  opacity: 0.45;
}

html[data-theme="dark"] .chat-topbar {
  background: var(--sfg-teal);
}

html[data-theme="dark"] .bot {
  color: #f7f7f7;
}

html[data-theme="dark"] .parent {
  background: #12351f;
  color: #e4f5df;
}

html[data-theme="dark"] .play-dot {
  background: #f7f7f7;
}

html[data-theme="dark"] .chat-composer {
  box-shadow: inset 0 0 0 1px #252525;
}

html[data-theme="dark"] .floating-badge,
html[data-theme="dark"] .icon-pill {
  border-color: #252525;
  background: #060606;
}

html[data-theme="dark"] .dashboard-panel,
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .site-footer {
  background: #000;
  border-top: 1px solid #252525;
}

html[data-theme="dark"] .metric,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .contact-panel {
  border: 1px solid #252525;
  background: #060606;
}

.hero-inner {
  width: min(var(--sfg-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 92px;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.95fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.hero-inner > * {
  min-width: 0;
}

.hero-device {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.phone-shadow {
  position: absolute;
  inset: auto 8% 16px;
  height: 50px;
  border-radius: 50%;
  background: rgba(17, 35, 38, 0.08);
}

.phone-frame {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 0.5;
  padding: 14px;
  border: 6px solid #102326;
  border-radius: 44px;
  background: #102326;
  box-shadow: 0 34px 90px rgba(17, 35, 38, 0.24);
  animation: phoneFloat 5200ms ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 84px;
  height: 21px;
  border-radius: 0 0 16px 16px;
  background: #102326;
  transform: translateX(-50%);
  z-index: 4;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(224, 246, 237, 0.72), rgba(247, 244, 237, 0.98)),
    #f7f4ed;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18px 18px, rgba(17, 95, 93, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 76px 54px, rgba(217, 105, 67, 0.05) 0 2px, transparent 3px);
  background-size: 96px 96px;
  pointer-events: none;
}

.chat-topbar {
  position: relative;
  z-index: 2;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 12px;
  background: #125f5d;
  color: #fff;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ef;
  color: var(--sfg-teal);
  font-weight: 900;
}

.chat-topbar strong,
.chat-topbar small {
  display: block;
  line-height: 1.1;
}

.chat-topbar small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.chat-feed {
  position: relative;
  z-index: 2;
  height: calc(100% - 126px);
  padding: 18px 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.message,
.voice-note {
  width: fit-content;
  max-width: 86%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17, 35, 38, 0.08);
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: bubbleFloat 5200ms ease-in-out infinite;
}

.message span {
  display: block;
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.28;
}

.bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #fff;
  color: var(--sfg-ink);
}

.parent {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: #d9f6c8;
  color: #173323;
}

.msg-one {
  animation-delay: -300ms;
}

.msg-two {
  animation-delay: -1100ms;
}

.msg-three {
  animation-delay: -1900ms;
}

.msg-four {
  animation-delay: -2700ms;
}

.msg-five {
  animation-delay: -3500ms;
}

.voice-note {
  min-width: 166px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
}

.play-dot {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-left: 8px solid var(--sfg-teal);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.wave {
  flex: 1;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wave i {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 95, 93, 0.62);
  animation: wavePulse 900ms ease-in-out infinite;
}

.wave i:nth-child(2) {
  height: 18px;
  animation-delay: 90ms;
}

.wave i:nth-child(3) {
  height: 13px;
  animation-delay: 160ms;
}

.wave i:nth-child(4) {
  height: 20px;
  animation-delay: 240ms;
}

.wave i:nth-child(5) {
  height: 11px;
  animation-delay: 320ms;
}

.voice-note strong {
  color: rgba(23, 51, 35, 0.68);
  font-size: 0.76rem;
}

.chat-composer {
  position: relative;
  z-index: 2;
  height: 52px;
  margin: 0 12px 12px;
  padding: 0 9px 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--sfg-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(17, 35, 38, 0.06);
}

.chat-composer strong {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sfg-coral);
}

.floating-badge {
  position: absolute;
  z-index: 5;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--sfg-teal);
  box-shadow: 0 18px 45px rgba(17, 35, 38, 0.13);
  font-weight: 900;
  font-size: 0.9rem;
}

.badge-top {
  top: 96px;
  right: 16px;
  animation: badgeFloat 5600ms ease-in-out infinite;
}

.badge-bottom {
  left: 0;
  bottom: 96px;
  color: var(--sfg-coral);
  animation: badgeFloat 6200ms ease-in-out infinite reverse;
}

.hero-content {
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sfg-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.2rem, 7.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(580px, 100%);
  margin: 24px 0 0;
  color: var(--sfg-ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(670px, 100%);
  max-width: 100%;
  margin-top: 52px;
}

.proof-item {
  min-width: 0;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--sfg-line);
  border-radius: var(--sfg-radius);
  background: #fff;
}

.proof-item strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 7px;
  color: var(--sfg-muted);
  font-size: 0.9rem;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1.4deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.01);
  }
}

@keyframes wavePulse {
  0%,
  100% {
    transform: scaleY(0.62);
  }

  50% {
    transform: scaleY(1);
  }
}

.section {
  padding: 90px 0;
}

.section.alt {
  background: var(--sfg-paper-strong);
}

.wrap {
  width: min(var(--sfg-max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.content-page h1,
.content-page h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--sfg-ink-soft);
  font-size: 1.08rem;
}

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

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

.card {
  border: 1px solid var(--sfg-line);
  border-radius: var(--sfg-radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 35, 38, 0.06);
}

.service-card {
  min-height: 320px;
  padding: 28px;
}

.icon-pill {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ef;
  color: var(--sfg-teal);
  font-weight: 900;
}

.service-card h3,
.step h3,
.feature h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.service-card p,
.step p,
.feature p,
.post-meta {
  margin: 0;
  color: var(--sfg-muted);
}

.service-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 21px;
  color: var(--sfg-ink-soft);
  font-weight: 750;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sfg-green);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.dashboard-panel {
  padding: 20px;
  background: #102e30;
  color: #eaf7f1;
  box-shadow: var(--sfg-shadow);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sfg-coral);
}

.dash-dots span:nth-child(2) {
  background: var(--sfg-gold);
}

.dash-dots span:nth-child(3) {
  background: var(--sfg-green);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric {
  min-height: 110px;
  padding: 16px;
  border-radius: var(--sfg-radius);
  background: rgba(255, 255, 255, 0.08);
}

.metric span {
  display: block;
  color: rgba(234, 247, 241, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.metric strong {
  display: block;
  margin-top: 9px;
  font-size: 2rem;
  line-height: 1;
}

.review-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--sfg-radius);
  background: rgba(255, 255, 255, 0.12);
}

.review-card p {
  margin: 8px 0 0;
  color: rgba(234, 247, 241, 0.8);
}

.step {
  position: relative;
  padding: 26px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sfg-ink);
  color: #fff;
  font-weight: 900;
}

.feature {
  padding: 28px;
}

.cta-band {
  padding: 78px 0;
  background: #113837;
  color: #fff;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 32px;
  align-items: center;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.cta-box p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 24px;
  border-radius: var(--sfg-radius);
  background: rgba(255, 255, 255, 0.09);
}

.contact-panel strong {
  display: block;
  font-size: 1.3rem;
}

.contact-panel span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  background: #092123;
  color: rgba(255, 255, 255, 0.72);
}

.footer-wrap {
  width: min(var(--sfg-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap strong {
  color: #fff;
}

.content-page {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.content-page article {
  padding: 34px;
}

.content-page a {
  color: var(--sfg-teal);
  font-weight: 800;
}

.content-page img {
  border-radius: var(--sfg-radius);
}

.post-list {
  display: grid;
  gap: 22px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    order: 4;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--sfg-line);
    border-radius: var(--sfg-radius);
    background: #fff;
    box-shadow: var(--sfg-shadow);
  }

  .nav-menu.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    width: 100%;
    border-radius: var(--sfg-radius);
  }

  .nav-cta {
    display: none;
  }

  .theme-controls {
    margin-left: auto;
    order: 3;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
    row-gap: 14px;
  }

  .hero-proof,
  .grid-3,
  .grid-2,
  .split,
  .section-head,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: 34px;
  }

  .hero-device {
    order: 2;
    min-height: 560px;
  }

  .hero-content {
    display: contents;
  }

  .hero-content > .eyebrow,
  .hero-content > h1,
  .hero-content > .hero-copy,
  .hero-content > .hero-actions {
    order: 1;
    width: min(620px, 100%);
  }

  .hero-proof {
    order: 3;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-copy {
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-proof {
    margin-top: 18px;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.92rem;
  }

  .brand-name span {
    font-size: 0.65rem;
  }

  .nav-wrap {
    gap: 10px;
  }

  .theme-toggle {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .palette-options {
    gap: 5px;
  }

  .palette-swatch {
    width: 16px;
    height: 16px;
  }

  .hero-inner {
    padding: 58px 0 74px;
    width: min(calc(100vw - 32px), 358px);
    max-width: min(calc(100vw - 32px), 358px);
  }

  .hero h1 {
    font-size: 3.18rem;
    max-width: 100%;
  }

  .hero-content,
  .hero-proof,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-content,
  .proof-item,
  .hero-actions .button {
    max-width: min(calc(100vw - 32px), 358px);
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-device {
    min-height: 515px;
  }

  .phone-frame {
    width: min(292px, 84vw);
    border-radius: 38px;
  }

  .phone-screen {
    border-radius: 27px;
  }

  .message span {
    font-size: 0.78rem;
  }

  .floating-badge {
    font-size: 0.78rem;
  }

  .badge-top {
    top: 66px;
  }

  .badge-bottom {
    bottom: 66px;
  }

  .hero-proof {
    gap: 10px;
  }

  .proof-item,
  .service-card,
  .feature,
  .step,
  .content-page article {
    padding: 20px;
  }

  .footer-wrap {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
