/* ADONIS TELECOM v2 — homepage middle sections (.t22-) — mobile-first */

.t22-inner { position: relative; z-index: 1; }
.t22-head { margin-bottom: 54px; }
.t22-head--center { text-align: center; }
.t22-head--center .t2-lead, .t22-head--center .t22-note { margin-left: auto; margin-right: auto; }
.t22-arrow { display: inline-block; transition: transform .3s cubic-bezier(.16,1,.3,1); }

/* section depth — alternating surfaces so consecutive sections stay separable:
   destinations (white) → how (bg-2) → plans (white) → live (bg-2) → regions (white) */
.t22-how { background: var(--bg-2); }
.t22-plans { background: radial-gradient(60% 55% at 50% 0%, rgba(229, 9, 20, .045), transparent 70%); }
/* orbs bleed past the section edges by design — clip them so they never
   widen the document (they were adding ~240px of horizontal scroll). */
.t22-destinations, .t22-how, .t22-plans, .t22-regions { overflow: hidden; }
.t22-orb-dest-a { width: 460px; height: 460px; top: -140px; right: -150px; }
.t22-orb-dest-b { width: 520px; height: 520px; bottom: -180px; left: -200px; }
.t22-orb-how   { width: 560px; height: 560px; top: 20%; right: -240px; }
.t22-orb-plans { width: 500px; height: 500px; bottom: -160px; left: -180px; }
.t22-orb-live  { width: 520px; height: 520px; top: -120px; left: -200px; }
.t22-orb-reg   { width: 480px; height: 480px; top: -140px; left: 30%; }

/* the backdrop light drifts, so section headers never sit on dead space */
.t22-destinations .t2-orb, .t22-how .t2-orb, .t22-plans .t2-orb,
.t22-live .t2-orb, .t22-regions .t2-orb {
  animation: t22-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.t22-orb-dest-b, .t22-orb-reg { animation-duration: 34s; animation-direction: alternate-reverse; }
.t22-orb-live { animation-duration: 30s; }
@keyframes t22-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(46px, -34px, 0) scale(1.14); }
}

/* slow sheen across the gold display type */
.t22-inner .t2-grad-text {
  background-size: 220% 100%;
  animation: t22-sheen 8s ease-in-out infinite;
}
@keyframes t22-sheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

