/* AI Engineering Nanodegree — academy.co.mz */

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --page: #f7f2e8;
  --card: #ffffff;
  --navy: #0a1f44;
  --navy-2: #16305f;
  --yellow: #ffe53b;
  --yellow-soft: #fff4a8;
  --muted: #5b6582;
  --line: #e4dfd2;
  --shadow: 0 8px 22px rgba(10, 31, 68, 0.1), 0 1px 3px rgba(10, 31, 68, 0.08);
  --display: "Bebas Neue", "Inter", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 0.95; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(52px, 7vw, 92px); }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Yellow marker behind a word */
.mark {
  background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 96%, transparent 96%);
  padding: 0 0.12em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.underline { box-shadow: inset 0 -0.16em 0 var(--yellow); }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.badge.light { background: var(--yellow); color: var(--navy); }
.badge.light::before { background: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px 11px;
  border-radius: 999px;
  border: 3px solid var(--navy);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--navy); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--card); transform: none; }
.btn.on-dark { border-color: var(--yellow); box-shadow: none; }
.btn.on-dark:hover { background: #fff; border-color: #fff; }

/* Icons */
.ico { width: 40px; height: 40px; flex: none; }
.ico svg { width: 100%; height: 100%; }
.ico-tile {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--page); color: var(--navy);
  flex: none;
}
.ico-tile.yellow { background: var(--yellow); }

/* ------------------------------------------------------------------ */
/* Header                                                             */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--display); font-size: 32px; letter-spacing: 0.06em; text-decoration: none; }
.logo .dot { color: var(--yellow); -webkit-text-stroke: 1.5px var(--navy); }
.logo small { font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav .btn { font-size: 20px; padding: 9px 20px 6px; box-shadow: 3px 3px 0 var(--navy); }
.menu-toggle, .menu-btn { display: none; }

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */

.hero { position: relative; padding: 80px 0 110px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--yellow); z-index: -1; }
.hero::before { width: 620px; height: 620px; right: -200px; top: -180px; opacity: 0.38; }
.hero::after { width: 420px; height: 420px; left: -220px; bottom: -200px; opacity: 0.26; }
.hero .dots {
  position: absolute; left: 28px; top: 30px; width: 130px; height: 90px; z-index: -1;
  background-image: radial-gradient(#dcd5c2 2.5px, transparent 3px);
  background-size: 20px 20px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(64px, 9vw, 124px); margin: 26px 0 22px; }
.hero h1 .mark { display: inline-block; margin-top: 6px; }
.start-date { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); letter-spacing: 0.05em; }
.hero .lead { margin-top: 18px; max-width: 540px; font-size: 20px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* Path card (hero visual) */
.path { display: flex; flex-direction: column; }
.path-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--navy);
  padding: 22px 24px;
}
.path-card.final { border-top-color: var(--yellow); }
.path-card .step { margin-right: 2px; }
.path-card .yr { font-family: var(--display); font-size: 20px; color: var(--muted); letter-spacing: 0.08em; }
.path-card h3 { font-size: 34px; }
.path-card .ico { margin-left: auto; width: 44px; height: 44px; }
.path-link { width: 0; height: 30px; margin-left: 50px; border-left: 5px dotted var(--navy); }

.step {
  width: 54px; height: 54px; flex: none;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 30px; padding-top: 3px;
}
.step.dark { background: var(--navy); color: var(--yellow); }

/* ------------------------------------------------------------------ */
/* Stats band                                                         */
/* ------------------------------------------------------------------ */

