/* Guardikey — marketing site
   Direction: One motif (hexagon keyhole) · seed 116701795
   Type: Libre Franklin (display) / Source Serif 4 (text) · Palette: kept from brand */

/* ============================ tokens ============================ */
:root {
  --bg: #0b0a09;            /* warm near-black, from the app */
  --surface: #15120e;       /* one tone step up */
  --surface-2: #1f1a14;     /* two steps up, for tiles */
  --ink: #efece5;           /* low-chroma bone */
  --muted: #b2a996;         /* warm grey, secondary only (brightened for contrast) */
  --accent: #e8a838;        /* amber/gold — the action, the motif */
  --accent-ink: #0b0a09;
  --accent-2: #54c4ea;      /* cyan — the mark's real second colour, used sparingly */
  --line: #39322a;          /* hairline tone — raised so panels/cards read clearly */

  --font-display: 'Libre Franklin', system-ui, sans-serif;
  --font-text: 'Source Serif 4', Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.9rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.08rem + 0.8vw, 1.75rem);
  --step-head: clamp(1.9rem, 1.1rem + 2.8vw, 3.25rem);
  --step-display: clamp(3rem, 1rem + 8vw, 7.5rem);

  --margin: clamp(1rem, 4vw, 3.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 14vw, 15rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;

  --hex: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* ============================ reset ============================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 3L25 9L25 21L15 27L5 21L5 9Z' fill='none' stroke='%239a7cff' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 3L25 9L25 21L15 27L5 21L5 9Z' fill='none' stroke='%2354c4ea' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-attachment: fixed;
  overflow-x: clip;
}
.bg-net { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.6; }
body {
  margin: 0; background: transparent; color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============================ type ============================ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
.display { font-family: var(--font-display); font-weight: 700; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.head { font-family: var(--font-display); font-weight: 700; font-size: var(--step-head); line-height: 1.0; letter-spacing: -0.03em; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
em, i { font-style: italic; }

/* ============================ layout ============================ */
.wrap { padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ============================ controls ============================ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.6rem; background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius); font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0.75rem 100%, 0 calc(100% - 0.75rem));
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:hover { background: #f2b84a; }
.button:active { transform: translateY(1px) scale(0.99); }
.button--ghost { background: var(--surface-2); color: var(--ink); }
.button--ghost:hover { background: #2a231a; }
.link { position: relative; color: var(--ink); }
.link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--accent); transition: right var(--t-hover) var(--ease-out); }
.link:hover::after { right: 0; }

/* ============================ nav ============================ */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; transition: background-color 260ms ease, padding-block 260ms ease; }
.nav.is-scrolled { background: rgba(11, 10, 9, 0.78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); padding-block: 0.6rem; }
.nav::after { content: ''; position: absolute; left: var(--margin); right: var(--margin); bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(84,196,234,0.45), rgba(255,106,213,0.45), rgba(232,168,56,0.45), transparent); opacity: 0; transition: opacity 260ms ease; }
.nav.is-scrolled::after { opacity: 1; }
.nav__links { display: none; gap: 0.3rem; align-items: center; }
.nav__links a.link { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--ink); opacity: 0.78; padding: 0.5rem 0.85rem; border-radius: 9px; transition: opacity 170ms ease, background-color 170ms ease, color 170ms ease; }
.nav__links a.link::after { display: none; }
.nav__links a.link:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.nav__links a.link[aria-current="page"] { opacity: 1; color: var(--accent); background: rgba(232,168,56,0.12); }
.nav__links .button { margin-left: 0.5rem; min-height: 2.7rem; padding: 0 1.2rem; font-size: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand__mark { width: 1.75rem; height: 1.95rem; flex: none; transition: filter 220ms ease; }
.brand:hover .brand__mark { filter: drop-shadow(0 0 9px rgba(154,124,255,0.55)); }
.nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; border-radius: 10px; position: relative; z-index: 56; }
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__scrim { display: none; }
@media (min-width: 60em) { .nav__links { display: flex; } .nav__toggle { display: none; } }
@media (max-width: 60em) {
  .nav__links { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 330px); display: flex; flex-direction: column; align-items: stretch; gap: 0.3rem; padding: 5.5rem 1.4rem 2rem; background: rgba(15,18,14,0.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform: translateX(105%); transition: transform 320ms var(--ease-out); z-index: 55; box-shadow: -24px 0 70px -24px rgba(0,0,0,0.8); overflow-y: auto; }
  .nav--open .nav__links { transform: none; }
  .nav__links a.link { font-size: 1.1rem; padding: 0.85rem 0.9rem; opacity: 0.92; }
  .nav__links .button { margin: 0.8rem 0 0; width: 100%; }
  .nav__scrim { display: block; position: fixed; inset: 0; z-index: 54; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 320ms ease; }
  .nav--open .nav__scrim { opacity: 1; pointer-events: auto; }
}

