:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #526174;
  --line: #dbe4ef;
  --panel: #ffffff;
  --soft: #eef5fb;
  --night: #050914;
  --night-2: #0c1424;
  --sky: #18b7ff;
  --sky-2: #7dd7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--ink);
}

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

button,
.button {
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #152033;
  background: rgba(5, 9, 20, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), #0a8bd8);
  color: #001827;
  font-weight: 1000;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #c7d3e3;
  font-size: 0.94rem;
}

nav a {
  border-radius: 8px;
  padding: 9px 12px;
}

nav a:hover,
nav a:focus-visible {
  background: #142033;
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #152033;
  background:
    radial-gradient(circle at 80% 20%, rgba(24, 183, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #050914 0%, #0d1525 100%);
}

.hero-copy,
.section-heading,
.country-grid,
.use-grid,
.laptop-grid,
.filter-bar,
.filters,
.compare-panel,
.affiliate,
footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sky-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #0479b8;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: white;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  color: #c2cedd;
  font-size: 1.18rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.primary {
  background: var(--sky);
  color: #001827;
}

.secondary {
  border: 1px solid #53657e;
  color: white;
}

.ghost {
  border: 1px solid #24334a;
  color: #c7d3e3;
}

.hero-panel {
  padding: 28px;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: rgba(12, 20, 36, 0.9);
  color: #c7d3e3;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero-panel span {
  color: var(--sky-2);
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin: 12px 0;
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.light-section,
.white-section,
.dark-section,
.recommend-section {
  padding: 56px clamp(18px, 4vw, 56px);
}

.recommend-section {
  background: #07101d;
  color: white;
}

.light-section {
  background: var(--soft);
}

.white-section {
  background: white;
}

.dark-section {
  background: var(--night);
  color: white;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.dark-section .section-heading p:not(.eyebrow) {
  color: #a9b8ca;
}

.recommend-section .section-heading p:not(.eyebrow) {
  color: #a9b8ca;
}

.recommender-shell,
.recommendation-results {
  width: min(1180px, 100%);
  margin: 28px auto 0;
}

.recommender-shell {
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 18px;
}

.recommender-progress {
  display: grid;
  gap: 10px;
  color: #d8e4f2;
  font-weight: 900;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #152033;
}

.progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--sky);
  transition: width 0.2s ease;
}

.question-card {
  margin-top: 20px;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
  padding: 22px;
}

.question-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

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

.question-options button {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 14px;
  text-align: left;
}

.question-options button.is-active {
  border-color: var(--sky);
  background: #d9f3ff;
  box-shadow: 0 0 0 3px rgba(24, 183, 255, 0.18);
}

.question-options strong {
  margin-top: 6px;
  color: #036da7;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.recommender-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.recommender-actions button {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
  padding: 0 16px;
}

.recommender-actions button:hover:not(:disabled) {
  border-color: var(--sky);
  color: var(--sky-2);
}

.recommender-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.answer-summary {
  margin-top: 16px;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: #07101d;
  padding: 16px;
  color: #d8e4f2;
}

.answer-summary h3 {
  margin-bottom: 10px;
  color: white;
}

.answer-summary div,
.result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.answer-summary span,
.result-summary span {
  border: 1px solid #24334a;
  border-radius: 999px;
  padding: 8px 12px;
}

.form-hint {
  margin: 14px 0 0;
  color: #a34100;
  font-weight: 900;
}

.recommendation-results {
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night);
  padding: 18px;
}

.result-header h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.result-header p {
  color: #c7d3e3;
  line-height: 1.7;
}

.result-summary {
  margin: 18px 0;
  color: #d8e4f2;
}

.editorial-message {
  border: 1px solid rgba(125, 215, 255, 0.28);
  border-radius: 8px;
  background: rgba(24, 183, 255, 0.08);
  padding: 18px;
}

.editorial-message p {
  color: #d8e4f2;
  line-height: 1.7;
}

.result-grid,
.mini-recommendations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.result-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 20px;
}