.stats { background: var(--navy); color: #fff; padding: 46px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--yellow); }
.stat span { font-size: 15px; font-weight: 600; color: #c9d3ea; }

/* ------------------------------------------------------------------ */
/* Philosophy                                                         */
/* ------------------------------------------------------------------ */

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.pillar {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px 28px;
}
.pillar .step { margin-bottom: 22px; }
.pillar h3 { font-size: 34px; }
.pillar p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.pillar:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 56px; width: 12px; border-top: 5px dotted var(--navy);
}

/* ------------------------------------------------------------------ */
/* Curriculum                                                         */
/* ------------------------------------------------------------------ */

.years { display: flex; flex-direction: column; gap: 34px; }
.year {
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 40px;
  border-left: 10px solid var(--navy);
}
.year.final { border-left-color: var(--yellow); }
.year-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.year-head .step { width: 70px; height: 70px; font-size: 40px; }
.year-head .label { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.year-head h3 { font-size: clamp(36px, 4.4vw, 56px); }
.year-head .ico-tile { margin-left: auto; }
.semesters { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.semester { background: var(--page); border-radius: 18px; padding: 22px 22px 24px; }
.semester h4 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0.04em; }
.semester h4 span { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; background: var(--navy); color: var(--yellow); padding: 3px 10px; border-radius: 999px; margin-right: 8px; vertical-align: 4px; }
.modules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.modules li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 14.5px; font-weight: 700;
}
.modules li .ico { width: 24px; height: 24px; }
.modules li small { font-weight: 500; color: var(--muted); }
.year.final .modules li { background: var(--yellow-soft); }

/* ------------------------------------------------------------------ */
/* Projects                                                           */
/* ------------------------------------------------------------------ */

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-height: 120px;
}
.project .step { width: 62px; height: 62px; font-size: 26px; }
.project p { font-weight: 700; line-height: 1.35; }
.project.final { background: var(--navy); color: #fff; }

/* Capstone */
.capstone { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.capstone h2 { font-size: clamp(52px, 7vw, 92px); }
.capstone .name { font-family: var(--display); font-size: 40px; margin-top: 18px; }
.capstone p.desc { margin-top: 12px; color: var(--muted); font-size: 18px; }
.done-chip { display: inline-block; margin-top: 26px; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; border-radius: 999px; padding: 10px 20px; }
.layers { display: flex; flex-direction: column; }
.layer {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}
.layer h3 { font-size: 32px; }
.layer p { color: var(--muted); font-size: 15px; font-weight: 600; }
.layer.ai { background: var(--yellow); }
.layer.ai .ico-tile { background: var(--card); }
.layer-link { height: 20px; margin-left: 56px; border-left: 5px dotted var(--navy); }

/* Careers */
.careers { display: grid; grid-template-columns: repeat(3, 1fr) 0.8fr; gap: 20px; }
.career {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.career h3 { font-size: 34px; }
.career.more { background: var(--navy); color: #fff; justify-content: center; }
.career.more strong { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1; color: var(--yellow); }

/* ------------------------------------------------------------------ */
/* Pricing                                                            */
/* ------------------------------------------------------------------ */

.pricing { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 26px; align-items: stretch; }
.price {
  border: 4px solid var(--navy);
  border-radius: 28px;
  padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.price .k { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; }
.price .v { font-family: var(--display); font-size: clamp(64px, 7vw, 92px); line-height: 1; margin-top: 8px; }
.price .n { font-size: 15px; font-weight: 600; margin-top: 4px; }
.price.dark { background: var(--navy); color: #fff; box-shadow: 9px 9px 0 var(--yellow); }
.price.dark .k { color: var(--yellow); }
.price.dark .n { color: #c9d3ea; }
.price.yellow { background: var(--yellow); box-shadow: 9px 9px 0 var(--navy); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 14px; align-items: center; }
.facts li .ico { width: 30px; height: 30px; }
.facts li b { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts li span { font-family: var(--display); font-size: 25px; letter-spacing: 0.03em; line-height: 1.05; }

/* ------------------------------------------------------------------ */
/* Enrol (navy)                                                       */
/* ------------------------------------------------------------------ */

.enrol { background: var(--navy); color: #fff; overflow: hidden; }
.enrol::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--navy-2); right: -160px; top: -200px; }
.enrol .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.enrol h2 { font-size: clamp(60px, 8vw, 110px); margin: 22px 0 18px; }
.enrol h2 .mark { color: var(--navy); }
.enrol .lead { color: #c9d3ea; font-size: 19px; max-width: 480px; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; font-size: 19px; }
.contact-list a:hover { color: var(--yellow); }
.contact-list .ico-tile { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); }
.contact-list .ico-tile .ico { width: 24px; height: 24px; }

.form {
  background: var(--card); color: var(--navy);
  border-radius: 28px;
  padding: 34px;
  display: grid; gap: 16px;
  box-shadow: 10px 10px 0 var(--yellow);
}
.form h3 { font-size: 40px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: 0;
  color: var(--navy);
  background: var(--page);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); background: #fff; }
.form textarea { min-height: 96px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form .note { font-size: 13px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ */
/* FAQ                                                                */
/* ------------------------------------------------------------------ */

.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 0 26px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-weight: 800; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--navy);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700; line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { box-shadow: inset 0 -3px 0 var(--yellow); }
.site-footer .copy { color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1020px) {
  .hero-grid, .capstone, .enrol .wrap { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar::after { display: none; }
  .careers { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .pricing .facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    border: 2px solid var(--navy); background: var(--yellow); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 22px;
    display: none;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .stats .wrap { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .semesters { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero { padding: 48px 0 76px; }
  .hero::before { width: 380px; height: 380px; right: -180px; top: -120px; }
  .pillars, .careers, .projects, .pricing, .pricing .facts { grid-template-columns: 1fr; }
  .year { padding: 26px 20px; border-left-width: 7px; }
  .year-head { flex-wrap: wrap; gap: 14px; }
  .year-head .step { width: 56px; height: 56px; font-size: 32px; }
  .year-head .ico-tile { display: none; }
  .path-card h3 { font-size: 28px; }
  .form { padding: 24px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .logo small { display: none; }
}

@media (max-width: 600px) {
  .modules li small { display: none; }
  .start-date { font-size: 24px; }
}

/* ------------------------------------------------------------------ */
/* Form errors (Django)                                               */
/* ------------------------------------------------------------------ */

.form-alert { background: #fdecea; color: #a12a2a; border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.field .error { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; color: #c0392b; }
.field.has-error input { border-color: #d64545; background: #fff; }
.form .row > .field { min-width: 0; }
.form input { width: 100%; }

/* ------------------------------------------------------------------ */
/* Success page                                                       */
/* ------------------------------------------------------------------ */

.success { padding: 70px 0 110px; }
.success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.success h1 { font-size: clamp(60px, 8vw, 116px); margin: 22px 0 20px; }
.success .lead { max-width: 560px; font-size: 19px; color: var(--muted); margin-bottom: 22px; }
.success .lead strong { color: var(--navy); overflow-wrap: anywhere; }
.check {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  border: 4px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
  display: grid; place-items: center;
  margin-bottom: 28px;
}
.check svg { width: 48px; height: 48px; }
.success-side { display: grid; gap: 22px; }
.summary, .next { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 28px 30px; }
.summary h2, .next h2 { font-size: 36px; margin-bottom: 16px; }
.summary dl { margin: 0; display: grid; gap: 2px; }
.summary dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dl div:last-child { border-bottom: 0; }
.summary dt { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next li { display: flex; gap: 16px; align-items: flex-start; }
.next .step { width: 44px; height: 44px; font-size: 24px; }
.next p { color: var(--muted); font-size: 15.5px; }
.next b { display: block; color: var(--navy); font-size: 16px; }
.help { font-size: 14px; color: var(--muted); }

@media (max-width: 1020px) {
  .success-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 600px) {
  .success { padding: 40px 0 76px; }
  .check { width: 72px; height: 72px; }
  .check svg { width: 38px; height: 38px; }
  .summary, .next { padding: 22px 20px; }
  .summary dl div { grid-template-columns: 1fr; gap: 2px; }
}