/* language switcher */
.nav__lang { position: relative; display: inline-flex; }
.nav__lang-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--ink); opacity: 0.78; padding: 0.5rem 0.75rem; border-radius: 9px; cursor: pointer; transition: opacity 170ms ease, background-color 170ms ease; }
.nav__lang-btn:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.nav__lang-btn svg { flex: none; opacity: 0.85; }
.nav__lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; display: grid; gap: 1px; padding: 6px; background: rgba(15,18,14,0.97); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.85); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; z-index: 57; max-height: 72vh; overflow-y: auto; }
.nav__lang:hover .nav__lang-menu, .nav__lang:focus-within .nav__lang-menu, .nav__lang-btn[aria-expanded="true"] + .nav__lang-menu { opacity: 1; visibility: visible; transform: none; }
.nav__lang-menu a { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--ink); opacity: 0.82; padding: 0.5rem 0.7rem; border-radius: 8px; white-space: nowrap; transition: background-color 150ms ease, opacity 150ms ease; }
.nav__lang-menu a::after { display: none; }
.nav__lang-menu a:hover { opacity: 1; background: rgba(255,255,255,0.07); }
.nav__lang-menu a[aria-current="true"] { color: var(--accent); background: rgba(232,168,56,0.12); opacity: 1; }
@media (max-width: 60em) {
  .nav__lang { width: 100%; margin-top: 0.4rem; flex-direction: column; }
  .nav__lang-btn { width: 100%; justify-content: flex-start; font-size: 1.05rem; padding: 0.7rem 0.9rem; }
  .nav__lang-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; width: 100%; padding: 0.2rem 0 0 0.6rem; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; max-height: none; }
  .nav__lang-menu a { font-size: 1rem; opacity: 0.9; }
}

/* ============================ hero ============================ */
.hero { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: clip; }
.hero__inner { position: relative; z-index: 2; max-width: 46rem; padding-block: clamp(3rem, 8vw, 7rem); }
.hero .display { color: var(--ink); }
.hero__sub { margin-top: 1.6rem; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2.4rem; }
.hero__note { margin-top: 1.4rem; color: var(--muted); }
.hero__motif {
  position: absolute; z-index: 0; top: 50%; right: clamp(-28rem, -18vw, -8rem);
  width: min(130vh, 60rem); aspect-ratio: 1; transform: translateY(-50%);
  pointer-events: none;
}
.hero__motif svg { width: 100%; height: 100%; }
@media (min-width: 60em) { .hero__motif { right: clamp(-16rem, -6vw, -4rem); } }

/* ---- hero v2: bold, vivid, two-column with a stats strip ---- */
.hero--v2 { min-height: 94svh; display: flex; flex-direction: column; justify-content: center; overflow: clip; padding-block: clamp(2rem, 6vw, 5rem); }
.hero--v2 .hero__facets { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero--v2 .hero__facets::before, .hero--v2 .hero__facets::after { content: ''; position: absolute; inset: 0; }
.hero--v2 .hero__facets::before { background: linear-gradient(115deg, rgba(84,196,234,0.13), rgba(255,106,213,0.06) 42%, transparent 70%); clip-path: polygon(0 0, 52% 0, 32% 100%, 0 100%); }
.hero--v2 .hero__facets::after { background: linear-gradient(255deg, rgba(232,168,56,0.13), rgba(154,124,255,0.08) 46%, transparent 74%); clip-path: polygon(62% 0, 100% 0, 100% 100%, 42% 100%); }
.hero--v2 .hero__glow { position: absolute; z-index: 0; top: 44%; right: -6%; width: min(62rem, 76vw); aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(circle, rgba(232,168,56,0.20), rgba(255,106,213,0.09) 38%, transparent 64%); pointer-events: none; }
/* vivid mesh-gradient field (the colourful move) */
.hero__mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__mesh .blob { position: absolute; width: 48vw; max-width: 42rem; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: 0.55; mix-blend-mode: screen; will-change: transform; }
.blob--cyan { background: #54c4ea; top: -12%; left: -8%; }
.blob--violet { background: #9a7cff; top: 10%; right: -10%; }
.blob--magenta { background: #ff6ad5; bottom: -18%; left: 26%; }
.blob--gold { background: #e8a838; top: -10%; right: 30%; }
.hero__mesh::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,9,0.80), rgba(11,10,9,0.42) 42%, rgba(11,10,9,0.06) 72%, transparent); }
/* animated AI node-network behind the hero */
.hero__net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) {
  .blob--cyan { animation: blobA 18s ease-in-out infinite; }
  .blob--violet { animation: blobB 23s ease-in-out infinite; }
  .blob--magenta { animation: blobC 20s ease-in-out infinite; }
  .blob--gold { animation: blobA 26s ease-in-out infinite reverse; }
}
@keyframes blobA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(7%, 9%); } }
@keyframes blobB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-9%, 7%); } }
@keyframes blobC { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6%, -8%); } }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; width: 100%; }
@media (min-width: 62em) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero__title { color: var(--ink); font-size: clamp(3.4rem, 1rem + 9.5vw, 8.5rem); }
.hero--v2 .hero__sub { margin-top: 1.6rem; color: var(--ink); max-width: 40ch; }
.hero--v2 .hero__actions { margin-top: 2.2rem; }
.hero--v2 .hero__note { margin-top: 1.3rem; color: var(--muted); }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero--v2 .hero__motif { position: relative; inset: auto; top: auto; right: auto; left: auto; transform: none; width: min(44rem, 96%); aspect-ratio: 1; filter: drop-shadow(0 0 52px rgba(255,106,213,0.30)) drop-shadow(0 0 34px rgba(84,196,234,0.24)); }
@media (prefers-reduced-motion: no-preference) { .hero--v2 .hero__motif { animation: motif-bob 9s var(--ease-soft) infinite; } }
@keyframes motif-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(2.4rem, 6vw, 4rem); background: var(--line); }
@media (min-width: 52em) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stats > div { background: var(--bg); padding: 1.35rem 1.4rem; }
.hero__stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.hero__stats span { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; }

