:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f7fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 320px; overflow-x: hidden; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: #3157c8; text-underline-offset: .18em; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .65rem 1rem; background: #fff; border-radius: .5rem; }

.site-header, .site-footer { background: rgba(255, 255, 255, .96); border-color: #e1e7f0; border-style: solid; border-width: 0 0 1px; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.site-footer { margin-top: 4rem; border-width: 1px 0 0; }
.header-inner, .footer-inner, main { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.5rem; min-height: 68px; }
.brand { color: #172033; font-weight: 800; text-decoration: none; white-space: nowrap; }
.primary-nav ul, .language-switcher ul, .related-list, .trust-points, .link-pills { display: flex; flex-wrap: wrap; gap: .65rem 1rem; padding: 0; margin: 0; list-style: none; }
.primary-nav { flex: 1; }
.primary-nav a, .language-switcher a { color: #34405a; font-size: .94rem; text-decoration: none; }
.primary-nav a:hover, .language-switcher a:hover, .language-switcher a[aria-current="page"] { color: #3157c8; }
.language-switcher { margin-left: auto; }

main { padding-top: clamp(1.5rem, 4vw, 3rem); }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { max-width: 850px; margin: .45rem 0 1rem; font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.035em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { margin-top: 0; }
section { margin-top: clamp(2rem, 5vw, 4rem); }
.lead { max-width: 760px; margin: 0; color: #4a5872; font-size: clamp(1rem, 2vw, 1.16rem); }
.eyebrow { margin: 0 0 .45rem; color: #3157c8; font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.meta { color: #68748c; font-size: .9rem; }

.home-hero, .page-hero, .product-hero, .article-hero { margin-top: 0; border: 1px solid #dfe6f1; border-radius: 1.25rem; background: linear-gradient(135deg, #fff 0%, #eef3ff 100%); box-shadow: 0 18px 55px rgba(40, 63, 120, .08); }
.home-hero, .page-hero { padding: clamp(1.5rem, 5vw, 4rem); }
.home-hero { min-height: 430px; display: grid; align-content: center; }
.product-hero { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.25rem, 4vw, 2.5rem); }
.product-hero__media { align-self: center; overflow: hidden; border-radius: 1rem; box-shadow: 0 20px 40px rgba(20, 31, 63, .18); }
.product-hero__content { align-self: center; }
.product-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }

.article-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 3rem); }
.article-hero__content, .article-hero__media { align-self: center; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.article-hero__media { margin: 0; overflow: hidden; border-radius: 1rem; background: #18233d; box-shadow: 0 18px 35px rgba(20, 31, 63, .16); }
.article-hero__media img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }

.trust-points { gap: .55rem; margin-top: 1.35rem; }
.trust-points li { padding: .45rem .72rem; border: 1px solid #cfd9ef; border-radius: 999px; color: #31405f; background: rgba(255,255,255,.78); font-size: .9rem; font-weight: 650; }
.trust-points li::before { content: "✓"; margin-right: .35rem; color: #16835e; }
.trust-points--compact { display: grid; gap: .4rem; }
.trust-points--compact li { width: fit-content; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.05rem; border: 1px solid #3157c8; border-radius: .65rem; color: #fff; background: #3157c8; box-shadow: 0 8px 20px rgba(49, 87, 200, .2); font-weight: 750; text-decoration: none; }
.button:hover { background: #2546ad; }
.button--secondary { color: #3157c8; background: #fff; box-shadow: none; }
.price-panel { margin-top: 1.25rem; padding: .9rem 1rem; border-left: 4px solid #3157c8; background: #fff; border-radius: .2rem .7rem .7rem .2rem; }
.price-panel p { margin: .25rem 0 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .48rem; padding: 0; margin: 0 0 1.15rem; list-style: none; color: #657089; font-size: .9rem; }
.breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: "/"; margin-right: .48rem; color: #9aa4b8; }
.content-grid, .product-grid, .policy-grid, .guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-sections { display: grid; gap: 1rem; }
.card, .guide-card, .content-section, .activity, .policy, .faq-item, .purchase-cta, .explore-panel, .article-toc, .article-cta { background: #fff; border: 1px solid #e0e6ef; border-radius: .9rem; }
.card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.card:hover { transform: translateY(-3px); border-color: #7890df; box-shadow: 0 14px 35px rgba(45, 66, 120, .12); }
.card__image { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: #18233d; }
.card__body { padding: 1rem; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { margin: 0; color: #56627a; font-size: .94rem; }
.content-section, .activity, .policy, .purchase-cta, .explore-panel { padding: clamp(1.1rem, 3vw, 1.6rem); }
.content-section > :last-child, .policy > :last-child { margin-bottom: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }

.guide-card { display: grid; align-content: start; min-width: 0; padding: 1.2rem; color: inherit; text-decoration: none; }
.guide-card:hover { border-color: #7890df; box-shadow: 0 14px 35px rgba(45, 66, 120, .1); }
.guide-card h3 { margin-bottom: .55rem; }
.guide-card p { margin: 0 0 .8rem; color: #56627a; }
.guide-card time { color: #68748c; font-size: .85rem; }

.article-layout { display: grid; grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 4rem); }
.article-toc { position: sticky; top: 86px; padding: 1.2rem; }
.article-toc h2 { font-size: 1.1rem; }
.article-toc ol { display: grid; gap: .5rem; padding-left: 1.25rem; margin-bottom: 0; }
.article-body { min-width: 0; }
.article-section { scroll-margin-top: 92px; margin-top: 0; padding: 0 0 2.2rem; border-bottom: 1px solid #e2e7ef; }
.article-section + .article-section { margin-top: 2.2rem; }
.article-section p { max-width: 760px; color: #34405a; }
.article-section ul { max-width: 760px; padding-left: 1.25rem; }
.article-section li + li { margin-top: .35rem; }
.article-destination-links { margin-top: 1.2rem; }
.article-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding: clamp(1.2rem, 3vw, 1.8rem); border-color: #c9d5f4; background: linear-gradient(120deg, #eef3ff, #fff); }
.article-cta p { flex: 1 1 320px; margin: 0; }

.comparison-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #e0e6ef; border-radius: .9rem; background: #fff; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: .85rem 1rem; border-bottom: 1px solid #e7ebf2; text-align: left; vertical-align: top; }
.comparison-table th { color: #34405a; background: #f7f9fc; font-size: .88rem; }
.comparison-table tr:last-child td { border-bottom: 0; }

.activity { position: relative; overflow: hidden; border-color: #cfe0d8; background: #f8fffb; }
.status-dot { width: .72rem; height: .72rem; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 5px rgba(34,160,107,.12); }
.activity-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.service-event { display: grid; gap: .3rem; padding: 1rem; border: 1px solid #dfeae4; border-radius: .75rem; background: #fff; scroll-snap-align: start; }
.service-event time { color: #66736c; font-size: .82rem; overflow-wrap: anywhere; }
.policy-grid { margin-top: clamp(2rem, 5vw, 4rem); }
.policy { margin-top: 0; }
.policy--support { border-top: 4px solid #25805e; }
.policy--refund { border-top: 4px solid #3157c8; }
.policy-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin: 0 0 .75rem; border-radius: 50%; color: #fff; background: #3157c8; font-weight: 800; }
.policy--support .policy-icon { background: #25805e; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { padding: 1.05rem 1.2rem; }
.faq-item h3 { margin: 0 0 .4rem; font-size: 1.04rem; }
.faq-item p { margin: 0; color: #4f5c73; }
.purchase-cta { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; border-color: #c9d5f4; background: linear-gradient(120deg, #eef3ff, #fff); }
.purchase-cta p { flex: 1 1 280px; margin: 0; }
.purchase-cta h2 { width: 100%; margin: 0; }
.purchase-cta--hero { margin-top: 1.25rem; padding: 0; border: 0; background: transparent; }
.purchase-cta--middle { margin-top: 2rem; }
.purchase-cta--bottom { margin-top: 3rem; }
.explore-panel { margin-top: 2rem; }
.link-pills a { display: inline-block; padding: .55rem .8rem; border: 1px solid #ccd7ef; border-radius: 999px; background: #fff; text-decoration: none; }
.footer-inner { padding: 2rem 0; color: #59657c; font-size: .92rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero__media { max-width: 620px; }
  .article-hero { grid-template-columns: 1fr; }
  .article-hero__media { max-width: 620px; }
  .guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { padding: .8rem 0; }
  .primary-nav { order: 3; width: 100%; overflow-x: auto; }
  .primary-nav ul { width: max-content; }
  .language-switcher { margin-left: auto; }
  .content-grid, .policy-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .product-hero__content { order: 1; }
  .product-hero__media { order: 2; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
}

@media (max-width: 480px) {
  .header-inner, .footer-inner, main { width: min(100% - 1.25rem, 1120px); }
  h1 { font-size: clamp(1.85rem, 10vw, 2.45rem); }
  .product-grid { grid-template-columns: 1fr; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .home-hero, .page-hero, .product-hero, .article-hero { border-radius: .9rem; padding: 1.15rem; }
  .product-hero { gap: 1.25rem; }
  .button { width: 100%; }
  .hero-actions { display: grid; }
  .purchase-cta { align-items: stretch; }
  .trust-points { display: grid; }
  .trust-points li { width: fit-content; }
  .article-cta { align-items: stretch; }
}

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