.result-card.is-selected {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(24, 183, 255, 0.18);
}

.result-card h3 {
  color: white;
}

.result-note {
  color: #a9b8ca;
  line-height: 1.6;
}

.result-specs {
  color: #d8e4f2;
}

.also-compare {
  margin-top: 24px;
}

.also-compare h3 {
  color: white;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.country-grid button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 18px;
  text-align: left;
}

.country-grid button:hover,
.use-grid button:hover,
.level-filter button:hover,
.country-grid button.is-active,
.use-grid article.is-active button,
.level-filter button.is-active {
  border-color: var(--sky);
  color: #036da7;
}

.country-grid button.is-active {
  background: #d9f3ff;
  box-shadow: 0 0 0 3px rgba(24, 183, 255, 0.18);
}

.selection-status {
  width: min(1180px, 100%);
  margin: 16px auto 0;
  color: #3d5065;
  font-weight: 800;
}

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

.use-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.use-grid article.is-active {
  border-color: var(--sky);
  background: #eef9ff;
  box-shadow: 0 14px 34px rgba(4, 121, 184, 0.12);
}

.use-grid h3,
.laptop-card h3 {
  font-size: 1.28rem;
}

.use-grid p,
.laptop-card p {
  color: var(--muted);
  line-height: 1.65;
}

.use-grid button {
  border: 1px solid #0584c9;
  background: white;
  color: #036da7;
  padding: 0 14px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 16px;
  align-items: end;
  margin-top: 26px;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 16px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: #d8e4f2;
  font-weight: 900;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #314257;
  border-radius: 8px;
  background: #07101d;
  color: white;
  font: inherit;
  padding: 0 14px;
}

.search-field input::placeholder {
  color: #8291a6;
}

.level-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.level-filter legend {
  width: 100%;
  margin-bottom: 8px;
  color: #d8e4f2;
  font-weight: 900;
}

.level-filter button,
.clear-filters {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
  padding: 0 14px;
}

.level-filter button.is-active {
  background: #d9f3ff;
  color: #035b8b;
}

.clear-filters {
  background: #152033;
}

.clear-filters:hover {
  border-color: var(--sky);
  color: var(--sky-2);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 14px 16px;
  color: #d8e4f2;
}

.laptop-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
}

.laptop-card.is-selected {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(24, 183, 255, 0.18);
}

.laptop-card .use {
  color: var(--sky-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.level {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #d9f3ff;
  color: #035b8b;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.specs {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  color: #d8e4f2;
  font-size: 0.95rem;
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #1d2b40;
  padding-bottom: 8px;
}

.specs dt {
  color: #8291a6;
}

.specs dd {
  margin: 0;
  text-align: right;
}

.warning {
  border: 1px solid rgba(252, 211, 77, 0.25);
  border-radius: 8px;
  padding: 12px;
  background: rgba(252, 211, 77, 0.08);
  color: #ffecb0 !important;
  font-size: 0.92rem;
}

.card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.card-actions button {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
  padding: 0 14px;
}

.card-actions button:hover {
  border-color: var(--sky);
  color: var(--sky-2);
}

.laptop-card a,
.comparison-table-wrap a,
.detail-actions a,
.related-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--sky);
  color: #001827;
  font-weight: 900;
  padding: 0 14px;
}

.detail-link {
  border: 1px solid #52647a;
  background: transparent !important;
  color: white !important;
}

.detail-link:hover {
  border-color: var(--sky);
  color: var(--sky-2) !important;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 24px;
  color: #d8e4f2;
}

.compare-panel {
  margin-top: 30px;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 18px;
}

.compare-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.compare-heading h3 {
  margin-bottom: 6px;
  color: white;
  font-size: 1.5rem;
}

.compare-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: #a9b8ca;
}

.compare-heading button {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
  padding: 0 14px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #d8e4f2;
}

.comparison-table-wrap th,
.comparison-table-wrap td {
  border: 1px solid #24334a;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.comparison-table-wrap thead th {
  background: #07101d;
  color: white;
}

