/* ==========================================================================
   Bağlantı güvenliği rehberi — navy / cream / gold editorial system
   ========================================================================== */

:root {
  --navy: #111c2e;
  --navy-deep: #0b1525;
  --navy-soft: #1a2740;
  --ink: #172033;
  --paper: #f7f5ef;
  --paper-deep: #efebe1;
  --white: #ffffff;
  --gold: #d8ad55;
  --gold-deep: #8a651f;
  --gold-soft: #f3e7c9;
  --muted: #667085;
  --muted-dark: #475467;
  --border: #e4e8ef;
  --border-warm: #e9e1cf;
  --success: #1f7a55;
  --danger: #a33a32;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 26px;
  --shadow-sm: 0 8px 24px -18px rgba(17, 28, 46, 0.35);
  --shadow: 0 22px 50px -30px rgba(17, 28, 46, 0.4);
  --shadow-lg: 0 34px 70px -38px rgba(17, 28, 46, 0.48);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 88% -8%, rgba(216, 173, 85, 0.18), transparent 34rem),
    radial-gradient(circle at 0% 38%, rgba(17, 28, 46, 0.045), transparent 30rem);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.14;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

p {
  margin: 0 0 1.15em;
}

a {
  color: var(--navy);
  text-decoration-color: rgba(216, 173, 85, 0.8);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--navy-deep);
  text-decoration-color: var(--gold-deep);
}

strong {
  color: var(--navy);
  font-weight: 800;
}

ul,
ol {
  margin-top: 0;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  color: var(--navy);
  background: var(--gold-soft);
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  color: var(--navy);
  background: var(--gold);
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(17, 28, 46, 0.08);
  background: rgba(247, 245, 239, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(216, 173, 85, 0.38), 0 10px 22px -14px rgba(17, 28, 46, 0.75);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  overflow: hidden;
  max-width: 20ch;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease;
}

.site-nav a:hover {
  color: var(--navy);
  background: rgba(216, 173, 85, 0.14);
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(17, 28, 46, 0.06), var(--shadow-sm);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 4px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle__icon {
  display: flex;
  width: 17px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Shared type / buttons
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.eyebrow-light {
  color: #c9d0db;
}

.eyebrow-light::before {
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn span {
  transition: transform 0.18s ease;
}

.btn:hover span {
  transform: translateX(3px);
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 16px 30px -16px rgba(17, 28, 46, 0.7);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: 0 20px 36px -16px rgba(17, 28, 46, 0.75);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: rgba(17, 28, 46, 0.16);
  color: var(--navy);
  background: transparent;
}

.btn-secondary:hover {
  border-color: rgba(216, 173, 85, 0.65);
  background: var(--white);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  color: var(--gold-deep);
  transition: transform 0.16s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 62px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 54px;
  right: -170px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(216, 173, 85, 0.24);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 118px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 173, 85, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  align-items: center;
  gap: 68px;
}

.hero h1 {
  max-width: 13ch;
  margin: 18px 0 24px;
}

.h1-accent {
  background-image: linear-gradient(transparent 68%, rgba(216, 173, 85, 0.48) 68%, rgba(216, 173, 85, 0.48) 90%, transparent 90%);
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 1.1rem;
  line-height: 1.78;
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tick {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 0.66rem;
  font-weight: 900;
}

/* Hero inspection card */

.inspect-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.inspect-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.inspect-time {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.inspect-card h2 {
  margin-bottom: 8px;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.inspect-sub {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.url-box {
  margin: 0;
  padding: 15px 16px;
  overflow-wrap: anywhere;
  border: 1px dashed #d8d0bd;
  border-radius: var(--radius-sm);
  color: var(--muted-dark);
  background: #fbfaf6;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
}

.url-scheme {
  color: var(--success);
}

.url-host {
  padding: 2px 4px;
  border-radius: 4px;
  color: var(--navy);
  background: var(--gold-soft);
  font-weight: 800;
}

.url-path {
  color: var(--muted);
}

.inspect-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.inspect-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted-dark);
  font-size: 0.79rem;
  line-height: 1.5;
}

.inspect-list .num {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 8px;
  color: var(--gold);
  background: var(--navy);
  font-size: 0.63rem;
  font-weight: 800;
}

.inspect-list strong {
  display: block;
  margin-bottom: 1px;
  color: var(--navy);
  font-size: 0.8rem;
}

.inspect-list span {
  display: block;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 42px 0 66px;
}

.section-tint {
  border-block: 1px solid rgba(17, 28, 46, 0.07);
  background: rgba(255, 255, 255, 0.42);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 19ch;
  margin-top: 9px;
}

.section-head > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Three steps */

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

.step-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-num {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--navy);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 9px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Guide cards */

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

.guide-grid--wide {
  gap: 18px;
}

.guide-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  border-color: var(--border-warm);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.guide-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.guide-body {
  min-width: 0;
}

.guide-tag {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-body h3 {
  margin-bottom: 5px;
}

.guide-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.guide-arrow {
  align-self: center;
  margin-left: auto;
  color: var(--gold-deep);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.guide-card:hover .guide-arrow {
  transform: translateX(4px);
}

/* Feature band */

.feature-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-lg);
  color: #e8ecf2;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.feature-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(216, 173, 85, 0.28);
}

.feature-band::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 173, 85, 0.19), transparent 68%);
}

.feature-band > * {
  position: relative;
  z-index: 1;
}

.feature-band h2 {
  max-width: 17ch;
  margin: 12px 0 14px;
  color: var(--white);
}

.feature-band p {
  max-width: 47ch;
  margin: 0;
  color: #b9c2cf;
  font-size: 0.94rem;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-list li:last-child {
  padding-bottom: 0;
}

.feature-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216, 173, 85, 0.12);
}

.feature-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 0.88rem;
}

.feature-list span {
  display: block;
  color: #aab5c4;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 46px 0 40px;
  border-bottom: 1px solid rgba(17, 28, 46, 0.08);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.breadcrumb .sep {
  color: #b6bdc9;
}

.page-hero h1 {
  max-width: 900px;
  margin: 13px 0 17px;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
}

.page-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 1.03rem;
  line-height: 1.78;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
}

.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   Article + aside
   -------------------------------------------------------------------------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  align-items: start;
  gap: 62px;
  padding: 52px 0 24px;
}