/* ============ DESTINATIONS ============ */
.t22-dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.t22-dest {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  gap: 4px; padding: 26px 22px; color: var(--text);
}
.t22-dest::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-600), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1); pointer-events: none;
}
.t22-dest:hover::before, .t22-dest:focus-visible::before { transform: scaleX(1); }
.t22-dest::after {
  content: ""; position: absolute; top: -60px; right: -60px; width: 150px; height: 150px;
  border-radius: 50%; background: radial-gradient(circle, var(--red-100), transparent 70%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.t22-dest:hover::after { opacity: 1; }
/* landmark watermark — the eight featured cards get the country's monument
   rather than the map silhouette the catalogue pages use. Line art needs more
   opacity than a solid fill; applied as a mask so the red comes from CSS.
   Sources and licences: assets/landmarks/README.md. */
.t22-dest__mark {
  /* fully inside the card: the wide monuments (gate, torii) fill their
     viewBox edge to edge, so any overhang would clip them. */
  position: absolute; top: 50%; right: 3%; transform: translateY(-50%);
  width: 44%; aspect-ratio: 1; pointer-events: none;
  background-color: rgba(229, 9, 20, .22);
  -webkit-mask: var(--mark, none) center / contain no-repeat;
  mask: var(--mark, none) center / contain no-repeat;
  transition: background-color .3s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.t22-dest:hover .t22-dest__mark {
  background-color: rgba(229, 9, 20, .38);
  transform: translateY(-50%) scale(1.07);
}
html[dir="rtl"] .t22-dest__mark { right: auto; left: 3%; }

.t22-dest__flag {
  display: inline-block; font-size: 42px; line-height: 1; margin-bottom: 10px;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.t22-dest:hover .t22-dest__flag { transform: translateY(-4px) scale(1.09); }
.t22-dest__name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
/* 14px is small text: red-700 (5.46) rather than red-600 (4.79) for headroom */
.t22-dest__link { font-size: 14px; font-weight: 700; color: var(--red-700); margin-top: 8px; }
.t22-dest:hover .t22-arrow { transform: translateX(6px); }
.t22-more { margin-top: 40px; text-align: center; }

/* ============ HOW IT WORKS — the eSIM chip ============ */
.t22-chip-stage {
  position: relative; display: flex; justify-content: center;
  margin: 0 auto 58px; max-width: 460px;
}
.t22-chip-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 340px; height: 340px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(229, 9, 20, .07), transparent 66%);
  filter: blur(24px); animation: t22-breathe 7s ease-in-out infinite;
}
.t22-chip {
  position: relative; width: min(320px, 76vw); height: auto; overflow: visible;
  /* no drop-shadow: a coloured glow on white reads as smudge, not light */
  filter: none;
}

/* The SVG carries gold presentation attributes and gradient fills; CSS wins
   over those, so the whole graphic is recoloured here as flat red line-work. */
.t22-chip__board, .t22-chip__inner { stroke: var(--red-600); }
.t22-chip__vias, .t22-chip__pads { fill: var(--red-600); }
.t22-chip__body { fill: var(--red-50); stroke: var(--red-200); }
.t22-chip__runner { stroke: var(--red-600); }
.t22-chip__dot { fill: var(--red-600); }
.t22-chip__ring { stroke: var(--red-500); }   /* decorative pulse ring only */
.t22-chip__halo { fill: var(--red-100); }
/* SVG user units, not CSS px: the graphic scales to min(320px, 76vw) against a
   240-unit viewBox, so 10 here lands near 13px on desktop and 12 on a phone. */
.t22-chip__brand {
  fill: var(--red-600); font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: .5px;
}

/* energy arriving from the board */
.t22-chip__lead { stroke-dasharray: 13 11; animation: t22-chip-flow 1.7s linear infinite; }
.t22-chip__lead:nth-child(2) { animation-delay: -.4s; }
.t22-chip__lead:nth-child(3) { animation-delay: -.8s; }
.t22-chip__lead:nth-child(4) { animation-delay: -1.2s; }
.t22-chip__lead:nth-child(5) { animation-delay: -.6s; }
.t22-chip__lead:nth-child(6) { animation-delay: -1s; }
@keyframes t22-chip-flow { to { stroke-dashoffset: -24; } }
.t22-chip__vias circle { opacity: .8; }

/* light running the chip outline */
.t22-chip__runner { stroke-dasharray: 72 372; stroke-dashoffset: 0; animation: t22-chip-run 5.5s linear infinite; }
@keyframes t22-chip-run { to { stroke-dashoffset: -444; } }

/* contact pads breathing out of phase */
.t22-chip__pads rect { opacity: .78; animation: t22-chip-pad 3.4s ease-in-out infinite; }
.t22-chip__pads rect:nth-child(2) { animation-delay: .4s; }
.t22-chip__pads rect:nth-child(3) { animation-delay: .8s; }
.t22-chip__pads rect:nth-child(4) { animation-delay: 1.2s; }
.t22-chip__pads rect:nth-child(5) { animation-delay: 1.6s; }
.t22-chip__pads rect:nth-child(6) { animation-delay: 2s; }
@keyframes t22-chip-pad { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* pad-to-core spurs */
.t22-chip__spur { stroke-dasharray: 8 10; opacity: .85; animation: t22-chip-flow 1.1s linear infinite; }
.t22-chip__spur:nth-child(2) { animation-delay: -.3s; }
.t22-chip__spur:nth-child(3) { animation-delay: -.55s; }
.t22-chip__spur:nth-child(4) { animation-delay: -.8s; }

/* the die */
.t22-chip__dot, .t22-chip__halo, .t22-chip__ring { transform-box: fill-box; transform-origin: center; }
.t22-chip__dot { animation: t22-chip-core 3s ease-in-out infinite; }
@keyframes t22-chip-core { 0%, 100% { transform: scale(.85); opacity: .92; } 50% { transform: scale(1.14); opacity: 1; } }
.t22-chip__halo { opacity: .55; animation: t22-chip-core 3s ease-in-out infinite; }
.t22-chip__ring { animation: t22-chip-pulse 3s ease-out infinite; }
.t22-chip__ring--2 { animation-delay: 1.5s; }
@keyframes t22-chip-pulse {
  0%   { transform: scale(.62); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes t22-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .85; } 50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; } }

/* ============ HOW IT WORKS — the sequence ============ */
.t22-steps { list-style: none; display: grid; gap: 44px; position: relative; }
.t22-step { position: relative; text-align: center; }
.t22-step__num {
  display: block; font-weight: 800; line-height: 1; font-size: clamp(76px, 10vw, 104px);
  /* red-200 is too faint as a 2px outline on white; a 35% red tint keeps the
     numeral legible while staying clearly behind the step copy */
  color: transparent; -webkit-text-stroke: 2px rgba(229, 9, 20, .35);
  transition: -webkit-text-stroke-color .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.t22-steps.is-in .t22-step__num { animation: t22-num-in 1s cubic-bezier(.16,1,.3,1) backwards; }
.t22-steps.is-in .t22-step:nth-child(2) .t22-step__num { animation-delay: .18s; }
.t22-steps.is-in .t22-step:nth-child(3) .t22-step__num { animation-delay: .36s; }
.t22-steps.is-in .t22-step:nth-child(4) .t22-step__num { animation-delay: .54s; }
@keyframes t22-num-in {
  0%   { -webkit-text-stroke-color: rgba(229, 9, 20, .12); transform: translateY(8px); }
  55%  { -webkit-text-stroke-color: rgba(229, 9, 20, .85); }
  100% { -webkit-text-stroke-color: rgba(229, 9, 20, .35); transform: none; }
}
.t22-step:hover .t22-step__num { -webkit-text-stroke-color: rgba(229, 9, 20, .7); transform: translateY(-3px); }

.t22-step__dot {
  display: block; width: 14px; height: 14px; border-radius: 50%; margin: 18px auto 20px;
  background: var(--red-600); position: relative; z-index: 1;
  /* a soft ring instead of a glow — light bloom does not exist on white paper */
  box-shadow: 0 0 0 5px rgba(229, 9, 20, .12);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.t22-step__dot::before { /* halo that answers the connector reaching the step */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--red-400); opacity: 0;
}
.t22-steps.is-in .t22-step__dot::before { animation: t22-dot-ping 2.4s ease-out .3s 2; }
.t22-steps.is-in .t22-step:nth-child(2) .t22-step__dot::before { animation-delay: .48s; }
.t22-steps.is-in .t22-step:nth-child(3) .t22-step__dot::before { animation-delay: .96s; }
.t22-steps.is-in .t22-step:nth-child(4) .t22-step__dot::before { animation-delay: 1.44s; }
@keyframes t22-dot-ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.t22-step:hover .t22-step__dot { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(229, 9, 20, .16); }

/* step 04 resolves into a connected signal */
.t22-step__signal {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
  transform: translate(-50%, -42%); overflow: visible; pointer-events: none;
}
.t22-step__wave { opacity: 0; stroke: var(--red-600); }
.t22-steps.is-in .t22-step__wave { animation: t22-wave-in .5s ease-out 1.7s both, t22-wave-live 2.6s ease-in-out 2.4s infinite; }
.t22-steps.is-in .t22-step__wave--2 { animation-delay: 1.85s, 2.55s; }
.t22-steps.is-in .t22-step__wave--3 { animation-delay: 2s, 2.7s; }
@keyframes t22-wave-in { from { opacity: 0; transform: scale(.72); } to { opacity: .9; transform: none; } }
@keyframes t22-wave-live { 0%, 100% { opacity: .35; } 45% { opacity: 1; } }
.t22-step--final .t22-step__dot { background: var(--red-700); }

.t22-step__title { font-size: 20px; margin-bottom: 8px; }
.t22-step__text { font-size: 15px; color: var(--text-2); max-width: 260px; margin: 0 auto; }

/* ============ PLANS ============ */
.t22-note { font-size: 14px; color: var(--text-2); max-width: 520px; margin-top: 6px; }
.t22-plan-grid { display: grid; gap: 22px; align-items: stretch; }
.t22-plan { position: relative; display: flex; flex-direction: column; padding: 36px 30px; }
.t22-plan__where {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
  color: var(--text); margin-bottom: 14px;
}
.t22-region-ic { width: 24px; height: 24px; color: var(--red-600); flex: none; }
.t22-plan__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  /* 11px caps — red-700 (5.46) for the smallest type on the card */
  color: var(--red-700); border: 1px solid var(--red-200); border-radius: 999px; padding: 3px 10px;
}
.t22-plan__data {
  font-size: clamp(52px, 7vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.t22-plan:hover .t22-plan__data { transform: translateY(-3px); }
.t22-plan__validity { font-size: 15px; color: var(--text-2); margin: 8px 0 22px; }
.t22-plan__feats { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.t22-plan__feats li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-2); }
.t22-plan__feats li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' fill='none' stroke='%23E50914' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.t22-plan__price { font-size: 15px; color: var(--text-2); margin-bottom: 18px; }
.t22-plan__price strong { color: var(--text); font-size: 26px; margin-left: 4px; }
.t22-plan__cta { justify-content: center; margin-top: auto; }

/* featured card: animated conic red border */
@property --t22-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.t22-plan--featured { background: var(--surface-2); }
.t22-plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--t22-a), var(--red-600), transparent 30%, transparent 55%, var(--red-500) 80%, var(--red-600));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: t22-spin 5s linear infinite;
}
@keyframes t22-spin { to { --t22-a: 360deg; } }
.t22-pill {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  background: var(--red-600); color: #FFFFFF;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(229, 9, 20, .28);
  animation: t22-pill-glow 3.4s ease-in-out infinite;
}
@keyframes t22-pill-glow {
  0%, 100% { box-shadow: 0 6px 18px rgba(229, 9, 20, .25); }
  50%      { box-shadow: 0 6px 26px rgba(229, 9, 20, .45); }
}