.comparison-table-wrap tbody th {
  width: 190px;
  color: var(--sky-2);
}

.affiliate {
  border: 1px solid #b8dcf2;
  border-radius: 8px;
  background: white;
  padding: 26px;
}

.affiliate p {
  margin-bottom: 0;
  color: #35455a;
  line-height: 1.75;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #a9b8ca;
}

footer strong {
  color: white;
}

.detail-page {
  background: var(--night);
  color: white;
  padding: 56px clamp(18px, 4vw, 56px);
}

.detail-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.detail-shell > p {
  max-width: 760px;
  color: #c7d3e3;
  line-height: 1.7;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 15%, rgba(24, 183, 255, 0.16), transparent 32%),
    var(--night-2);
  padding: clamp(22px, 4vw, 34px);
}

.detail-hero h1,
.detail-shell h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
}

.detail-hero p {
  color: #c7d3e3;
  line-height: 1.7;
}

.detail-badges,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-badges span {
  border: 1px solid #24334a;
  border-radius: 999px;
  padding: 8px 12px;
  color: #d8e4f2;
}

.detail-actions {
  align-content: start;
  flex-direction: column;
}

.detail-actions button {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
  padding: 0 14px;
}

.detail-actions button:hover {
  border-color: var(--sky);
  color: var(--sky-2);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.detail-card {
  margin-top: 18px;
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
  padding: 20px;
}

.detail-card h2 {
  margin-bottom: 14px;
  color: white;
}

.detail-card p {
  color: #d8e4f2;
  line-height: 1.7;
}

.detail-specs {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-specs div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid #1d2b40;
  padding-bottom: 10px;
}

.detail-specs dt {
  color: var(--sky-2);
  font-weight: 900;
}

.detail-specs dd {
  margin: 0;
  color: #d8e4f2;
}

.detail-note,
.detail-status {
  border: 1px solid rgba(125, 215, 255, 0.28);
  border-radius: 8px;
  background: rgba(24, 183, 255, 0.08);
  padding: 12px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #d8e4f2;
  line-height: 1.7;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: #07101d;
  padding: 18px;
}

.related-card .use {
  color: var(--sky-2);
  font-weight: 900;
}

.related-card h3 {
  color: white;
}

.related-card p {
  color: #c7d3e3;
  line-height: 1.65;
}

.guide-page {
  background: var(--night);
  color: white;
  padding: 56px clamp(18px, 4vw, 56px);
}

.guide-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.guide-hero,
.guide-card,
.guide-article-section,
.guide-cta,
.guide-affiliate {
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
}

.guide-hero {
  padding: clamp(24px, 5vw, 42px);
}

.guide-hero h1 {
  max-width: 900px;
  color: white;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

.guide-hero p,
.guide-card p,
.guide-article-section p,
.guide-affiliate p {
  color: #c7d3e3;
  line-height: 1.75;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.guide-card h2,
.guide-card h3,
.guide-article-section h2,
.guide-cta h2 {
  color: white;
}

.guide-card a,
.guide-cta a,
.guide-related-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--sky);
  color: #001827;
  font-weight: 900;
  padding: 0 14px;
}

.guide-article {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.guide-article-section {
  padding: 22px;
}

.guide-article-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #d8e4f2;
  line-height: 1.7;
}

.guide-table-wrap {
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #d8e4f2;
}

.guide-table th,
.guide-table td {
  border: 1px solid #24334a;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  background: #07101d;
  color: var(--sky-2);
}

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

.guide-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: #07101d;
  padding: 18px;
}

.guide-related-card h3 {
  color: white;
}

.guide-related-card p,
.guide-related-card dl {
  color: #c7d3e3;
  line-height: 1.65;
}

.guide-related-card dl {
  display: grid;
  gap: 8px;
}

.guide-related-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1d2b40;
  padding-bottom: 8px;
}

.guide-related-card dt {
  color: #8291a6;
}

