﻿:root {
  --ink: #1f2520;
  --muted: #687065;
  --line: #dbe2d4;
  --paper: #fffdf7;
  --soft: #f3f6ec;
  --green: #2f8f5b;
  --green-dark: #1f6e46;
  --amber: #f0b43a;
  --coral: #df6f55;
  --blue: #416f9d;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(31, 37, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 3vw, 42px);
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 250px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(220px, 22vw, 300px);
  height: auto;
}

.header-menu {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 260px;
  justify-items: end;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 11px;
  line-height: 1.15;
  text-align: center;
  word-break: keep-all;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
  flex: 0 1 auto;
  color: var(--green-dark);
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 850;
  white-space: nowrap;
}

.top-nav a {
  position: relative;
  padding-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: inherit;
}

.header-contact {
  width: fit-content;
  max-width: 100%;
  color: var(--green-dark);
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 900;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: keep-all;
  text-align: right;
  white-space: nowrap;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--green-dark);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 38px);
  justify-content: end;
  gap: 6px;
  flex: 0 0 auto;
  width: 176px;
}

.language-switcher button {
  width: 38px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher button.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

/* RTL support — triggered by Google Translate's translated-rtl class on <html>
   We do NOT set dir=rtl on <html> globally to avoid breaking mobile viewport.
   Google Translate handles Arabic text direction internally. */
html {
  overflow-x: hidden;
}

html.translated-rtl body {
  text-align: right;
}

html.translated-rtl .brand,
html.translated-rtl .top-nav,
html.translated-rtl .hero-actions,
html.translated-rtl .ticker,
html.translated-rtl .meta {
  flex-direction: row-reverse;
}

/* Keep column layouts as column (not reversed) on mobile */
@media (max-width: 640px) {
  html.translated-rtl .site-header {
    flex-direction: column;
  }
}

/* Counteract Google Translate's body.style.top offset (hides content on mobile) */
html.translated-rtl body,
html.translated-ltr body {
  top: 0 !important;
}

/* WHY ticker label width for Arabic (longer text) */
html.translated-rtl .ticker {
  direction: ltr; /* keep grid layout LTR, text inside handles RTL */
}

.hero {
  --hero-gap: clamp(24px, 3.2vw, 44px);
  display: grid;
  grid-template-columns:
    minmax(0, calc((100% - var(--hero-gap)) * 0.58))
    minmax(0, calc((100% - var(--hero-gap)) * 0.42));
  gap: var(--hero-gap);
  align-items: center;
  padding: clamp(44px, 8vw, 88px) clamp(20px, 5vw, 72px) 28px;
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.35;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.2;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1.forced-lines {
  max-width: 100%;
  white-space: normal;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.62;
  word-break: keep-all;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  touch-action: manipulation;
}

.primary-button {
  background: var(--green);
  color: var(--white);
}

.secondary-button {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.ghost-button {
  background: transparent;
  border-color: var(--line);
  color: var(--green-dark);
}

.hero-feature {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.hero-feature img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  padding: 8px;
  background: linear-gradient(135deg, #f6f8ef, #fffdf7);
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.feature-text {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 196px;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 3vw, 38px) clamp(24px, 3.2vw, 42px);
  background: var(--white);
  text-align: center;
}

.feature-text span {
  display: block;
  color: var(--coral);
  font-weight: 800;
  line-height: 1.35;
}

.feature-text h2 {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: clamp(24px, 2.15vw, 31px);
  line-height: 1.36;
  letter-spacing: 0;
  word-break: keep-all;
}

.ticker {
  --why-copy-width: min(860px, calc(100vw - 160px - 120px));
  display: grid;
  grid-template-columns: max-content minmax(0, var(--why-copy-width));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  justify-content: center;
  width: min(100%, 1180px);
  margin: 24px auto 0;
  padding: clamp(16px, 2vw, 24px) 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.why-trigger:focus-visible,
.why-trigger:hover {
  outline: 2px solid rgba(31, 110, 70, 0.25);
  outline-offset: 6px;
}

.why-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8b5900;
  cursor: pointer;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.ticker-copy {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: var(--why-copy-width);
  min-width: 0;
  padding-left: 0;
  text-align: left;
}

.ticker-main {
  color: var(--ink);
  font-size: clamp(22px, 1.48vw, 26px);
  font-weight: 820;
  line-height: 1.42;
  white-space: pre-line;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ticker-contact {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--green-dark);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 800;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: normal;
  word-break: keep-all;
}

.section-band {
  padding: 52px clamp(20px, 5vw, 72px);
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.section-heading.compact {
  display: block;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.section-card,
.article-card,
.admin-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.section-card {
  position: relative;
  min-height: 184px;
  padding: 20px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.section-card::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(31, 110, 70, 0.18);
  border-radius: 50%;
  background: rgba(47, 143, 91, 0.08);
  color: var(--green-dark);
  content: ">";
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    background-color 0.18s ease;
}

.section-card:hover,
.section-card:focus-visible {
  border-color: rgba(31, 110, 70, 0.44);
  background: #fffef8;
  box-shadow: 0 14px 34px rgba(31, 110, 70, 0.14);
  outline: none;
  transform: translateY(-3px);
}

.section-card:hover::after,
.section-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.article-card.article-card-focused {
  border-color: rgba(31, 110, 70, 0.58);
  box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.14), 0 18px 42px rgba(31, 110, 70, 0.16);
}

.section-card b {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--green-dark);
  overflow-wrap: anywhere;
}

.section-card h3 {
  margin-bottom: 8px;
  max-width: 100%;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: normal;
}

.apple-title {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.3;
  letter-spacing: 0;
  word-break: keep-all;
  overflow: visible;
}

.apple-logo {
  flex: 0 0 auto;
  width: clamp(38px, 3.6vw, 46px);
  height: clamp(38px, 3.6vw, 46px);
  fill: currentColor;
  transform: translateY(1px);
}

.apple-equation {
  min-width: 0;
  max-width: none;
  overflow: visible;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section-card p {
  margin: 0;
  color: var(--muted);
}

.ad-showcase {
  padding: 48px clamp(20px, 5vw, 72px);
  background: #fff8e8;
  border-bottom: 1px solid #ead49a;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#adGrid,
#worldclassGrid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px 12px;
  max-height: 560px;
  padding-right: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 110, 70, 0.48) rgba(255, 248, 232, 0.85);
}

#adGrid::-webkit-scrollbar,
#worldclassGrid::-webkit-scrollbar {
  width: 10px;
}

#adGrid::-webkit-scrollbar-track,
#worldclassGrid::-webkit-scrollbar-track {
  background: rgba(255, 248, 232, 0.85);
}

#adGrid::-webkit-scrollbar-thumb,
#worldclassGrid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(31, 110, 70, 0.48);
}

.worldclass-showcase {
  background: #f4f8f1;
}

.hiddenhero-entry {
  padding: 44px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 110, 70, 0.08), rgba(255, 248, 232, 0.72)),
    #f7fbf3;
}