/* ============ YOUR eSIM, LIVE ============ */
@property --t22-used { syntax: "<integer>"; inherits: false; initial-value: 0; }

.t22-live { overflow: hidden; background: var(--bg-2); }
.t22-live__inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.t22-live__points { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.t22-live__point { position: relative; padding-left: 30px; color: var(--text-2); font-size: 16px; }
.t22-live__point::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px rgba(229, 9, 20, .14);
}
.t22-live__disclaimer { margin-top: 26px; font-size: 13.5px; color: var(--text-3); max-width: 48ch; }

.t22-live__stage { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.t22-live__glow {
  position: absolute; left: 50%; top: 50%; width: 440px; height: 440px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(229, 9, 20, .09), rgba(229, 9, 20, .03) 46%, transparent 70%);
  filter: blur(34px); transform: translate(-50%, -50%);
  animation: t22-breathe 9s ease-in-out infinite;
}

/* --- device ---
   The chassis stays dark: a phone is a dark object, and it anchors the light
   section. Literals below are device hardware colours (brushed graphite), not
   palette values — nothing in the token set describes a phone body. */
.t22-phone {
  position: relative; z-index: 1; width: min(310px, 88vw); padding: 11px; border-radius: 48px;
  background: linear-gradient(152deg, #4A5468, #1C2331 26%, #0B1220 62%, #2B3242);
  box-shadow: 0 40px 90px rgba(11, 18, 32, .28), 0 0 0 1px rgba(11, 18, 32, .12),
              inset 0 1px 0 rgba(255, 255, 255, .22);
  animation: t22-phone-float 7s ease-in-out infinite;
  will-change: transform;
}
.t22-phone__island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 92px; height: 26px; border-radius: 999px; background: #05070C; /* screen cut-out */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.t22-phone__sheen {
  position: absolute; inset: 0; z-index: 4; border-radius: 48px; pointer-events: none;
  background: linear-gradient(138deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.03) 20%,
              transparent 40%, transparent 72%, rgba(255,255,255,.06) 100%);
}
.t22-phone__screen {
  position: relative; border-radius: 38px; overflow: hidden;
  padding: 62px 18px 22px; min-height: 604px;
  /* dark chassis, light app: every .t22-ui__ rule below inherits the page ink
     tokens and keeps its measured contrast without per-element overrides */
  background: linear-gradient(178deg, var(--bg-3), var(--bg) 58%);
  box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .08);
  display: flex; flex-direction: column; gap: 15px;
}
.t22-phone__screen::after { /* home indicator */
  content: ""; position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%);
  width: 112px; height: 5px; border-radius: 999px; background: rgba(11, 18, 32, .22);
}

