:root {
  --ink: #101f1c;
  --muted: #5d6c68;
  --bg: #f3f1e8;
  --panel: rgba(255, 255, 255, 0.94);
  --line: rgba(18, 55, 48, 0.14);
  --teal: #1f7a73;
  --deep: #123730;
  --shadow: 0 16px 38px rgba(12, 24, 20, 0.1);
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(46, 140, 132, 0.12), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(243, 183, 146, 0.18), transparent 32%),
    var(--bg);
  min-height: 100vh;
}

.method-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 22px 44px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.top-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-links a {
  text-decoration: none;
  color: rgba(16, 31, 28, 0.82);
  font-weight: 500;
}

main {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 0.74rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero p,
.card p {
  line-height: 1.55;
  color: rgba(16, 31, 28, 0.78);
}

.card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.card ul {
  margin: 10px 0 0 18px;
  display: grid;
  gap: 8px;
  line-height: 1.45;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.93rem;
}

thead th {
  text-align: left;
  padding: 10px;
  background: rgba(31, 122, 115, 0.1);
  color: rgba(16, 31, 28, 0.88);
  border-bottom: 1px solid rgba(18, 55, 48, 0.14);
}

tbody td {
  padding: 10px;
  border-bottom: 1px solid rgba(18, 55, 48, 0.1);
  color: rgba(16, 31, 28, 0.84);
}

.note a {
  color: var(--deep);
  text-underline-offset: 2px;
}

.page-footer {
  margin-top: 12px;
  color: rgba(16, 31, 28, 0.68);
  font-size: 0.9rem;
}

.page-footer a {
  color: var(--deep);
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  .method-page {
    padding: 14px 14px 34px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .card {
    padding: 16px;
    border-radius: 16px;
  }

  table {
    font-size: 0.86rem;
  }
}
