/* Base */
:root {
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #55627a;
  --brand: #6e7afc;
  --brand-2: #9aa7ff;
  --surface-base: #ffffff;
  --surface-card: #ffffff;
  --surface-chip: rgba(110, 122, 252, 0.12);
  --border-soft: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.25);
  --text-strong: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #6b7b93;
  --color-danger: #d32f2f;
  --color-primary: var(--brand);
  --color-primary-hover: #5d6cfb;
  --focus-ring: 0 0 0 3px rgba(110, 122, 252, 0.2);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body.bg-soft {
  background: #eaf4fb;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px);
}

/* Header & nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(2, 6, 23, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.nav a {
  font-weight: 700;
  text-decoration: none;
  color: #334155;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
  outline: none;
}

.nav a.is-active {
  color: var(--brand);
}

/* Full-width hero */
.hero {
  width: 100%;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  display: block;
  width: 100vw;
  height: clamp(280px, 50vw, 520px);
  object-fit: cover;
  object-position: center center;
  user-select: none;
}

/* Content */
.content {
  margin-top: 2rem;
}

.content h1, .content h2, .content h3 {
  font-family: Manrope, Inter, sans-serif;
}

.content h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin: 0.6em 0 0.2em;
  text-align: center;
}

.content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 1.2em 0 0.2em;
}

.content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  margin: 0.2em 0 0.2em;
}

.content p.lead {
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 2rem auto;
}

.content section {
  margin: 2rem 0;
}

.accent {
  color: var(--brand);
}

/* Hero content section */
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2.8vw, 2.4rem);
  padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(145deg, rgba(110, 122, 252, 0.15), rgba(56, 189, 248, 0.16));
  border-radius: 28px;
  border: 1px solid rgba(110, 122, 252, 0.2);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  margin: clamp(-140px, -12vw, -90px) 0 3rem;
  width: 100%;
  color: #0f172a;
  overflow: hidden;
}

.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(0.5px);
  opacity: 0.7;
}

.hero-content::before {
  inset: -45% 55% auto -25%;
  width: 70%;
  height: 220%;
  background: radial-gradient(circle at center, rgba(244, 114, 182, 0.3), rgba(244, 114, 182, 0));
}

.hero-content::after {
  inset: auto -35% -65% 50%;
  width: 65%;
  height: 210%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0));
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-heading h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.6rem);
  letter-spacing: -0.4px;
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(15, 23, 42, 0.78);
  margin: 0;
  line-height: 1.7;
  max-width: min(720px, 95%);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Practice Methods Layout */
.practice-methods {
  margin: 3rem 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.method-card {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(236, 248, 255, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.method-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
  position: relative;
  z-index: 1;
}

.method-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-card li {
  margin-bottom: 0.5rem;
  color: rgba(15, 23, 42, 0.75);
  line-height: 1.55;
  position: relative;
  padding-left: 1.4rem;
}

.method-card li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #4f46e5);
}

/* Legacy styles for other sections */
.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(16px, 4vw, 36px);
  align-items: start;
}

.story {
  position: relative;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(226, 232, 255, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.story::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% 40%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), rgba(79, 70, 229, 0));
  pointer-events: none;
}

.story > * {
  position: relative;
  z-index: 1;
}

.story h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  color: #0f172a;
}

.story-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.story-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #1e2245;
}

.story-card ul {
  margin: 0.4em 0 1em 0;
  padding-left: 1.1em;
}

.story-card li {
  margin-bottom: 0.6rem;
  color: rgba(15, 23, 42, 0.75);
}

.story-card li::marker {
  color: var(--brand);
}

.home-benefits {
  margin-top: 3rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(226, 232, 255, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.18);
}

.card::after {
  content: "";
  position: absolute;
  inset: -40% 60% auto -25%;
  height: 180%;
  background: radial-gradient(circle at center, rgba(110, 122, 252, 0.2), rgba(110, 122, 252, 0));
  pointer-events: none;
}

.card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  color: #1e2245;
}

.card p {
  position: relative;
  z-index: 1;
  color: rgba(15, 23, 42, 0.75);
}

.card.big ul {
  margin: 0.4em 0 1em 1em;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.micro {
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
}

/* Story section */
.story {
  margin: 2rem 0;
}

.story-card .btn {
  margin-bottom: 8px;
}

/* Lists */
.bullets {
  margin: 0.4em 0 0 1.1em;
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .hero-content {
    margin: clamp(-110px, -14vw, -70px) 0 2.5rem;
    padding: clamp(24px, 5vw, 40px);
  }

  .hero-actions {
    justify-content: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .story {
    padding: clamp(22px, 5vw, 36px);
  }
}

@media (max-width: 600px) {
  .hero-content {
    margin: -60px 0 2rem;
    border-radius: 22px;
  }

  .hero-heading {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .story {
    text-align: left;
  }

  .story-card {
    backdrop-filter: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(110, 122, 252, 0.3);
}

.btn.ghost, .btn.secondary {
  border-color: #c7d2fe;
  color: #364a6a;
  background: white;
}

.btn.ghost:hover, .btn.secondary:hover {
  background: #f1f5f9;
  border-color: #9aa7ff;
}

.cta-center {
  text-align: center;
  margin: 2rem 0;
}

.cta-center .hero-actions {
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 38px);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(110, 122, 252, 0.14), rgba(56, 189, 248, 0.16));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.14);
}

.cta-center .hero-actions .btn {
  min-width: 220px;
  padding: 16px 30px;
  font-size: 1.05rem;
  border-radius: 16px;
}

/* Contact page */
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-panel {
  position: relative;
  margin: clamp(-120px, -10vw, -80px) 0 clamp(64px, 8vw, 96px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.96), rgba(236, 242, 255, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 48px 120px rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: -22% 48% auto -18%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(244, 114, 182, 0.22), rgba(244, 114, 182, 0));
  pointer-events: none;
}

.contact-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: rgba(15, 23, 42, 0.88);
}