/* inner page-hero: two-column with a themed visual */
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 60em) { .page-hero__grid { grid-template-columns: 1.08fr 0.92fr; } }
.page-hero__art { position: relative; display: flex; justify-content: center; align-items: center; }
.page-hero__art .stage, .page-hero__art .app { width: 100%; }
.page-hero__motif { width: min(30rem, 90%); aspect-ratio: 1; filter: drop-shadow(0 0 44px rgba(255,106,213,0.28)) drop-shadow(0 0 30px rgba(84,196,234,0.22)); }
@media (max-width: 60em) { .page-hero__art { margin-top: 0.5rem; } .page-hero__motif { width: min(20rem, 68%); } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__motif { animation: motif-bob 9s var(--ease-soft) infinite; }
  .page-hero__motif .spin { transform-box: fill-box; transform-origin: center; animation: motif-spin 54s linear infinite; }
  .page-hero__motif .orbit { transform-box: fill-box; transform-origin: center; animation: motif-orbit 64s linear infinite; }
  .page-hero__motif .glow { transform-box: fill-box; transform-origin: center; animation: motif-glow 4.5s ease-in-out infinite; }
}
.button--holo { color: #0b0a09; background-color: transparent; background-image: linear-gradient(100deg, #54c4ea, #9a7cff 34%, #ff6ad5 64%, #e8a838); background-size: 220% 100%; transition: background-position 400ms var(--ease-out), transform var(--t-press) var(--ease-out); }
.button--holo:hover { background-color: transparent; background-position: 100% 0; }

/* ============================ features mosaic ============================ */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(5rem, 11vw, 7.5rem); gap: 0.6rem; }
.tile { position: relative; overflow: hidden; background: var(--surface); padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; }
.tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.tile__desc { margin-top: 0.25rem; color: var(--muted); font-size: 0.95rem; }
.tile__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tile__name, .tile__desc { position: relative; z-index: 1; }
.tile--head { background: var(--accent); color: var(--accent-ink); justify-content: flex-start; }
.tile--head h2 { color: var(--accent-ink); }
.tile--accent { background: var(--accent-2); color: #06202a; }
.tile--accent .tile__desc { color: #0a3242; }
.tile--dark { background: var(--surface-2); }
/* desktop spans */
.tile-6x4 { grid-column: span 6; grid-row: span 4; }
.tile-6x2 { grid-column: span 6; grid-row: span 2; }
.tile-3x4 { grid-column: span 3; grid-row: span 4; }
.tile-3x2 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 52em) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 0.5rem; }
  .tile { grid-column: span 1; min-height: 46vw; }
  .tile-3x4, .tile-3x2 { grid-column: span 1; }
  .tile-6x4, .tile-6x2, .tile--head { grid-column: span 2; min-height: 32vw; }
  .tile--ui { grid-column: span 2; min-height: 0; }
  .tile--ui .tile__art { position: static; inset: auto; height: auto; padding: 0; }
  .tile--ui .tile__art > .app { position: static; inset: auto; }
  .tile--ui .tile__name, .tile--ui .tile__desc { display: none; }
}