.hiddenhero-card {
  display: grid;
  gap: 14px;
  width: min(100%, 980px);
  min-height: 210px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(31, 110, 70, 0.22);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 18px 34px rgba(31, 41, 33, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hiddenhero-card:hover,
.hiddenhero-card:focus-visible {
  border-color: rgba(31, 110, 70, 0.48);
  box-shadow: 0 22px 40px rgba(31, 41, 33, 0.12);
  transform: translateY(-3px);
}

.hiddenhero-card strong {
  display: block;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
}

.hiddenhero-card > span:not(.eyebrow) {
  max-width: 840px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 760;
  line-height: 1.56;
  word-break: keep-all;
}

.hiddenhero-card em {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
}

#worldclassGrid {
  scrollbar-color: rgba(31, 110, 70, 0.48) rgba(244, 248, 241, 0.92);
}

#worldclassGrid::-webkit-scrollbar-track {
  background: rgba(244, 248, 241, 0.92);
}

.report-showcase {
  padding: 46px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #f7fbf3;
}

.report-list {
  display: grid;
  gap: 8px;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 143, 91, 0.2);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.report-row strong,
.report-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-row strong {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 950;
}

.report-row span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.report-row:hover,
.report-row:focus-visible {
  border-color: var(--green);
  outline: none;
}

.report-row-empty {
  cursor: default;
}

.ad-card {
  display: grid;
  gap: 10px;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 360px;
  padding: 20px;
  border: 1px solid #e6c978;
  border-radius: 8px;
  background: var(--white);
  pointer-events: none;
}

.ad-card a,
.ad-card button {
  pointer-events: auto;
}

.compact-profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.compact-profile-card h3 {
  width: 100%;
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1;
  word-break: keep-all;
}

.compact-profile-card .ad-title-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: var(--startup-chip-color, #16833c);
  color: #fff;
  font-size: clamp(14px, 1.08vw, 16px);
  font-weight: 950;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(31, 41, 33, 0.07);
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.compact-profile-card:hover,
.compact-profile-card:focus-within {
  background: transparent;
}

.compact-profile-card .ad-title-link:hover,
.compact-profile-card .ad-title-link:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 22px rgba(31, 41, 33, 0.15);
}

.compact-profile-card:nth-child(6n + 1) {
  --startup-chip-color: #0b7df2;
}

.compact-profile-card:nth-child(6n + 2) {
  --startup-chip-color: #ff7a12;
}

.compact-profile-card:nth-child(6n + 3) {
  --startup-chip-color: #20a046;
}

.compact-profile-card:nth-child(6n + 4) {
  --startup-chip-color: #e3344b;
}

.compact-profile-card:nth-child(6n + 5) {
  --startup-chip-color: #6d3cc5;
}

.compact-profile-card:nth-child(6n) {
  --startup-chip-color: #f4c400;
}

.worldclass-profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(104px, calc(var(--name-ch, 8) * 11.5px + 42px), 260px);
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.worldclass-profile-card h3 {
  width: 100%;
  margin: 0;
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1;
  word-break: keep-all;
}

.worldclass-profile-card .ad-title-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: var(--startup-chip-color, #16833c);
  color: #fff;
  font-size: clamp(14px, 1.08vw, 16px);
  font-weight: 950;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(31, 41, 33, 0.07);
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.worldclass-profile-card .ad-title-link:hover,
.worldclass-profile-card .ad-title-link:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 22px rgba(31, 41, 33, 0.15);
}

.worldclass-profile-card:nth-child(6n + 1) {
  --startup-chip-color: #0b7df2;
}

.worldclass-profile-card:nth-child(6n + 2) {
  --startup-chip-color: #ff7a12;
}

.worldclass-profile-card:nth-child(6n + 3) {
  --startup-chip-color: #20a046;
}

.worldclass-profile-card:nth-child(6n + 4) {
  --startup-chip-color: #e3344b;
}

.worldclass-profile-card:nth-child(6n + 5) {
  --startup-chip-color: #6d3cc5;
}

.worldclass-profile-card:nth-child(6n) {
  --startup-chip-color: #f4c400;
}

.ad-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #f4f8f1;
}

.ad-label {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff0c2;
  color: #8b6100;
  font-size: 12px;
  font-weight: 800;
}

