@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --canvas: #f7f8f4;
  --white: #fff;
  --forest: #173f35;
  --leaf: #2c7752;
  --pear: #dcebba;
  --ink: #25382e;
  --muted: #6c796c;
  --text-secondary: #485b38;
  --line: #e0e6db;
  --soft: #edf2e6;
  --peach: #f7e6d4;
  --blue: #e2edf1;
  --sidebar: 232px;
  --radius: 14px;
  --sans: "DM Sans", "Trebuchet MS", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
}
input {
  min-width: 0;
}
svg {
  display: block;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #417b5a;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
.button,
a {
  touch-action: manipulation;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--forest);
  color: white;
  padding: 14px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  padding: 36px 20px 18px;
  background: #f2f4ec;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.4px;
  color: var(--forest);
  line-height: 1.2;
}
.brand-period {
  color: #6b9b61;
}
.brand-symbol {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(2, 11px);
  gap: 3px;
  width: 25px;
  transform: rotate(-4deg);
}
.brand-symbol span {
  height: 11px;
  background: var(--forest);
  border-radius: 2px;
}
.brand-symbol span:nth-child(2),
.brand-symbol span:nth-child(3) {
  background: #8bad6c;
}
.brand-symbol span:nth-child(4) {
  background: transparent;
  border: 2px solid var(--forest);
}
.sidebar-caption {
  font-size: 11px;
  letter-spacing: 0.2px;
  padding: 9px 0 39px 47px;
  color: var(--muted);
}
.nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #7b8776;
  padding: 0 14px 12px;
}
.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.primary-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  font-size: 12.5px;
  font-weight: 550;
  color: #64715f;
  border-radius: 8px;
  min-height: 44px;
}
.primary-nav a .icon {
  width: 18px;
  height: 18px;
}
.primary-nav a:hover {
  background: #e8eddf;
  color: var(--forest);
}
.primary-nav a.active {
  background: #e0eacb;
  color: var(--forest);
  font-weight: 700;
}
.nav-count {
  margin-left: auto;
  background: #c9dbb1;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
}
.nav-end {
  margin-left: auto;
  width: 13px !important;
  height: 13px !important;
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.sidebar-note {
  position: relative;
  background: #e7edde;
  border: 1px solid #dce4d1;
  border-radius: 10px;
  padding: 20px 15px 16px;
  overflow: hidden;
}
.sidebar-note > .icon {
  color: #5c7c45;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}
.sidebar-note strong {
  font-size: 12px;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  color: #64735a;
  margin-top: 7px;
}
.sidebar-note a {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 15px;
  color: var(--forest);
}
.sidebar-note a .icon {
  width: 15px;
  height: 15px;
}
.sidebar-help {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
  color: #6d7966;
  font-size: 11px;
}
.sidebar-help .icon {
  width: 16px;
  height: 16px;
}
.local-note {
  display: flex;
  gap: 6px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 7px 0;
  color: #788371;
  font-size: 10px;
}
.local-note > span:last-child {
  margin-left: auto;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #6a8b52;
  border-radius: 50%;
  flex-shrink: 0;
}
.app-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.topbar {
  height: 85px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 42px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  white-space: nowrap;
}
.breadcrumb > span {
  color: #8a9383;
}
.breadcrumb strong {
  font-weight: 550;
}
.breadcrumb .icon {
  width: 11px;
  height: 11px;
  color: #929d89;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f1f3ed;
  border: 1px solid #e5e9df;
  border-radius: 8px;
  padding: 10px 12px;
  max-width: 310px;
  width: 31%;
  margin-left: auto;
  color: #8a9482;
}
.search-box > .icon {
  width: 17px;
  height: 17px;
}
.search-box input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  font-size: 11px;
  color: var(--ink);
}
.search-box input::placeholder {
  color: #88917f;
}
.search-box:focus-within {
  outline: 2px solid #6a9261;
  outline-offset: 2px;
}
kbd {
  font-family: var(--sans);
  font-size: 10px;
  padding: 1px 5px;
  border: 1px solid #dbe0d4;
  border-radius: 4px;
  background: #fafbf8;
  color: #7e8974;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #7b8973;
}
.icon-button:hover {
  background: var(--soft);
  color: var(--forest);
}
.topbar-separator {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.guest {
  display: flex;
  align-items: center;
  gap: 10px;
}
.guest-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e5edd5;
  border: 1px solid #d5dfc8;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #647c52;
}
.guest > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.guest strong {
  font-size: 11px;
  font-weight: 650;
}
.guest > div > span {
  font-size: 10px;
  color: #8a9482;
}
.auth-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #173f35;
  color: #ffffff;
  border: 1px solid #173f35;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.auth-action:hover {
  background: #1f5346;
}
.auth-action.secondary {
  background: #f3f5ef;
  color: #253729;
  border-color: #cbd5c1;
}
.auth-action.secondary:hover {
  background: #e7ede0;
}
.sidebar-auth {
  margin-top: 8px;
  margin-bottom: 10px;
}
.sidebar-auth .auth-action {
  width: 100%;
  border-radius: 10px;
  padding: 8px 12px;
}
.mobile-toggle {
  display: none;
}
#content {
  padding: 34px 42px 24px;
  max-width: 1570px;
  margin: auto;
  min-height: calc(100vh - 150px);
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.welcome-line {
  font-size: 12px;
  color: #788670;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.welcome-line .icon {
  width: 15px;
  height: 15px;
  color: #72935e;
}
.page-heading h1 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.65px;
  line-height: 1.4;
}
.browser-badge {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7b8770;
  white-space: nowrap;
  padding-top: 18px;
}
.browser-badge .icon {
  width: 14px;
  height: 14px;
}
.heading-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.8;
}
.hero-panel {
  border: 1px solid #d9e4c7;
  min-height: 324px;
  border-radius: var(--radius);
  background: #e6edce;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
}
.hero-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #f0f3dc66, transparent 55%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 30px 0 28px 34px;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #60774e;
  margin-bottom: 15px;
}
.hero-note .status-dot {
  width: 5px;
  height: 5px;
}
.hero-copy h2 {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -1.7px;
  color: var(--forest);
}
.hero-copy > p {
  font-size: 12px;
  line-height: 1.8;
  color: #667457;
  margin-top: 16px;
  margin-bottom: 21px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 43px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  transition:
    background 0.18s,
    color 0.18s;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--forest);
  color: #fff;
}
.primary:hover {
  background: #286047;
}
.secondary {
  background: white;
  border-color: #cfdac5;
  color: var(--forest);
}
.secondary:hover {
  background: #eef3e7;
}
.text-button {
  color: #74816a;
  padding-left: 3px;
  gap: 7px;
}
.text-button:hover {
  color: var(--forest);
}
.hero-caption {
  display: block;
  color: #7a856c;
  font-size: 9px;
  margin-top: 11px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 16px 0;
  min-width: 0;
  z-index: 1;
}
.hero-art img {
  width: 100%;
  max-width: 455px;
  object-fit: contain;
  animation: workbook-arrive 0.65s ease-out both;
}
.art-caption {
  position: absolute;
  bottom: 27px;
  left: 5px;
  right: 5px;
  text-align: center;
  font-size: 10px;
  color: #7d8e67;
  font-style: italic;
}
.benefit-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 21px 3px 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
}
.benefit-strip > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7c8872;
}
.benefit-strip .icon {
  width: 15px;
  height: 15px;
  color: #6b845b;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 242px;
  gap: 27px;
}
.learning-column {
  min-width: 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.35px;
}
.section-title p {
  font-size: 10px;
  line-height: 1.8;
  color: #88907e;
  margin-top: 5px;
}
.text-link {
  font-size: 10px;
  font-weight: 650;
  color: #566b48;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.text-link:hover {
  color: #204d35;
  text-decoration: underline;
}
.text-link .icon {
  width: 13px;
  height: 13px;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 17px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.path-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.tile-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.tile-icon .icon {
  width: 20px;
  height: 20px;
}
.green {
  background: #e9f0db;
  color: #608444;
}
.peach {
  background: var(--peach);
  color: #ac764d;
}
.blue {
  background: var(--blue);
  color: #5d8392;
}
.level-label {
  font-size: 8px;
  background: #f7f8f4;
  border: 1px solid #e8ece2;
  padding: 4px 7px;
  border-radius: 4px;
  color: #859078;
  white-space: nowrap;
}
.path-order {
  font-size: 9px;
  color: #929a87;
  margin-bottom: 6px;
}
.path-card h3 {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.25px;
  font-weight: 700;
  min-height: 39px;
  max-width: 170px;
}
.path-card > p {
  font-size: 10px;
  line-height: 1.75;
  color: #86907c;
  margin-top: 7px;
  min-height: 36px;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 15px;
}
.skill-list span {
  font-size: 8px;
  font-weight: 550;
  color: #79866b;
  background: #f5f7f0;
  border: 1px solid #edf0e6;
  padding: 4px 6px;
  border-radius: 4px;
}
.path-progress {
  font-size: 8px;
  color: #8d9680;
  display: flex;
  justify-content: space-between;
  margin-top: 19px;
  margin-bottom: 8px;
}
.progress-track {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  appearance: none;
  background: #eef1e8;
  color: #789c59;
}
.progress-track::-webkit-progress-bar {
  background: #eef1e8;
  border-radius: 10px;
}
.progress-track::-webkit-progress-value {
  background: #789c59;
  border-radius: 10px;
}
.progress-track::-moz-progress-bar {
  background: #789c59;
  border-radius: 10px;
}
.path-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  margin-top: 13px;
  border-top: 1px solid #eef1e8;
  color: #567446;
  font-weight: 650;
  font-size: 10px;
}
.path-action:hover {
  color: var(--forest);
}
.path-action .icon {
  width: 14px;
  height: 14px;
}
.home-aside {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.goal-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 19px 20px;
  background: #fff;
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card-title h3 {
  font-size: 13px;
  letter-spacing: -0.3px;
  font-weight: 650;
}
.card-title > .icon {
  width: 20px;
  height: 20px;
  color: #8e9f72;
}
.goal-card > p {
  font-size: 10px;
  line-height: 1.85;
  color: #8b9382;
  margin-top: 10px;
}
.goal-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
}
.goal-value strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 550;
  color: #4e6b3d;
}
.goal-value strong span {
  font-size: 20px;
  color: #c2ccb6;
  letter-spacing: 0;
}
.goal-value > span {
  font-size: 9px;
  color: #8c9780;
  padding-top: 12px;
}
.week-days {
  display: flex;
  justify-content: space-between;
  margin: 19px 0 15px;
}
.week-day {
  font-size: 9px;
  color: #939d87;
  text-align: center;
}
.day-marker {
  margin-top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3f6ed;
  border: 1px solid #e9eedf;
}
.is-today .day-marker {
  border: 1.5px solid #97ae78;
  background: #eef3e4;
}
.day-marker.is-active {
  background: #779951;
  color: white;
  display: grid;
  place-items: center;
}
.day-marker .icon {
  width: 12px;
  height: 12px;
}
.goal-foot {
  font-size: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eef1e7;
  padding-top: 13px;
  color: #929d83;
}
.goal-foot .icon {
  width: 12px;
  height: 12px;
}
.tip-card {
  position: relative;
  background: #f0f1e8;
  border: 1px solid #e6e9dc;
  border-radius: 10px;
  padding: 17px 18px;
  overflow: hidden;
}
.tip-label {
  font-size: 9px;
  color: #8b937a;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tip-label .icon {
  width: 13px;
  height: 13px;
}
.tip-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
  max-width: 145px;
  margin: 12px 0 8px;
  letter-spacing: -0.5px;
}
.tip-card p {
  font-size: 9px;
  line-height: 1.9;
  color: #93977f;
  max-width: 158px;
  position: relative;
  z-index: 1;
}
.tip-doodle {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font-size: 65px;
  font-style: italic;
  font-family: var(--serif);
  color: #d9dfc9;
  transform: rotate(-14deg);
}
.quick-section {
  margin-top: 25px;
}
.quick-lesson {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  min-width: 0;
  border-bottom: 1px solid #edf0e7;
  transition: background 0.15s;
}
.lesson-row:last-child {
  border-bottom: 0;
}
.lesson-row:hover {
  background: #fafcf6;
}
.lesson-number {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid #e8ecdf;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #89957b;
  background: #fafbf7;
}
.lesson-number.is-done {
  background: #eaf1dc;
  border-color: #dfe9ca;
  color: #5f8245;
}
.lesson-number .icon {
  width: 17px;
  height: 17px;
}
.lesson-row-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.lesson-row-main strong {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.1px;
}
.lesson-row-main > span {
  font-size: 9px;
  color: #929b85;
  line-height: 1.6;
}
.formula-tag {
  font-size: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #f1f4ea;
  color: #718361;
  white-space: nowrap;
}
.lesson-duration {
  font-size: 9px;
  color: #94a087;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.lesson-duration .icon {
  width: 12px;
  height: 12px;
}
.row-arrow {
  width: 13px;
  height: 13px;
  color: #9ba58d;
}
.page-footer {
  border-top: 1px solid var(--line);
  margin: 0 42px;
  padding: 19px 0 22px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a0a792;
  gap: 16px;
  max-width: 1486px;
}
.page-footer > span:last-child {
  display: flex;
  gap: 9px;
}
.page-footer > span:last-child > span {
  color: #c5cbb9;
}
