:root {
  --ea-green: #25635b;
  --ea-green-dark: #143f3a;
  --ea-mint: #bce9db;
  --ea-sand: #fff1cc;
  --ea-coral: #f27d5b;
  --ea-ink: #15334a;
}

.ea-body {
  background:
    radial-gradient(circle at 8% 3%, rgba(188, 233, 219, .45), transparent 28rem),
    radial-gradient(circle at 94% 14%, rgba(255, 225, 150, .38), transparent 25rem),
    #f7fbf8;
}

.ea-hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(2rem, 6vw, 4.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr);
  align-items: center;
  gap: 2rem;
  border-radius: 2rem;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.16), transparent 15rem),
    linear-gradient(140deg, #143f3a, #25635b 58%, #38877b);
  box-shadow: 0 24px 72px rgba(20, 63, 58, .2);
}
.ea-hero::after { content: ""; position: absolute; right: -6rem; bottom: -8rem; width: 22rem; height: 22rem; border: 3.8rem solid rgba(255,255,255,.06); border-radius: 50%; }
.ea-hero > * { position: relative; z-index: 1; }
.ea-kicker, .ea-mini-kicker { display: inline-flex; color: var(--ea-sand); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ea-hero h1 { max-width: 820px; margin: .8rem 0 1rem; font-size: clamp(2.35rem, 6vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.ea-hero h1 span { color: var(--ea-mint); }
.ea-hero p { max-width: 720px; margin: 0; color: #e9fff8; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.65; }
.ea-compass { width: min(230px, 50vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.2rem rgba(255,255,255,.035); transform: rotate(-5deg); }
.ea-compass span { font-size: 4rem; font-weight: 950; letter-spacing: -.08em; }
.ea-compass small { max-width: 8rem; text-align: center; color: var(--ea-mint); font-weight: 800; }

.ea-primary, .ea-secondary, .ea-danger {
  min-height: 48px;
  padding: .75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .9rem;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.ea-primary { color: #fff; background: var(--ea-green); }
.ea-hero .ea-primary { color: var(--ea-green-dark); background: var(--ea-mint); }
.ea-secondary { color: var(--ea-green-dark); border-color: #acd1c6; background: #fff; }
.ea-hero .ea-secondary { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); }
.ea-danger { color: #a02923; border-color: #f2c3bd; background: #fff5f3; }
.ea-primary:hover { background: #1c514a; }
.ea-hero .ea-primary:hover { background: #d5f5eb; }
.ea-secondary:hover { border-color: var(--ea-green); background: #effaf6; }
.ea-danger:hover { background: #ffe6e1; }

.ea-trust { position: relative; z-index: 2; margin: -1.2rem 1rem 0; padding: .9rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; border: 1px solid #d5e9e2; border-radius: 1.25rem; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px rgba(20,63,58,.09); }
.ea-trust span { padding: .38rem .62rem; border-radius: 999px; color: var(--ea-green-dark); background: #eaf8f3; font-size: .78rem; font-weight: 850; }
.ea-section { margin-top: 3.6rem; }
.ea-section-head { max-width: 820px; margin-bottom: 1.2rem; }
.ea-section-head > span { color: var(--ea-green); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ea-section-head h2 { margin: .45rem 0 .55rem; color: var(--ea-ink); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -.04em; }
.ea-section-head p { margin: 0; color: #587066; line-height: 1.65; }
.ea-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 1rem; align-items: start; }
.ea-card, .ea-result-card { padding: clamp(1.1rem, 3vw, 1.7rem); border: 1px solid #d6e7e0; border-radius: 1.35rem; background: #fff; box-shadow: 0 15px 44px rgba(20,63,58,.07); }
.ea-form .academy-field input, .ea-form .academy-field select { border-color: #bcd8cf; }
.ea-reality { border-top: 5px solid var(--ea-coral); }
.ea-reality h3 { margin: .7rem 0; color: var(--ea-ink); font-size: 1.35rem; }
.ea-reality ul { padding-left: 1.25rem; color: #587066; line-height: 1.65; }
.ea-reality p { margin-bottom: 0; color: #6c4c43; font-size: .92rem; line-height: 1.55; }
.ea-status { min-height: 1.5rem; margin: .75rem 0 0; color: var(--ea-green); font-weight: 750; }

.ea-result-card { border-top: 6px solid var(--ea-green); }
.ea-result-card header h3 { margin: .75rem 0 .4rem; color: var(--ea-ink); font-size: clamp(1.55rem, 4vw, 2.35rem); }
.ea-result-card header p { color: #587066; line-height: 1.6; }
.ea-result-badge { display: inline-flex; padding: .4rem .65rem; border-radius: 999px; color: var(--ea-green-dark); background: var(--ea-mint); font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.ea-alert { padding: .8rem; border-left: 4px solid #d48100; border-radius: 0 .75rem .75rem 0; color: #724700 !important; background: #fff7df; }
.ea-steps { margin: 1.4rem 0; padding: 0; display: grid; gap: .8rem; list-style: none; counter-reset: ea-step; }
.ea-steps li { counter-increment: ea-step; padding: 1rem 1rem 1rem 4rem; position: relative; border: 1px solid #deebe6; border-radius: 1rem; background: #fbfefc; }
.ea-steps li::before { content: counter(ea-step); position: absolute; left: 1rem; top: 1rem; width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ea-green); font-weight: 900; }
.ea-steps strong { display: block; color: var(--ea-ink); }
.ea-steps span { display: block; margin-top: .3rem; color: #587066; line-height: 1.55; }
.ea-checklist { margin-top: 1.4rem; padding: 1rem; border-radius: 1rem; background: #f0faf6; }
.ea-checklist h4 { margin: 0 0 .7rem; color: var(--ea-ink); }
.ea-checklist label { min-height: 48px; display: flex; align-items: flex-start; gap: .7rem; padding: .6rem; border-radius: .75rem; color: #37564e; cursor: pointer; }
.ea-checklist label:hover { background: #e2f3ed; }
.ea-checklist input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--ea-green); }
.ea-result-actions, .ea-history-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

.ea-history { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.ea-history-card { padding: 1rem; border: 1px solid #d6e7e0; border-radius: 1rem; background: #fff; }
.ea-history-card h3 { margin: .45rem 0; color: var(--ea-ink); }
.ea-history-card p { margin: 0; color: #587066; line-height: 1.5; }
.ea-history-card small { color: var(--ea-green); font-weight: 850; }
.ea-history-card div { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.ea-history-card button { min-height: 44px; padding: .5rem .7rem; border: 1px solid #c9ded6; border-radius: .7rem; color: var(--ea-green-dark); background: #fff; font-weight: 800; cursor: pointer; }
.ea-history-card button:last-child { color: #a02923; border-color: #f2c3bd; }
.ea-empty { padding: 1.25rem; grid-column: 1 / -1; border: 1px dashed #a9cbc0; border-radius: 1rem; color: #587066; text-align: center; background: #f9fdfb; }

.ea-source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.ea-source-grid a { min-height: 120px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid #d6e7e0; border-radius: 1rem; color: var(--ea-ink); background: #fff; text-decoration: none; }
.ea-source-grid a:hover { border-color: var(--ea-green); transform: translateY(-2px); }
.ea-source-grid span { margin-top: .35rem; color: #587066; line-height: 1.5; }
.ea-source-date { color: #687b73; font-size: .88rem; }

[data-nb-theme="dark"] .ea-body { --academy-paper: #0d1c1a; --academy-card: #132925; --academy-ink: #edfdf8; --academy-muted: #b8d0c8; --academy-border: #2c554d; background: #0d1c1a; }
[data-nb-theme="dark"] .ea-card, [data-nb-theme="dark"] .ea-result-card, [data-nb-theme="dark"] .ea-history-card, [data-nb-theme="dark"] .ea-source-grid a, [data-nb-theme="dark"] .ea-trust { background: #132925; border-color: #2c554d; }
[data-nb-theme="dark"] .ea-section-head h2, [data-nb-theme="dark"] .ea-reality h3, [data-nb-theme="dark"] .ea-result-card header h3, [data-nb-theme="dark"] .ea-steps strong, [data-nb-theme="dark"] .ea-checklist h4, [data-nb-theme="dark"] .ea-history-card h3, [data-nb-theme="dark"] .ea-source-grid a { color: #edfdf8; }
[data-nb-theme="dark"] .ea-section-head p, [data-nb-theme="dark"] .ea-result-card header p, [data-nb-theme="dark"] .ea-steps span, [data-nb-theme="dark"] .ea-history-card p, [data-nb-theme="dark"] .ea-source-grid span { color: #b8d0c8; }
[data-nb-theme="dark"] .ea-steps li, [data-nb-theme="dark"] .ea-checklist { background: #18332e; border-color: #2c554d; }
[data-nb-theme="dark"] .ea-checklist label { color: #d5eee6; }

@media (max-width: 900px) {
  .ea-hero { grid-template-columns: 1fr; }
  .ea-compass { display: none; }
  .ea-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ea-hero { min-height: 0; padding: 2rem 1.25rem; border-radius: 1.35rem; }
  .ea-trust { margin: .75rem 0 0; justify-content: flex-start; }
  .ea-history, .ea-source-grid { grid-template-columns: 1fr; }
  .ea-result-actions > *, .ea-history-actions > * { width: 100%; }
  .ea-steps li { padding-left: 3.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ea-source-grid a { transition: none; }
}