/* macro UI bits drawn for the tiles */
.chip { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-weight: 700; }
.keycap { display: inline-grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 0.5em; background: var(--bg); color: var(--ink); border-radius: 0.35em; font-family: var(--font-display); font-weight: 700; }
.readout { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; }
.dot-row { display: flex; gap: 0.3em; }
.dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: currentColor; }
.hexmini { width: 1em; height: 1.12em; background: currentColor; clip-path: var(--hex); }

/* macro messenger bits */
.msg { display: grid; gap: 0.45rem; padding-top: 0.2rem; }
.bubble { max-width: 82%; padding: 0.5rem 0.75rem; background: var(--surface-2); font-size: 0.92rem; line-height: 1.35; }
.bubble--me { margin-inline-start: auto; background: var(--accent); color: var(--accent-ink); }

/* a heading that leads a section at full width */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.0; }
.section-head p { margin-top: 1rem; color: var(--muted); max-width: 42ch; }

/* ============================ split / showcase ============================ */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 60em) { .split { grid-template-columns: 1fr 1fr; } .split--wide-right { grid-template-columns: 0.85fr 1.15fr; } }
.prose h2 { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.0; }
.prose p { margin-top: 1.2rem; color: var(--ink); }
.prose .muted { color: var(--muted); }

/* hexagon stage holding a real UI fragment */
.stage { position: relative; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--accent); opacity: 0.06; clip-path: var(--hex); }

/* ============================ data-ui fragments ============================ */
[data-ui] { background: var(--surface); color: var(--ink); font-family: var(--font-text); position: relative; z-index: 1; box-shadow: inset 0 0 0 1px var(--line); } /* taste-skill-ignore: data-ui panel edge */
[data-ui] * { font-family: inherit; }
.app { padding: 0.9rem; }
.app__bar { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); margin-bottom: 0.8rem; } /* taste-skill-ignore: data-ui chrome */
.app__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--line); }
.app__title { margin-inline-start: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.row { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.6rem; border-radius: 2px; }
.row + .row { border-top: 1px solid var(--line); } /* taste-skill-ignore: data-ui list rule */
.row:hover, .row.is-sel { background: var(--surface-2); }
.row__ic { width: 2.1rem; height: 2.1rem; flex: none; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--accent); } /* taste-skill-ignore: data-ui icon */
.row__main { min-width: 0; flex: 1; }
.row__main b { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; display: block; }
.row__main span { color: var(--muted); font-size: 0.85rem; }
.row__meta { color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.18em 0.6em; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); } /* taste-skill-ignore: data-ui pill */
.pill--ok { color: var(--accent-2); }
.pill--gold { color: var(--accent); }

/* ============================ the live thing: what the server sees ============================ */
.reveal { background: var(--surface); }
.reveal__switch { display: inline-flex; padding: 0.3rem; background: var(--bg); margin-bottom: 1.4rem; }
.reveal__switch button { padding: 0.55rem 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.reveal__switch button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
.reveal__panes { position: relative; }
.cipher, .secret { font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; } /* taste-skill-ignore: literal ciphertext / credential data */
.cipher { display: block; font-size: 0.82rem; line-height: 1.7; color: var(--muted); word-break: break-all; }
.secret { color: var(--accent); }
.cipher b { color: var(--accent-2); font-weight: 700; }
.server-empty { display: grid; place-items: center; text-align: center; min-height: 12rem; gap: 0.6rem; }
.server-empty .hexmini { width: 2.4rem; height: 2.7rem; color: var(--line); }

/* live encrypt demo: input + ciphertext line */
.reveal__field { display: block; margin-bottom: 1.1rem; }
.reveal__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.45rem; }
.reveal__input { width: 100%; background: var(--bg); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0.85rem 0.95rem; font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; font-size: 0.98rem; } /* taste-skill-ignore: credential entry field */
.reveal__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: inset 0 0 0 1px var(--accent); }
.reveal__cipherline { display: block; margin-top: 0.6rem; min-height: 1.2em; font-family: ui-monospace, 'Cascadia Code', Menlo, monospace; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--accent-2); word-break: break-all; transition: color var(--t-hover) ease; } /* taste-skill-ignore: literal ciphertext */
.reveal__cipherline.is-fresh { color: var(--accent); }

/* ============================ crypto proof ============================ */
.specs { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem) clamp(2rem, 5vw, 4rem); }
@media (min-width: 48em) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec { padding: 0; }
.spec h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--accent); letter-spacing: -0.02em; }
.spec p { margin-top: 0.6rem; color: var(--ink); font-size: 1.02rem; max-width: 42ch; }
.spec .mono { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--accent-2); letter-spacing: -0.01em; }

