:root {
  --page-bg: #f3efea;
  --page-bg-strong: #ece6de;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-muted: #f7f3ee;
  --surface-dark: #11161d;
  --text: #131820;
  --muted: #5b6571;
  --line: rgba(19, 24, 32, 0.09);
  --line-strong: rgba(19, 24, 32, 0.14);
  --shadow: 0 22px 52px rgba(13, 18, 26, 0.08);
  --shadow-soft: 0 10px 24px rgba(13, 18, 26, 0.05);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --accent: #d48ea2;
  --accent-strong: #b86d81;
  --accent-soft: #f7e8ed;
  --accent-ink: #744352;
  --accent-line: rgba(212, 142, 162, 0.28);
  --steel-soft: #e4ebf3;
  --steel-ink: #345069;
  --container: 1120px;
  --content-max: 980px;
  --page-gutter: clamp(1.5rem, 4vw, 2.75rem);
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 142, 162, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(52, 80, 105, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfaf8 0%, var(--page-bg) 42%, var(--page-bg-strong) 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(
      90deg,
      rgba(16, 20, 26, 0.025) 0,
      rgba(16, 20, 26, 0.025) 1px,
      transparent 1px,
      transparent 120px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 86%);
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
ul,
ol {
  margin-top: 0;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.85rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
}

h3 {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 2.7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(117, 64, 77, 0.6), rgba(117, 64, 77, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.55rem 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(16, 20, 26, 0.08);
  border-radius: 22px;
  background: rgba(250, 248, 244, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(16, 20, 26, 0.04);
  transition:
    background-color var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.site-header.is-condensed .header-inner {
  background: rgba(251, 249, 246, 0.96);
  box-shadow: 0 14px 34px rgba(16, 20, 26, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 84px;
  max-width: min(68vw, 360px);
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-footer {
  height: 96px;
}

.brand-mark-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 239, 233, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(16, 20, 26, 0.08);
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.06rem;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-lockup strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.brand-lockup > span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(16, 20, 26, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e3440;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), rgba(212, 154, 168, 0));
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

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

.button-primary {
  color: #f9f7f3;
  background: linear-gradient(135deg, #12161c, #28303a 78%);
  box-shadow: 0 16px 28px rgba(18, 22, 28, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 32px rgba(18, 22, 28, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(16, 20, 26, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.button-small {
  min-height: 38px;
  padding: 0.56rem 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  color: #2d343f;
}

.pill-accent {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.muted-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.hero,
.page-intro {
  position: relative;
  padding: 2.6rem 0 2.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto 50%;
  width: min(680px, 60vw);
  height: 560px;
  transform: translateX(-4%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 154, 168, 0.12), rgba(212, 154, 168, 0));
  filter: blur(10px);
  z-index: -1;
}

.hero-grid,
.page-intro-inner,
.split-layout,
.contact-layout,
.roadmap-layout,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: start;
}

.hero-copy,
.hero-panel,
.page-intro-inner,
.feature-card,
.info-card,
.product-card,
.info-panel,
.form-card,
.trust-card,
.legal-section,
.cta-band {
  animation: rise-in 700ms ease both;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-signal {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(53, 82, 108, 0.16);
  border-radius: 999px;
  background: rgba(234, 237, 241, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-ink);
}

.hero-text {
  max-width: 45rem;
  font-size: 0.96rem;
  color: #29303a;
}

.hero-actions,
.page-intro-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proof-card {
  min-width: 0;
  padding: 1.2rem 1.2rem 1.15rem;
  border: 1px solid rgba(16, 20, 26, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(16, 20, 26, 0.045);
}

.proof-card span,
.hero-panel-foot span {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-card strong,
.hero-panel-foot strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.proof-card p,
.hero-panel-foot p,
.hero-panel p,
.footer-copy,
.legal-section p,
.trust-card p,
.info-card p,
.feature-card p,
.product-card p,
.info-panel p,
.page-intro-copy p,
.section-head p,
.roadmap-copy p,
.contact-side p,
.mini-flow-card span,
.workflow-step p {
  color: var(--muted);
}

.hero-panel,
.feature-card,
.info-card,
.product-card,
.info-panel,
.form-card,
.trust-card,
.legal-section,
.cta-band,
.legal-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-panel,
.feature-card,
.info-card,
.product-card,
.cta-band,
.form-card,
.info-panel,
.trust-card,
.legal-section {
  padding: 1.5rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 238, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -2rem auto auto 62%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 142, 162, 0.16), rgba(212, 142, 162, 0));
}

.hero-panel-top,
.card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-card,
.info-card,
.product-card,
.info-panel,
.trust-card,
.legal-section,
.workflow-step,
.proof-card,
.mini-flow-card,
.hero-panel-foot > div {
  min-width: 0;
  height: 100%;
}

.feature-card,
.info-card,
.product-card,
.info-panel,
.trust-card,
.legal-section,
.workflow-step,
.proof-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-panel-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.hero-panel-foot > div {
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(16, 20, 26, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.mini-flow {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.mini-flow-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(16, 20, 26, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.mini-flow-card strong,
.workflow-step h3 {
  display: block;
  margin-bottom: 0.35rem;
}

.mini-flow-card.emphasis {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(247, 232, 237, 0.92), rgba(255, 255, 255, 0.92));
}

.mini-flow-arrow {
  position: relative;
  width: 1px;
  height: 1.4rem;
  margin-left: 1.2rem;
  background: linear-gradient(180deg, rgba(117, 64, 77, 0.22), rgba(117, 64, 77, 0.68));
}

.mini-flow-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(117, 64, 77, 0.68);
  border-bottom: 1px solid rgba(117, 64, 77, 0.68);
  transform: rotate(45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 700;
}

.text-link::after {
  content: "->";
  font-size: 0.95rem;
}

.section {
  padding: 1.5rem 0 3rem;
}

.section-muted {
  position: relative;
}

.section-muted::before {
  content: "";
  position: absolute;
  inset: 1rem 0 1rem;
  border-top: 1px solid rgba(16, 20, 26, 0.05);
  border-bottom: 1px solid rgba(16, 20, 26, 0.05);
  background: rgba(250, 247, 242, 0.48);
  z-index: -1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.feature-card-grid,
.product-grid,
.card-grid,
.trust-grid,
.legal-layout {
  display: grid;
  gap: 1.25rem;
}

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

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

.card-grid.two-up,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.feature-card-grid,
.product-grid,
.card-grid,
.trust-grid,
.workflow-diagram,
.hero-proof-grid {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  align-items: stretch;
}

.feature-card-myla,
.product-card-myla {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(251, 241, 244, 0.94), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.feature-card-neutral {
  background:
    linear-gradient(180deg, rgba(248, 245, 241, 0.98), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.tag-list,
.stack-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  list-style: none;
}

.tag-list {
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
}

.tag-list li {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 600;
  color: #353b43;
}

.stack-list li {
  position: relative;
  padding-left: 1.3rem;
}

.stack-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #17202a, var(--accent));
}

.page-intro-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.page-intro-copy {
  max-width: 52rem;
}

.page-intro-copy p {
  max-width: 44rem;
  font-size: 0.95rem;
}

.proof-card p,
.info-card p,
.feature-card p,
.product-card p,
.info-panel p,
.trust-card p,
.legal-section p,
.workflow-step p,
.hero-panel p,
.page-intro-copy p,
.roadmap-copy p,
.section-head p,
.footer-copy,
.contact-side p {
  margin-bottom: 0;
}

.proof-card p,
.info-card p,
.feature-card p,
.product-card p,
.workflow-step p,
.info-panel p,
.trust-card p {
  overflow-wrap: anywhere;
}

.feature-card .button,
.product-card .button {
  margin-top: auto;
}

.page-intro-centered {
  padding: 5rem 0 6rem;
}

.page-intro-inner.narrow {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.page-intro-centered .page-intro-actions {
  justify-content: center;
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: start;
}

.info-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 250, 0.84)),
    var(--surface);
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-step {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.7rem;
  width: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(117, 64, 77, 0.45), rgba(117, 64, 77, 0));
}

.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
}

.roadmap-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background:
    radial-gradient(circle at right top, rgba(212, 142, 162, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 238, 0.94));
}

.legal-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
}

.legal-banner strong {
  font-weight: 800;
}

.legal-layout {
  grid-template-columns: 1fr;
}

.legal-section h2 {
  font-size: 1.1rem;
}

.legal-list li + li {
  margin-top: 0.4rem;
}

.coming-soon-label {
  display: inline-flex;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--steel-ink);
}

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

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

.field {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.field span {
  font-size: 0.88rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(117, 64, 77, 0.35);
  box-shadow: 0 0 0 4px rgba(212, 154, 168, 0.15);
  background: #fff;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.notice {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.notice-success {
  border: 1px solid rgba(60, 110, 78, 0.2);
  background: rgba(223, 242, 227, 0.9);
}

.notice-error {
  border: 1px solid rgba(150, 61, 61, 0.2);
  background: rgba(251, 232, 232, 0.95);
}

.site-footer {
  padding: 2.8rem 0 1.75rem;
  border-top: 1px solid rgba(16, 20, 26, 0.08);
  background:
    linear-gradient(180deg, rgba(244, 240, 234, 0.86), rgba(237, 231, 223, 0.94));
}

.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.5fr);
  align-items: start;
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-copy,
.footer-meta {
  max-width: 34rem;
}

.footer-meta a {
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  justify-content: end;
  text-align: right;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 20, 26, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #1a1d22;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(2) {
  transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .roadmap-layout,
  .section-head,
  .split-layout,
  .footer-grid,
  .page-intro-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-proof-grid,
  .card-grid.four-up,
  .product-grid,
  .trust-grid,
  .workflow-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  .page-intro-actions,
  .cta-actions,
  .footer-links {
    justify-content: start;
    text-align: left;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(251, 249, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.6rem 0;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 1.1rem 0 2.6rem;
  }

  .hero,
  .page-intro {
    padding-top: 1.7rem;
  }

  .hero-proof-grid,
  .feature-card-grid,
  .card-grid.two-up,
  .product-grid,
  .trust-grid,
  .workflow-diagram,
  .form-grid,
  .hero-panel-foot {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .feature-card,
  .info-card,
  .product-card,
  .info-panel,
  .form-card,
  .trust-card,
  .legal-section,
  .cta-band {
    padding: 1.35rem;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .page-intro-actions,
  .cta-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
