:root {
  --ink: #111827;
  --muted: #5b6472;
  --panel: #ffffff;
  --soft: #f4f7f8;
  --line: #dce4e7;
  --graphite: #0a0f14;
  --teal: #12b8a6;
  --teal-dark: #087d73;
  --amber: #e7a43a;
  --blue: #315f9f;
  --green: #2f9461;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(18, 184, 166, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--graphite);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  min-height: 78px;
  padding: 0 4.5vw;
  border-bottom: 1px solid rgba(18, 184, 166, 0.18);
  background: rgba(246, 252, 251, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: var(--graphite);
  min-width: 0;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(155px, 14vw, 220px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.7vw, 26px);
  color: #27313c;
  font-size: 15px;
  font-weight: 700;
  min-width: 0;
}

.site-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 78px;
  padding: 26px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.site-nav > a.active,
.site-nav > a:hover,
.nav-item > a.active,
.nav-item > a:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.has-dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 70;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #27313c;
  font-weight: 800;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #e7fbf8;
  color: var(--teal-dark);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(18, 184, 166, 0.35);
  border-radius: 999px;
  background: var(--teal-dark);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--graphite);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--graphite);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

button:disabled,
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.7;
}

.header-cta:hover,
.button:hover {
  background: #1b252f;
}

.button.secondary {
  background: #ffffff;
  color: var(--graphite);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.light {
  background: #ffffff;
  color: var(--graphite);
  border-color: var(--line);
}

.button.accent {
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--graphite);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 20, 0.94), rgba(10, 15, 20, 0.52), rgba(10, 15, 20, 0.15));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 128px 0 50px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.hero p {
  color: #ffffff;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero h2 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 650;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(880px, 100%);
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(10, 15, 20, 0.5);
}

.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 60px 0;
}

.band {
  background: var(--soft);
}

.dark-band {
  background: var(--graphite);
  color: #ffffff;
}

.dark-band h2,
.dark-band h3 {
  color: #ffffff;
}

.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 25px;
}

.section-heading p {
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.feature-card,
.article-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.card,
.feature-card,
.faq-item {
  padding: 26px;
}

.card h3,
.feature-card h3,
.article-card h3,
.faq-item h3 {
  margin-bottom: 12px;
}

.card p,
.feature-card p,
.article-card p,
.faq-item p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  background: #e7fbf8;
  color: var(--teal-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.split-content h2 {
  margin-bottom: 22px;
}

.split-content p + p {
  margin-top: 14px;
}

.check-list,
.plain-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.check-list li,
.plain-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #26313b;
}

.check-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  align-items: end;
  background: var(--graphite);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 20, 0.52);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 118px 0 78px;
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

.page-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.process-item {
  min-height: 210px;
  padding: 24px;
  border-left: 4px solid var(--teal);
  background: #ffffff;
  counter-increment: step;
}

.process-item::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
}

.motion-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.motion-panel canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.motion-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #ffffff;
}

.motion-caption strong {
  display: block;
  font-size: 20px;
}

.motion-caption span {
  color: rgba(255, 255, 255, 0.68);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.industry-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 15px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
}

