:root {
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --ink: #17221d;
  --muted: #5d685f;
  --line: #d8d1c4;
  --green: #1f6b56;
  --green-dark: #143d34;
  --gold: #c99649;
  --blue: #254f73;
  --warning-bg: #fff3dc;
  --warning-ink: #6e4518;
  --shadow: 0 18px 48px rgba(34, 31, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section,
.notice-band,
.guide-hero,
.guide-layout {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 0;
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  image-rendering: auto;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

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

.sovright-mark {
  display: inline-flex;
  align-items: center;
  opacity: 0.58;
  text-decoration: none;
  transition: opacity 140ms ease;
}

.sovright-mark:hover {
  opacity: 0.86;
}

.sovright-mark img {
  display: block;
  width: 90px;
  height: auto;
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 58px 0 44px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.75rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 600px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.assurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.assurance-list li {
  padding: 8px 10px;
  color: var(--green-dark);
  background: #eef4ec;
  border: 1px solid #d3dfcf;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-visual {
  overflow: hidden;
  border: 1px solid #b9c3b9;
  border-radius: 8px;
  background: #f7f3eb;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: #dfe6df;
  background: var(--green-dark);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.window-bar span:nth-child(2) {
  background: #e9d3a0;
}

.window-bar span:nth-child(3) {
  background: #70a38d;
}

.window-bar strong {
  margin-left: 8px;
  font-size: 0.86rem;
}

.recovery-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 360px;
}

.sidebar-preview {
  padding: 24px 20px;
  color: #eaf0eb;
  background: #20362f;
}

.sidebar-preview p {
  margin-bottom: 8px;
  color: #95c9ae;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-preview strong,
.sidebar-preview span {
  display: block;
}

.sidebar-preview strong {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.sidebar-preview span {
  color: #c6d7cd;
  line-height: 1.5;
}

.scan-preview {
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-row div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.metric-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e3ded3;
}

.progress-track span {
  display: block;
  width: 63%;
  height: 100%;
  background: var(--green);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.notice-band {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid #ead2a8;
  border-radius: 8px;
  background: var(--warning-bg);
}

.notice-band h2 {
  margin-bottom: 0;
  color: var(--warning-ink);
}

.notice-band p {
  margin-bottom: 0;
  color: var(--warning-ink);
}

.section {
  padding: 66px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p {
  font-size: 1.02rem;
}

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

.info-card,
.download-card,
.check-panel,
.callout,
.faq-list details,
.guide-content details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.info-card {
  min-height: 210px;
  padding: 20px;
}

.step-number {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: 42px;
  align-items: start;
}

.check-panel {
  padding: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.download-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.download-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  text-decoration: none;
}

.download-card:hover {
  border-color: var(--green);
}

.download-card span {
  color: var(--muted);
}

.download-card strong {
  color: var(--green);
}

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

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.guide-hero {
  padding: 62px 0 36px;
}

.guide-hero h1 {
  max-width: 860px;
  font-size: 4rem;
}

.guide-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.08rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 54px;
  align-items: start;
  padding-bottom: 72px;
}

.toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
}

.guide-content {
  display: grid;
  gap: 42px;
}

.guide-content section {
  scroll-margin-top: 96px;
}

.guide-content h2 {
  margin-bottom: 18px;
}

.guide-content h3 {
  margin-top: 28px;
}

.guide-content ul,
.guide-content ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.callout {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 18px;
  color: var(--warning-ink);
  background: var(--warning-bg);
  border-color: #ead2a8;
}

.callout span {
  line-height: 1.6;
}

.guide-content details {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-right {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .notice-band,
  .split-section,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  h1,
  .guide-hero h1 {
    font-size: 3.2rem;
  }

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

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .notice-band,
  .guide-hero,
  .guide-layout {
    width: min(100% - 28px, 1180px);
  }

  h1,
  .guide-hero h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.95rem;
  }

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

  .header-right {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .recovery-panel {
    grid-template-columns: 1fr;
  }

  .sidebar-preview {
    display: none;
  }

  .scan-preview {
    padding: 16px;
  }

  .metric-row,
  .flow-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.82rem;
  }

  th,
  td {
    padding: 10px 6px;
  }
}
