:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #fff8ed;
  --text: #2f241d;
  --muted: #6d6157;
  --accent: #f2aa24;
  --accent-2: #504538;
  --border: rgba(80, 69, 56, 0.14);
  --shadow: 0 20px 40px rgba(34, 20, 9, 0.08);
}

body.dark {
  color-scheme: dark;
  --bg: #16110e;
  --surface: #201913;
  --surface-2: #2b2017;
  --text: #f8efe6;
  --muted: #ccb8a2;
  --accent: #ffb94c;
  --accent-2: #ffd79d;
  --border: rgba(255, 215, 157, 0.16);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#home, #overview, #guide, #faq, #contact {
  scroll-margin-top: 15px;
}
body.dark .site-header { background: rgba(22, 17, 14, 0.9); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  margin-left: 2rem;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--accent-2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(247, 244, 239, 0.95);
  border: 1px solid rgba(80, 69, 56, 0.08);
  padding: 0.15rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(80, 69, 56, 0.85);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  min-width: 54px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.lang-btn:not(.active) {
  color: rgba(80, 69, 56, 0.7);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(80, 69, 56, 0.12);
  color: var(--accent-2);
  background: rgba(247, 244, 239, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 38px rgba(80, 69, 56, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(80, 69, 56, 0.16);
}
body.dark .lang-switch {
  background: transparent;
  border: 1px solid var(--accent);
  box-shadow: none;
}
body.dark .lang-btn:not(.active) {
  color: #fff;
}
body.dark .theme-toggle {
  background: transparent;
  border: 1px solid var(--accent);
  box-shadow: none;
  color: #fff;
}
.theme-icon {
  font-family: "Segoe UI Symbol", "Segoe UI Emoji", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ffcc71); color: #fff; box-shadow: var(--shadow); }
.btn-secondary { background: var(--surface); color: var(--accent-2); border-color: var(--border); }
.btn.small { padding: 0.65rem 0.95rem; }
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 2rem;
  padding: 5rem 0 3.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1f1400;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 1rem 0; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { color: var(--muted); }
.hero-text { font-size: 1.05rem; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0; }
.hero-points { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-top: 1rem; }
.hero-points li { display: flex; align-items: center; gap: 0.6rem; color: var(--accent-2); font-weight: 600; }
.hero-points li::before { content: '✓'; color: var(--accent); }
.hero-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.hero-card-inner { background: rgba(242, 170, 36, 0.11); padding: 1rem; border-radius: 1rem; }
.section { padding: 3.2rem 0; }
.card-grid, .note-grid { display: grid; gap: 1rem; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card, .note-card, .tutorial-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}
.info-card, .note-card { padding: 1.3rem; }
.note-card.warning { border-left: 5px solid var(--accent); }
.reminder-section { padding-top: 1.8rem; }
.reminder-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(242, 170, 36, 0.2);
  border-radius: 1.5rem;
  padding: 1.1rem 1.5rem;
}
.reminder-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
}
.reminder-card p { margin: 0; color: var(--text); text-align: left; }
.guide-section { background: rgba(242, 170, 36, 0.08); }
.guide-progress { margin-bottom: 1.1rem; }
.progress-bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 16.66%; background: linear-gradient(90deg, var(--accent), #ffcc71); transition: width 0.25s ease; }
.step-indicators { display: flex; gap: 0.5rem; margin-top: 0.7rem; flex-wrap: wrap; }
.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 0;
  padding: 0;
}
.step-dot.active { background: var(--accent); transform: scale(1.2); }
.tutorial-card { padding: 1.4rem; }
.tutorial-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.step-badge { display: inline-block; padding: 0.35rem 0.7rem; background: var(--surface-2); border-radius: 999px; color: var(--accent-2); font-weight: 700; }
.tutorial-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.step-list { display: grid; gap: 0.55rem; padding-left: 1.2rem; list-style: disc; }
.step-list li { line-height: 1.5; }
.step-sublist { display: grid; gap: 0.4rem; margin-top: 0.4rem; padding-left: 1.2rem; list-style: disc; }
.step-sublist li { line-height: 1.5; }
.tutorial-copy .tips-box { margin-top: 1rem; padding: 1rem; border-radius: 1rem; background: rgba(242, 170, 36, 0.12); }
.tutorial-media img { border-radius: 1rem; min-height: 260px; object-fit: cover; width: 100%; }
.tutorial-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.faq-list { display: grid; gap: 0; }
.faq-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-row:last-child { border-bottom: 0; }
.faq-number {
  flex-shrink: 0;
  width: 2.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}
.faq-content h3 { margin: 0 0 0.45rem; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.faq-content p { margin: 0; color: var(--muted); }
.contact-section { padding-top: 1rem; }
.contact-card { padding: 2rem; text-align: center; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.site-footer { padding: 2rem 0 3rem; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.footer-logo { height: 40px; width: auto; }
.footer-text { display: grid; gap: 0.3rem; max-width: 640px; }
.footer-text p { margin: 0; font-size: 0.85rem; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: none; }