/* --- status bar --- */
.t22-ui__status {
  position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; color: var(--text); font-size: 13px; font-weight: 700;
}
.t22-ui__sys { display: inline-flex; align-items: center; gap: 5px; color: var(--text); }
.t22-ui__ic { width: 17px; height: 12px; display: block; }
.t22-ui__ic--bat { width: 25px; }

/* --- app header --- */
.t22-ui__head { display: flex; align-items: center; justify-content: space-between; }
.t22-ui__app { color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.t22-ui__dots { display: inline-flex; gap: 3px; }
.t22-ui__dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(100, 116, 139, .55); }

/* --- eSIM card --- */
.t22-ui__card {
  position: relative; overflow: hidden; border-radius: 20px; padding: 15px 17px 17px;
  /* gradient starts at red-600, never lighter: white card type sits on it and
     red-500 (3.69) would fail under the 17px plan name */
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-700) 52%, var(--red-900) 100%);
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(229, 9, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.t22-ui__card::after {
  content: ""; position: absolute; top: -60%; left: -30%; width: 46%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: rotate(18deg) translateX(-180%);
  animation: t22-card-sheen 6.5s ease-in-out infinite; pointer-events: none;
}
@keyframes t22-card-sheen {
  0%, 66%  { transform: rotate(18deg) translateX(-180%); }
  100%     { transform: rotate(18deg) translateX(480%); }
}
.t22-ui__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.t22-ui__sim { width: 30px; height: 23px; color: #FFFFFF; display: block; }
.t22-ui__pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFFFFF; color: var(--red-700);
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.t22-ui__pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600);
  animation: t22-blip 2s ease-in-out infinite;
}
@keyframes t22-blip { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }
.t22-ui__plan { position: relative; z-index: 1; font-size: 17px; font-weight: 800; color: #FFFFFF; line-height: 1.25; }
.t22-ui__dest { position: relative; z-index: 1; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .9); margin-top: 3px; }

