:root {
  --bg: #f3ece4;
  --bg-deep: #ece2d7;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.74);
  --ink: #182133;
  --muted: #596375;
  --line: rgba(24, 33, 51, 0.1);
  --line-strong: rgba(24, 33, 51, 0.16);
  --brand: #e23a2f;
  --brand-deep: #be2f26;
  --sage: #7fb8a6;
  --sage-deep: #5f8f80;
  --blue: #3b90ea;
  --blue-deep: #225ab7;
  --shadow-xl: 0 28px 90px rgba(19, 24, 34, 0.12);
  --shadow-lg: 0 18px 48px rgba(19, 24, 34, 0.1);
  --shadow-md: 0 10px 26px rgba(19, 24, 34, 0.08);
  --radius-2xl: 38px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(123, 184, 166, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at top right,
      rgba(59, 144, 234, 0.16),
      transparent 28%
    ),
    linear-gradient(180deg, #faf6f1 0%, var(--bg) 54%, #efe4d8 100%);
}

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

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

p,
ul {
  margin: 0;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(19, 24, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(34, 90, 183, 0.18);
}

.brand__wordmark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-header__actions .button {
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(24, 33, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-switch__link:hover,
.lang-switch__link:focus-visible {
  color: var(--ink);
}

.lang-switch__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 10px 20px rgba(190, 47, 38, 0.2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 18px 32px rgba(190, 47, 38, 0.22);
}

.button--secondary {
  border-color: rgba(24, 33, 51, 0.14);
  background: rgba(255, 255, 255, 0.75);
}

.button--ghost {
  border-color: rgba(24, 33, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.hero,
.section,
.site-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(255, 255, 255, 0.68) 100%
  );
  box-shadow: var(--shadow-xl);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  padding: 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(127, 184, 166, 0.2),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(59, 144, 234, 0.16),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 50%);
  pointer-events: none;
}

.hero__content,
.hero__stage {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(226, 58, 47, 0));
}

h1,
h2,
h3,
summary {
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 5.5rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.02;
}

.hero__lead,
.section-head p,
.feature-card p,
.process-card p,
.tier-card p,
.faq-item p,
.site-footer p,
.signal-card p,
.hero__availability,
.hero__meta {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero__lead {
  max-width: 60ch;
  margin-top: 24px;
  font-size: 1.08rem;
}

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

.hero__availability {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(24, 33, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.hero__availability strong {
  color: var(--ink);
}

.hero__meta {
  display: grid;
  gap: 10px;
  padding: 0;
  margin-top: 24px;
  list-style: none;
}

.hero__meta li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hero__meta li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--blue) 100%);
  box-shadow: 0 0 0 6px rgba(226, 58, 47, 0.08);
}

.hero__signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.signal-card {
  padding: 18px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(251, 247, 241, 0.82)
  );
  box-shadow: var(--shadow-md);
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.signal-card__label,
.feature-tag,
.tier-card__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 33, 51, 0.06);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__stage {
  min-height: 760px;
}

.hero-ribbon {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    #ff7d52 28%,
    var(--blue) 70%,
    var(--blue-deep) 100%
  );
  box-shadow: 0 22px 48px rgba(34, 90, 183, 0.16);
  opacity: 0.92;
}

.hero-ribbon--one {
  top: 56px;
  right: 72px;
  width: 250px;
  height: 40px;
  transform: rotate(41deg);
}

.hero-ribbon--two {
  left: 18px;
  top: 260px;
  width: 240px;
  height: 32px;
  transform: rotate(-26deg);
}

.hero-ribbon--three {
  right: 12px;
  bottom: 120px;
  width: 210px;
  height: 34px;
  transform: rotate(18deg);
}

.phone {
  position: absolute;
  margin: 0;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fcfcfd 0%, #f2f1ef 100%);
  border: 1px solid rgba(24, 33, 51, 0.12);
  box-shadow: 0 28px 60px rgba(19, 24, 34, 0.16);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.phone--main {
  left: 132px;
  top: 56px;
  z-index: 3;
  width: min(290px, 100%);
}

.phone--left {
  left: 0;
  top: 168px;
  z-index: 2;
  width: min(226px, 100%);
  transform: rotate(-7deg);
}

.phone--right {
  right: 4px;
  top: 152px;
  z-index: 1;
  width: min(214px, 100%);
  transform: rotate(8deg);
}

.stage-note {
  position: absolute;
  z-index: 4;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.stage-note strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.stage-note__kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.stage-note--upper {
  top: 8px;
  left: 24px;
}

.stage-note--lower {
  right: 30px;
  bottom: 28px;
}

.section {
  margin-top: 28px;
  padding: 42px;
}

.section--soft {
  background:
    radial-gradient(
      circle at top right,
      rgba(59, 144, 234, 0.1),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 241, 233, 0.9));
}

.section-head {
  max-width: 760px;
}

.section-head p {
  margin-top: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-column: span 4;
  padding: 26px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(251, 247, 241, 0.78) 100%
  );
  box-shadow: var(--shadow-lg);
}

