/* ==========================================================================
   TRI-VAGO - Original comparison-page layout, adapted for clothing picks
   ========================================================================== */

:root {
  --primary-navy: #27382f;
  --top-border-emerald: #74805b;
  --top-pick-light: #f4f6ed;
  --top-pick-text: #596646;
  --score-blue: #596646;
  --cta-orange: #b9583b;
  --cta-orange-hover: #99472f;
  --text-dark: #252a25;
  --text-body: #454a43;
  --text-muted: #777b70;
  --border-color: #e7e5dc;
  --bg-page: #f7f6f1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  padding: 15px 0;
  border-bottom: 1px solid #ebe9e0;
  background: #fffefa;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 85vw;
  height: 52px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  border-bottom: 1px solid #e8e5da;
  background:
    radial-gradient(ellipse at 86% 20%, rgba(198, 94, 59, 0.08), transparent 34%),
    linear-gradient(115deg, #f1efe7 0%, #f8f6f0 56%, #f0eee6 100%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-left {
  flex: 1;
  max-width: 560px;
  padding-left: 8px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #74765e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-title {
  max-width: 500px;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.hero-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #6c7066;
  font-size: 14px;
  font-weight: 500;
}

.check-pin-icon {
  flex: 0 0 auto;
  color: #10b981;
}

.hero-features-list,
.features-list {
  list-style: none;
}

.hero-features-list {
  margin-bottom: 22px;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 9px;
  color: #454a43;
  font-size: 14px;
  line-height: 1.55;
}

.feature-check-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8ecdf;
  color: #66734f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.hero-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 19px;
  border: 1px solid var(--cta-orange);
  border-radius: 5px;
  background: var(--cta-orange);
  box-shadow: 0 7px 16px rgba(153, 71, 47, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--cta-orange-hover);
  box-shadow: 0 10px 20px rgba(153, 71, 47, 0.2);
}

.hero-cta span {
  font-size: 17px;
}

.hero-right {
  position: relative;
  width: min(49%, 520px);
  flex-shrink: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 48px rgba(53, 49, 37, 0.13);
}

.hero-image {
  display: block;
  width: 100%;
  height: 326px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 43%;
}

.table-section {
  padding: 45px 0 55px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 0 2px;
}

.section-intro h2 {
  color: var(--text-dark);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.section-intro p,
.price-note {
  color: var(--text-muted);
  font-size: 13px;
}

.vpn-table-container {
  overflow: hidden;
  border: 1px solid #e8e5dc;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(45, 47, 38, 0.075);
}

.table-header-bar,
.vpn-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 76px 155px;
  column-gap: 22px;
}

