/* triodevjo — one-page site in the poster style (docs/design-brief.md §3): deep indigo bands with soft violet blobs,
   a halftone dot pattern, outline rings and "+" marks, orange for key words and the main button, teal and pink as
   small accents. Light off-white bands carry the long STMS content. Logical properties keep Arabic (RTL) right. */

:root {
  --indigo: #2B1E8F;
  --violet: #4A2DB5;
  --violet-2: #5B3FC9;
  --violet-3: #3B2A9E;
  --orange: #F6A623;
  --orange-2: #F7B64A;
  --teal: #19D3C5;
  --pink: #F0459B;
  --ink: #1B1444;
  --ink-2: #4A4470;
  --paper: #F6F4FF;
  --paper-2: #EDE9FF;
  --white: #FFFFFF;
  --on-dark: #FFFFFF;
  --on-dark-muted: #D9D4F2;
  --line: #DCD6F5;
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 2px 6px rgba(27, 20, 68, .08), 0 18px 40px rgba(27, 20, 68, .14);
  --shadow-dark: 0 24px 60px rgba(10, 6, 40, .5);
  --radius: 18px;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Sora', 'Segoe UI', Tahoma, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
html[lang="ar"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--violet); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; position: relative; z-index: 1; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.noscript { text-align: center; padding: 16px; }

/* ---- Bands and the shared decorations ------------------------------------------------------------------------------ */
.band-dark { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(135deg, #251A7E 0%, var(--indigo) 35%, var(--violet) 100%); }
.band-light { position: relative; overflow: hidden; background: var(--paper); }
.band-tint { position: relative; overflow: hidden; background: var(--paper-2); }

.deco { position: absolute; pointer-events: none; user-select: none; }
/* Two blob shapes, reused everywhere with different sizes. */
.blob { background: var(--violet-2); opacity: .55; }
.blob-a { width: 62vw; max-width: 900px; aspect-ratio: 1 / .78; inset-inline-start: -18vw; top: -30%; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; }
.blob-b { width: 44vw; max-width: 620px; aspect-ratio: 1 / .9; inset-inline-end: -14vw; bottom: -40%; border-radius: 44% 56% 48% 52% / 58% 42% 58% 42%; background: var(--violet-3); opacity: .9; }
.blob-c { width: 50vw; max-width: 720px; aspect-ratio: 1 / .8; inset-inline-end: -16vw; top: -36%; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; }
.blob-d { width: 40vw; max-width: 560px; aspect-ratio: 1 / .85; inset-inline-start: -12vw; top: -40%; border-radius: 44% 56% 48% 52% / 58% 42% 58% 42%; }
/* The halftone dot pattern. */
.dots { width: 260px; height: 220px; background-image: radial-gradient(currentColor 2.2px, transparent 2.6px); background-size: 22px 22px; color: rgba(255, 255, 255, .55); -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%); }
.band-light .dots, .band-tint .dots { color: rgba(74, 45, 181, .28); }
.dots-hero { inset-inline-start: 44%; top: 30px; }
.dots-corner { inset-inline-end: -40px; top: 24px; }
.dots-stms { inset-inline-start: 50%; bottom: -40px; }
.dots-security { inset-inline-end: 6%; top: 30px; }
.dots-contact { inset-inline-start: 36%; bottom: -30px; }
/* Outline rings and "+" marks. */
.ring { width: 150px; height: 150px; border-radius: 50%; border: 24px solid var(--pink); }
.ring-pink { border-color: var(--pink); }
.ring-teal { border-color: var(--teal); }
.ring-small { width: 28px; height: 28px; border-width: 3px; border-color: rgba(255, 255, 255, .7); }
.ring-hero { inset-inline-end: -40px; top: -50px; }
.ring-hero-2 { inset-inline-start: 6%; top: 24%; }
.ring-services { width: 120px; height: 120px; border-width: 18px; inset-inline-end: -36px; bottom: -36px; opacity: .9; }
.ring-security { width: 90px; height: 90px; border-width: 14px; inset-inline-start: -30px; bottom: 40px; }
.ring-contact { width: 110px; height: 110px; border-width: 18px; inset-inline-end: 8%; top: -40px; }
.plus { width: 26px; height: 26px; color: rgba(255, 255, 255, .8); }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
.plus::before { inset: 0 11px; }
.plus::after { inset: 11px 0; }
.band-light .plus, .band-tint .plus { color: var(--pink); }
.plus-hero { inset-inline-start: 40%; top: 118px; }
.plus-stms { inset-inline-end: 12%; top: 48px; }
.plus-why { inset-inline-start: 4%; bottom: 40px; }
@media (max-width: 760px) {
  .dots { width: 180px; height: 150px; background-size: 18px 18px; }
  .ring-hero, .ring-services, .ring-contact { width: 80px; height: 80px; border-width: 12px; }
  .ring-hero { top: -24px; inset-inline-end: -24px; }
  .plus-hero, .ring-hero-2 { display: none; }
}

/* ---- Header ----------------------------------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; color: var(--on-dark); background: rgba(37, 26, 126, 0); transition: background .25s, box-shadow .25s; }
.header.scrolled { background: rgba(37, 26, 126, .92); backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 6px 24px rgba(10, 6, 40, .25); }
.header-row { display: flex; align-items: center; gap: 16px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { width: 46px; height: 25px; flex: none; color: var(--on-dark); }
.brand-word { font-family: 'Sora', 'Segoe UI', Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.04em; }
/* The logo on dark backgrounds: white brackets and word, teal "dev", dots teal, white, amber (#14B8A6, #FFFFFF, #F59E0B). */
.brand-word span { color: #14B8A6; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 13px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav .nav-cta { background: var(--orange); color: var(--ink); margin-inline-start: 6px; padding-inline: 18px; }
.nav .nav-cta:hover { background: var(--orange-2); }
.lang { font: inherit; font-size: 14px; font-weight: 700; color: inherit; background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer; }
.lang:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
html[lang="en"] .lang { font-family: var(--font-ar); }
html[lang="ar"] .lang { font-family: var(--font); }
.menu { display: none; width: 44px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 12px; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menu span { display: block; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 880px) {
  .menu { display: inline-flex; }
  .lang { margin-inline-start: auto; }
  .nav { position: absolute; top: 74px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--indigo); box-shadow: var(--shadow-dark); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .nav .nav-cta { justify-content: center; margin: 8px 0 0; }
}

/* ---- Buttons ---------------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px rgba(246, 166, 35, .35); }
.btn-primary:hover { background: var(--orange-2); }
.btn-outline { color: var(--on-dark); border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.band-light .btn-outline, .band-tint .btn-outline { color: var(--ink); border-color: var(--violet); }
.btn-big { min-height: 56px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---- Hero --------------------------------------------------------------------------------------------------------- */
.hero { padding: 122px 0 112px; margin-top: -74px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--teal); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); color: var(--on-dark); max-width: 14ch; }
.hero h1 .accent { font-style: normal; color: var(--orange); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 58ch; }
.band-dark .lead, .lead-light { color: var(--on-dark-muted); }

/* The tilted glossy card from the poster, holding the real screens. */
.hero-visual { position: relative; }
.poster-card { position: relative; padding: 26px 26px 34px; border-radius: 22px; background: linear-gradient(118deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, .10) 48%, rgba(255, 255, 255, .04) 100%); border: 1px solid rgba(255, 255, 255, .28); box-shadow: var(--shadow-dark); transform: rotate(-2.2deg); backdrop-filter: blur(6px); }
html[dir="rtl"] .poster-card { transform: rotate(2.2deg); }
.poster-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%); pointer-events: none; }
.poster-illustration { width: 46%; max-width: 250px; position: absolute; top: -70px; inset-inline-end: -26px; z-index: 2; filter: drop-shadow(0 14px 24px rgba(10, 6, 40, .4)); }
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(10, 6, 40, .35); transform: rotate(2.2deg); }
html[dir="rtl"] .browser { transform: rotate(-2.2deg); }
.hero .browser { width: 86%; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.browser-bar span:nth-child(1) { background: var(--pink); }
.browser-bar span:nth-child(2) { background: var(--orange); }
.browser-bar span:nth-child(3) { background: var(--teal); }
.phone { margin: 0; width: 200px; aspect-ratio: 9 / 19; border-radius: 30px; overflow: hidden; border: 8px solid var(--ink); background: #fff; box-shadow: 0 20px 50px rgba(10, 6, 40, .45); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-phone { position: absolute; inset-inline-start: -30px; bottom: -36px; width: 164px; transform: rotate(2.2deg); z-index: 3; }
html[dir="rtl"] .hero-phone { transform: rotate(-2.2deg); }
.chip { position: absolute; z-index: 3; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 8px; transform: rotate(2.2deg); }
html[dir="rtl"] .chip { transform: rotate(-2.2deg); }
.chip::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.chip-a { inset-inline-end: 18px; bottom: 54px; }
.chip-b { inset-inline-end: 54px; bottom: 10px; }
.chip-b::before { background: var(--orange); }

@media (max-width: 960px) {
  .hero { padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { margin: 56px 20px 0 36px; }
  html[dir="rtl"] .hero-visual { margin: 56px 36px 0 20px; }
  .hero h1 { max-width: none; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 84px; }
  .hero-visual { margin: 64px 0 0; }
  .poster-card { padding: 18px 16px 26px; }
  .poster-illustration { width: 44%; top: -58px; inset-inline-end: -8px; }
  .hero .browser { width: 92%; }
  .hero-phone { width: 112px; inset-inline-start: -6px; bottom: -40px; border-width: 6px; border-radius: 22px; }
  .chip-a { inset-inline-end: 8px; bottom: 44px; }
  .chip-b { inset-inline-end: 24px; bottom: 6px; }
  .lead { font-size: 17px; }
}

/* ---- Sections ----------------------------------------------------------------------------------------------------- */
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section h2 { font-size: clamp(30px, 3.8vw, 44px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
html[lang="ar"] .kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.kicker-light { color: var(--teal); }
.kicker-light::before { background: var(--teal); }
@media (max-width: 600px) { .section { padding: 72px 0; } .section-head { margin-bottom: 32px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.value::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px; background: var(--teal); }
.value:nth-child(2)::before { background: var(--orange); }
.value:nth-child(3)::before { background: var(--pink); }
.value h3 { font-size: 19px; margin-top: 12px; }
.value p { color: var(--ink-2); margin: 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.dot-teal { background: var(--teal); } .dot-blue { background: var(--orange); } .dot-amber { background: var(--pink); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---- Services ----------------------------------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.service { background: var(--white); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; }
.service h3 { font-size: 24px; margin-top: 14px; }
.service p { color: var(--ink-2); }
.service-stms { background: linear-gradient(145deg, var(--indigo), var(--violet) 80%); color: var(--on-dark); }
.service-stms::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); inset-inline-end: -90px; bottom: -110px; }
.service-stms p { color: var(--on-dark-muted); }
.service-stms .link { color: var(--orange); }
.service-stms .checks li { color: var(--on-dark); }
.service-stms .checks svg { color: var(--teal); }
.tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(25, 211, 197, .18); color: #0B6B63; }
.service-stms .tag { background: rgba(25, 211, 197, .2); color: var(--teal); }
.tag-amber { background: rgba(246, 166, 35, .2); color: #8A5300; }
.link { margin-top: auto; padding-top: 14px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; color: var(--violet); }
.link:hover span { text-decoration: underline; }
html[dir="rtl"] .link b { transform: scaleX(-1); display: inline-block; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--orange); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .service { padding: 28px 22px; } }

/* ---- STMS --------------------------------------------------------------------------------------------------------- */
.stms-hero { padding: 104px 0 88px; }
.stms-name { font-size: clamp(52px, 7.5vw, 92px); color: var(--on-dark); margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.stms-name small { font-size: clamp(16px, 2vw, 22px); font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0; }
.stms-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.sub-light { color: var(--on-dark); font-size: 22px; margin-top: 56px; margin-bottom: 20px; }
.challenges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.challenge { background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px 22px; backdrop-filter: blur(4px); }
.challenge .num { font: 800 15px 'Sora', sans-serif; color: var(--orange); }
.challenge h4 { color: var(--on-dark); font-size: 17px; margin-top: 10px; }
.challenge p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }
.note { margin: 28px 0 0; padding: 16px 20px; border-radius: 14px; background: rgba(25, 211, 197, .14); color: #CFFFFA; font-weight: 600; border-inline-start: 4px solid var(--teal); }
@media (max-width: 960px) { .challenges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .challenges { grid-template-columns: 1fr; } .stms-hero { padding: 72px 0 60px; } }

.stms-body { padding: 96px 0; }
.sub { font-size: clamp(26px, 3.2vw, 34px); margin: 88px 0 28px; }
.roles-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 8px; }
.roles-head .sub { margin: 0 0 12px; max-width: 16ch; }
.roles-illustration { width: 260px; filter: drop-shadow(0 10px 20px rgba(27, 20, 68, .18)); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); border-top: 6px solid var(--teal); }
.role-blue { border-top-color: var(--orange); } .role-amber { border-top-color: var(--pink); }
.role h4 { font-size: 20px; margin-bottom: 16px; }
.role .checks li { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; }
  .roles-head { grid-template-columns: 1fr; }
  .roles-head .sub { max-width: none; }
  .roles-illustration { width: 200px; justify-self: end; margin-top: -8px; }
}

.features { display: grid; gap: 96px; margin-top: 104px; }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); }
.feature p { color: var(--ink-2); font-size: 18px; }
.feature .browser { transform: none; }
.feature-media { position: relative; }
.feature-web .feature-media::before { content: ''; position: absolute; inset: -24px -24px auto auto; width: 52%; height: 70%; border-radius: 44% 56% 48% 52% / 58% 42% 58% 42%; background: var(--paper-2); z-index: -1; }
html[dir="rtl"] .feature-web .feature-media::before { inset: -24px auto auto -24px; }
.feature-phone { grid-template-columns: 1.25fr 1fr; }
.feature-phone .feature-media { display: flex; justify-content: center; }
.feature-phone .feature-media::before { content: ''; position: absolute; width: 330px; height: 330px; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: linear-gradient(145deg, var(--violet-2), var(--indigo)); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.feature-phone .phone { position: relative; width: 250px; }
@media (max-width: 860px) {
  .features { gap: 72px; margin-top: 72px; }
  .feature, .feature-phone { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .feature-phone .phone { width: 210px; }
  .feature-phone .feature-media::before { width: 270px; height: 270px; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.shot-media { aspect-ratio: 16 / 11; background: var(--paper-2); overflow: hidden; }
.shot-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot h4 { font-size: 17px; margin: 18px 20px 6px; }
.shot p { font-size: 15px; color: var(--ink-2); margin: 0 20px 20px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); font: 800 18px 'Sora', sans-serif; margin-bottom: 14px; }
.step:nth-child(2) .step-num { background: var(--teal); }
.step:nth-child(3) .step-num { background: var(--pink); color: #fff; }
.step:nth-child(4) .step-num { background: var(--indigo); color: #fff; }
.step h4 { font-size: 18px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.security-band { padding: 96px 0; }
.security .sub { margin: 0 0 28px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.secure { padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); border-inline-start: 4px solid var(--orange); }
.secure:nth-child(3n+2) { border-inline-start-color: var(--teal); }
.secure:nth-child(3n) { border-inline-start-color: var(--pink); }
.secure h4 { font-size: 17px; margin-bottom: 4px; color: var(--on-dark); }
.secure p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .security-grid { grid-template-columns: 1fr; } .security-band { padding: 72px 0; } }
.center { text-align: center; margin: 56px 0 0; }

/* ---- Why ---------------------------------------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: var(--white); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); }
.why-num { font: 800 40px/1 'Sora', sans-serif; color: var(--orange); }
.why-item h3 { font-size: 19px; margin-top: 14px; }
.why-item p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---- Contact: the poster's bottom band -------------------------------------------------------------------------------- */
.contact { padding: 104px 0 140px; }
.contact-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact-box h2 { color: var(--on-dark); }
.contact-panel { position: relative; z-index: 2; }
.contact-actions { display: grid; gap: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); }
.contact-direct { margin: 6px 0 0; color: var(--on-dark-muted); font-size: 15px; text-align: center; }
.orange-wedge { position: absolute; z-index: 0; inset-inline-end: -8%; bottom: -1px; width: 70%; height: 150px; background: var(--orange); clip-path: polygon(0 100%, 100% 100%, 100% 0, 10% 42%); }
html[dir="rtl"] .orange-wedge { clip-path: polygon(100% 100%, 0 100%, 0 0, 90% 42%); }
@media (max-width: 860px) {
  .contact { padding: 72px 0 120px; }
  .contact-box { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { padding: 20px 16px; }
  .orange-wedge { width: 100%; height: 110px; inset-inline-end: 0; clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 55%); }
  html[dir="rtl"] .orange-wedge { clip-path: polygon(100% 100%, 0 100%, 0 0, 100% 55%); }
}

/* ---- Footer ------------------------------------------------------------------------------------------------------- */
.footer { padding: 40px 0; background: var(--indigo); color: var(--on-dark); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.footer p { color: var(--on-dark-muted); margin: 8px 0 0; font-size: 15px; }
.footer a { color: var(--on-dark); }
.footer-meta { text-align: end; }
.footer-meta a { font-size: 15px; }
.footer .footer-legal { color: var(--on-dark-muted); }
@media (max-width: 600px) { .footer-meta { text-align: start; } }