.feature-card--wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
}

.feature-card--medium {
  grid-column: span 5;
}

.feature-card--wide-accent {
  grid-column: span 7;
}

.feature-card--accent {
  background:
    radial-gradient(
      circle at top right,
      rgba(127, 184, 166, 0.2),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(255, 250, 245, 0.94) 0%,
      rgba(244, 238, 230, 0.86) 100%
    );
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(127, 184, 166, 0.14);
}

.art-shell {
  overflow: hidden;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 24px;
  padding: 20px;
  min-height: 230px;
}

.art-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-shell--warm {
  background: linear-gradient(180deg, #f9f0e7 0%, #f1e4d6 100%);
}

.art-shell--paper {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(246, 242, 237, 0.88)
  );
}

.art-shell--gradient {
  background:
    radial-gradient(
      circle at 20% 22%,
      rgba(226, 58, 47, 0.18),
      transparent 26%
    ),
    radial-gradient(
      circle at 80% 22%,
      rgba(59, 144, 234, 0.22),
      transparent 24%
    ),
    linear-gradient(180deg, #f9f1ea 0%, #efe4d8 100%);
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.metric-chip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-chip strong {
  letter-spacing: -0.03em;
}

.metric-bars {
  padding: 16px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.metric-bars__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.metric-bars__row + .metric-bars__row {
  margin-top: 12px;
}

.metric-bars__row span {
  font-size: 0.92rem;
  color: var(--muted);
}

.metric-bars__row div {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 33, 51, 0.08);
}

.metric-bars__row i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.metric-bars__row .is-green {
  background: linear-gradient(90deg, var(--sage) 0%, #5f8f80 100%);
}

.metric-bars__row .is-yellow {
  background: linear-gradient(90deg, #d8b257 0%, #c88a2c 100%);
}

.metric-bars__row .is-red {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.process-card {
  padding: 26px 22px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.process-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(226, 58, 47, 0.12),
    rgba(59, 144, 234, 0.16)
  );
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(24, 33, 51, 0.05);
  color: var(--muted);
}

.status-callout strong {
  color: var(--ink);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.split-copy {
  max-width: 560px;
}

.split-copy p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.split-copy .feature-list {
  margin-top: 20px;
}

.split-visual {
  position: relative;
  min-height: 660px;
}

.phone--inline {
  transform: none;
}

.phone--inline-main {
  left: 48px;
  top: 24px;
  width: 280px;
  z-index: 2;
}

.phone--inline-secondary {
  right: 12px;
  top: 138px;
  width: 232px;
  z-index: 1;
  transform: rotate(10deg);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.tier-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94),
    rgba(250, 245, 239, 0.82)
  );
  box-shadow: var(--shadow-lg);
}

.tier-card--premium {
  color: #fff;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.14),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      var(--brand-deep) 0%,
      var(--brand) 35%,
      var(--blue-deep) 100%
    );
  border-color: rgba(255, 255, 255, 0.12);
}

.tier-card--premium .tier-card__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tier-card--premium p,
.tier-card--premium .feature-list {
  color: rgba(255, 255, 255, 0.86);
}

.tier-card--premium .feature-list li::before {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.section--faq {
  padding-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-item {
  padding: 18px 22px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.2rem;
}

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

.faq-item p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 28px;
  margin-top: 28px;
  padding: 30px 34px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__brand img {
  border-radius: 14px;
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--ink);
}

.site-footer__note {
  grid-column: 1 / -1;
  color: var(--muted);
}

@media (max-width: 1140px) {
  .hero,
  .section--split {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    min-height: 700px;
  }

  .feature-card,
  .feature-card--wide,
  .feature-card--medium,
  .feature-card--wide-accent {
    grid-column: span 6;
  }

  .feature-card--wide {
    grid-template-columns: 1fr;
  }

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

  .split-visual {
    min-height: 620px;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 20px));
    padding-top: 12px;
  }

  .site-header {
    top: 10px;
    padding: 12px 14px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    gap: 10px;
  }

  .hero,
  .section,
  .site-footer {
    padding: 24px;
    border-radius: 28px;
  }

  .hero__signal-grid,
  .tier-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card,
  .feature-card--wide {
    grid-column: auto;
  }

  .split-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .phone--inline,
  .phone {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .phone--inline-main,
  .phone--inline-secondary {
    width: 100%;
  }

  .hero__stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .phone--main {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .stage-note {
    position: relative;
    inset: auto;
    max-width: none;
  }

  .hero-ribbon {
    display: none;
  }

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

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

@media (max-width: 640px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-header__actions .button {
    width: auto;
    flex: 0 0 auto;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__stage,
  .split-visual {
    grid-template-columns: 1fr;
  }

  .metric-bars__row {
    grid-template-columns: 1fr;
  }

  .metric-bars__row div {
    margin-top: 2px;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