.guide-related-card dd {
  margin: 0;
  text-align: right;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
}

.guide-cta div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-cta .secondary {
  background: transparent;
  border: 1px solid #52647a;
  color: white;
}

.guide-affiliate {
  margin-top: 18px;
  padding: 18px;
}

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

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

  .country-grid,
  .use-grid,
  .laptop-grid,
  .question-options,
  .result-grid,
  .mini-recommendations,
  .related-grid,
  .guide-grid,
  .guide-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 620px) {
  .country-grid,
  .use-grid,
  .laptop-grid,
  .question-options,
  .result-grid,
  .mini-recommendations,
  .related-grid,
  .guide-grid,
  .guide-related-grid {
    grid-template-columns: 1fr;
  }

  .detail-specs div {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-heading {
    flex-direction: column;
  }
}


.country-page {
  background: var(--night);
  color: white;
  padding: 56px clamp(18px, 4vw, 56px);
}

.country-shell,
.country-overview {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.country-hero,
.country-card,
.country-note-card,
.country-laptop-card,
.country-guide-card,
.country-cta,
.country-affiliate {
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
}

.country-hero {
  padding: clamp(24px, 5vw, 42px);
}

.country-hero h1 {
  max-width: 900px;
  color: white;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

.country-hero p,
.country-card p,
.country-note-card p,
.country-laptop-card p,
.country-guide-card p,
.country-affiliate p {
  color: #c7d3e3;
  line-height: 1.7;
}

.country-overview {
  margin-top: 28px;
}

.country-card-grid,
.country-notes-grid,
.country-laptop-grid,
.country-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.country-card,
.country-note-card,
.country-laptop-card,
.country-guide-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.country-card h2,
.country-card h3,
.country-note-card h3,
.country-laptop-card h3,
.country-guide-card h3,
.country-cta h2 {
  color: white;
}

.country-card a,
.country-laptop-card a,
.country-guide-card a,
.country-cta a,
.country-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--sky);
  color: #001827;
  font-weight: 900;
  padding: 0 14px;
}

.country-link-card.secondary,
.country-cta .secondary {
  border: 1px solid #52647a;
  background: transparent;
  color: white;
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.country-meta span {
  border: 1px solid #24334a;
  border-radius: 999px;
  padding: 7px 10px;
  color: #d8e4f2;
  font-size: 0.88rem;
  font-weight: 800;
}

.country-section {
  margin-top: 28px;
}

.country-section h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.country-laptop-card dl {
  display: grid;
  gap: 8px;
  color: #c7d3e3;
}

.country-laptop-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1d2b40;
  padding-bottom: 8px;
}

.country-laptop-card dt {
  color: #8291a6;
}

.country-laptop-card dd {
  margin: 0;
  text-align: right;
}

.country-card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.country-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 22px;
}

.country-cta div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.country-affiliate {
  margin-top: 18px;
  padding: 18px;
}

.explore-country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.explore-country-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 18px;
}

.explore-country-grid strong {
  display: block;
  margin-bottom: 6px;
}

.explore-country-grid span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .country-card-grid,
  .country-notes-grid,
  .country-laptop-grid,
  .country-guide-grid,
  .explore-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .country-card-grid,
  .country-notes-grid,
  .country-laptop-grid,
  .country-guide-grid,
  .explore-country-grid {
    grid-template-columns: 1fr;
  }

  .country-cta {
    align-items: stretch;
    flex-direction: column;
  }
}


.offer-demo-note {
  display: block;
  margin-top: 6px;
  color: #a9b8ca;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

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

.offer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #24334a;
  border-radius: 8px;
  background: #07101d;
  padding: 16px;
}

.offer-card h3 {
  color: white;
}

.offer-card p {
  color: #c7d3e3;
  line-height: 1.6;
}

.offer-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--sky);
  color: #001827;
  font-weight: 900;
  padding: 0 14px;
}

.offer-status {
  margin-top: 10px;
}

