:root {
  --black: #050505;
  --ink: #111111;
  --muted: #5f665f;
  --line: #d9ded4;
  --paper: #f4f2e8;
  --paper-2: #ebe8d8;
  --green: #16c172;
  --green-dark: #0b8f54;
  --purple: #6f4cff;
  --red: #f43f5e;
  --yellow: #f4b942;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 0;
  height: 3px;
  background: var(--green);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(3, 6, 14, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--white);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #09111f;
  background: var(--white);
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 11px 18px;
  color: var(--white) !important;
  background: #4646ff;
  border-radius: 999px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.lang-switch button.active {
  color: var(--white);
  background: #4646ff;
}

.mobile-lang {
  display: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(104px, 11vw, 148px) clamp(18px, 5vw, 72px) clamp(64px, 8vw, 104px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 46%, rgba(41, 88, 255, 0.02), rgba(0, 0, 0, 0.42) 58%, #000 100%),
    url("assets/global-security-hero.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.hero-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 68% 45%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, 0.86) 90%),
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.88) 35%, rgba(0,0,0,.26) 62%, rgba(0,0,0,.66) 100%),
    linear-gradient(180deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.58) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: clamp(28px, 5vh, 64px) auto 0;
  text-align: left;
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 6vw, 74px);
  z-index: 2;
  width: min(390px, calc(100vw - 36px));
  padding: 18px;
  color: var(--white);
  background: rgba(3, 6, 14, 0.62);
  border: 1px solid rgba(56, 245, 255, 0.28);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
}

.signal-panel > span {
  display: block;
  margin-bottom: 12px;
  color: #38f5ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.signal-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-panel li {
  padding: 9px 10px;
  color: #dce2dd;
  background: rgba(255, 255, 255, 0.06);
  border-left: 2px solid #4646ff;
  font-size: 12px;
  font-weight: 800;
  animation: signalIn 0.3s ease both;
}

.signal-panel b {
  color: var(--white);
}

.signal-panel a {
  color: inherit;
  text-decoration: none;
}

@keyframes signalIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0 0 18px;
  color: #aeb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin: 0 0 28px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.058em;
  font-weight: 900;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.9);
}

h1 span {
  display: block;
}

@media (min-width: 641px) {
  h1 span {
    white-space: nowrap;
  }
}

@media (max-width: 1280px) {
  h1 {
    max-width: 720px;
    font-size: clamp(38px, 4.6vw, 64px);
  }

  h1 span {
    white-space: normal;
  }
}

