:root {
  --bg: #0b1210;
  --bg-elevated: #121a17;
  --bg-card: #16201c;
  --line: rgba(180, 210, 195, 0.14);
  --text: #eef5f1;
  --muted: #9bb0a6;
  --accent: #3d9b72;
  --accent-soft: rgba(61, 155, 114, 0.18);
  --danger: #e06b6b;
  --warn: #d4a84b;
  --radius: 16px;
  --sidebar-w: 248px;
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --glass: rgba(220, 245, 232, 0.08);
  --glass-border: rgba(220, 245, 232, 0.28);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 70% -8%, rgba(61, 155, 114, 0.2), transparent 55%),
    radial-gradient(900px 500px at 100% 40%, rgba(40, 90, 70, 0.18), transparent 50%),
    radial-gradient(700px 400px at 0% 80%, rgba(255, 200, 87, 0.05), transparent 45%),
    linear-gradient(165deg, #0d1613 0%, #0b1210 45%, #0a100e 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: clip;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--accent);
  color: #04110c;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.shell {
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 1.4rem 1rem 1.5rem;
  border-right: 1px solid var(--line);
  background: rgba(8, 14, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.4rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.side-nav a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--text);
  background: var(--glass);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px var(--glass-border);
}

.side-cta {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    backdrop-filter 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #04110c;
  box-shadow: 0 8px 24px rgba(61, 155, 114, 0.22);
}

.btn-primary:hover {
  background: rgba(61, 155, 114, 0.72);
  border-color: rgba(232, 255, 243, 0.45);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow:
    0 10px 28px rgba(61, 155, 114, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #04110c;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.content {
  margin-left: var(--sidebar-w);
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem clamp(1.25rem, 3.5vw, 2.75rem) 4.5rem;
}

.content > * {
  width: 100%;
  max-width: 880px;
}

.hero {
  padding: 1.25rem 0 2.5rem;
  text-align: center;
}

.hero-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.15rem;
  border-radius: 22px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(232, 255, 243, 0.18);
}

.hero .hero-lead,
.hero .hero-actions,
.hero .meta-row,
.hero .hero-art {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 auto 0.85rem;
  max-width: 14ch;
  overflow-wrap: anywhere;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
  margin: 0 auto 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  justify-content: center;
}

.meta-row a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero-art {
  margin-top: 1.75rem;
  width: 100%;
  max-width: 680px;
  height: min(300px, 42vw);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #0a100e;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.illust-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: center;
  margin: 1.4rem 0 0.4rem;
}

.illust-row.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.illust-row.reverse .illust-copy {
  order: 2;
}

.illust-row.reverse .illust-frame {
  order: 1;
}

.illust-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a100e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  height: 210px;
}

.illust-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.illust-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.illust-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  overflow-wrap: anywhere;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 40rem;
}

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

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

.card {
  background: rgba(22, 32, 28, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--glass-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.shot {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0a100e;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover {
  border-color: var(--glass-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.shot img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 0.75rem 0.95rem 0.95rem;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: rgba(22, 32, 28, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warn);
  background: rgba(212, 168, 75, 0.12);
}

.limit-list {
  display: grid;
  gap: 0.7rem;
}

.limit-item {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--warn);
  background: rgba(212, 168, 75, 0.08);
  border-radius: 0 10px 10px 0;
}

.limit-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.limit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.maker {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.35rem;
  align-items: center;
}

.maker-avatar {
  width: 140px;
  height: 140px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.socials a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease;
}

.socials a:hover {
  color: var(--text);
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}

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

.workshop a {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 26, 23, 0.85);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, backdrop-filter 0.2s ease;
}

.workshop a:hover {
  border-color: var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  transform: translateY(-2px);
}

.workshop strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.workshop span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cta-band {
  margin-top: 1rem;
  padding: 1.55rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(135deg, rgba(61, 155, 114, 0.2), transparent 55%),
    rgba(22, 32, 28, 0.75);
  backdrop-filter: blur(12px);
  text-align: center;
}

.cta-band .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
}

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

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(22, 32, 28, 0.88);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.support-card {
  text-decoration: none;
}

.support-card:hover,
.support-card:focus-visible {
  border-color: var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  outline: none;
}

.support-card.is-copied {
  border-color: var(--accent);
}

.support-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.support-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.support-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  text-align: center;
}

.mobile-bar {
  display: none;
}

@media (max-width: 1100px) {
  .content > * {
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .content {
    margin-left: 0;
  }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 14, 12, 0.9);
    backdrop-filter: blur(10px);
  }

  .mobile-bar .brand img {
    width: 32px;
    height: 32px;
  }

  .grid-2,
  .grid-3,
  .workshop,
  .maker,
  .illust-row,
  .illust-row.reverse,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .illust-row.reverse .illust-copy,
  .illust-row.reverse .illust-frame {
    order: initial;
  }

  .content {
    padding: 1.25rem 1.1rem 3rem;
    align-items: stretch;
  }

  .hero {
    text-align: left;
  }

  .hero-icon {
    margin-left: 0;
  }

  .hero-actions,
  .meta-row,
  .cta-band .hero-actions {
    justify-content: flex-start;
  }

  .hero h1,
  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .cta-band {
    text-align: left;
  }

  .footer {
    justify-content: flex-start;
    text-align: left;
  }
}