/* ---- layered protection: concentric rings diagram + colour-coded list ---- */
.layers { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60em) { .layers { grid-template-columns: 1fr 1fr; } }
.layers__diagram { position: relative; width: min(30rem, 100%); margin-inline: auto; filter: drop-shadow(0 0 44px rgba(154,124,255,0.22)); }
.layers__diagram svg { width: 100%; height: auto; }
.ring { transition: stroke-width 200ms ease, opacity 200ms ease; opacity: 0.9; }
.ring.is-dim { opacity: 0.22; }
.ring.is-active { stroke-width: 9; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ring--pq { transform-box: fill-box; transform-origin: center; animation: motif-spin 80s linear infinite; }
  .ring--xc { transform-box: fill-box; transform-origin: center; animation: motif-spin 64s linear infinite reverse; }
}
.layers__list { display: grid; gap: 0.8rem; }
.layers__list li { display: grid; gap: 0.2rem; padding: 1rem 1.2rem; background: var(--surface); border-left: 3px solid var(--c); transition: transform 180ms var(--ease-out), background 180ms ease; }
.layers__list li:hover, .layers__list li.is-active { transform: translateX(5px); background: var(--surface-2); }
.layers__list li:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.layers__list b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--c); }
.layers__list span { color: var(--muted); font-size: 0.95rem; }