/* --- usage ring --- */
.t22-ui__usage { display: flex; align-items: center; gap: 16px; margin-top: 2px; }
.t22-ui__ring { position: relative; flex: none; width: 108px; height: 108px; }
.t22-ui__ring svg { width: 100%; height: 100%; display: block; }
/* track + progress arc carry gold stroke attributes in the markup; CSS wins */
.t22-ui__ring svg > circle { stroke: var(--line); }
.t22-ui__ring svg > circle.t22-ui__ring-fg { stroke: var(--red-600); }
.t22-ui__ring-fg { stroke-dasharray: 327; stroke-dashoffset: 327; }
[data-reveal].is-in .t22-ui__ring-fg { animation: t22-ring-fill 1.8s cubic-bezier(.16,1,.3,1) .35s forwards; }
@keyframes t22-ring-fill { to { stroke-dashoffset: 131; } }
.t22-ui__ring-val {
  position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%);
  text-align: center; color: var(--text); font-size: 27px; font-weight: 800; letter-spacing: -.03em;
  counter-reset: t22used var(--t22-used);
}
.t22-ui__ring-val::after { content: counter(t22used) "%"; }
[data-reveal].is-in .t22-ui__ring-val { animation: t22-count 1.8s cubic-bezier(.16,1,.3,1) .35s forwards; }
@keyframes t22-count { from { --t22-used: 0; } to { --t22-used: 60; } }
.t22-ui__ring-cap {
  position: absolute; left: 0; right: 0; top: 63%; text-align: center;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.t22-ui__stats { display: grid; gap: 7px; min-width: 0; }
.t22-ui__stat { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.t22-ui__stat-v { color: var(--text); font-weight: 800; font-size: 16px; }
.t22-ui__stat-l { color: var(--text-2); font-size: 13px; }
.t22-ui__valid { color: var(--text-3); font-size: 11.5px; margin-top: 3px; line-height: 1.4; }

/* --- quick actions --- */
.t22-ui__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t22-ui__action {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 8px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--red-700); font-size: 13px; font-weight: 700;
}
.t22-ui__action svg { width: 16px; height: 16px; flex: none; }
.t22-ui__action-t { color: var(--text); }

/* --- recent activity --- */
.t22-ui__recent { margin-top: 2px; }
.t22-ui__recent-head {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 9px;
}
.t22-ui__log { list-style: none; display: grid; gap: 9px; }
.t22-ui__log-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.t22-ui__log-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600); opacity: .9; }
.t22-ui__log-t { color: var(--text-2); }
.t22-ui__log-w { margin-left: auto; color: var(--text-3); font-size: 11.5px; white-space: nowrap; }