.article {
  min-width: 0;
  max-width: 760px;
}

.article section {
  padding-bottom: 36px;
  margin-bottom: 38px;
  border-bottom: 1px solid rgba(17, 28, 46, 0.09);
  scroll-margin-top: 110px;
}

.article section:last-of-type {
  margin-bottom: 10px;
  border-bottom: 0;
}

.section-index {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-deep);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.8vw, 2.06rem);
}

.article h3 {
  margin: 24px 0 8px;
  font-size: 1.04rem;
}

.article p {
  color: var(--muted-dark);
  font-size: 0.98rem;
  line-height: 1.82;
}

.article p:last-child {
  margin-bottom: 0;
}

.article a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: var(--gold);
}

.article ul,
.article ol {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 1.2rem;
  color: var(--muted-dark);
  font-size: 0.95rem;
  line-height: 1.72;
}

.article li::marker {
  color: var(--gold-deep);
  font-weight: 800;
}

.article li strong {
  color: var(--navy);
}

/* URL explainer */

.url-explainer {
  margin: 22px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 28, 46, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.url-line {
  margin: 0;
  padding: 20px 20px;
  overflow-x: auto;
  color: #c8d1de;
  background: var(--navy);
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: nowrap;
}

.u-scheme {
  color: #8ccfae;
}

.u-host {
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
}

.u-path {
  color: #b9c2cf;
}

.url-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.url-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.dot-scheme {
  background: var(--success);
}

.dot-host {
  background: var(--gold-deep);
}

.dot-path {
  background: #98a2b3;
}

.parts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--border);
}

.part {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 18px;
  background: var(--white);
}

.part-label {
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.part p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.87rem;
  line-height: 1.6;
}

.callout {
  margin: 22px 0;
  padding: 19px 21px;
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted-dark);
  background: #fffdf7;
  font-size: 0.91rem;
  line-height: 1.7;
}

.callout p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.7;
}

.callout strong:first-child {
  color: var(--navy);
}

.callout-alert {
  border-color: #ecd3cf;
  border-left-color: var(--danger);
  background: #fff9f8;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.checklist li {
  position: relative;
  padding: 14px 17px 14px 49px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted-dark);
  background: var(--white);
  font-size: 0.9rem;
  line-height: 1.65;
  counter-increment: check;
}

