/* Shared presentation for routed IPv4 and IPv6, scoped away from other products. */
.tunnel-service-page .tunnel-related { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: .94rem; line-height: 1.7; color: var(--ink-3); }
.tunnel-service-page .tunnel-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr); align-items: center; gap: 48px; }
.tunnel-service-page .tunnel-hero .hero-copy { min-width: 0; }
.tunnel-service-page .tunnel-hero .hero-visual { display: flex; align-items: center; justify-content: center; min-width: 0; height: 100%; }
.tunnel-service-page .tunnel-hero .product-mascot-card { position: relative; inset: auto; width: 100%; max-width: 390px; margin: 0; background: none; border: 0; box-shadow: none; transform: none; }
.tunnel-service-page .tunnel-hero .product-mascot-card img { display: block; width: 100%; height: 390px; object-fit: contain; }
.tunnel-hero-protocols { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tunnel-hero-protocols span { padding: 7px 12px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: .82rem; font-weight: 650; }
.tunnel-service-page .page-hero + .section { padding: 42px 0; }
.tunnel-service-page .hero-stat { border: 1px solid #e1d9eb; border-radius: 14px; background: #fff; box-shadow: 0 16px 42px -34px rgba(47,20,91,.4); }
.tunnel-service-page #pricing { padding: 76px 0 86px; background: radial-gradient(circle at 12% 0%,rgba(122,52,255,.08),transparent 35%),linear-gradient(180deg,#f8f5fc,#f4eff9); border-block: 1px solid #eae1f5; }
.tunnel-service-page .section-head { margin-bottom: 38px; }
.tunnel-service-page .section-head h2 { max-width: 780px; }
.tunnel-service-page .section-head p { max-width: 780px; }
.tunnel-service-page .note-spaced { max-width: 960px; margin: 24px auto 0; padding: 20px 24px; border: 1px solid #e2d6f3; border-radius: 14px; background: #fff; font-size: .92rem; line-height: 1.65; }
.tunnel-protocol-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.tunnel-protocol { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px; border: 1px solid #e1d9eb; border-radius: 15px; background: #fff; box-shadow: 0 16px 42px -34px rgba(47,20,91,.45); }
.tunnel-protocol .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; background: #eee6ff; color: #6521c2; border-radius: 12px; font-size: 1.1rem; }
.tunnel-protocol h3 { font-size: 1.05rem; margin: 0 0 8px; }
.tunnel-protocol p { font-size: .88rem; line-height: 1.5; color: var(--ink-3); margin: 0; }
.tunnel-delivery-price { display: grid; gap: 5px; padding: 16px; margin: 0 0 20px; border: 1px solid #dfd0f6; border-radius: 12px; background: #f6f0ff; }
.tunnel-delivery-price > span { font-size: .84rem; color: var(--ink-3); }
.tunnel-delivery-price strong { font-size: 1.5rem; color: var(--brand-700); }
.tunnel-delivery-price small { font-size: .85rem; font-weight: 500; }
.tunnel-service-page .hosting-plan-grid > .card .desc { min-height: 0; }
.tunnel-service-page .hosting-plan-grid > .card > .feat-list::before { content: 'Delivery options'; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody tr { display: flex; flex-direction: column; gap: 0; padding: 26px; min-height: 0; border: 1px solid #e1d9eb; border-top: 3px solid #9a6cef; border-radius: 15px; background: linear-gradient(180deg,#fff,#fdfcff); box-shadow: 0 16px 42px -34px rgba(47,20,91,.55); }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td { display: block; width: 100%; padding: 0; border: 0; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .name-cell { margin-bottom: 20px; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .name-cell > strong { font-size: 1.65rem; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .name-cell > span { min-height: 3em; font-size: .9rem; line-height: 1.5; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(2),
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(3),
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(4) { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; background: none; border-radius: 0; border-bottom: 1px solid #eee7f5; font-size: .9rem; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(2)::before,
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(3)::before,
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table td:nth-child(4)::before { display: block; content: attr(data-label); color: var(--ink-3); font-size: .82rem; text-transform: none; font-weight: 500; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .spec { font-size: .9rem; font-weight: 650; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .price-cell { padding-top: 24px; margin-top: auto; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .price-cell strong { font-size: 2rem; }
.tunnel-service-page .location-card { overflow: hidden; border: 1px solid #e1d9eb; border-radius: 16px; box-shadow: 0 16px 42px -34px rgba(47,20,91,.5); }
.tunnel-service-page .location-mascot { align-self: stretch; height: 100%; min-height: 230px; object-fit: contain; padding: 22px; background: #f0e7ff; }
/* Section rhythm: the same reading order and spacing across both services. */
.tunnel-service-page main > .section { padding-block: 72px; }
.tunnel-service-page main > .tunnel-summary { padding-block: 32px; background: #f8f5fc; border-bottom: 1px solid #e9e1f3; }
.tunnel-service-page .tunnel-summary .hero-stats { margin: 0; max-width: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.tunnel-service-page .tunnel-summary .hero-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 12px; min-height: 96px; text-align: center; }
.tunnel-service-page .tunnel-summary .hero-stat .v { color: var(--brand-700); font-size: 1.4rem; line-height: 1.2; }
.tunnel-service-page .tunnel-summary .hero-stat .l { color: var(--ink-3); font-size: .84rem; }
.tunnel-service-page .tunnel-overview .bento { gap: 20px; }
.tunnel-service-page main > .section.tunnel-overview,
.tunnel-service-page main > .section.tunnel-protocol-section,
.tunnel-service-page main > .section.tunnel-setup { background: #fff; }
.tunnel-service-page main > .section.alt.tunnel-locations,
.tunnel-service-page main > .section.alt.tunnel-faq { background: #f7f3fb; border-block: 1px solid #eee7f5; }
.tunnel-service-page .tunnel-overview .bento-box { padding: 26px; }
.tunnel-service-page .tunnel-overview .bento-box h3 { margin: 16px 0 10px; }
.tunnel-service-page .tunnel-overview .bento-box p { margin: 0; }
.tunnel-service-page .hosting-plan-grid > .card { display: flex; flex-direction: column; padding: 26px; }
.tunnel-service-page .hosting-plan-grid > .card .price { margin-bottom: 18px; flex-wrap: wrap; }
.tunnel-service-page .hosting-plan-grid > .card .desc { margin-bottom: 20px; }
.tunnel-service-page .hosting-plan-grid > .card > .btn { margin-top: auto; }
.tunnel-service-page .tunnel-delivery-price { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; margin-bottom: 20px; }
.tunnel-service-page .tunnel-delivery-price > span { max-width: 150px; line-height: 1.4; }
.tunnel-service-page .tunnel-delivery-price strong { font-size: 1.2rem; white-space: nowrap; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody tr { padding: 22px; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .name-cell > span { min-height: 4.5em; }
.tunnel-service-page .tunnel-locations .location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.tunnel-service-page .tunnel-locations .location-card { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: stretch; padding: 0; gap: 0; background: #fff; }
.tunnel-service-page .tunnel-locations .location-card > div { padding: 26px; align-self: center; }
.tunnel-service-page .tunnel-locations .location-mascot { width: 150px; height: 100%; min-height: 210px; max-height: none; padding: 18px; object-fit: contain; }
.tunnel-service-page .tunnel-roadmap { margin: 22px auto 0; width: fit-content; max-width: 100%; padding: 12px 18px; border-radius: 10px; background: #fff; font-size: .85rem; }
.tunnel-service-page .tunnel-setup .steps { max-width: none; gap: 24px; }
.tunnel-service-page .tunnel-setup .step { padding: 26px; border: 1px solid #e1d9eb; border-radius: 15px; background: #fff; }
.tunnel-service-page .tunnel-faq .faq-list { max-width: 900px; margin-inline: auto; }
.tunnel-service-page .tunnel-final { background: #f8f5fc; }
.tunnel-service-page .tunnel-final > .container { padding: 44px 28px; border: 1px solid #ded0f2; border-radius: 20px; background: linear-gradient(120deg,#eee5ff,#f5f1fc); }
.tunnel-service-page .tunnel-final .section-head { margin-bottom: 0; }
.tunnel-service-page .tunnel-final .cta { justify-content: center; }
.tunnel-service-page .tunnel-final h2 { text-align: center; }
/* Explicit component alignment avoids inherited generic hero/card positioning. */
.tunnel-service-page .tunnel-hero { padding-block: 64px; min-height: 0; }
.tunnel-service-page .tunnel-hero > .container.hero-grid { width: min(1220px, calc(100% - 48px)); min-height: 400px; margin-inline: auto; padding-inline: 0; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 56px; }
.tunnel-service-page .tunnel-hero .hero-copy { width: 100%; max-width: 680px; text-align: left; }
.tunnel-service-page .tunnel-hero .breadcrumb { justify-content: flex-start; margin: 0 0 22px; }
.tunnel-service-page .tunnel-hero h1 { max-width: 18ch; margin: 0 0 22px; font-size: clamp(2.5rem, 4.5vw, 3.65rem); line-height: 1.08; }
.tunnel-service-page .tunnel-hero .lead { max-width: 600px; margin: 0 0 28px; font-size: 1.06rem; line-height: 1.7; }
.tunnel-service-page .tunnel-hero .cta { justify-content: flex-start; margin: 0; gap: 12px; }
.tunnel-service-page .tunnel-hero .hero-card.product-mascot-card { height: auto; animation: none; }
.tunnel-service-page .tunnel-hero .hero-card.product-mascot-card img { height: 380px; max-height: none; margin: 0; }
.tunnel-service-page main > .section > .container > .section-head { width: 100%; max-width: 800px; margin: 0 auto 36px; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.tunnel-service-page main .section-head .eyebrow { width: fit-content; margin: 0 auto 18px; align-self: center; font-size: .75rem; line-height: 1.4; }
.tunnel-service-page main .section-head h2 { width: 100%; max-width: 760px; margin: 0 auto 16px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.16; text-align: center; }
.tunnel-service-page main .section-head p { width: 100%; max-width: 720px; margin: 0 auto; font-size: 1rem; line-height: 1.7; text-align: center; }
.tunnel-service-page .tunnel-overview .bento { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.tunnel-service-page .tunnel-overview .bento-box { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 0; padding: 28px 24px; }
.tunnel-service-page .tunnel-overview .bento-box > .ic,
.tunnel-service-page .tunnel-protocol > .ic,
.tunnel-service-page .hosting-plan-grid > .card > .card-icon { position: static; display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; margin: 0 0 18px; border: 1px solid #e0d0f7; border-radius: 13px; background: linear-gradient(145deg,#f4edff,#e9dcfb); color: #6226b8; box-shadow: 0 5px 12px -8px rgba(64,25,115,.25); }
.tunnel-service-page .tunnel-overview .bento-box > .ic i,
.tunnel-service-page .tunnel-protocol > .ic i,
.tunnel-service-page .hosting-plan-grid > .card > .card-icon i { display: block; width: 1.25em; text-align: center; font-size: 1.15rem; line-height: 1; color: inherit; }
.tunnel-service-page .tunnel-overview .bento-box h3 { width: 100%; margin: 0 0 12px; font-size: 1.13rem; line-height: 1.35; }
.tunnel-service-page .tunnel-overview .bento-box p { font-size: .94rem; line-height: 1.65; }
.tunnel-service-page .tunnel-protocol { justify-content: flex-start; padding: 24px 18px; }
.tunnel-service-page .tunnel-protocol h3 { margin: 0 0 10px; line-height: 1.3; }
.tunnel-service-page .tunnel-protocol p { line-height: 1.6; }
.tunnel-service-page .hosting-plan-grid > .card { align-items: stretch; }
.tunnel-service-page .hosting-plan-grid > .card .price { align-items: baseline; gap: 8px; }
.tunnel-service-page .hosting-plan-grid > .card .price strong { line-height: 1.1; }
.tunnel-service-page .hosting-plan-grid > .card > .feat-list { padding-block: 16px; margin-bottom: 20px; }
.tunnel-service-page .hosting-plan-grid > .card > .feat-list li { display: flex; align-items: flex-start; gap: 10px; padding-block: 5px; font-size: .88rem; line-height: 1.5; }
.tunnel-service-page .hosting-plan-grid > .card > .feat-list li i { width: 16px; margin: 4px 0 0; text-align: center; flex: 0 0 16px; font-size: .75rem; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .spec { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; line-height: 1.4; }
.ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table .spec i { display: grid; place-items: center; width: 26px; height: 26px; margin: 0; font-size: .8rem; border-radius: 7px; color: #6226b8; background: #f0e8fb; }
.tunnel-service-page .tunnel-setup .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.tunnel-service-page .tunnel-setup .steps.steps-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tunnel-service-page .tunnel-setup .step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px; }
.tunnel-service-page .tunnel-setup .step::before { position: static; width: 42px; height: 42px; margin: 0 0 20px; flex: 0 0 auto; border-radius: 12px; font-size: .95rem; box-shadow: none; }
.tunnel-service-page .tunnel-setup .step h3 { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.35; }
.tunnel-service-page .tunnel-setup .step p { margin: 0; font-size: .9rem; line-height: 1.65; }
.tunnel-service-page .tunnel-locations .location-card > div h3 { margin: 0 0 12px; line-height: 1.25; font-size: 1.25rem; }
.tunnel-service-page .tunnel-locations .location-card > div p { margin: 0 0 18px; line-height: 1.6; font-size: .92rem; }
.tunnel-service-page .tunnel-locations .location-meta { margin: 0; }
.tunnel-service-page .tunnel-final > .container > .section-head { margin-bottom: 0; }
.tunnel-service-page .tunnel-final .section-head > .btn,
.tunnel-service-page .tunnel-final .section-head > .cta { margin-top: 24px; }
@media(max-width:1100px) {
  .ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tunnel-service-page .tunnel-locations .location-card { grid-template-columns: 110px minmax(0,1fr); }
  .tunnel-service-page .tunnel-locations .location-mascot { width: 110px; padding: 10px; }
}
@media(max-width:980px) {
  .tunnel-service-page .tunnel-setup .steps.steps-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tunnel-service-page .tunnel-hero .hero-grid { gap: 24px; grid-template-columns: minmax(0,1.3fr) minmax(220px,.7fr); }
  .tunnel-service-page .tunnel-hero .product-mascot-card img { height: 300px; }
  .tunnel-protocol-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .tunnel-service-page .tunnel-hero { padding-block: 42px; }
  .tunnel-service-page .tunnel-hero > .container.hero-grid { width: calc(100% - 40px); min-height: 0; grid-template-columns: 1fr; gap: 26px; }
  .tunnel-service-page .tunnel-hero .hero-copy { text-align: center; }
  .tunnel-service-page .tunnel-hero .breadcrumb,
  .tunnel-service-page .tunnel-hero .cta { justify-content: center; }
  .tunnel-service-page .tunnel-hero h1,
  .tunnel-service-page .tunnel-hero .lead { margin-inline: auto; }
  .tunnel-service-page .tunnel-hero .hero-card.product-mascot-card img { height: 240px; }
  .tunnel-service-page .tunnel-overview .bento,
  .tunnel-service-page .tunnel-setup .steps,
  .tunnel-service-page .tunnel-setup .steps.steps-4 { grid-template-columns: 1fr; }
  .tunnel-service-page main > .section > .container > .section-head { margin-bottom: 28px; }
  .tunnel-service-page main > .section { padding-block: 44px; }
  .tunnel-service-page .tunnel-summary .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .tunnel-service-page .tunnel-locations .location-grid { grid-template-columns: 1fr; }
  .tunnel-service-page .tunnel-final { padding-inline: 20px; }
  .tunnel-service-page .tunnel-final > .container { width: 100%; padding: 30px 20px; }
  .tunnel-service-page .tunnel-hero .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .tunnel-service-page .tunnel-hero .hero-visual { display: flex; }
  .tunnel-service-page .tunnel-hero .product-mascot-card img { height: 260px; }
  .tunnel-hero-protocols, .tunnel-service-page .tunnel-hero .cta { justify-content: center; }
  .tunnel-protocol-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ipv4-tunnels-page.tunnel-service-page .tunnel-pricing-table tbody { grid-template-columns: 1fr; }
  .tunnel-service-page #pricing { padding-block: 48px; }
}
