/* PoseRythmo — redesigned storytelling landing */

:root {
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-surface-alt: #eef3f0;
  --color-text: #1e2a24;
  --color-text-muted: #5a6b62;
  --color-accent: #2d6a5a;
  --color-accent-light: #3d8a74;
  --color-accent-dark: #1f4d42;
  --color-warm: #c4a574;
  --color-warm-light: #e8dcc8;
  --color-border: #dde5e0;
  --color-disclaimer: #6b4e3d;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(30, 42, 36, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 42, 36, 0.12);
  --max-width: 1120px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-light);
}

/* ── Top bar ── */
.top-bar {
  background: var(--color-accent-dark);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.top-bar span {
  margin: 0 0.75rem;
  opacity: 0.85;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-warm);
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 106, 90, 0.35);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45, 106, 90, 0.4);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ── Mobile menu toggle ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  padding: 3rem 1.5rem 4rem;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.tag {
  display: inline-block;
  background: var(--color-warm-light);
  color: var(--color-disclaimer);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.scroll-hint {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Disclaimer ── */
.disclaimer {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 1.25rem 1.5rem;
  background: #fdf8f4;
  border-left: 4px solid var(--color-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--color-disclaimer);
  line-height: 1.6;
}

.disclaimer strong {
  display: block;
  margin-bottom: 0.35rem;
}

.meta-line {
  max-width: var(--max-width);
  margin: -2rem auto 3rem;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ── Story sections ── */
.story-section {
  padding: 4rem 1.5rem;
}

.story-section:nth-child(even) {
  background: var(--color-surface);
}

.story-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-label__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-warm);
  line-height: 1;
}

.section-label__text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.story-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2rem;
  max-width: 700px;
  letter-spacing: -0.01em;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-grid--reverse .story-grid__media {
  order: 2;
}

.story-grid--reverse .story-grid__text {
  order: 1;
}

.story-grid__text p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-size: 1rem;
}

.story-grid__text p:last-child {
  margin-bottom: 0;
}

.story-grid__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-grid__media img,
.story-grid__media video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.story-grid__media--gif img,
.story-grid__media--gif video {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--color-surface-alt);
}

.note-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.pillar:hover {
  box-shadow: var(--shadow);
}

.pillar__icon {
  width: 48px;
  height: 48px;
  background: var(--color-surface-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent-dark);
}

.pillar p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Benefits grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-accent-dark);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ── Demo steps ── */
.demo-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

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

.demo-step__label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.demo-step__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.demo-step__media img,
.demo-step__media video {
  width: 100%;
  display: block;
}

.demo-step h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.demo-step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 360px;
  margin: 0 auto;
}

/* ── Week scenario ── */
.week-scenario {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.week-scenario h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.week-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.week-list li {
  list-style: none;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.week-list strong {
  color: var(--color-accent);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--color-accent-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table th:first-child {
  background: var(--color-text);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-table .dot {
  color: var(--color-text-muted);
}

.compare-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.compare-notes li {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  border-left: 3px solid var(--color-warm);
}

/* ── Before / After ── */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.ba-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.ba-card__body {
  padding: 1.25rem 1.5rem;
}

.ba-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.ba-card--before .ba-card__label {
  color: var(--color-text-muted);
}

.ba-card--after .ba-card__label {
  color: var(--color-accent);
}

.ba-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ── Lifestyle row ── */
.lifestyle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.lifestyle-row img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ── Pricing ── */
.pricing {
  background: linear-gradient(160deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  margin-top: 2rem;
}

.pricing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pricing h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.pricing__lead {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.pricing__card {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pricing__price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin: 1rem 0;
}

.pricing__price small {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.pricing__includes {
  text-align: left;
  margin: 1.5rem 0;
}

.pricing__includes li {
  list-style: none;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing__includes li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

.pricing__includes li:last-child {
  border-bottom: none;
}

/* ── FAQ ── */
.faq {
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Footer ── */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1.5rem 2rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__disclaimer {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 700px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner,
  .story-grid,
  .pillars,
  .demo-steps,
  .before-after,
  .pricing__inner,
  .lifestyle-row {
    grid-template-columns: 1fr;
  }

  .story-grid--reverse .story-grid__media,
  .story-grid--reverse .story-grid__text {
    order: unset;
  }

  .benefits-grid,
  .compare-notes {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header .btn--primary {
    display: none;
  }
}

@media (max-width: 600px) {
  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* ── Checkout ── */
.checkout {
  padding: 3rem 1.5rem 4rem;
}

.checkout__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.checkout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.checkout__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.checkout__back {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.checkout-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.checkout-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font-size: 0.98rem;
  font-family: var(--font-sans);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(45, 106, 90, 0.5);
  box-shadow: 0 0 0 4px rgba(45, 106, 90, 0.12);
}

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

.payment-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.payment-tab {
  flex: 1;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.payment-tab.active {
  background: var(--color-accent-dark);
  color: #fff;
  border-color: var(--color-accent-dark);
}

.payment-panel {
  display: none;
  margin-top: 1rem;
}

.payment-panel.active {
  display: block;
}

.checkout-actions {
  margin-top: 1.25rem;
}

.checkout-actions .btn {
  width: 100%;
}

.checkout-consent {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.order-summary {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.summary-row strong {
  color: var(--color-text);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-total {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mini-disclaimer {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Validation */
.field-error input,
.field-error select {
  border-color: rgba(160, 38, 38, 0.65);
  box-shadow: 0 0 0 4px rgba(160, 38, 38, 0.12);
}

.error-text {
  min-height: 1.1em;
  font-size: 0.82rem;
  color: rgba(160, 38, 38, 0.95);
  line-height: 1.35;
}

.success-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(30, 42, 36, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal__panel {
  width: min(620px, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.modal__top {
  padding: 1.5rem 1.75rem;
  background: linear-gradient(160deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
  color: #fff;
}

.modal__top h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.modal__body {
  padding: 1.75rem;
}

.modal__summary {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.modal__actions .btn {
  flex: 1;
  min-width: 220px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}