.checklist li::before {
  content: counter(check, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  color: var(--gold);
  background: var(--navy);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
}

/* Sources */

.source-box {
  position: relative;
  margin: 30px 0 6px;
  padding: 23px 24px 22px;
  overflow: hidden;
  border: 1px solid #eadbb9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffefb, #faf5e9);
  box-shadow: var(--shadow-sm);
}

.source-box::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 1px solid rgba(216, 173, 85, 0.32);
}

.source-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.source-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.source-box p {
  position: relative;
  z-index: 1;
  margin: 0 0 11px;
  color: var(--muted-dark);
  font-size: 0.88rem;
  line-height: 1.68;
}

.source-box a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration-color: var(--gold);
}

.source-box a span {
  color: var(--gold-deep);
}

/* Aside */

.aside {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  margin-bottom: 13px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 15px;
  color: var(--muted-dark);
  font-size: 0.79rem;
  line-height: 1.55;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.side-links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-links li + li {
  border-top: 1px solid var(--border);
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.side-links a span {
  color: var(--gold-deep);
  transition: transform 0.16s ease;
}

.side-links a:hover {
  color: var(--navy);
}

.side-links a:hover span {
  transform: translateX(3px);
}

.side-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

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

.faq-list {
  display: grid;
  gap: 11px;
  margin-top: 6px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item:hover {
  border-color: var(--border-warm);
}

.faq-item[open] {
  border-color: #e4d2a7;
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 21px;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #fffdf8;
}

.faq-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  transition: background 0.18s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.faq-icon::before {
  width: 11px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 11px;
}

.faq-item[open] .faq-icon {
  background: var(--gold-soft);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 21px 21px;
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-answer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-answer ul {
  margin: 10px 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 54px 0 24px;
  color: #d7dce5;
  background: var(--navy);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(216, 173, 85, 0.18);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 173, 85, 0.12), transparent 68%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.65fr 0.85fr 0.9fr;
  gap: 46px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand-mark {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.65);
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #93a0b2;
}

.footer-brand > p {
  max-width: 40ch;
  margin: 17px 0 0;
  color: #aab5c4;
  font-size: 0.85rem;
  line-height: 1.72;
}

.footer-brand .footer-age {
  margin-top: 12px;
  color: #8592a4;
  font-size: 0.76rem;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

.footer-col a {
  color: #d7dce5;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(216, 173, 85, 0.55);
}

.footer-notes li {
  position: relative;
  padding-left: 14px;
  color: #aab5c4;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-notes li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 21px;
  color: #8592a4;
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

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

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 42px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 92px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    flex-basis: 100%;
    flex-wrap: wrap;
    padding-top: 4px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    max-height: calc(100vh - 96px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 4px;
    padding: 8px 0 6px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }

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

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero {
    padding: 50px 0 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-lead {
    max-width: 700px;
  }

  .inspect-card {
    max-width: 620px;
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    max-width: 620px;
    margin-top: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 42px;
  }

  .aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 36px, 1160px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    font-size: 1.08rem;
  }

  .brand-copy strong {
    max-width: 15ch;
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .trust-list {
    gap: 10px 16px;
  }

  .section {
    padding: 32px 0 52px;
  }

  .inspect-card {
    padding: 21px;
  }

  .url-box {
    font-size: 0.7rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    padding: 20px;
  }

  .feature-band {
    padding: 28px 22px;
    border-radius: var(--radius);
  }

  .feature-band h2 {
    max-width: 100%;
  }

  .page-hero {
    padding: 34px 0 31px;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }

  .page-lead {
    font-size: 0.97rem;
  }

  .article-layout {
    padding-top: 34px;
  }

  .article section {
    padding-bottom: 29px;
    margin-bottom: 31px;
  }

  .article p {
    font-size: 0.95rem;
  }

  .url-line {
    font-size: 0.74rem;
  }

  .part {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .aside {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 7px;
  }
}

@media (max-width: 400px) {
  .brand-copy small {
    display: none;
  }

  .nav-toggle > span:last-child {
    display: none;
  }

  .inspect-list li {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .aside,
  .hero-actions,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .wrap {
    width: 100%;
  }

  .article-layout {
    display: block;
  }

  .article {
    max-width: 100%;
  }

  .guide-card,
  .step-card,
  .inspect-card,
  .source-box,
  .faq-item {
    box-shadow: none;
  }
}