.ad-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.ad-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ad-title-link:hover,
.ad-title-link:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.ad-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.ad-card small {
  color: var(--muted);
  line-height: 1.45;
}

.ad-byline {
  align-self: end;
  color: #6c746a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.ad-link {
  align-self: end;
  width: fit-content;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(31, 110, 70, 0.35);
  text-underline-offset: 3px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.share-actions button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(31, 110, 70, 0.22);
  border-radius: 6px;
  background: #fff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.share-actions button:hover,
.share-actions button:focus-visible {
  border-color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compact-profile-card .share-actions,
.worldclass-profile-card .share-actions {
  margin-top: 10px;
}

.survey-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: #f7fbf3;
}

.survey-landing h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.survey-landing p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 720;
  line-height: 1.62;
  word-break: keep-all;
}

.ad-products,
.stats-preview {
  padding: 48px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ad-product-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ad-product-grid article,
.stats-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ad-product-grid strong,
.stats-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.25;
}

.ad-product-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stats-grid strong {
  margin-top: 4px;
  font-size: 34px;
}

.article-stats-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.article-stats-list h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 22px;
}

.article-stats-rows {
  display: grid;
  gap: 8px;
}

.article-stats-rows article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-stats-rows strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}

.article-stats-rows small {
  color: var(--muted);
  font-weight: 800;
}

.article-stats-rows span {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--green-dark);
  font-weight: 950;
}

.stats-password-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.stats-password-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.content-layout {
  display: block;
  padding: 54px clamp(20px, 5vw, 72px);
}

#latest .section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.article-search-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
}

.article-search-button:hover {
  border-color: var(--line);
  background: var(--white);
}

.article-search-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.article-list {
  display: grid;
  gap: 14px;
}

#articleList > .article-card:nth-of-type(n + 7) {
  display: none !important;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 66%);
  align-items: stretch;
  min-height: 230px;
  overflow: hidden;
  pointer-events: none;
}

.article-card a,
.article-card button {
  pointer-events: auto;
}

.article-card-text-only {
  grid-template-columns: 1fr;
}

.article-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  align-self: stretch;
  background: #f3f5f0;
  filter: contrast(1.04) saturate(1.05);
  object-fit: cover;
  object-position: center;
}

.article-body {
  padding: 24px 28px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.article-body h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
}

.article-heading {
  word-break: keep-all;
}

.article-title-link {
  cursor: pointer;
  text-decoration: none;
  text-decoration-color: rgba(47, 143, 91, 0);
  text-underline-offset: 4px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.article-title-link:hover,
.article-title-link:focus-visible {
  color: inherit;
  text-decoration: none;
  text-decoration-color: rgba(47, 143, 91, 0);
}

.article-title-share {
  display: inline-flex;
  vertical-align: baseline;
  margin: 0 0 0 8px;
  transform: translateY(-2px);
}

.article-title-share button {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 12px;
}

.article-reader-heading {
  word-break: keep-all;
}

.article-reader-heading .article-title-share {
  margin-left: 10px;
  transform: translateY(-4px);
}

.article-reader-heading .article-title-share button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.article-body p {
  margin-bottom: 12px;
  color: var(--muted);
}

.quote {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  color: var(--ink);
  font-weight: 700;
}

.related-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.related-links strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 14px;
}

.related-links ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  padding-right: 10px;
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 110, 70, 0.5) rgba(235, 241, 228, 0.9);
}

.related-links ol::-webkit-scrollbar {
  width: 8px;
}

.related-links ol::-webkit-scrollbar-track {
  border-radius: 99px;
  background: rgba(235, 241, 228, 0.9);
}

.related-links ol::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(31, 110, 70, 0.5);
}

.related-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(47, 143, 91, 0.38);
  text-underline-offset: 3px;
}

.related-links a:hover {
  color: var(--ink);
}

.related-link-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  width: 100%;
}

.related-link-card-no-image {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: auto;
}

.related-link-card:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: auto;
}

.related-link-card img {
  width: 54px;
  height: 54px;
  min-height: 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.related-link-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.related-link-card small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.related-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(31, 37, 32, 0.42);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 37, 32, 0.42);
}

.related-modal[hidden] {
  display: none;
}

.contact-modal[hidden] {
  display: none;
}

.related-modal-panel {
  position: relative;
  width: min(760px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 44px);
  overflow: auto;
}