@media (max-width: 620px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.diagnostic-page {
  background: var(--night);
  color: white;
  padding: 56px clamp(18px, 4vw, 56px);
}

.diagnostic-hero,
.diagnostic-grid,
.diagnostic-section,
.diagnostic-empty {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.diagnostic-hero,
.diagnostic-card,
.diagnostic-section,
.diagnostic-empty {
  border: 1px solid #1c2a3d;
  border-radius: 8px;
  background: var(--night-2);
}

.diagnostic-hero {
  padding: clamp(24px, 5vw, 42px);
}

.diagnostic-hero h1 {
  max-width: 900px;
  color: white;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
}

.diagnostic-hero p,
.diagnostic-section p {
  color: #c7d3e3;
  line-height: 1.7;
}

.diagnostic-hero button {
  border: 1px solid #52647a;
  background: var(--sky);
  color: #001827;
  padding: 0 16px;
}

.diagnostic-empty {
  margin-top: 18px;
  padding: 18px;
  color: #d8e4f2;
}

.diagnostic-grid,
.diagnostic-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.diagnostic-card,
.diagnostic-section {
  padding: 18px;
}

.diagnostic-card span,
.diagnostic-list span {
  display: block;
  color: #a9b8ca;
  font-weight: 800;
}

.diagnostic-card strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 2rem;
}

.diagnostic-section {
  margin-top: 22px;
}

.diagnostic-section h2 {
  color: white;
}

.diagnostic-list {
  display: grid;
  gap: 10px;
}

.diagnostic-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #24334a;
  padding-bottom: 8px;
}

.diagnostic-list strong {
  color: var(--sky-2);
}

.diagnostic-table-wrap {
  overflow-x: auto;
}

.diagnostic-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #d8e4f2;
}

.diagnostic-table th,
.diagnostic-table td {
  border: 1px solid #24334a;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.diagnostic-table th {
  background: #07101d;
  color: var(--sky-2);
}

.footer-diagnostic {
  color: var(--sky-2);
  font-weight: 800;
}

@media (max-width: 900px) {
  .diagnostic-grid,
  .diagnostic-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .diagnostic-grid,
  .diagnostic-columns {
    grid-template-columns: 1fr;
  }
}


.legal-page {
  background: #f7fafc;
  color: #14213d;
  padding: 48px 20px 64px;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.legal-shell h1 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.legal-shell p,
.legal-shell li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-shell a {
  color: #0369a1;
  font-weight: 700;
}

.legal-note {
  background: #eef6ff;
  border-left: 4px solid #0ea5e9;
  padding: 14px 16px;
  border-radius: 6px;
}

.legal-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-steps {
  padding-left: 22px;
}

.site-footer {
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-links a {
  color: #cfe8ff;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .legal-page {
    padding: 28px 14px 48px;
  }

  .legal-shell {
    padding: 24px 18px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}


.affiliate-admin-page {
  background: #f7fafc;
  color: #14213d;
  padding: 42px 20px 64px;
}

.affiliate-admin-hero,
.affiliate-admin-next,
.affiliate-program-list {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.affiliate-admin-hero {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.affiliate-admin-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.affiliate-admin-next,
.affiliate-program-card {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 24px;
}

.affiliate-program-list {
  display: grid;
  gap: 16px;
}

.affiliate-program-card {
  display: grid;
  gap: 18px;
}

.affiliate-program-card h2 {
  margin: 6px 0 8px;
}

.affiliate-program-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.affiliate-program-card dl div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.affiliate-program-card dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.affiliate-program-card dd {
  margin: 4px 0 0;
  color: #1e293b;
  line-height: 1.5;
}

.affiliate-program-card a {
  color: #0369a1;
  font-weight: 800;
}

@media (max-width: 760px) {
  .affiliate-program-card dl {
    grid-template-columns: 1fr;
  }

  .affiliate-admin-hero,
  .affiliate-admin-next,
  .affiliate-program-card {
    padding: 20px;
  }
}
