/* XPING landing page */
  @property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
  :root {
    color-scheme: dark;
    --bg: #050807;
    --bg-2: #080d0b;
    --s1: rgba(255, 255, 255, .025);
    --s2: rgba(255, 255, 255, .045);
    --b1: rgba(255, 255, 255, .07);
    --b2: rgba(255, 255, 255, .12);
    --text: #f1f5f3;
    --muted: #8d9893;
    --faint: #5c6762;
    --green: #16e39c;
    --green-2: #8ff0d2;
    --ink: #03170a;
    --body: "IRANYekan", "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
    --mono: "IRANYekan", "Vazirmatn", Tahoma, sans-serif;
  }
  /* the offer countdown of plan-picker.css (loaded after this file) names Vazirmatn itself; on the landing it
     follows the page font. `body` raises the specificity so the later file does not win. */
  body .pr-clock { font-family: var(--body); }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.85 var(--body); direction: rtl; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  body::after { /* film grain */
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 10px; }
  ::selection { background: rgba(22,227,156, .3); }
  .wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; position: relative; }
  .ltr { direction: ltr; unicode-bidi: isolate; }
  h1, h2, h3 { margin: 0; text-wrap: balance; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); direction: ltr; }
  .eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
  .h2 {
    font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
    background: linear-gradient(180deg, #fff 30%, #a9b5af); -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .lede { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 52ch; }
  .sec-head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: 56px; }
  section { padding-block: 120px; position: relative; }

  /* buttons */
  .btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding-inline: 26px; border-radius: 999px; border: 0; cursor: pointer;
    font: 700 15px/1 var(--body); text-decoration: none; white-space: nowrap;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s;
  }
  .btn:active { transform: scale(.98); }
  .btn-primary {
    background: linear-gradient(180deg, #5ce7b8, #33c996); color: var(--ink);
    box-shadow: 0 0 0 1px rgba(143,240,210, .6) inset, 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 32px -10px rgba(22,227,156, .75);
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(143,240,210, .8) inset, 0 1px 0 rgba(255,255,255,.4) inset, 0 16px 40px -8px rgba(22,227,156, .9); }
  .btn-ghost { background: rgba(255,255,255,.04); color: var(--text); box-shadow: 0 0 0 1px var(--b2) inset; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .btn-ghost:hover { background: rgba(255,255,255,.08); }
  .btn svg { flex: none; }

  /* ---------- nav ---------- */
  .nav-shell { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 14px); z-index: 50; padding-inline: 16px; margin-top: 14px; }
  .nav {
    max-width: 1100px; margin-inline: auto; height: 60px; padding-inline: 10px 20px;
    display: flex; align-items: center; gap: 28px; border-radius: 999px;
    background: rgba(10, 16, 14, .6); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 0 0 1px var(--b1) inset, 0 20px 50px -20px rgba(0,0,0,.8);
  }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; flex: none; }
  .logo { gap: 1px !important; }
  .logo .mark { height: 17.4px; width: auto; display: block; }
  .logo .word { font: 800 24px/1 "Unbounded", "IRANYekan", sans-serif; letter-spacing: .01em; color: var(--text); }
  .foot .logo { width: max-content; }
  .links { display: flex; gap: 4px; margin-inline: auto; font-size: 14.5px; color: var(--muted); }
  .links a { text-decoration: none; padding: 7px 14px; border-radius: 999px; transition: color .15s, background .15s; }
  .links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .nav .btn { height: 42px; padding-inline: 20px; font-size: 14px; }

  /* ---------- hero ---------- */
  .hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -74px; padding-top: 170px; text-align: center; }
  #earth { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
    -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent); }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
      radial-gradient(60% 50% at 50% 0%, rgba(22,227,156, .10), transparent 70%),
      linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 50% 0 / 100% 72px,
      linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 50% 0 / 72px 100%;
    -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  }
  .hero h1 {
    font-size: clamp(2.3rem, 7vw, 6rem); font-weight: 900; line-height: 1.15; white-space: nowrap; letter-spacing: -.03em; margin-block: 28px 24px;
    background: linear-gradient(180deg, #ffffff 35%, #9eaaa4); -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero h1 em {
    font-style: normal;
    background: linear-gradient(95deg, #16e39c 10%, #b9f7e3 55%, #16e39c 90%); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 6s ease-in-out infinite;
  }
  @keyframes sheen { 50% { background-position: 100% 0; } }
  .hero .lede { margin-inline: auto; font-size: 1.15rem; color: #a6b1ac; }
  .hero .lede.one-line { max-width: none; }
  @media (min-width: 760px) { .hero .lede.one-line { white-space: nowrap; } }
  .hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
  .hero .platforms { margin-top: 22px; display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
  .hero .platforms span { display: inline-flex; align-items: center; gap: 6px; }
  .globe-space { height: clamp(340px, 44vw, 560px); }

  /* launcher marquee */
  .marquee { border-block: 1px solid var(--b1); padding-block: 26px; overflow: hidden; position: relative;
    -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
  .marquee .track > span { padding-inline: 36px; }
  .marquee .track { display: flex; width: max-content; direction: ltr; animation: slide 40s linear infinite; }
  .marquee span { font: 600 20px/1 var(--body); color: #57625d; letter-spacing: .01em; white-space: nowrap; transition: color .2s; }
  .marquee span:hover { color: var(--text); }
  @keyframes slide { to { transform: translateX(calc(-100% / 3)); } }
  .marquee-label { text-align: center; color: var(--faint); font-size: 13px; margin: 0 0 18px; }

  /* ---------- bento ---------- */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .card {
    --mx: 50%; --my: 0%;
    position: relative; overflow: hidden; border-radius: 24px; padding: 30px;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(22,227,156, .09), transparent 45%), var(--s1);
    box-shadow: 0 0 0 1px var(--b1) inset;
    display: flex; flex-direction: column; gap: 10px;
  }
  .card::before { /* hairline spotlight border */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: radial-gradient(300px circle at var(--mx) var(--my), rgba(22,227,156, .55), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity .3s;
  }
  .card:hover::before { opacity: 1; }
  .card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
  .card p { margin: 0; color: var(--muted); font-size: 15px; max-width: 44ch; }
  .card .tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--faint); direction: ltr; text-align: right; text-transform: uppercase; }
  .c-unlock { grid-column: span 4; grid-row: span 2; }
  .c-devices { grid-column: span 2; }
  .c-stable { grid-column: span 2; }
  .c-iran { grid-column: span 6; flex-direction: row; align-items: center; gap: 22px; padding-block: 24px; }
  .viz { margin-top: auto; padding-top: 22px; }

  /* launcher list viz */
  .ll { display: grid; gap: 8px; margin-top: auto; padding-top: 26px; }
  .ll-row {
    display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.025); box-shadow: 0 0 0 1px var(--b1) inset;
  }
  .ll-row .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); font: 600 12px/1 var(--mono); color: #c7d2cc; direction: ltr; }
  .ll-row .nm { font: 600 15px/1.2 var(--body); direction: ltr; text-align: right; }
  .ll-row .nm small { display: block; color: var(--faint); font-weight: 400; font-size: 12px; direction: rtl; }
  .st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap; }
  .st s { font: 500 12px/1 var(--mono); color: #6f5552; text-decoration-color: #b4574c; direction: ltr; }
  .st i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

  .devs { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
  .devs span { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding-inline: 12px; border-radius: 10px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--b1) inset; font-size: 13px; color: #c4cec9; direction: ltr; }
  .wave { width: 100%; height: 110px; display: block; }
  .legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
  .legend span { display: inline-flex; align-items: center; gap: 7px; }
  .legend i { width: 14px; height: 2px; border-radius: 2px; }
  .c-iran .ic2 { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(242, 194, 97, .1); color: #f2c261; box-shadow: 0 0 0 1px rgba(242,194,97,.2) inset; }
  .c-iran p { max-width: none; color: #b9c2be; }
  .c-iran b { color: var(--text); }

  /* ---------- steps ---------- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
  .steps::before { content: ""; position: absolute; top: 27px; inset-inline: 16.6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(22,227,156,.5), transparent); }
  .step { text-align: center; display: grid; justify-items: center; gap: 10px; }
  .step .n { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font: 600 18px/1 var(--mono); color: var(--green); background: var(--bg); box-shadow: 0 0 0 1px rgba(22,227,156,.35) inset, 0 0 30px -6px rgba(22,227,156,.5); position: relative; margin-bottom: 8px; }
  .step h3 { font-size: 19px; font-weight: 800; }
  .step p { margin: 0; color: var(--muted); font-size: 15px; max-width: 30ch; }

  /* ---------- pricing ---------- */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  .plan { position: relative; border-radius: 26px; padding: 34px 30px 30px; background: var(--s1); box-shadow: 0 0 0 1px var(--b1) inset; display: flex; flex-direction: column; gap: 22px; }
  .plan.pop { background: linear-gradient(180deg, rgba(22,227,156,.09), rgba(22,227,156,.015) 55%), var(--bg-2); box-shadow: none; }
  .plan.pop::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--ang), rgba(22,227,156,.15), #16e39c 12%, rgba(22,227,156,.15) 30%, rgba(22,227,156,.15) 60%, #8ff0d2 72%, rgba(22,227,156,.15) 88%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin 6s linear infinite;
  }
  .plan.pop::after { content: ""; position: absolute; inset: -40px 20% auto; height: 120px; background: radial-gradient(closest-side, rgba(22,227,156,.25), transparent); filter: blur(10px); pointer-events: none; z-index: -1; }
  @keyframes spin { to { --ang: 360deg; } }
  .plan-head { display: flex; justify-content: space-between; align-items: center; }
  .plan-head h3 { font-size: 18px; font-weight: 700; color: #d8e0dc; }
  .plan-head span { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--green); padding: 4px 12px; border-radius: 999px; }
  .amount { display: flex; align-items: baseline; gap: 8px; }
  .amount b { font-size: 46px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
  .amount span { color: var(--muted); font-size: 14px; }
  .vol { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; margin-top: -8px; }
  .vol b { color: var(--text); font-weight: 700; }
  .meter { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
  .meter i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #1d8c6a, #16e39c); border-radius: 4px; margin-inline-start: auto; }
  .plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--b1); display: grid; gap: 13px; font-size: 15px; flex: 1; }
  .plan li { display: flex; gap: 12px; align-items: center; color: #d2dad6; }
  .plan li svg { flex: none; color: var(--green); }
  .plan li.no { color: var(--faint); }
  .plan li.no svg { color: var(--faint); }
  .plan .btn { width: 100%; }

  /* ---------- faq ---------- */
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-wrap .sec-head { justify-items: start; text-align: start; margin: 0; position: sticky; top: 110px; }
  .faq details { border-bottom: 1px solid var(--b1); }
  .faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 17.5px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .pm { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--b2) inset; transition: transform .25s, background .25s; }
  .faq details[open] .pm { transform: rotate(45deg); background: rgba(22,227,156,.12); color: var(--green); }
  .faq details p { margin: -8px 0 24px; color: var(--muted); max-width: 60ch; }

  /* ---------- final cta ---------- */
  .final { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 96px 32px 0; text-align: center; background: var(--bg-2); box-shadow: 0 0 0 1px var(--b1) inset; }
  .final::before { content: ""; position: absolute; left: 50%; bottom: -520px; width: 900px; height: 700px; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(22,227,156,.35), rgba(22,227,156,.06) 60%, transparent); z-index: -1; }
  .final::after { content: ""; position: absolute; left: 50%; bottom: -600px; width: 1100px; height: 700px; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid rgba(143,240,210,.5); z-index: -1; }
  .final .mark-big { width: 84px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(22,227,156,.4)); }
  .final .lede { margin: 18px auto 0; }
  .final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; padding-bottom: 110px; }

  /* ---------- footer ---------- */
  footer { padding-block: 64px 36px; }
  .foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .foot h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #c9d3ce; }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
  .foot ul a { text-decoration: none; transition: color .15s; }
  .foot ul a:hover { color: var(--text); }
  .foot p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 32ch; }
  .enamad { width: 78px; height: 78px; border-radius: 14px; box-shadow: 0 0 0 1px var(--b1) inset; display: grid; place-items: center; text-align: center; font-size: 11px; line-height: 1.5; color: var(--faint); }
  .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--b1); font-size: 13px; color: var(--faint); }
  .status-ok { display: inline-flex; align-items: center; gap: 8px; }
  .status-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

  /* ---------- responsive ---------- */
  @media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .c-unlock, .c-iran { grid-column: span 2; grid-row: auto; }
    .c-devices, .c-stable { grid-column: span 1; }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .plan.pop { order: -1; }
    .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .faq-wrap .sec-head { position: static; }
    .foot { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .links { display: none; }
    .nav .btn { margin-inline-start: auto; }
    .hero { padding-top: 130px; }
    section { padding-block: 60px; }
    .sec-head { margin-bottom: 32px; gap: 12px; }
    .bento { grid-template-columns: 1fr; gap: 12px; }
    .c-unlock, .c-iran, .c-devices, .c-stable { grid-column: span 1; }
    .c-iran { align-items: flex-start; gap: 14px; }
    .c-iran .ic2 { width: 38px; height: 38px; border-radius: 11px; }
    .c-iran p { font-size: 14px; }
    .card { padding: 20px; border-radius: 20px; }
    .card p { font-size: 14.5px; }
    .ll { padding-top: 16px; }
    .viz { padding-top: 14px; }
    .wave { height: 80px; }
    .devs { padding-top: 14px; gap: 8px; }
    .devs span { height: 32px; padding-inline: 10px; font-size: 12.5px; }
    /* steps: number beside the text instead of stacked and centred */
    .steps { grid-template-columns: 1fr; gap: 18px; }
    .steps::before { display: none; }
    .step { grid-template-columns: 48px 1fr; justify-items: start; text-align: start; column-gap: 14px; row-gap: 2px; }
    .step .n { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; font-size: 15px; margin: 0; }
    .step h3 { font-size: 17px; align-self: end; }
    .step p { max-width: none; font-size: 14px; }
    .final { padding-top: 56px; border-radius: 24px; }
    .final .cta { padding-bottom: 64px; }
  }
  @media (max-width: 480px) { .foot { grid-template-columns: 1fr; } .ll-row { gap: 10px; padding: 10px 12px; } .ll-row .st s, .ll-row .nm small { display: none; } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

  /* smooth hand-off between landing, login and panel (View Transitions) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: xp-fade-out .15s ease both; }
  ::view-transition-new(root) { animation: xp-fade-in .25s ease both; }
  @keyframes xp-fade-out { to { opacity: 0; } }
  @keyframes xp-fade-in { from { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; } }
  /* pricing: the shared plan picker (plan-picker.css) */
  .pricing-picker { max-width: 1000px; margin-inline: auto; }
  .pricing-picker .pr-bar { top: 110px; }
  .pricing-empty { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 34px 20px; border-radius: 26px; background: var(--s1); box-shadow: 0 0 0 1px var(--b1) inset; max-width: 560px; margin-inline: auto; color: var(--muted); }
  .pricing-empty p { margin: 0; }
