* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef6f2;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe7ef;
  --brand: #0f766e;
  --brand-dark: #134e4a;
  --accent: #f59e0b;
  --accent-soft: #fff7e6;
  --shadow: 0 16px 36px rgba(17, 24, 39, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  row-gap: 6px;
  flex: 1;
  flex-wrap: nowrap;
  min-width: 0;
}

nav a {
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 6px 6px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: #e6f4f1;
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 28px;
  align-items: center;
  margin: 26px 0 28px;
  padding: 38px;
  background: linear-gradient(135deg, #ffffff 0%, #f3faf8 100%);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand-dark);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-text {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: 17px;
  color: var(--muted);
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

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

.affiliate-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 11px 17px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  background: #f7faf9;
  color: var(--muted);
  font-weight: 800;
  cursor: not-allowed;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.hero-point {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 14px;
  padding: 11px;
}

.hero-point strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.hero-point span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.panel-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-guide {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.mini-guide:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #f5f8f7;
  border: 1px solid rgba(15, 118, 110, 0.1);
  color: #6b7a76;
  font-size: 13px;
  font-weight: 700;
}

.mini-guide h3 {
  margin: 0;
  font-size: 16px;
}

.mini-guide p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  margin-top: 42px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
}

.section-intro {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #e6f4f1;
  color: var(--brand-dark);
  font-weight: 900;
}

.card-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.best-for {
  margin: 0 0 10px;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--ink);
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
  flex: 1;
}

.card span:last-child {
  color: var(--brand);
  font-weight: 800;
}

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

.start-card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.start-card {
  display: flex;
  flex-direction: column;
}

.start-card h3,
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.start-card p,
.trust-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.start-card p {
  flex: 1;
}

.start-card a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}

.article {
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  padding: 9px;
  border-radius: 14px;
  background: #e6f4f1;
}

.article h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(30px, 3.3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.article h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.22;
}

.article h3 {
  color: var(--ink);
}

.article > p,
.article > ul,
.article > ol {
  max-width: 780px;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.article a:not(.button) {
  color: var(--brand-dark);
  font-weight: 700;
}

.box {
  background: #f7faf9;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0;
  color: var(--muted);
}

.box strong {
  color: var(--ink);
}

.host-card,
.vpn-card,
.tool-card,
.app-card,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.host-card h3,
.vpn-card h3,
.tool-card h3,
.app-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.host-card p,
.vpn-card p,
.tool-card p,
.app-card p,
.contact-card p {
  max-width: 780px;
  margin-top: 0;
}

.article .button {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.trust-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #f5f8f7;
  border: 1px solid rgba(15, 118, 110, 0.1);
  color: #6b7a76;
  font-size: 13px;
  font-weight: 700;
}

.notice {
  padding: 16px 0;
  margin: 34px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.notice strong {
  color: var(--ink);
}

footer {
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

footer a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
}

footer a:hover,
footer a:focus-visible,
footer a[aria-current="page"] {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    flex: initial;
  }
}

@media (max-width: 900px) {
  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    margin-top: 20px;
    padding: 26px 20px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .article {
    margin-top: 20px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .article h1 {
    font-size: 32px;
  }

  .article p,
  .article li {
    font-size: 16px;
  }

  .hero-points,
  .grid,
  .start-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  nav a {
    padding: 7px 8px;
  }

  .card {
    min-height: auto;
  }
}
