:root {
  --navy: #0f1b2d;
  --navy-2: #18283f;
  --ink: #1c2430;
  --muted: #5b6676;
  --line: #e3e7ee;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --accent: #f26b1d;
  --accent-dark: #d4570f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent-dark); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; flex-wrap: wrap;
}
.logo { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: .2px; }
.logo span { color: var(--accent); }
.menu { display: flex; gap: 18px; flex-wrap: wrap; }
.menu a { color: #c9d3e2; text-decoration: none; font-size: 15px; }
.menu a:hover { color: #fff; }
.langs { display: flex; gap: 6px; }
.langs a {
  color: #c9d3e2; text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 4px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px;
}
.langs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 80px; }
.hero .tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(242,107,29,.5); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1.12; margin: 0 0 18px; max-width: 760px; }
.hero p { font-size: 19px; color: #c9d3e2; max-width: 640px; margin: 0 0 30px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 10px; font-size: 17px;
}
.btn:hover { background: var(--accent-dark); }
.facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; color: #c9d3e2; font-size: 15px; }
.facts b { display: block; color: #fff; font-size: 22px; }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 60px; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 700px; margin: 0 0 30px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card .n { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .5px; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; max-width: 760px; }
ol.steps li {
  counter-increment: s; position: relative; padding: 0 0 20px 54px;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
ol.steps b { display: block; }
ol.steps span { color: var(--muted); }

.table-box { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td.big { font-weight: 700; color: var(--accent-dark); white-space: nowrap; }

.note { max-width: 760px; margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--accent); background: #fff7f1; border-radius: 0 10px 10px 0; }

ul.check { list-style: none; padding: 0; margin: 0; max-width: 760px; }
ul.check li { padding: 0 0 12px 30px; position: relative; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.lessons { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.lesson { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.lesson .num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--soft); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lesson b { display: block; line-height: 1.3; }
.lesson small { color: var(--muted); }
.soon { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 15px; }

.story { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.story .who { font-weight: 700; margin-bottom: 8px; }

details { max-width: 760px; border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details p { color: var(--muted); margin: 10px 0 0; }

.biz { background: var(--navy); color: #fff; }
.biz .lead { color: #c9d3e2; }

/* Lesson pages */
a.lesson { text-decoration: none; color: inherit; border-color: var(--accent); }
a.lesson:hover { box-shadow: 0 6px 18px rgba(15,27,45,.08); }
a.lesson .num { background: var(--accent); color: #fff; }
.free { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-left: 6px; }
.article { max-width: 800px; margin: 0 auto; padding: 48px 20px 64px; }
.article h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 8px 0 14px; }
.article h2 { margin-top: 44px; }
.article .kicker { color: var(--accent-dark); font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.article .cards { margin: 20px 0; }
.article table { font-size: 15px; }
.money { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; font-weight: 700; }
.money div { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.money div small { display: block; font-weight: 400; color: var(--muted); }
.money span { color: var(--accent); font-size: 22px; }
dl.words { margin: 0; }
dl.words dt { font-weight: 700; margin-top: 12px; }
dl.words dd { margin: 0; color: var(--muted); }
.next { margin-top: 44px; background: var(--navy); color: #fff; border-radius: 14px; padding: 26px; }
.next p { color: #c9d3e2; margin: 6px 0 18px; }

/* Price boxes */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 820px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(242,107,29,.12); }
.plan h3 { margin: 0 0 6px; font-size: 21px; }
.plan .price { font-size: 44px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.plan .after { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul.check { flex: 1; margin-bottom: 18px; }
.plan .btn { text-align: center; }
.plan .btn.ghost { background: var(--navy); }
.plan .btn.ghost:hover { background: var(--navy-2); }
.plan small { display: block; margin-top: 12px; color: var(--muted); }
.fine { max-width: 820px; color: var(--muted); font-size: 15px; margin-top: 20px; }

/* Things the owner still has to fill in */
.todo { background: #fff3a6; color: #5c4a00; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

footer { background: #0a1320; color: #9aa7ba; padding: 34px 0; font-size: 15px; }
footer a { color: #c9d3e2; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .menu { display: none; }
  .hero { padding: 52px 0 58px; }
  section { padding: 48px 0; }
}