@keyframes t22-phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============ REGIONS ============ */
.t22-region-grid { display: grid; gap: 16px; }
.t22-region {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; padding: 22px 26px;
  border-radius: var(--radius); color: var(--text);
}
.t22-region::before { /* the tile answers like a node coming online */
  content: ""; position: absolute; left: 26px; top: 50%; width: 30px; height: 30px;
  margin-top: -15px; border-radius: 50%; border: 1px solid var(--red-400);
  opacity: 0; transform: scale(.5); pointer-events: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
/* scale(2) put the ring's right edge at x=71 with the label starting at x=72 —
   one pixel apart, which reads as a collision. 1.5 leaves ~8px of air. */
.t22-region:hover::before, .t22-region:focus-visible::before { opacity: 1; transform: scale(1.5); }
.t22-region::after { /* link line drawn toward the CTA */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--red-600), rgba(229, 9, 20, .15) 70%, transparent);
  transform: scaleX(0); transform-origin: left center; pointer-events: none;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.t22-region:hover::after, .t22-region:focus-visible::after { transform: scaleX(1); }
.t22-region__ic {
  width: 30px; height: 30px; color: var(--red-600); flex: none;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.t22-region:hover .t22-region__ic { transform: scale(1.12); }
.t22-region__name { font-weight: 800; font-size: 17px; }
.t22-region__go { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--red-700); white-space: nowrap; }
.t22-region:hover .t22-arrow { transform: translateX(6px); }

