:root {
  color-scheme: light;
  --ink: #191d20;
  --muted: #44524a;
  --green: #14602b;
  --lime: #80ee8c;
  --paper: #f7faf7;
  --dark: #101513;
  --line: #d5dfd5;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #217938; outline-offset: 5px; }
.hero a:focus-visible, .apps-section a:focus-visible { outline-color: var(--lime); }
.container { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(7rem, 14vw, 10rem); height: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 1; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: .6rem; }

.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}
.masthead nav, .actions { display: flex; align-items: center; gap: clamp(.65rem, 2.4vw, 2rem); }
.masthead nav a, .footer a { font-weight: 650; text-decoration: none; }
.masthead nav a:not(.button):hover, .footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: .24em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-weight: 700;
  text-decoration: none;
}
.button-solid { background: var(--green); color: #fff; }
.button-solid:hover { background: #0c4620; }
.button-bright { background: var(--lime); color: #0b2613; }
.button-bright:hover { background: #a0f5a9; }
.button-outline { border-color: #b9d4be; color: #f7faf7; }
.button-outline:hover { background: #244531; }

.hero {
  color: #f7faf7;
  background:
    linear-gradient(90deg, #101513 4%, #101513ed 27%, #101513bd 45%, #10151320 74%, #10151332 100%),
    #101513 url("/academia.webp") 62% center / cover no-repeat;
}
.hero-content {
  min-height: clamp(32rem, 68vh, 46rem);
  padding-block: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.eyebrow {
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--green);
}
.hero .eyebrow, .apps .eyebrow, .hero h1 span { color: var(--lime); }
h1, h2, h3 { letter-spacing: -.043em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 7.2vw, 7.2rem); margin-block: .65rem 1.2rem; }
.hero-copy { max-width: 35rem; color: #e2ebe2; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.actions { margin-top: 1.65rem; gap: .7rem; flex-wrap: wrap; }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-title { max-width: 47rem; }
.section-title h2, .entry h2 { margin-top: .45rem; font-size: clamp(2rem, 4vw, 4.05rem); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 4vw, 3rem); margin-top: 2.25rem; }
.features article { border-top: 2px solid var(--green); padding-top: 1.2rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); margin-bottom: .5rem; }
.features p, .entry p { color: var(--muted); }
.apps-section { color: #f7faf7; background: #14251b; }
.apps {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 7vw, 6.5rem);
  align-items: start;
}
.app-list { display: grid; gap: 1.35rem; }
.app-list article { padding: 0 0 1.35rem; border-bottom: 1px solid #48614e; }
.app-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.app-list p { color: #e3ece3; }
.app-list p + p { margin-top: .65rem; }
.app-list p a { color: var(--lime); text-underline-offset: .2em; }
.app-platforms { display: grid; gap: .75rem; max-width: 30rem; margin: 1.45rem 0 0; }
.app-platforms div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .8rem; align-items: baseline; border-top: 1px solid #48614e; padding-top: .75rem; }
.app-platforms dt { font-weight: 700; }
.app-platforms dd { margin: 0; color: #e3ece3; }
.app-download { margin-top: .85rem; }
.entry { display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; padding-block: 3.4rem; }
.entry h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); margin: 0 0 .35rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer .brand img { width: 6.8rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }

@media (max-width: 46rem) {
  .container { width: calc(100% - 2rem); }
  .hero {
    background:
      linear-gradient(0deg, #101513 6%, #101513ed 37%, #1015136b 75%, #10151338 100%),
      #101513 url("/academia-mobile.webp") center 32% / cover no-repeat;
  }
  .hero-content { min-height: 34rem; justify-content: end; padding-block: 2.4rem; }
  .features, .apps { grid-template-columns: 1fr; }
  .features article { border-width: 1px; }
}
@media (max-width: 36rem) {
  .masthead { min-height: 4.25rem; }
  .masthead nav a:not(.button) { display: none; }
  .entry, .footer { align-items: flex-start; flex-direction: column; }
  .footer { padding-block: 1rem; }
}

body {padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
.masthead,.masthead nav,.entry {flex-wrap:wrap}
.features article,.apps>*,.entry>* {min-width:0;overflow-wrap:anywhere}
h1,h2,h3,.button {max-inline-size:100%;overflow-wrap:break-word}
@media(max-width:24rem) {
  .hero-content {min-height:min(34rem,85svh)}
  .hero h1 {font-size:clamp(2.5rem,13vw,3.2rem)}
  .masthead {gap:.5rem;padding-block:.5rem}
}
