@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --green: #0e3b2e;
  --green-light: #1a5c45;
  --gold: #d8b876;
  --gold-dark: #b8863c;
  --bg: #f6f4ee;
  --bg-soft: #edf1e8;
  --text: #1b2430;
  --muted: #6b7280;
  --border: #d8dbe0;
  --danger: #c0524a;
  --success: #2f7a3d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3, .logo-word { font-family: 'Lora', Georgia, serif; }

a { color: inherit; }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(15,35,60,0.06), 0 8px 24px rgba(15,35,60,0.06);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--green);
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-sub {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  margin-bottom: 18px;
  font-family: inherit;
}

input:focus { outline: 2px solid var(--green); outline-offset: 1px; }

button, .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 9px;
  background: var(--green);
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

button:disabled { opacity: 0.5; cursor: not-allowed; }

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

.error {
  color: var(--danger);
  font-size: 14px;
  margin: -8px 0 14px;
}

.muted { color: var(--muted); font-size: 14px; }

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill { height: 100%; background: var(--green); }

.option-btn {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: #ffffff;
  border: 1.5px solid var(--bg-soft);
  margin-bottom: 12px;
}

.option-btn.selected { background: #e9f2ea; border-color: var(--green); }

.option-letter {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14,59,46,0.08);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  margin-right: 12px;
}

.review-item {
  border-radius: 10px;
  background: #ffffff;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-left: 4px solid var(--border);
}

.lesson-card {
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(15,35,60,0.06), 0 8px 24px rgba(15,35,60,0.06);
  text-decoration: none;
}

.lesson-title { font-size: 17px; font-weight: 700; color: var(--green); }
.lesson-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