/* ============ BREAKPOINTS ============ */
@media (min-width: 640px) {
  .t22-region-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .t22-dest-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .t22-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .t22-step__num { font-size: 104px; }
  /* connector through the dot row: 104 num + 18 gap + 7 half-dot */
  .t22-steps::before { /* faint rail, always present */
    content: ""; position: absolute; top: 128px; left: 12.5%; right: 12.5%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, .18) 18%, rgba(229, 9, 20, .18) 82%, transparent);
  }
  .t22-steps::after { /* beam that fills as the eye travels the sequence */
    content: ""; position: absolute; top: 128px; left: 12.5%; right: 12.5%; height: 2px;
    background: linear-gradient(90deg, var(--red-600), var(--red-500) 50%, var(--red-600));
    box-shadow: 0 0 8px rgba(229, 9, 20, .18);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.9s cubic-bezier(.16,1,.3,1) .2s;
  }
  .t22-steps.is-in::after { transform: scaleX(1); }
}
/* Homepage carries FOUR sample plans; the shared 3-col rule below still
   governs the country-page plan lists. */
@media (min-width: 700px) {
  .t22-plans .t22-plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1140px) {
  .t22-plans .t22-plan-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
  .t22-plan-grid { grid-template-columns: repeat(3, 1fr); }
  .t22-plan--featured { transform: scale(1.045); z-index: 1; }
  .t22-plan--featured:hover { transform: scale(1.045) translateY(-5px); }
  .t22-live__inner { grid-template-columns: 1fr auto; gap: 72px; }
  .t22-live__stage { padding: 30px 0 50px; }
}
@media (min-width: 1024px) {
  .t22-region-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============ RTL ============ */
html[dir="rtl"] .t22-live__point { padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .t22-live__point::before { left: auto; right: 0; }
html[dir="rtl"] .t22-plan__feats li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .t22-plan__feats li::before { left: auto; right: 0; }
html[dir="rtl"] .t22-region::before { left: auto; right: 26px; }
html[dir="rtl"] .t22-region::after { transform-origin: right center; }
html[dir="rtl"] .t22-region__go { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .t22-ui__log-w { margin-left: 0; margin-right: auto; }
@media (min-width: 900px) {
  html[dir="rtl"] .t22-steps::after { transform-origin: right center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .t22-plan--featured::before,
  .t22-destinations .t2-orb, .t22-how .t2-orb, .t22-plans .t2-orb,
  .t22-live .t2-orb, .t22-regions .t2-orb,
  .t22-inner .t2-grad-text,
  .t22-chip-stage::before, .t22-chip__lead, .t22-chip__runner, .t22-chip__spur,
  .t22-chip__pads rect, .t22-chip__dot, .t22-chip__halo, .t22-chip__ring,
  .t22-steps.is-in .t22-step__num, .t22-steps.is-in .t22-step__dot::before,
  .t22-pill, .t22-live__glow, .t22-phone, .t22-ui__card::after, .t22-ui__pill::before {
    animation: none !important;
  }
  .t22-chip-stage::before, .t22-live__glow { transform: translate(-50%, -50%); }
  .t22-chip__lead, .t22-chip__spur { stroke-dasharray: none; }
  .t22-chip__runner { stroke-dasharray: none; opacity: .9; }
  .t22-chip__pads rect { opacity: .9; }
  .t22-chip__ring { opacity: .35; }
  .t22-step__wave, .t22-steps.is-in .t22-step__wave { animation: none !important; opacity: .85; }
  .t22-arrow, .t22-dest__flag, .t22-dest__mark, .t22-dest::before, .t22-plan__data,
  .t22-step__num, .t22-step__dot, .t22-region__ic, .t22-region::before, .t22-region::after {
    transition: none !important;
  }
  .t22-steps::after { transition: none !important; transform: scaleX(1); }
  .t22-ui__ring-fg, [data-reveal].is-in .t22-ui__ring-fg { animation: none !important; stroke-dashoffset: 131; }
  .t22-ui__ring-val, [data-reveal].is-in .t22-ui__ring-val { animation: none !important; --t22-used: 60; }
}