.table-header-bar {
  min-height: 54px;
  align-items: center;
  padding: 10px 24px;
  background: var(--primary-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.th-score {
  text-align: center;
}

.th-action {
  text-align: center;
}

.vpn-card {
  position: relative;
  align-items: center;
  min-height: 230px;
  padding: 43px 24px 25px;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.vpn-card:hover {
  background: #f8fafc;
}

.vpn-card-top {
  min-height: 258px;
  border-left: 4px solid var(--top-border-emerald);
  background: linear-gradient(105deg, #fffefa 0%, #f7f7ef 100%);
  box-shadow: inset 0 0 0 1px rgba(116, 128, 91, 0.1);
}

.vpn-card-top:hover {
  background: linear-gradient(105deg, #fffefa 0%, #f0f3e7 100%);
}

.vpn-card-last {
  border-bottom: 0;
}

.card-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 0 0 5px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.top-pick-ribbon {
  background: #e3e9d8;
  color: var(--top-pick-text);
  letter-spacing: 0.045em;
}

.vpn-card-top .logo-wrapper {
  height: 142px;
  border-color: #e1e4d7;
  box-shadow: 0 5px 14px rgba(53, 61, 43, 0.1);
}

.vpn-card-top .brand-name {
  color: #596646;
  font-size: 14px;
}

.vpn-card-top .product-name {
  color: #333a2e;
  font-size: 13px;
}

.vpn-card-top .features-headline {
  font-size: 22px;
}

.vpn-card-top .features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin-bottom: 8px;
}

.vpn-card-top .features-list li {
  align-items: flex-start;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}

.vpn-card-top .check-bullet {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  font-size: 14px;
}

.vpn-card-top .features-list li:last-child {
  grid-column: 1 / -1;
}

.exclusive-deal {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid #e6d6a7;
  border-radius: 6px;
  background: #fff9e9;
  color: #574721;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.exclusive-deal:hover {
  border-color: #d7c17f;
  background: #fff3d4;
}

.deal-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #f0dfab;
  color: #604d21;
  font-size: 16px;
  font-weight: 800;
}

.exclusive-deal strong,
.exclusive-deal small {
  display: block;
}

.exclusive-deal strong {
  font-size: 14px;
}

.exclusive-deal small {
  margin-top: 2px;
  color: #7a6735;
  font-size: 12px;
}

.standard-ribbon {
  background: #f0eee6;
  color: #626956;
}

.vpn-col {
  min-width: 0;
}

.col-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.logo-wrapper {
  display: flex;
  width: 100%;
  height: 120px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  overflow: hidden;
  border: 1px solid #eeece5;
  border-radius: 7px;
  background: #f6f4ee;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.logo-wrapper:hover .product-image {
  transform: scale(1.04);
}

.brand-name {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-name {
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.star-rating > span {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1;
}

.star-rating small {
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}

.col-score .star-rating {
  justify-content: center;
  gap: 3px;
}

.col-score .star-rating small {
  font-size: 9px;
}

.features-headline {
  margin-bottom: 9px;
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.check-bullet {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  background: #e6f4e9;
  color: #21813b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.col-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.rank-badge strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.rank-badge small {
  margin-top: 2px;
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.vpn-card-top .rank-badge {
  color: #047857;
}

.vpn-card-top .rank-badge strong {
  color: #596646;
  font-size: 23px;
}

.vpn-card-top .col-action .btn-visit {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #596646;
  box-shadow: 0 5px 12px rgba(89, 102, 70, 0.2);
}

.vpn-card-top .col-action .btn-visit:hover {
  background: #46513a;
}

.col-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.btn-visit {
  display: inline-block;
  width: 100%;
  padding: 12px 9px;
  border-radius: 5px;
  background: var(--cta-orange);
  box-shadow: 0 4px 10px rgba(153, 71, 47, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.btn-visit:hover {
  transform: translateY(-1px);
  background: var(--cta-orange-hover);
}

.btn-visit:focus-visible,
.hero-cta:focus-visible,
.exclusive-deal:focus-visible,
.brand-logo:focus-visible,
.footer-links a:focus-visible,
.accordion-header:focus-visible {
  outline: 3px solid #bf795e;
  outline-offset: 3px;
}

.action-subtext {
  color: var(--text-muted);
  font-size: 11px;
}

.price-note {
  margin-top: 13px;
}

.faq-section {
  padding: 42px 0 50px;
  border-top: 1px solid #e8edf3;
  background: #fff;
}

.faq-container {
  max-width: 900px;
}

.faq-title {
  margin-bottom: 20px;
  color: var(--text-dark);
  font-size: 27px;
  font-weight: 800;
  text-align: center;
}

.accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
}

.accordion-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 0;
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
  background: #f8fafc;
}

.chevron-icon {
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  transition: transform 150ms ease;
}

.accordion-item.active .chevron-icon {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 18px 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  display: block;
}

.site-footer {
  padding: 18px 0;
  background: var(--primary-navy);
  color: #dbe3ee;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: #dbe3ee;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.policy-page {
  min-height: calc(100vh - 180px);
  padding: 48px 0 64px;
  background: #fff;
}

.policy-container {
  max-width: 900px;
}

.policy-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.policy-title {
  margin-bottom: 7px;
  color: var(--text-dark);
  font-size: 34px;
  font-weight: 800;
}

.policy-date {
  color: var(--text-muted);
  font-size: 13px;
}

.policy-content {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 16px;
}

.policy-content ul {
  padding-left: 22px;
}

.policy-content li {
  margin-bottom: 7px;
}

.policy-content h2 {
  margin: 28px 0 10px;
  color: var(--text-dark);
  font-size: 18px;
}

.policy-content a {
  color: #1d4ed8;
}

.back-home-btn {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .table-header-bar,
  .vpn-card {
    grid-template-columns: 155px minmax(0, 1fr) 58px 130px;
    column-gap: 14px;
  }

  .table-header-bar,
  .vpn-card {
    padding-right: 17px;
    padding-left: 17px;
  }

  .hero-container {
    gap: 25px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-image {
    max-width: 330px;
  }
}

@media (max-width: 680px) {
  .main-header {
    padding: 14px 0;
  }

  .site-logo {
    height: 44px;
  }

  .hero-section {
    padding: 27px 0 30px;
  }

  .hero-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-features-list li {
    font-size: 14px;
  }

  .hero-right,
  .hero-image {
    width: 100%;
  }

  .hero-image {
    max-width: none;
    max-height: 240px;
    object-fit: cover;
    object-position: center 42%;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .section-intro h2 {
    font-size: 24px;
  }

  .vpn-table-container {
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .table-header-bar {
    display: none;
  }

  .vpn-card,
  .vpn-card-top {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 14px;
    margin-bottom: 15px;
    padding: 44px 15px 16px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  }

  .vpn-card-top {
    border-top: 3px solid var(--top-border-emerald);
  }

  .col-service {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 105px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }

  .logo-wrapper {
    width: 105px;
    height: 82px;
    grid-row: span 3;
    margin: 0;
  }

  .vpn-card-top .logo-wrapper {
    height: 92px;
  }

  .brand-name {
    align-self: end;
  }

  .product-name {
    align-self: start;
  }

  .star-rating {
    align-self: start;
  }

  .col-features {
    grid-column: 1;
  }

  .features-headline {
    font-size: 16px;
  }

  .features-list li {
    font-size: 12px;
  }

  .vpn-card-top .features-headline {
    font-size: 18px;
  }

  .vpn-card-top .features-list li {
    font-size: 13px;
  }

  .exclusive-deal strong {
    font-size: 13px;
  }

  .exclusive-deal small {
    font-size: 11px;
  }

  .vpn-card-top .features-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .vpn-card-top .features-list li:last-child {
    grid-column: auto;
  }

  .col-score {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }

  .col-action {
    grid-column: 1 / -1;
    align-items: stretch;
  }

  .btn-visit {
    padding: 11px;
  }

  .action-subtext {
    display: none;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