.contact-panel {
  position: relative;
  width: min(720px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ad-contact-panel {
  width: min(1180px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.ad-contact-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  word-break: keep-all;
}

.ad-contact-intro {
  max-width: 860px !important;
  margin-bottom: 22px !important;
  font-size: clamp(18px, 1.65vw, 23px) !important;
  line-height: 1.5 !important;
}

.contact-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-product-card {
  grid-column: 1 / -1;
  background: #f7fbf3 !important;
}

.contact-product-card .contact-address-row {
  margin: 16px 0 8px;
}

.contact-product-card .contact-help {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.contact-panel h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
}

.contact-panel .contact-intro {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(22px, 2.15vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
}

.contact-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  margin: 18px 0;
}

.subscribe-modal-form {
  display: grid;
  gap: 12px;
  margin: 18px 0 10px;
}

.subscribe-modal-form .primary-button {
  justify-content: center;
  width: 100%;
}

.subscribe-survey-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.subscribe-survey-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.survey-open-button {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.survey-panel {
  width: min(900px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
}

.survey-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.commercialization-survey-form {
  display: grid;
  gap: 16px;
}

.survey-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(47, 143, 91, 0.22);
  border-radius: 8px;
  background: #f7fbf3;
}

.survey-contact-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.survey-contact-card input[type="text"],
.survey-contact-card input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.survey-consent {
  grid-column: 1 / -1;
  display: flex !important;
  grid-template-columns: none;
  gap: 10px !important;
  align-items: flex-start;
  padding-top: 6px;
  color: var(--muted) !important;
  font-size: 14px;
  line-height: 1.55;
}

.survey-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.survey-question-list {
  display: grid;
  gap: 10px;
}

.survey-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdf8;
}

.survey-question legend {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.45;
}

.survey-question legend strong {
  flex: 0 0 auto;
  min-width: 108px;
  color: var(--green-dark);
  font-weight: 950;
}

.survey-question legend span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e8f4e8;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.survey-score-options {
  display: flex;
  gap: 6px;
}

.survey-score-options label {
  cursor: pointer;
}

.survey-score-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-score-options span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #cbd8c9;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.survey-score-options input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.survey-result {
  margin-top: 20px;
}

.survey-result-card {
  padding: 20px;
  border: 1px solid rgba(47, 143, 91, 0.24);
  border-radius: 8px;
  background: #f7fbf3;
}

.survey-result-card h3 {
  margin: 4px 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.survey-result-card p {
  margin: 10px 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.survey-radar-wrap {
  display: grid;
  place-items: center;
  margin: 16px 0;
}

.survey-distribution-wrap {
  display: grid;
  place-items: center;
  margin: 16px 0 8px;
  overflow-x: auto;
}

.survey-distribution {
  width: min(100%, 620px);
  height: auto;
}

.survey-radar {
  width: min(100%, 340px);
  height: auto;
}

.survey-axis-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.survey-axis-table div {
  padding: 10px;
  border: 1px solid rgba(47, 143, 91, 0.2);
  border-radius: 8px;
  background: #fff;
}

.survey-axis-table strong,
.survey-axis-table span {
  display: block;
}

.survey-axis-table strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.survey-axis-table span {
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 950;
}

.survey-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.survey-meter {
  height: 12px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #dde8d9;
}

.survey-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.survey-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.survey-stat-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.survey-stat-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.survey-stat-grid dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.survey-next {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.survey-mail-button {
  width: fit-content;
  margin-top: 10px;
}

.survey-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.survey-edit-open[hidden] {
  display: none;
}

.survey-editor-panel {
  width: min(960px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
}

.survey-editor-form {
  display: grid;
  gap: 14px;
}

.survey-editor-list {
  display: grid;
  gap: 10px;
}

.survey-editor-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdf8;
}

.survey-editor-row label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.survey-editor-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.survey-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.report-login-form,
.report-subscribe-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.report-login-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.report-login-form label,
.report-subscribe-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.report-subscribe-form {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.report-reader-panel {
  width: min(900px, 100%);
}

.report-reader-panel pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  white-space: pre-wrap;
  font-family: inherit;
}

.report-reader-panel p {
  white-space: pre-line;
}

.contact-address {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf3;
  color: var(--green-dark);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-copy-button {
  align-self: stretch;
  min-width: 72px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.contact-copy-button:hover {
  background: var(--green-dark);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions .primary-button,
.contact-actions .secondary-button {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
}

.contact-actions button {
  cursor: pointer;
}

.contact-help {
  margin-top: 14px;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 206px) minmax(410px, 1fr) minmax(360px, auto);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: center;
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(26px, 4.5vw, 48px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #f7fbf3;
}

.site-footer > div:first-child {
  display: contents;
}

.footer-logo {
  display: block;
  width: 100%;
  min-width: 180px;
  max-width: 206px;
  flex: 0 0 180px;
  margin-bottom: 0;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  font-weight: 780;
  word-break: keep-all;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  max-width: none;
  color: var(--green-dark);
  font-weight: 850;
  font-size: clamp(15px, 1.1vw, 16px);
  text-align: right;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.footer-copy-button {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex: 0 0 100%;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.footer-copy-button strong {
  font-weight: 950;
}

@media (max-width: 1150px) {
  .site-footer {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    text-align: left;
    padding-top: 8px;
  }

  .footer-copy-button {
    justify-content: flex-start;
  }
}

.related-modal-panel h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.3;
}

.related-modal-panel p:not(.eyebrow) {
  color: var(--muted);
}

.article-search-panel {
  width: min(760px, 100%);
}

.article-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.article-search-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf7;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.article-search-input:focus {
  outline: 2px solid rgba(47, 143, 91, 0.18);
  border-color: var(--green);
}

.article-search-results {
  display: grid;
  gap: 8px;
  max-height: min(52vh, 470px);
  padding-right: 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 110, 70, 0.5) rgba(235, 241, 228, 0.9);
}

.article-search-result {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.article-search-result:hover {
  border-color: var(--line);
  background: var(--white);
}

.article-search-result img {
  width: 72px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef3e8;
}

.article-search-result strong,
.article-search-result span,
.article-search-result small {
  display: block;
}

.article-search-result strong {
  margin: 2px 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.article-search-result small {
  color: var(--green-dark);
  font-weight: 900;
}

.article-search-result span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.article-search-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcf7;
}

.article-reader {
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.article-reader-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.1;
  object-fit: cover;
}

.article-reader-image[hidden] {
  display: none;
}

.article-reader-content {
  padding: 30px 30px 34px;
}

.article-reader-summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
}

.article-reader-quote {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  background: #fff8e8;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.article-reader-body {
  display: grid;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-reader-body p {
  width: auto !important;
  min-width: 0;
  max-width: 100% !important;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-reader-body * {
  min-width: 0;
  max-width: 100% !important;
}

.article-reader-body div,
.article-reader-body section,
.article-reader-body article,
.article-reader-body blockquote {
  width: auto !important;
}

.article-reader-body img,
.article-reader-body video,
.article-reader-body iframe {
  width: 100% !important;
  height: auto !important;
}

.academy-pdf-page {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(47, 143, 91, 0.05);
}

.academy-pdf-label {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e6f3ea;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.academy-pdf-page h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.academy-pdf-page ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  font-weight: 800;
}

.academy-course-info {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #dbe9dd;
  border-radius: 8px;
  background: #f4faf5;
}

.academy-course-info strong,
.academy-course-heading {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.academy-course-info ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.academy-course-heading {
  margin-top: 2px;
}

.reader-source-link a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(47, 143, 91, 0.42);
  text-underline-offset: 3px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 0 2px;
  border-top: 1px solid var(--line);
}

.article-author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author span {
  color: var(--muted);
}

.related-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(31, 37, 32, 0.48);
}

.auth-modal[hidden] {
  display: none;
}

.auth-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-panel h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.3;
}

.auth-message {
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.auth-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.auth-tabs button.active {
  border-color: var(--green);
  background: #e6f3ea;
  color: var(--green-dark);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form small {
  color: var(--muted);
}

.approval-panel {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.approval-help {
  color: var(--muted);
}

.approval-list {
  display: grid;
  gap: 10px;
}

.approval-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.approval-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.approval-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.translate-host,
.goog-te-banner-frame,
.goog-te-gadget {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.subscribe-panel {
  position: sticky;
  top: 92px;
  width: fit-content;
  justify-self: end;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.subscribe-panel.compact-subscribe {
  box-shadow: none;
}

.compact-subscribe,
.compact-subscribe.primary-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
  box-shadow: none;
}

.top-nav .compact-subscribe {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: 850;
}

.subscribe-panel h2 {
  font-size: 25px;
  line-height: 1.3;
}

.subscribe-panel p,
.subscribe-panel small {
  color: var(--muted);
}

.subscribe-form {
  display: grid;
  gap: 10px;
  margin: 18px 0 12px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.ai-service-page {
  background:
    linear-gradient(180deg, rgba(243, 246, 236, 0.82), rgba(255, 253, 247, 0.98) 280px),
    var(--paper);
}

.ai-service-header {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  justify-content: stretch;
}

.ai-mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(47, 143, 91, 0.28);
  border-radius: 6px;
  background: #e6f3ea;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.ai-header-message {
  justify-self: center;
  width: min(100%, 920px);
  padding: 14px clamp(18px, 3vw, 34px);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(230, 243, 234, 0.92), rgba(247, 251, 243, 0.42));
  color: var(--green-dark);
  text-align: left;
}

.ai-header-message span {
  display: block;
  max-width: 880px;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: 0;
  white-space: normal;
  word-break: keep-all;
}

.ai-service-shell {
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 72px) 72px;
}

.ai-service-hero {
  display: block;
  margin-bottom: 32px;
}

.ai-service-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.ai-service-copy h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.16;
  letter-spacing: 0;
  word-break: keep-all;
}

.ai-service-copy p:not(.eyebrow) {
  max-width: 1180px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.65;
  white-space: normal;
  word-break: keep-all;
}

.brief-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
}

.brief-mark::before,
.brief-mark::after {
  position: absolute;
  width: auto;
  height: auto;
  color: currentColor;
  font-size: 0.72em;
  font-weight: inherit;
  line-height: 1;
  pointer-events: none;
}

.brief-mark::before {
  top: -0.18em;
  left: -0.12em;
  content: "??;
}

.brief-mark::after {
  right: -0.12em;
  bottom: -0.18em;
  content: "??;
}

.brief-mark-inline {
  padding: 0.04em 0.12em;
  color: inherit;
  font-weight: 900;
}

.ai-status-panel,
.ai-form,
.ai-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ai-status-panel {
  display: grid;
  gap: 4px;
  padding: 20px;
}

.ai-status-panel strong {
  font-size: 15px;
  color: var(--green-dark);
}

.ai-status-panel span {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.ai-status-panel small {
  color: var(--muted);
  font-weight: 700;
}

.ai-workbench {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  height: auto;
  padding: clamp(20px, 3vw, 28px);
  overflow: visible;
}

.ai-form label {
  display: grid;
  gap: 8px;
  width: 100%;
  color: var(--ink);
  font-weight: 850;
}

.ai-form input,
.ai-form textarea {
  min-height: 48px;
  width: 100%;
  font-weight: 500;
}

.ai-form input::placeholder,
.ai-form textarea::placeholder {
  color: #9aa39a;
  opacity: 1;
  font-weight: 700;
}

.ai-form input:focus::placeholder,
.ai-form textarea:focus::placeholder {
  color: #b7beb5;
}

.brief-guideline-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(47, 143, 91, 0.24);
  border-radius: 8px;
  background: #f7fbf3;
}

.brief-guideline-card strong {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

.brief-guideline-card p {
  margin: 0;
  color: #5f6a5f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;
  word-break: keep-all;
}

.ai-form input[type="file"] {
  padding: 12px;
  border: 1px dashed rgba(47, 143, 91, 0.42);
  background: #fbfdf8;
  color: var(--muted);
  cursor: pointer;
}

.ai-hidden-file {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.ai-file-drop {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 18px;
  align-content: center;
  border: 1px dashed rgba(47, 143, 91, 0.42);
  border-radius: 8px;
  background: #fbfdf8;
  color: var(--green-dark);
  cursor: pointer;
}

.ai-file-drop strong {
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 900;
  line-height: 1.55;
  word-break: keep-all;
}

.ai-file-drop small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.ai-file-drop:hover,
.ai-file-drop:focus-visible,
.ai-file-drop.is-dragging,
.ai-file-drop.has-file {
  border-color: var(--green);
  background: #eef7ef;
  outline: none;
}

.ai-form textarea {
  min-height: 140px;
}

.ai-tone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ai-tone-row label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--green-dark);
  text-align: center;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.ai-tone-row input {
  width: auto;
  margin: 0 6px 0 0;
}

.ai-submit-button {
  width: 100%;
  min-height: 58px;
  cursor: pointer;
}

.ai-complete-button {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
}

.ai-submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ai-submit-button.is-writing {
  animation: reportBlink 1.8s ease-in-out infinite;
}

.ai-output {
  display: grid;
  height: auto;
  min-height: 360px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
}

.ai-output-empty {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 0;
  height: 100%;
}

.ai-output-empty .eyebrow span {
  color: var(--muted);
  font-weight: 900;
}

.ready-help {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 750;
  line-height: 1.75;
  word-break: keep-all;
}

.ai-writing-state,
.ai-file-ready {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.ai-writing-state {
  animation: reportBlink 2.4s ease-in-out infinite;
}

.ready-blink {
  animation: reportBlink 2.2s ease-in-out infinite;
}

.writing-pulse {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.writing-pulse span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0.35;
  animation: pulseDot 1.8s ease-in-out infinite;
}

.writing-pulse span:nth-child(2) {
  animation-delay: 0.25s;
}

.writing-pulse span:nth-child(3) {
  animation-delay: 0.5s;
}

.word-file-card {
  display: grid;
  gap: 8px;
  width: min(100%, 460px);
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(47, 143, 91, 0.28);
  border-radius: 8px;
  background: #f6fbf3;
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.word-file-card strong {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  word-break: keep-all;
}

.word-file-card span {
  color: var(--muted);
  font-weight: 850;
}

.word-file-card:hover,
.word-file-card:focus-visible {
  border-color: var(--green);
  outline: none;
  transform: translateY(-2px);
}

.brief-ready-panel {
  align-content: start;
}

.brief-preview-scroll {
  display: grid;
  gap: 18px;
  max-height: 420px;
  margin: 18px 0 20px;
  padding: 20px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  scroll-behavior: smooth;
}

.brief-preview-scroll h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 18px;
}

.brief-preview-scroll p,
.brief-preview-scroll li,
.brief-preview-scroll pre {
  margin: 0;
  color: #384238;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.brief-preview-scroll ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.brief-revision-message {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(47, 143, 91, 0.22);
  border-radius: 8px;
  background: #f7fbf3;
}

.brief-revision-message strong {
  color: var(--green-dark);
  font-size: 18px;
}

.brief-revision-message p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;
}

.registration-complete {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 20px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: #e6f3ea;
  color: var(--green-dark);
  text-align: center;
}

.registration-complete strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.registration-complete span {
  font-weight: 850;
}

@keyframes reportBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.ai-output-result {
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

.ai-output-result::-webkit-scrollbar,
.ai-form::-webkit-scrollbar {
  width: 8px;
}

.ai-output-result::-webkit-scrollbar-thumb,
.ai-form::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.28);
}

.ai-output-result::-webkit-scrollbar-track,
.ai-form::-webkit-scrollbar-track {
  background: transparent;
}

.ai-output-empty[hidden],
.ai-output-result[hidden] {
  display: none !important;
}

.ai-output-empty h2,
.ai-result-header h2,
.ai-writing-state h2,
.ai-file-ready h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.24;
  word-break: keep-all;
}

.ai-output-empty p:not(.eyebrow),
.ai-writing-state p:not(.eyebrow),
.ai-file-ready p:not(.eyebrow),
.ai-result-section p,
.ai-result-section li,
.ai-disclaimer {
  color: var(--muted);
  font-size: 17px;
}

.ai-result-section p,
.ai-disclaimer {
  white-space: pre-line;
}

.ai-result-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ai-result-header.active-section {
  border-bottom-color: rgba(47, 143, 91, 0.22);
}

.ai-result-header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.ai-workflow-note {
  display: grid;
  gap: 8px;
  margin: 18px 0 6px;
  padding: 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #f6fbf3;
}

.ai-workflow-note strong {
  color: var(--green-dark);
  font-size: 18px;
}

.ai-workflow-note p,
.ai-result-section .section-method {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.75;
}

.ai-result-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ai-result-section.active-section {
  padding-top: 24px;
}

.ai-result-section h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 18px;
}

.ai-result-section ul {
  margin: 0;
  padding-left: 20px;
}

.ai-result-section pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.section-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  white-space: pre-line;
}

.market-items {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.market-item {
  padding: 14px 16px;
  border-left: 3px solid var(--green-dark);
  background: var(--soft);
  border-radius: 0 6px 6px 0;
}

.market-item-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.ai-conversation-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(47, 143, 91, 0.22);
  border-radius: 8px;
  background: #f7fbf3;
}

.ai-conversation-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 20px;
}

.ai-conversation-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.ai-conversation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-disclaimer {
  margin: 18px 0 0;
  font-weight: 800;
}

.admin-view {
  padding: 42px clamp(20px, 5vw, 72px) 64px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-top h1 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}

.admin-top p {
  color: var(--muted);
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.dashboard-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.dashboard-strip strong,
.dashboard-strip span {
  display: block;
}

.dashboard-strip strong {
  font-size: 26px;
}

.dashboard-strip span {
  color: var(--muted);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.editor-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-list {
  min-width: 0;
}

#adminArticleList {
  display: grid;
  gap: 12px;
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.admin-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.admin-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f3ea;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 22px;
    padding: 14px clamp(16px, 3vw, 32px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(180px, 22vw, 240px);
  }

  .header-menu {
    min-width: 0;
    justify-items: center;
  }

  .top-nav {
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
  }

  .header-contact {
    justify-self: center;
    text-align: center;
    white-space: normal;
  }

  .language-switcher {
    align-self: center;
    justify-self: end;
  }
}

@media (max-width: 920px) and (min-width: 641px) {
  .ticker {
    --why-copy-width: min(680px, calc(100vw - 88px - 80px));
    grid-template-columns: max-content minmax(0, var(--why-copy-width));
    gap: clamp(20px, 3vw, 34px);
    justify-content: center;
    width: min(100%, 820px);
    margin-inline: auto;
    padding-inline: 20px;
  }

  .ticker-copy {
    max-width: var(--why-copy-width);
    text-align: left;
  }

  .ticker-main {
    font-size: clamp(20px, 2.4vw, 23px);
    line-height: 1.48;
  }

  .why-trigger {
    font-size: clamp(32px, 5vw, 42px);
  }

  .site-header {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  }

  .header-menu {
    justify-self: end;
    justify-items: end;
  }

  .top-nav {
    justify-content: flex-end;
    text-align: right;
  }

  .header-contact {
    justify-self: end;
    text-align: right;
  }

  .language-switcher {
    grid-column: 1 / -1;
    justify-self: end;
    width: auto;
    grid-template-columns: repeat(8, 38px);
  }
}

@media (max-width: 760px) {
  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .top-nav {
    flex: 1 1 180px;
    width: auto;
    overflow: visible;
    padding-bottom: 0;
    justify-content: flex-start;
  }

  .header-menu {
    flex: 1 1 240px;
    justify-items: start;
  }

  .language-switcher {
    justify-content: start;
  }

  .content-layout,
  .editor-layout,
  .ai-service-hero,
  .ai-workbench {
    grid-template-columns: 1fr;
  }

  .ai-form,
  .ai-output {
    height: auto;
    max-height: none;
  }

  .ai-output {
    min-height: 520px;
  }

  .ai-output-result {
    max-height: 640px;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #adGrid,
  #worldclassGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 520px;
  }

  .report-row,
  .report-login-form,
  .report-subscribe-form {
    grid-template-columns: 1fr;
  }

  .subscribe-survey-notice,
  .survey-question,
  .survey-stat-grid,
  .survey-landing,
  .contact-product-grid,
  .ad-product-grid,
  .stats-grid,
  .article-stats-list,
  .stats-password-form {
    grid-template-columns: 1fr;
  }

  .survey-open-button {
    justify-self: start;
  }

  .survey-landing .primary-button {
    width: 100%;
  }

  .survey-contact-card {
    grid-template-columns: 1fr;
  }

  .survey-landing-actions {
    justify-content: stretch;
    width: 100%;
  }

  .survey-landing-actions button {
    width: 100%;
  }

  .survey-question {
    grid-template-columns: 1fr;
  }

  .survey-question legend {
    flex-wrap: wrap;
  }

  .survey-score-options {
    justify-content: space-between;
  }

  .survey-axis-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .survey-result-actions a {
    width: 100%;
    justify-content: center;
  }

  .survey-editor-row {
    grid-template-columns: 1fr;
  }

  .survey-editor-actions {
    justify-content: stretch;
  }

  .survey-editor-actions button {
    width: 100%;
  }

  .survey-score-options {
    justify-content: space-between;
  }

  .subscribe-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.58;
  }

  .site-header {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
  }

  .brand {
    justify-content: center;
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
  }

  .brand-logo {
    width: min(250px, 62vw);
  }

  .top-nav {
    display: flex;
    flex: 0 1 auto;
    gap: 16px;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .header-menu {
    order: 3;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    justify-items: center;
    align-items: start;
    align-content: start;
    grid-auto-rows: max-content;
  }

  .top-nav a {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .top-nav .compact-subscribe {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .header-contact {
    display: inline-flex;
    align-items: center;
    align-self: start;
    min-height: 36px;
    white-space: normal;
    text-align: center;
  }

  .language-switcher {
    order: 4;
    grid-template-columns: repeat(4, 38px);
    width: 176px;
    justify-content: center;
  }

  .language-switcher button {
    width: 38px;
    min-height: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    overflow: visible;
    padding-top: 28px;
    padding-inline: 16px;
  }

  .hero-copy,
  .hero-feature {
    width: 100%;
    max-width: 100%;
  }

  .hero-feature {
    justify-self: stretch;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.22;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.68;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .subscribe-form button,
  .auth-form button {
    width: 100%;
  }

  .hero-feature img {
    height: 260px;
  }

  .ticker,
  .section-band,
  .hiddenhero-entry,
  .ad-showcase,
  .report-showcase,
  .content-layout,
  .admin-view,
  .ai-service-shell {
    padding-inline: 16px;
  }

  .hiddenhero-entry {
    padding-block: 28px;
  }

  .hiddenhero-card {
    width: min(100%, 520px);
    min-height: 0;
    margin-inline: auto;
    padding: 24px 20px;
    gap: 12px;
  }

  .hiddenhero-card strong {
    max-width: 100%;
    font-size: clamp(29px, 7.6vw, 38px);
    line-height: 1.18;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
  }

  .hiddenhero-card > span:not(.eyebrow) {
    max-width: 100%;
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.5;
    text-wrap: pretty;
  }

  .hiddenhero-card em {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 15px;
  }

  .ticker {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    width: min(100%, 560px);
    margin: 18px auto 0;
    padding: 18px 18px 20px;
    text-align: left;
  }

  .why-trigger {
    width: fit-content;
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: clamp(30px, 9vw, 42px);
  }

  .ticker-copy {
    width: 100%;
    max-width: 520px;
    padding-left: 0;
    text-align: left;
  }

  .ticker-main {
    font-size: clamp(18px, 4.5vw, 21px);
    line-height: 1.62;
    font-weight: 820;
    white-space: normal;
    text-wrap: pretty;
  }

  .ai-service-header .top-nav {
    order: 3;
    flex-basis: 100%;
  }

  .ai-service-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .ai-service-header .brand {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  .ai-service-header .brand-logo {
    width: min(250px, 72vw);
  }

  .ai-mode-badge {
    margin-left: auto;
  }

  .ai-header-message {
    order: 3;
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 12px 16px;
    text-align: left;
  }

  .ai-header-message span {
    white-space: normal;
    font-size: clamp(20px, 5.4vw, 27px);
  }

  .ai-service-copy p:not(.eyebrow) {
    white-space: normal;
  }

  .ai-service-copy h1 {
    font-size: 34px;
  }

  .ai-status-panel span {
    font-size: 21px;
  }

  .ai-tone-row {
    grid-template-columns: 1fr;
  }

  .ai-output {
    min-height: auto;
  }

  .ai-output-result {
    max-height: none;
    padding-right: 0;
  }

  .ai-output-empty {
    min-height: 280px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.18;
  }

  .report-showcase .section-heading h2 {
    max-width: 100%;
    font-size: clamp(25px, 6.8vw, 33px);
    line-height: 1.2;
    word-break: keep-all;
    text-wrap: balance;
  }

  #startup-showcase .section-heading h2 {
    max-width: 100%;
    font-size: clamp(24px, 5.6vw, 30px);
    line-height: 1.22;
    white-space: nowrap;
    word-break: keep-all;
  }

  .eyebrow {
    font-size: 12px;
  }

  .section-grid,
  .dashboard-strip,
  .ad-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  #adGrid,
  #worldclassGrid {
    grid-template-columns: 1fr;
  }

  .report-row strong,
  .report-row span {
    white-space: normal;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 18px 22px;
  }

  .site-footer > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-logo {
    width: min(230px, 58vw);
    min-width: 0;
    max-width: 230px;
    margin: 0;
  }

  .footer-links {
    justify-content: flex-start;
    text-align: left;
    padding-top: 0;
    gap: 6px 14px;
    font-size: 15px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .footer-copy-button {
    min-height: 40px;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }

  .site-footer p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.38;
  }

  .section-card,
  .ad-card,
  .subscribe-panel,
  .auth-panel {
    border-radius: 8px;
  }

  .section-card {
    min-height: auto;
  }

  .section-card h3 {
    font-size: clamp(18px, 5vw, 21px);
  }

  .apple-title {
    gap: 6px;
    font-size: clamp(18px, 5vw, 21px);
  }

  .apple-logo {
    width: 38px;
    height: 38px;
  }

  .ad-card {
    min-height: auto;
  }

  .compact-profile-card .ad-title-link,
  .worldclass-profile-card .ad-title-link {
    max-width: 100%;
    min-height: 34px;
    padding: 0 10px;
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
  }

  .article-title-link,
  .reader-source-link a,
  .article-reader-body a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .share-actions {
    width: 100%;
  }

  .share-actions button {
    flex: 1 1 92px;
  }

  .article-title-share {
    width: auto;
    margin-top: 6px;
    margin-left: 0;
    transform: none;
  }

  .article-title-share button {
    flex: 0 0 auto;
  }

  .article-reader-heading .article-title-share {
    display: flex;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    transform: none;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    aspect-ratio: 1.8;
    height: auto;
    min-height: auto;
  }

  .ticker,
  .admin-item {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .auth-modal,
  .related-modal {
    align-items: end;
    padding: 12px;
  }

  .auth-panel,
  .related-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .related-modal-panel:not(.article-reader),
  .auth-panel {
    padding: 22px;
  }

  .contact-address-row {
    grid-template-columns: 1fr;
  }

  .contact-copy-button {
    min-height: 44px;
  }

  .article-reader-image {
    aspect-ratio: 1.5;
  }

  .article-reader-content {
    padding: 22px 22px 28px;
  }

  .article-reader-content h2 {
    font-size: 26px;
  }

  .article-reader-summary,
  .article-reader-body {
    font-size: 16px;
  }

  .article-reader-quote {
    font-size: 17px;
  }

  .article-author {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 30px;
  }

  .ticker {
    width: min(100%, 350px);
    padding-inline: 16px;
  }

  .hiddenhero-entry {
    padding-block: 24px;
  }

  .hiddenhero-card {
    min-height: 0;
    padding: 22px 18px;
    gap: 12px;
  }

  .hiddenhero-card strong {
    font-size: clamp(26px, 7.4vw, 30px);
    white-space: normal;
  }

  .hiddenhero-card > span:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.48;
  }

  .report-showcase .section-heading h2 {
    font-size: clamp(23px, 6.6vw, 28px);
    line-height: 1.22;
  }

  .ticker-main {
    font-size: clamp(17px, 4.7vw, 18px);
    line-height: 1.62;
  }

  .why-trigger {
    font-size: 28px;
  }

  .section-card h3,
  .ad-card h3,
  .article-body h3 {
    font-size: 20px;
  }

  .apple-title {
    font-size: 20px;
    gap: 5px;
  }

  .apple-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 16px !important;
    padding-top: 10px !important;
    row-gap: 8px !important;
  }

  .site-footer > div:first-child {
    gap: 4px !important;
  }

  .footer-logo {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .site-footer p {
    margin-top: 0 !important;
    line-height: 1.38 !important;
  }
}