.lead {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 800;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: #4646ff;
  color: var(--white);
  border-color: #4646ff;
  box-shadow: 0 18px 46px rgba(70, 70, 255, 0.45);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 0;
  justify-content: start;
  width: min(620px, 100%);
  margin: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.security-panel {
  position: relative;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(5, 5, 5, 0.24);
  transform: rotate(1.2deg);
}

.security-panel::before {
  content: "";
  position: absolute;
  inset: -14px 18px auto auto;
  width: 86px;
  height: 86px;
  background: var(--green);
  border-radius: 50%;
  z-index: -1;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 18px;
  color: #c7cfc8;
  font-size: 12px;
}

.panel-top strong {
  margin-left: auto;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: var(--red); }
.yellow { background: var(--yellow); }
.green { background: var(--green); }

.risk-score {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    #111;
  background-size: 28px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}

.risk-score span,
.risk-score small {
  color: #b9c2ba;
  font-weight: 800;
}

.risk-score strong {
  display: block;
  color: var(--green);
  font-size: 104px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.scan-grid div,
.finding-list p {
  background: #171717;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
}

.scan-grid div {
  padding: 12px 8px;
  text-align: center;
}

.scan-grid span {
  display: block;
  color: #9da69e;
  font-size: 11px;
}

.scan-grid strong {
  color: var(--white);
  font-size: 24px;
}

.finding-list {
  display: grid;
  gap: 8px;
}

.finding-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  color: #e5ebe6;
  font-size: 13px;
}

.finding-list b,
.finding-list span {
  color: var(--green);
  font-weight: 900;
}

.finding-list span {
  margin-left: auto;
}

.trust-band {
  padding: 36px clamp(18px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid #242424;
}

.trust-band p {
  width: min(1180px, 100%);
  margin: 0 auto 20px;
  color: #a9b0aa;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-band div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid #2c2c2c;
}

.trust-band span {
  padding: 20px 14px;
  border-right: 1px solid #2c2c2c;
  color: #e6ebe6;
  font-weight: 900;
  text-align: center;
}

.trust-band span:last-child {
  border-right: 0;
}

.security-news {
  padding: clamp(70px, 9vw, 116px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(22, 193, 114, 0.12), transparent 30%),
    linear-gradient(180deg, #060606 0%, #0b0d15 100%);
  border-bottom: 1px solid #262626;
}

.security-news .section-head,
.news-toolbar,
.news-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.security-news .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 28px;
}

.security-news h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.security-news .section-head p:not(.eyebrow) {
  margin: 0;
  color: #c5ccc6;
  font-weight: 800;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.news-tabs {
  display: inline-flex;
  padding: 4px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  background: #101010;
}

.news-tabs button {
  min-width: 88px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #aeb6af;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.news-tabs button.active {
  color: var(--black);
  background: var(--green);
}

#newsUpdated {
  color: #9ca49d;
  font-size: 13px;
  font-weight: 800;
}

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

.news-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #050505;
  border: 1px solid #2c2c2c;
}

.news-card > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #aeb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.news-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  color: var(--black);
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.news-card.skeleton {
  position: relative;
  overflow: hidden;
}

.news-card.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.08) 42%, transparent 64%);
  animation: shimmer 1.2s infinite;
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  color: #cbd1cc;
  background: #050505;
  border: 1px solid #2c2c2c;
  font-weight: 800;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.diagnosis {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(70, 70, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #050505 0%, #090b10 100%);
  border-bottom: 1px solid #262626;
}

.diagnosis-copy,
.diagnosis-form,
.diagnosis-result {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.diagnosis-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.diagnosis-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 3.7vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.diagnosis-copy p:not(.eyebrow) {
  margin: 0;
  color: #c5ccc6;
  font-weight: 800;
}

.diagnosis-form {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid #2f2f2f;
}

.diagnosis-form label {
  display: block;
  margin-bottom: 12px;
  color: #aeb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.diagnosis-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.diagnosis-input-row input {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  color: var(--white);
  background: #050505;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  outline: none;
}

.diagnosis-input-row input:focus {
  border-color: #4646ff;
  box-shadow: 0 0 0 4px rgba(70, 70, 255, 0.22);
}

.diagnosis-input-row button {
  min-height: 62px;
  padding: 0 26px;
  color: var(--white);
  background: #4646ff;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.diagnosis-input-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.diagnosis-note {
  margin: 14px 0 0;
  color: #9aa19b;
  font-size: 13px;
  font-weight: 700;
}

.diagnosis-result {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: #050505;
  border: 1px solid #2f2f2f;
}

.diagnosis-loading {
  display: grid;
  gap: 18px;
}

.loading-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.loading-ring {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #4646ff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loading-head strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.4;
}

.loading-head p {
  margin: 4px 0 0;
  color: #dce2dd;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.loading-head b {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.loading-bar {
  overflow: hidden;
  height: 5px;
  background: #171717;
  border-radius: 999px;
}

.loading-bar i {
  display: block;
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, #4646ff, #38f5ff, var(--green));
  border-radius: inherit;
  transition: width 0.45s ease;
}

.diagnosis-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0 !important;
  list-style: none;
}

.diagnosis-process li {
  min-height: 120px;
  margin-top: 0 !important;
  padding: 16px;
  background: #0b0b0b;
  border: 1px solid #242424;
  transition: border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.diagnosis-process li span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #aeb8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.diagnosis-process li strong {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.diagnosis-process li p {
  margin: 8px 0 0;
  color: #858d87;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.diagnosis-process li.active {
  background: linear-gradient(180deg, rgba(70, 70, 255, 0.18), rgba(5, 5, 5, 0.2));
  border-color: #4646ff;
}

.diagnosis-process li.active strong {
  color: var(--white);
}

.diagnosis-process li.done {
  border-color: rgba(77, 204, 118, 0.42);
}

.diagnosis-process li.done span,
.diagnosis-process li.done strong {
  color: var(--green);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.diagnosis-summary {
  display: grid;
  grid-template-columns: 160px 160px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 24px;
}

.diagnosis-summary div {
  padding: 18px;
  border: 1px solid #2f2f2f;
}

.diagnosis-summary span {
  display: block;
  color: #aeb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnosis-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 44px;
  line-height: 1;
}

.diagnosis-summary p {
  margin: 0;
  padding: 18px;
  color: #dce2dd;
  border: 1px solid #2f2f2f;
  font-weight: 800;
}

.attacker-view {
  margin-bottom: 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(244, 63, 94, 0.14), rgba(70, 70, 255, 0.08)),
    #050505;
  border: 1px solid rgba(244, 63, 94, 0.45);
}

.attacker-view span {
  display: block;
  margin-bottom: 10px;
  color: #ff6b86;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.attacker-view p {
  margin: 0;
  color: #f4f7f4;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.7;
}

.related-news-result {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #2f2f2f;
  background: #060606;
}

.related-news-result h3 {
  margin: 0 0 14px;
}

.related-news-result > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-news-result a {
  display: grid;
  gap: 9px;
  padding: 16px;
  color: inherit;
  background: #0d0d0d;
  border: 1px solid #2c2c2c;
}

.related-news-result span {
  color: #aeb8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-news-result strong {
  color: var(--white);
  font-size: 16px;
  line-height: 1.45;
}

.related-news-result p {
  margin: 0;
  color: #cbd1cc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.related-news-result em {
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.diagnosis-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.diagnosis-columns section,
.diagnosis-actions {
  padding: 22px;
  border: 1px solid #2f2f2f;
}

.diagnosis-result h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.diagnosis-result ul,
.diagnosis-result ol {
  margin: 0;
  padding-left: 20px;
  color: #c5ccc6;
  font-weight: 700;
}

.diagnosis-result li + li {
  margin-top: 10px;
}

.finding-items {
  list-style: none;
  padding-left: 0 !important;
}

.finding-items li {
  padding: 14px;
  background: #0d0d0d;
  border: 1px solid #242424;
}

.finding-items p {
  margin: 6px 0 0;
  color: #aeb5af;
}

.severity {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  color: #050505;
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.severity.high {
  background: #ff5f6d;
}

.severity.medium {
  background: #f4b942;
}

.diagnosis-actions {
  margin-top: 18px;
}

.diagnosis-actions a {
  display: inline-flex;
  margin-top: 18px;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  color: var(--white);
  background: #4646ff;
  border-radius: 999px;
  font-weight: 900;
}

.diagnosis-error {
  color: #fff;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.38);
  padding: 18px;
  font-weight: 900;
}

.section,
.process,
.platform {
  padding: clamp(78px, 10vw, 138px) clamp(18px, 5vw, 72px);
}

.section {
  background: #fffdf5;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  width: min(900px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.reason-grid,
.scope-grid,
.platform-grid,
.plan-grid {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.reason-grid,
.plan-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.platform-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reason-grid article,
.scope-grid article,
.platform-grid article,
.plan {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.reason-grid article {
  min-height: 250px;
}

.reason-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.reason-grid p,
.platform-grid p,
.contact p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.impact {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: clamp(44px, 5vw, 76px);
  align-items: center;
  padding: clamp(66px, 8vw, 108px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--black);
}

.impact > div,
.impact-cards,
.impact-cards div {
  min-width: 0;
}

.impact h2 {
  max-width: 740px;
  font-size: clamp(44px, 4.45vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.impact h2 span {
  display: block;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #2c2c2c;
}

.impact-cards div {
  min-height: 174px;
  padding: clamp(24px, 2.6vw, 34px);
  border-right: 1px solid #2c2c2c;
}

.impact-cards div:last-child {
  border-right: 0;
}

.impact-cards strong {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(40px, 3.75vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.impact-cards span {
  color: #c5ccc6;
  font-weight: 800;
  display: block;
  max-width: none;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
}

@media (min-width: 1600px) {
  .impact-cards span {
    white-space: nowrap;
  }
}

.scope-grid small,
.plan p,
.platform-grid strong {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scope-grid ul,
.plan ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.scope-grid li,
.plan li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-weight: 700;
}

.scope-grid li::before,
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.platform {
  background: var(--black);
  color: var(--white);
}

.platform-grid article {
  background: #141414;
  border-color: #2c2c2c;
}

.platform-grid h3 {
  color: var(--white);
}

.process {
  background: #fffdf5;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.timeline div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 20px;
  color: var(--green-dark);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 14px 14px 0 var(--black);
}

.plan.featured p,
.plan.featured span,
.plan.featured li {
  color: #06351f;
}

.plan.featured li::before {
  background: var(--black);
}

.plan h3 {
  margin: 8px 0;
  font-size: 44px;
  letter-spacing: -0.06em;
}

.plan > span {
  color: var(--muted);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.5fr);
  gap: 42px;
  align-items: center;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(42px, 7vw, 86px);
  background: var(--green);
  color: var(--black);
}

.contact h2 {
  max-width: 800px;
  margin-bottom: 18px;
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  color: #06351f;
}

.contact .eyebrow {
  color: #06351f;
}

.contact-mail {
  display: grid;
  gap: 10px;
  padding: 30px;
  background: var(--black);
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  word-break: break-word;
}

.contact-mail span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.18em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #c5ccc6;
  background: var(--black);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .mobile-lang {
    display: inline-flex;
  }

  .hero-grid,
  .impact,
  .contact {
    grid-template-columns: 1fr;
  }

  .security-panel {
    max-width: 560px;
  }

  .reason-grid,
  .scope-grid,
  .diagnosis-copy,
  .security-news .section-head,
  .diagnosis-process,
  .diagnosis-summary,
  .related-news-result > div,
  .platform-grid,
  .plan-grid,
  .timeline,
  .impact-cards,
  .news-grid,
  .trust-band div {
    grid-template-columns: 1fr 1fr;
  }

  .trust-band span:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 64px;
  }

  .signal-panel {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    padding: 14px;
  }

  .signal-panel > span {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .signal-panel ul {
    gap: 6px;
  }

  .signal-panel li {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 11px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    letter-spacing: -0.06em;
  }

  .hero-stats,
  .reason-grid,
  .scope-grid,
  .diagnosis-copy,
  .security-news .section-head,
  .diagnosis-input-row,
  .diagnosis-process,
  .diagnosis-summary,
  .diagnosis-columns,
  .related-news-result > div,
  .platform-grid,
  .plan-grid,
  .timeline,
  .impact-cards,
  .news-grid,
  .trust-band div {
    grid-template-columns: 1fr;
  }

  .news-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stats div,
  .trust-band span,
  .impact-cards div,
  .timeline div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band span,
  .impact-cards div {
    border-bottom-color: #2c2c2c;
  }

  .hero-stats div:last-child,
  .trust-band span:last-child,
  .impact-cards div:last-child,
  .timeline div:last-child {
    border-bottom: 0;
  }

  .scan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loading-head {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .loading-head b {
    grid-column: 1 / -1;
    font-size: 22px;
  }

  .contact {
    margin: 18px;
  }

  footer {
    flex-direction: column;
  }
}