.contact-intro h1 {
  margin: 0;
  text-align: left;
}

.contact-intro .lead {
  text-align: left;
  margin: 0;
}

.contact-points {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.78);
}

.contact-points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0.45rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #38bdf8);
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.contact-panel .contact-form {
  max-width: none;
  margin: 0;
  padding: clamp(26px, 4vw, 36px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  position: relative;
  z-index: 1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input, .contact-form textarea, .contact-form select {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font: inherit;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  box-shadow: 0 0 0 3px rgba(110, 122, 252, 0.1);
  border-color: var(--brand);
  background: white;
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  background: rgba(12, 18, 28, 0.72);
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-modal--hidden {
  display: none;
}

.auth-modal__dialog {
  width: min(100%, 460px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-card);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  padding: 28px 32px;
  border: 1px solid var(--border-soft);
  position: relative;
  color: var(--text-body);
}

@media (max-height: 780px) {
  .auth-modal {
    align-items: flex-start;
  }

  .auth-modal__dialog {
    margin: 40px auto;
  }
}

.auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.auth-modal__close:hover,
.auth-modal__close:focus-visible {
  color: var(--text-strong);
  transform: scale(1.08);
  outline: none;
}

.auth-modal__header h2 {
  margin: 0 0 6px 0;
  color: var(--text-strong);
  font-size: 1.6rem;
}

.auth-modal__header p {
  margin: 0 0 18px 0;
  color: var(--text-subtle);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-modal__form {
  display: grid;
  gap: 14px;
}

.auth-modal__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--text-body);
}

.auth-modal__form input[type="email"],
.auth-modal__form input[type="password"],
.auth-modal__form input[type="text"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
  background: var(--surface-base);
  color: var(--text-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-modal__form input[type="email"]:focus,
.auth-modal__form input[type="password"]:focus,
.auth-modal__form input[type="text"]:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: var(--focus-ring);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1 1 auto;
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--text-subtle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toggle-password:hover,
.toggle-password:focus-visible {
  color: var(--text-strong);
  background-color: rgba(110, 122, 252, 0.12);
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.toggle-password:active {
  transform: translateY(-50%) scale(0.96);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-row a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.checkbox-row a:hover,
.checkbox-row a:focus-visible {
  color: var(--color-primary-hover);
  outline: none;
}

.auth-modal__error {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--color-danger);
  display: none;
}

.auth-modal__form .hint {
  margin: 2px 0 0 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.auth-modal__forgot-link {
  margin: 8px 0 0 0;
  text-align: right;
}

.link-button {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.link-button:hover {
  color: var(--color-primary-hover);
}

.pin-wrapper {
  position: relative;
  display: inline-block;
  margin: 8px 0;
  padding-right: 44px;
}

.pin-boxes {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.toggle-pin {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-pin:hover,
.toggle-pin:focus-visible {
  opacity: 1;
  outline: none;
}

.pin-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.pin-input {
  width: 100%;
  padding-right: 44px;
}

.toggle-pin-visibility {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 6px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toggle-pin-visibility:hover,
.toggle-pin-visibility:focus-visible {
  opacity: 1;
  outline: none;
}

.pin-box {
  width: 48px !important;
  height: 48px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0 !important;
}

.pin-box:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-modal__footer {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: var(--text-body);
}

.auth-modal__switch {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-modal__switch:hover,
.auth-modal__switch:focus-visible {
  color: var(--color-primary-hover);
  outline: none;
}

@media (max-width: 520px) {
  .auth-modal__dialog {
    padding: 24px;
  }
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  margin-top: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  justify-self: stretch;
}

@media (max-width: 980px) {
  .contact-panel {
    grid-template-columns: 1fr;
    padding: clamp(26px, 6vw, 42px);
    margin: -80px 0 clamp(48px, 8vw, 72px);
  }

  .contact-panel::after {
    inset: auto -18% -40% 30%;
    width: 65%;
    height: 150%;
  }

  .contact-panel .contact-form {
    padding: clamp(24px, 6vw, 34px);
  }
}

@media (max-width: 620px) {
  .contact-panel {
    border-radius: 24px;
    gap: clamp(22px, 6vw, 32px);
    margin: -48px 0 clamp(40px, 10vw, 60px);
  }

  .contact-panel::after {
    inset: auto -22% -32% 24%;
  }

  .contact-panel .contact-form {
    padding: clamp(20px, 6vw, 28px);
    border-radius: 20px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(2, 6, 23, 0.07);
  background: #fff;
  margin-top: 4rem;
}

.site-footer p {
  margin: 0;
  padding: 18px 0;
  color: #67738c;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.site-footer__links {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__link {
  color: #67738c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  outline: none;
}

/* Responsive */
@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .intro-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .intro-actions .btn {
    width: auto;
    min-width: 200px;
  }
  
  .method-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card {
    padding: 16px;
  }
  
  .hero-figure img {
    height: 200px;
  }
  
  .container {
    padding: clamp(12px, 2vw, 20px);
  }
  
  .content h1 {
    font-size: 1.8rem;
  }
  
  .content h2 {
    font-size: 1.4rem;
  }
  
  .intro-actions {
    gap: 8px;
  }
  
  .intro-actions .btn {
    width: 100%;
    min-width: auto;
  }
  
  .method-card {
    padding: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}