/* ---- vivid pass: carry colour through mosaic, pricing and the CTA ---- */
/* holographic head tile + a colour accent line on every tile */
.tile--head { background: #e8a838; background-image: linear-gradient(120deg, #54c4ea, #9a7cff 34%, #ff6ad5 64%, #e8a838); }
.tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3; background: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838); opacity: 0.45; transition: opacity var(--t-hover) ease; }
.tile--head::before, .tile--accent::before { opacity: 0; }
@media (hover: hover) { .tile:hover::before { opacity: 1; } }
/* soft colour bloom behind the features mosaic */
#what { position: relative; }
#what::before { content: ''; position: absolute; z-index: 0; top: -8%; right: -6%; width: min(42rem, 62vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(154,124,255,0.11), rgba(84,196,234,0.05) 42%, transparent 64%); pointer-events: none; }
#what > .mosaic { position: relative; z-index: 1; }
/* pricing: colour accent on the featured plan */
.price--hot { position: relative; overflow: hidden; }
.price--hot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838); }
.price--hot .price__flag { color: #0b0a09; background-image: linear-gradient(100deg, #54c4ea, #9a7cff 40%, #ff6ad5 70%, #e8a838); }
/* holographic, gently shifting CTA band */
.cta { background: #e8a838; background-image: linear-gradient(120deg, #54c4ea, #9a7cff 35%, #ff6ad5 65%, #e8a838); background-size: 130% 130%; }
@media (prefers-reduced-motion: no-preference) { .cta { animation: ctaPan 16s ease-in-out infinite; } }
@keyframes ctaPan { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---- animated highlight lines (flowing accents + sweeping beams) ---- */
.tile::before { background-image: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838, #54c4ea); background-size: 220% 100%; }
.price--hot::before { background-image: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838, #54c4ea); background-size: 220% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .tile::before, .price--hot::before { animation: linepan 6s linear infinite; }
}
@keyframes linepan { to { background-position: 220% 0; } }
.beam { position: relative; height: 1px; width: 100%; overflow: hidden; background: linear-gradient(90deg, transparent, rgba(163,155,141,0.22), transparent); }
.beam::after { content: ''; position: absolute; top: -1px; left: 0; height: 3px; width: 20%; border-radius: 2px; background: linear-gradient(90deg, transparent, #54c4ea, #ff6ad5, transparent); box-shadow: 0 0 10px rgba(255,106,213,0.5), 0 0 18px rgba(84,196,234,0.3); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) { .beam::after { animation: beamSweep 5s linear infinite; } }
@keyframes beamSweep { from { transform: translateX(-120%); } to { transform: translateX(620%); } }
/* vertical beams */
.beam--v { width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(163,155,141,0.22), transparent); }
.beam--v::after { top: 0; left: -1px; width: 3px; height: 20%; transform: translateY(-120%); background: linear-gradient(180deg, transparent, #54c4ea, #ff6ad5, transparent); }
@media (prefers-reduced-motion: no-preference) { .beam--v::after { animation: beamSweepV 5.5s linear infinite; } }
@keyframes beamSweepV { from { transform: translateY(-120%); } to { transform: translateY(620%); } }
.hero__rail { position: absolute; top: 0; bottom: 0; z-index: 1; }
.hero__rail--l { left: var(--margin); }
.hero__rail--r { right: var(--margin); }
@media (max-width: 48em) { .hero__rail { display: none; } }

/* animated crypto-terms marquee band */
.marquee { position: relative; overflow: hidden; padding-block: clamp(0.9rem, 2.5vw, 1.4rem); border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 2rem; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: -0.01em; will-change: transform; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: marquee 32s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .sep { color: var(--line); font-weight: 400; }

/* ---- animated glowing border on key cards ---- */
@property --ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.aura-border { position: relative; box-shadow: 0 0 36px -10px rgba(154,124,255,0.38); }
.aura-border::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; padding: 2.2px;
  background: conic-gradient(from var(--ba), #54c4ea, #9a7cff, #ff6ad5, #e8a838, #54c4ea);
  -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;
}
@media (prefers-reduced-motion: no-preference) { .aura-border::after { animation: ba-spin 6s linear infinite; } }
@keyframes ba-spin { to { --ba: 360deg; } }

/* ---- security scan line sweeping over the app mockups ---- */
.stage [data-ui] { overflow: hidden; }
.stage [data-ui]::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(84,196,234,0.85), rgba(255,106,213,0.55), transparent);
  box-shadow: 0 0 14px rgba(84,196,234,0.45);
}
@media (prefers-reduced-motion: no-preference) { .stage [data-ui]::after { animation: scanline 4.5s ease-in-out infinite; } }
@keyframes scanline { 0% { top: 0; opacity: 0; } 10% { opacity: 0.9; } 88% { opacity: 0.9; } 100% { top: 100%; opacity: 0; } }

/* ---- inner pages: vivid headline glow + animated card accent lines ---- */
.page-head { position: relative; }
.page-head::before { content: ''; position: absolute; z-index: -1; top: -45%; left: -12%; width: min(42rem, 80%); aspect-ratio: 1; background: radial-gradient(circle, rgba(154,124,255,0.16), rgba(84,196,234,0.06) 40%, transparent 66%); pointer-events: none; }
/* inner-page vivid hero: mesh field behind the page head, like the homepage */
.page-hero { position: relative; overflow: clip; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .hero__mesh { z-index: 0; }
.page-hero .page-head::before { display: none; }
.feat, .plat, .value, .sec-item { position: relative; }
.feat::before, .plat::before, .value::before, .sec-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838, #54c4ea); background-size: 220% 100%; opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) { .feat::before, .plat::before, .value::before, .sec-item::before { animation: linepan 6s linear infinite; } }

/* ---- "every device" safeguard-AI illustration ---- */
.devices { max-width: 62rem; margin: clamp(2rem, 5vw, 3rem) auto 0; filter: drop-shadow(0 0 54px rgba(154,124,255,0.22)); }
.devices svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) { .syncdash { animation: syncflow 1s linear infinite; } }
@keyframes syncflow { to { stroke-dashoffset: -20; } }

/* ---- trust / assurances (honest, verifiable) ---- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); margin-top: clamp(2rem, 5vw, 3rem); }
.trust-card { position: relative; overflow: hidden; background: var(--bg); padding: 1.9rem 1.7rem; transition: background var(--t-hover) ease; }
.trust-card:hover { background: var(--surface); }
.trust-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #54c4ea, #9a7cff, #ff6ad5, #e8a838, #54c4ea); background-size: 220% 100%; opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) { .trust-card::before { animation: linepan 6s linear infinite; } }
.trust-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.trust-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; margin: 0; }
.trust-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
.trust-bar span { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 1.05rem; background: var(--surface); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.trust-bar span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---- rhythm: subtle full-bleed band for section alternation ---- */
.section--band { background-color: rgba(18, 16, 12, 0.5); }
/* ---- tile type consistency ---- */
.tile__desc { font-size: clamp(0.88rem, 1.3vw, 0.96rem); line-height: 1.42; }
.row__main span { font-size: 0.87rem; }
/* ---- accessibility: clear focus on custom controls + high-contrast fallback ---- */
.nav__links a.link:focus-visible, .nav__toggle:focus-visible, .reveal__switch button:focus-visible,
.billing-toggle button:focus-visible, .layers__list li:focus-visible, .faq summary:focus-visible,
.footer__lang button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (forced-colors: active) {
  .holo { -webkit-text-fill-color: revert; color: CanvasText; background: none; }
}

/* ============================ pricing ============================ */
.prices { display: grid; gap: 0.8rem; }
@media (min-width: 46em) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
@media (min-width: 46em) and (max-width: 56em) {
  .price { padding: 1.3rem; }
  .price__amt { font-size: 2.3rem; }
  .price__feats li { font-size: 0.9rem; }
  .price__flag { padding: 0.3em 0.55em; }
}
.price { display: flex; flex-direction: column; padding: 2rem; background: var(--surface); }
.price--hot { background: var(--surface-2); }
.price__flag { display: inline-block; align-self: flex-start; margin-bottom: 1rem; padding: 0.3em 0.75em; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; }
.price__flag--muted { background: var(--surface); color: var(--accent); }
.price__sub { margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.price__sub s { opacity: 0.75; }
.billing-toggle { display: inline-flex; padding: 0.3rem; background: var(--surface); margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.billing-toggle button { padding: 0.6rem 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.billing-toggle button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
.prices.show-annual .m-only { display: none; }
.prices.show-monthly .a-only { display: none; }
.price-mobile { margin-top: 1.6rem; padding: 1rem 1.3rem; background: var(--surface); color: var(--ink); font-size: 0.98rem; max-width: 60ch; }
.price-mobile b { font-family: var(--font-display); color: var(--accent); }
.price__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.price__tag { color: var(--muted); font-size: 0.95rem; margin-top: 0.7rem; max-width: 24ch; }
.price__fig { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.8rem; }
.price__amt { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; }
.price__per { color: var(--muted); font-size: 0.9rem; }
.price__feats { margin-top: 1.4rem; display: grid; gap: 0.7rem; flex: 1; }
.price__feats li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.price__feats .hexmini { width: 0.85em; height: 0.95em; color: var(--accent); margin-top: 0.4em; flex: none; }
.price--hot .price__feats .hexmini { color: var(--accent); }
.price .button { margin-top: 1.6rem; }
.price__once { display: inline-block; margin-top: 0.6rem; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; }

/* ============================ faq ============================ */
.faq-split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 60em) { .faq-split { grid-template-columns: 0.75fr 1.25fr; } }
.faq-intro h2 { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.0; }
.faq-intro p { margin-top: 1rem; }
.faq { display: grid; gap: 2px; }
.faq details { padding: 1.4rem clamp(1rem, 3vw, 1.8rem); background: var(--surface); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.45rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.6rem; transition: transform var(--t-hover) var(--ease-out); flex: none; }
.faq details p { margin-top: 0.9rem; color: var(--muted); max-width: 70ch; }

/* ============================ cta band ============================ */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding-block: clamp(5rem, 11vw, 9rem); }
.cta .display { color: var(--accent-ink); }
.cta__motif { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(70vw, 40rem); aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--accent-ink); opacity: 0.06; clip-path: var(--hex); }
.cta__inner { position: relative; z-index: 1; }
.cta .button { background: var(--accent-ink); color: var(--accent); }
.cta .button:hover { background: #000; }

/* ============================ footer ============================ */
.footer { padding-block: clamp(3rem, 7vw, 6rem) 2.5rem; }
.footer__word { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(3rem, 16vw, 13rem); line-height: 0.82; color: var(--surface-2); }
.footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 2.5rem; color: var(--muted); font-size: 0.92rem; }
.footer__meta nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__lang { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.footer__lang button { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--muted); }
.footer__lang button[aria-current='true'] { color: var(--accent); }

/* ============================ motion ============================ */
.js [data-rise] { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================ RTL ============================ */
/* Persian / Arabic get proper script fonts (Latin stays in the brand face via the stack),
   smaller display sizes and looser line-height — the Latin display scale overlaps RTL text. */
:root[lang='fa'] { --font-display: 'Libre Franklin', 'Vazirmatn', system-ui, sans-serif; --font-text: 'Vazirmatn', system-ui, sans-serif; }
:root[lang='ar'] { --font-display: 'Libre Franklin', 'IBM Plex Sans Arabic', system-ui, sans-serif; --font-text: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
:root[dir='rtl'] {
  --step-lead: clamp(1.1rem, 1rem + 0.55vw, 1.45rem);
  --step-head: clamp(1.65rem, 1.05rem + 2.1vw, 2.7rem);
  --step-display: clamp(2.3rem, 0.9rem + 5.6vw, 4.8rem);
}
[dir='rtl'] .display { line-height: 1.34; letter-spacing: normal; }
[dir='rtl'] .head { line-height: 1.36; letter-spacing: normal; }
[dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3, [dir='rtl'] h4 { letter-spacing: normal; line-height: 1.34; }
[dir='rtl'] .hero__title { font-size: clamp(2.5rem, 0.8rem + 6vw, 5.2rem); line-height: 1.28; letter-spacing: normal; }
[dir='rtl'] .lead { line-height: 1.85; }
[dir='rtl'] .nav__links a.link, [dir='rtl'] .nav__lang-btn, [dir='rtl'] .brand, [dir='rtl'] .tile__name, [dir='rtl'] .price__name, [dir='rtl'] .trust-card h3, [dir='rtl'] .hero__stats b { letter-spacing: normal; }
[dir='rtl'] .button { clip-path: polygon(100% 0, 0 0, 0 100%, calc(100% - 0.75rem) 100%, 100% calc(100% - 0.75rem)); }
/* decorative absolute motif (page heroes) mirrors to the left edge … */
[dir='rtl'] .hero__motif { right: auto; left: clamp(-28rem, -18vw, -8rem); }
/* … but the hero-v2 shield is position:relative and centred in its column — keep it on-screen */
[dir='rtl'] .hero--v2 .hero__motif { left: auto; right: auto; }
/* mirror the hero's directional decoration so the text side stays readable in RTL */
[dir='rtl'] .hero__mesh::after { background: linear-gradient(270deg, rgba(11,10,9,0.80), rgba(11,10,9,0.42) 42%, rgba(11,10,9,0.06) 72%, transparent); }
[dir='rtl'] .hero--v2 .hero__facets { transform: scaleX(-1); }
/* English/technical stat labels in an RTL page: order each by its own content so "4-in-1" doesn't scramble */
[dir='rtl'] .hero__stats b, [dir='rtl'] .hero__stats span { unicode-bidi: plaintext; }
[dir='rtl'] .link::after { right: auto; left: 0; }
[dir='rtl'] .nav__links .button { margin-left: 0; margin-right: 0.5rem; }
[dir='rtl'] .nav__lang-menu { right: auto; left: 0; }
@media (max-width: 60em) {
  [dir='rtl'] .nav__links { right: auto; left: 0; transform: translateX(-105%); box-shadow: 24px 0 70px -24px rgba(0,0,0,0.8); }
  [dir='rtl'] .nav--open .nav__links { transform: none; }
  [dir='rtl'] .nav__links .button { margin-right: 0; }
  [dir='rtl'] .nav__lang-menu { padding: 0.2rem 0.6rem 0 0; }
}

/* ============================ effects layer ============================ */

/* scroll-progress bar (all pages) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); pointer-events: none; will-change: transform; }
[dir='rtl'] .scroll-progress { transform-origin: 100% 50%; }

/* holographic animated headline accent */
.holo { background: linear-gradient(100deg, var(--accent-2) 0%, #9a7cff 26%, #ff6ad5 50%, var(--accent) 76%, var(--accent-2) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .holo { animation: holo-pan 9s linear infinite; } }
@keyframes holo-pan { to { background-position: 300% 0; } }

/* button sheen on hover */
.button { position: relative; overflow: hidden; }
.button::after { content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-18deg); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .button:hover::after { animation: sheen 650ms var(--ease-out); } }
@keyframes sheen { to { left: 150%; } }

/* card hover-lift (cards across every page) */
.tile, .price, .feat, .plat, .value, .sec-item { transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .price:hover, .feat:hover, .plat:hover, .value:hover, .sec-item:hover { transform: translateY(-5px); box-shadow: 0 14px 34px -16px rgba(0,0,0,0.7); }
  .tile:not(.tile--head):hover { transform: translateY(-3px); }
}

/* richer reveal: blur + slight scale added to the rise entrance */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { transform: translateY(22px) scale(0.99); filter: blur(5px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), filter var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].is-in { transform: none; filter: none; }
}

/* animated hero motif: float, slow spin, keyhole glow */
.hero__motif svg { transition: transform 320ms var(--ease-out); will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero__motif { animation: motif-float 9s var(--ease-soft) infinite; }
  .hero__motif .spin { transform-box: fill-box; transform-origin: center; animation: motif-spin 54s linear infinite; }
  .hero__motif .orbit { transform-box: fill-box; transform-origin: center; animation: motif-orbit 64s linear infinite; }
  .hero__motif .glow { transform-box: fill-box; transform-origin: center; animation: motif-glow 4.5s ease-in-out infinite; }
}
@keyframes motif-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }
@keyframes motif-spin { to { transform: rotate(360deg); } }
@keyframes motif-orbit { to { transform: rotate(-360deg); } }
@keyframes motif-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* pointer-tilt on a UI stage */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-tilt] { transition: transform 220ms var(--ease-out); transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transform-style: preserve-3d; }
}

/* skip to content (a11y) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--accent);color:#0b0a09;padding:.7rem 1.2rem;font-weight:700;text-decoration:none;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
[dir='rtl'] .skip-link{left:auto;right:-9999px;border-radius:0 0 0 8px}
[dir='rtl'] .skip-link:focus{right:0;left:auto}