.article-meta {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-panel,
.form-panel,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.contact-panel {
  padding: 30px;
}

.contact-method {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:last-child {
  border-bottom: 0;
}

.form-panel,
.admin-panel {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: #26313b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(18, 184, 166, 0.18);
}

.form-status,
.form-note {
  min-height: 22px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.newsletter-form {
  margin-top: 18px;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 8px;
  margin-top: 8px;
}

.newsletter-form button {
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contribution-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfb;
}

.contribution-card .eyebrow {
  margin-bottom: 8px;
}

.contribution-card h3 {
  margin-bottom: 10px;
}

.contribution-card img {
  width: 180px;
  height: 180px;
  justify-self: end;
  border: 10px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.cta-band {
  background: var(--graphite);
  color: #ffffff;
}

.cta-band .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 64px 0;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.site-footer {
  background: #f7f9fa;
  border-top: 1px solid var(--line);
}

.footer-main {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 36px;
}

.footer-main h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-main a {
  display: block;        /*  important */
  margin-bottom: 4px;    /* reduce vertical gap */
  padding: 2px 0;
  line-height: 1.3;
  color: var(--muted);
}

.footer-main p {
  display: block;
  margin-bottom: 4px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-bottom a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-logo {
  width: 220px;
  height: 64px;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social-row a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

caption {
  padding: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

.error-text {
  color: #b42318;
  font-weight: 800;
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .brand-logo {
    width: 160px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5vw 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-item {
    display: block;
  }

  .nav-item > a {
    min-height: 0;
    padding: 14px 0;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 8px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    min-height: 40px;
    padding: 8px 0;
    color: var(--muted);
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    background: transparent;
  }

  .header-cta {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
    min-height: 42px;
    padding: 0 14px;
  }

  .section-heading,
  .split,
  .split.reverse,
  .contact-layout,
  .cta-band .section {
    grid-template-columns: 1fr;
  }

  .process,
  .industry-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .card-grid.two,
  .article-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 96px 0 56px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .hero-metrics,
  .process,
  .industry-grid,
  .footer-main,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .split-media img {
    height: 320px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
  }

  .brand-logo {
    width: 142px;
    height: 48px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .contribution-card {
    grid-template-columns: 1fr;
  }

  .contribution-card img {
    justify-self: start;
    width: min(220px, 100%);
    height: auto;
  }
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.calculator-panel,
.visual-panel,
.planner,
.lesson-card,
.cloud-card,
.blog-card,
.about-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.calculator-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.panel-head,
.planner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-kicker,
.form-field span,
.range-field span,
.planner-controls span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

#cidr-label {
  min-width: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  font-weight: 900;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
}

.range-field {
  display: grid;
  gap: 8px;
}

.range-field input {
  width: 100%;
  accent-color: var(--teal);
}

.calculator-panel .button {
  width: 100%;
}

.form-error {
  min-height: 24px;
  color: #b42318;
  font-weight: 800;
}

.visual-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 184, 166, 0.18), transparent 42%),
    linear-gradient(225deg, rgba(231, 164, 58, 0.18), transparent 44%),
    #101828;
}

.visual-panel canvas {
  width: 100%;
  height: 100%;
}

.visual-stat {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.84);
  color: #ffffff;
}

.visual-stat span {
  color: #bff7ef;
  font-weight: 900;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.result-card {
  min-height: 114px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.result-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-card strong {
  display: block;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.result-card.tip {
  grid-column: span 2;
  background: #fff9ec;
  border-color: #f4d59a;
}

.planner {
  margin-top: 20px;
  padding: 24px;
}

.planner-controls {
  display: flex;
  align-items: end;
  gap: 12px;
}

.planner-controls label {
  display: grid;
  gap: 8px;
}

.planner-controls select {
  min-height: 46px;
}

.lesson-grid,
.cloud-grid,
.blog-grid {
  display: grid;
  gap: 18px;
}

.lesson-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cloud-grid,
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lesson-card,
.cloud-card,
.blog-card,
.about-list article {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.teal {
  background: var(--teal-dark);
}

.tag.green {
  background: var(--green);
}

.tag.amber {
  background: var(--amber);
}

.tag.rose {
  background: #c24162;
}

.tag.indigo {
  background: #4b5fbd;
}

.cloud-card ul,
.blog-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.cloud-card li,
.blog-card li {
  margin-bottom: 7px;
}

.dark-band .cloud-card h3,
.dark-band .cloud-card p,
.dark-band .cloud-card li {
  color: var(--ink);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-list.stacked {
  grid-template-columns: 1fr;
}

.about-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.faq-answer {
  display: none;
  margin-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 1080px) {
  .calculator-layout,
  .lesson-grid,
  .cloud-grid,
  .blog-grid,
  .about-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .calculator-layout,
  .form-row,
  .results-grid,
  .lesson-grid,
  .cloud-grid,
  .blog-grid,
  .about-list {
    grid-template-columns: 1fr;
  }

  .result-card.tip {
    grid-column: auto;
  }

  .planner-head,
  .planner-controls,
  .visual-stat {
    align-items: stretch;
    flex-direction: column;
  }

  .visual-panel {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
