/* Ahmed Garfan, design system.
   Direction: dark and white. Dark bands carry identity (hero, products, contact);
   white and soft-grey bands carry reading. One accent: brass gold, two tones
   (light on dark, deep on white). RTL first, logical properties throughout. */
:root {
  --ink: #0E1013;
  --ink-2: #171A1F;
  --ink-3: #22262D;
  --line-dark: #2C3139;
  --on-dark: #F2F3F5;
  --muted-dark: #A4ABB5;
  --paper: #FFFFFF;
  --paper-2: #F3F4F6;
  --line: #E1E4E8;
  --text: #14171B;
  --muted: #59606A;
  --accent: #CFA75E;      /* on dark */
  --accent-ink: #7A5B1F;  /* on light, 6.1:1 on white */
  --accent-soft: #F6EFE1;
  --focus: #CFA75E;

  --font-display: "Readex Pro", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);

  --radius: 10px;
  --container: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --section-y: clamp(64px, 5vw + 40px, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.35; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- bands ---------- */
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-light { background: var(--paper); }
.band-soft { background: var(--paper-2); }
.section { padding-block: var(--section-y); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-block-end: 40px; max-width: 760px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 10px; max-width: 720px; min-width: 0; }
.eyebrow { font-size: var(--step--1); font-weight: 600; color: var(--accent); letter-spacing: 0.01em; }
.eyebrow-ink { color: var(--accent-ink); }
.lead { font-size: var(--step-1); color: var(--muted-dark); max-width: 680px; line-height: 1.8; }
.lead-ink { font-size: var(--step-1); color: var(--muted); line-height: 1.8; }
.muted { color: var(--muted); }
.muted-dark { color: var(--muted-dark); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 8px;
  font: 600 var(--step-0)/1.3 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: var(--step--1); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #DDB873; }
.btn-ghost { border-color: #4A505A; color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.band-dark .link-arrow { color: var(--accent); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link-arrow:hover .ic-arrow { transform: translateX(-3px); }
.ic-arrow { transition: transform .15s; }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 8px; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 700 15px/1 var(--font-display); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand-name { font: 700 var(--step-1)/1.3 var(--font-display); }
.brand-title { font-size: 0.8rem; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav ul a { text-decoration: none; color: var(--muted-dark); font-size: 0.95rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--on-dark); }
.site-nav ul a[aria-current="page"] { color: var(--on-dark); border-bottom-color: var(--accent); }
.menu-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); border-radius: 8px; min-height: 44px; padding: 8px 14px; font: 500 var(--step--1) var(--font-body); cursor: pointer; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px max(20px, env(safe-area-inset-left, 0px)) 24px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: var(--step-0); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--accent); }
  .site-nav .btn { align-self: flex-start; }
}
@media (max-width: 420px) { .brand-title { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 7vw + 24px, 136px); border-bottom: 1px solid var(--line-dark); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero-bg::after { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-end: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(207,167,94,.16), transparent 65%); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1.2; letter-spacing: -0.01em; }
.hero-copy .actions { margin-top: 6px; }
.hero-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 0.95rem; }
.hero-name { color: var(--accent); font-weight: 600; }
.hero-dot { width: 4px; height: 4px; border-radius: 50%; background: #5A616B; }
.cred-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; }
.cred-list li { font: 600 0.8rem/1 var(--font-display); letter-spacing: .04em; color: var(--on-dark); border: 1px solid var(--line-dark); background: var(--ink-2); padding: 7px 12px; border-radius: 6px; }
.hero-panel { flex: 1 1 360px; min-width: 0; max-width: 480px; border: 1px solid var(--line-dark); border-radius: 14px; background: linear-gradient(180deg, var(--ink-2), #121519); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line-dark); }
.panel-label { font-size: 0.82rem; color: var(--muted-dark); font-weight: 500; }
.panel-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(207,167,94,.18); }
.panel-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-stat { padding: 22px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-dark); }
.panel-stat:nth-child(odd) { border-inline-end: 1px solid var(--line-dark); }
.panel-value { font: 700 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/1 var(--font-display); color: var(--on-dark); text-align: start; font-variant-numeric: tabular-nums; }
.panel-stat:first-child .panel-value { color: var(--accent); }
.panel-text { color: var(--muted-dark); font-size: 0.85rem; line-height: 1.6; }
.panel-areas { list-style: none; margin: 0; padding: 0; }
.panel-areas li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-bottom: 1px solid var(--line-dark); }
.panel-areas li:last-child { border-bottom: 0; }
.area-idx { font: 700 0.85rem/1 var(--font-display); color: var(--accent); padding-top: 7px; min-width: 22px; font-variant-numeric: tabular-nums; }
.panel-areas li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.area-title { font: 600 var(--step-1)/1.4 var(--font-display); }
.area-text { color: var(--muted-dark); font-size: 0.9rem; line-height: 1.6; }
.panel-foot { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.area-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area-chips li { font-size: 0.82rem; border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 12px; color: var(--on-dark); }
@media (max-width: 400px) { .panel-stats { grid-template-columns: 1fr; } .panel-stat:nth-child(odd) { border-inline-end: 0; } }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.market { border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.market-primary { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.market-primary .muted { color: var(--muted-dark); }
.market-primary .market-eyebrow { color: var(--accent); }
.market-primary .ticks li::before { background: var(--accent); }
.market-icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-block-end: 6px; }
.market-primary .market-icon { background: rgba(207,167,94,.14); color: var(--accent); }
.market-icon .ic { width: 26px; height: 26px; }
.market h3 { font-size: var(--step-2); }
.market-eyebrow { font-size: var(--step--1); font-weight: 600; color: var(--accent-ink); }
.market-needs-title { font-weight: 600; margin-top: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 22px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.8em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.band-light .ticks li::before, .band-soft .ticks li::before { background: var(--accent-ink); }
.ticks-compact { gap: 4px; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px 32px; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.service-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.service-card::before { content: ""; position: absolute; inset-inline: 28px; top: -1px; height: 2px; background: var(--accent-ink); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.service-card:hover { border-color: #C9CDD3; transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(14,16,19,.35); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.service-icon .ic { width: 24px; height: 24px; }
.service-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); }
.service-code { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--ink); color: var(--accent); font: 700 1rem/1 var(--font-display); margin-inline-end: 8px; }
.service-code-lg { width: 48px; height: 48px; font-size: 1.3rem; }
.service-type { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-top: 8px; }
.service-title { font: 600 var(--step-1)/1.4 var(--font-display); }
.service-summary { color: var(--muted); font-size: 0.97rem; }
.subnav { border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 20; }
.subnav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem; font-weight: 500; }
.subnav a:hover { border-color: var(--text); }
.subnav .service-code { width: 28px; height: 28px; font-size: 0.85rem; }
.service-detail { display: flex; flex-wrap: wrap; gap: 32px 64px; scroll-margin-top: 150px; }
section[id] { scroll-margin-top: 150px; }
.service-detail-head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.service-detail-body { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { border-inline-start: 3px solid var(--accent-ink); padding-inline-start: 14px; }
.facts dt { font-weight: 600; font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 0; }
.list-title { font-size: var(--step-1); margin-block-end: 4px; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.product-card { position: relative; }
.product-title a { text-decoration: none; }
.product-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.product-card:hover { border-color: var(--text); }
.product-grid-dark .product-card:hover { border-color: var(--accent); }
.product-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.product-title a:focus-visible { outline: none; }
.product-phase { display: flex; flex-direction: column; gap: 20px; margin-block-end: 48px; }
.phase-title { font-size: var(--step-2); display: flex; align-items: center; gap: 10px; padding-block-end: 12px; border-bottom: 2px solid var(--text); }
.phase-count { font: 600 var(--step--1)/1 var(--font-body); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--muted-dark); }
.crumbs a { color: var(--muted-dark); }
.crumbs a:hover { color: var(--on-dark); }
.product-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--step--1); }
.product-layout { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.product-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; max-width: 760px; }
.product-main section { display: flex; flex-direction: column; gap: 12px; }
.block-title { font-size: var(--step-1); padding-block-end: 10px; border-bottom: 1px solid var(--line); }
.pending-block { color: var(--muted); border: 1px dashed #C5CAD1; border-radius: 8px; padding: 14px 18px; }
.shot-placeholder { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); background: var(--paper-2); border: 1px dashed #C5CAD1; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); }
.shots { display: grid; gap: 16px; }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: var(--step--1); margin-top: 6px; }
.steps { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.product-aside { flex: 1 1 300px; min-width: 0; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.product-aside dl { margin: 0; display: flex; flex-direction: column; }
.product-aside dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.product-aside dt { color: var(--muted-dark); }
.product-aside dd { margin: 0; font-weight: 600; text-align: end; }
.aside-actions { display: flex; flex-direction: column; gap: 10px; }
.aside-note { color: var(--muted-dark); font-size: 0.88rem; }
.aside-note:empty { display: none; }
@media (max-width: 860px) { .product-aside { position: static; } }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); scroll-margin-top: 100px; }
.product-card:target { border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.product-num { font: 700 var(--step--1)/1 var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.product-title { font: 600 1.15rem/1.45 var(--font-display); }
.product-cat { font-size: 0.85rem; color: var(--accent-ink); font-weight: 500; }
.product-summary { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.product-price { font-weight: 700; }
.product-card .link-arrow { margin-top: 10px; font-size: 0.95rem; }
.product-grid-dark .product-card { background: var(--ink-2); border-color: var(--line-dark); }
.product-grid-dark .product-num { color: var(--muted-dark); }
.product-grid-dark .product-cat { color: var(--accent); }
.product-grid-dark .product-summary { color: var(--muted-dark); }
.status { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.status-available { color: #1E6B43; border-color: #1E6B43; background: #E7F3EC; }
.status-in-development { color: var(--accent-ink); border-color: var(--accent-ink); background: var(--accent-soft); }
.status-coming-soon { color: var(--muted); border-color: #B9BEC6; background: var(--paper-2); }
.band-dark .status-coming-soon { color: var(--muted-dark); border-color: #4A505A; background: transparent; }
.band-dark .status-in-development { color: var(--accent); border-color: var(--accent); background: transparent; }
.band-dark .status-available { color: #8FD3AE; border-color: #8FD3AE; background: transparent; }
.filters { display: flex; flex-direction: column; gap: 12px; margin-block-end: 32px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 0.92rem var(--font-body); min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip-count { opacity: .7; font-variant-numeric: tabular-nums; }
.empty { padding: 32px 0; color: var(--muted); }

/* ---------- experience ---------- */
.exp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.exp-mini { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.exp-mini-cat { font-size: var(--step--1); color: var(--accent-ink); font-weight: 600; }
.exp-mini-name { font: 600 var(--step-1)/1.4 var(--font-display); }
.exp-mini-caps { background: var(--paper-2); border-color: var(--paper-2); }
.exp-mini-role { color: var(--muted); font-size: 0.95rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-block-end: 24px; }
.stat { background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font: 700 clamp(2rem, 1.6rem + 1.4vw, 2.6rem)/1.1 var(--font-display); color: var(--accent-ink); font-variant-numeric: tabular-nums; text-align: start; }
.stat-label { font-weight: 600; }
.stat-context { color: var(--muted); font-size: 0.85rem; }
.role-steps { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; }
.timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.timeline li { position: relative; padding-inline-start: 20px; display: flex; flex-direction: column; line-height: 1.6; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); }
.tl-period { font-size: var(--step--1); color: var(--muted); }
.tl-title { font-weight: 600; }
.tl-org { color: var(--muted); }
.feature-list li b { font-weight: 600; }
.review-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--muted); border: 1px dashed #A9AFB8; padding: 1px 8px; border-radius: 999px; }
.pending-field { color: var(--muted); font-style: normal; border-bottom: 1px dashed #A9AFB8; }
.exp-layout { display: flex; flex-direction: column; gap: 56px; max-width: 900px; }
.exp-group { display: flex; flex-direction: column; gap: 14px; }
.exp-group-title { font-size: var(--step-2); padding-block-end: 12px; border-bottom: 2px solid var(--text); }
.exp-item { border: 1px solid var(--line); border-radius: var(--radius); }
.exp-item summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 20px 24px; min-height: 56px; }
.exp-item summary::-webkit-details-marker { display: none; }
.exp-name { font: 600 var(--step-1)/1.4 var(--font-display); flex: 1 1 260px; min-width: 0; }
.exp-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.ic-plus { transition: transform .2s; }
.exp-item[open] .ic-plus { transform: rotate(45deg); }
.exp-fields { margin: 0; padding: 4px 24px 24px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.exp-fields div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 4px 20px; }
.exp-fields dt { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.exp-fields dd { margin: 0; min-width: 0; }
@media (max-width: 560px) { .exp-fields div { grid-template-columns: 1fr; } }

/* ---------- insights ---------- */
.topic-list { list-style: none; margin: 8px 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-list li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.article-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.article-card:hover { border-color: var(--text); }
.article-topic { font-size: var(--step--1); color: var(--accent-ink); font-weight: 600; }
.article-title { font: 600 var(--step-1)/1.45 var(--font-display); }
.article-summary { color: var(--muted); }
.article-card time { font-size: var(--step--1); color: var(--muted); }
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 40px; border: 1px dashed #C5CAD1; border-radius: var(--radius); }
.empty-title { font: 600 var(--step-2)/1.4 var(--font-display); }

/* ---------- about ---------- */
.about-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about-photo { flex: 0 1 300px; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: var(--ink); color: var(--accent); display: grid; place-items: center; font: 700 3rem/1 var(--font-display); }
.prose { flex: 1 1 520px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: var(--step-1); margin-top: 20px; }
.about-intro { font-size: var(--step-1); line-height: 1.8; }
.product-soon { border-style: dashed; }
.product-soon .product-title { font: 600 1.15rem/1.45 var(--font-display); }
.prose a { color: var(--accent-ink); font-weight: 600; }

/* ---------- contact ---------- */
.contact-band { border-top: 1px solid var(--line-dark); }
.contact-band-inner { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; align-items: center; }
.contact-band-inner > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1 1 320px; min-width: 0; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); min-width: 0; }
.contact-list a:hover { border-color: var(--accent); }
.contact-list .ic { color: var(--accent); width: 22px; height: 22px; }
.contact-list a > span { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.contact-list small { color: var(--muted-dark); font-size: 0.82rem; }
.contact-list-light a { background: var(--paper); border-color: var(--line); }
.contact-list-light a:hover { border-color: var(--text); }
.contact-list-light .ic { color: var(--accent-ink); }
.contact-list-light small { color: var(--muted); }
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.contact-form { flex: 1.5 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.95rem; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--text); background: var(--paper); border: 1px solid #C5CAD1; border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; border-color: var(--accent-ink); }
.contact-form .btn { align-self: flex-start; }
.form-error { color: #A12A2A; font-weight: 600; }
.form-note { color: var(--muted); font-size: 0.88rem; }

/* ---------- page head & cta ---------- */
.page-head { padding-block: clamp(56px, 5vw + 24px, 96px); }
.page-head .container { display: flex; flex-direction: column; gap: 14px; }
.cta-band { padding-block: 64px; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.cta-inner > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-inner h2 { font-size: var(--step-2); }
.cta-inner p { color: var(--muted-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer-name { font: 700 var(--step-1)/1.4 var(--font-display); color: var(--on-dark); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.footer-links a:hover { color: var(--on-dark); }
.footer-copy { flex-basis: 100%; font-size: 0.85rem; border-top: 1px solid var(--line-dark); padding-top: 20px; }

.exp-summary { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; }
.exp-summary-head { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.exp-summary-list { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; gap: 12px; }

/* ---------- product spotlight & illustrative preview ---------- */
.spotlight { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink-2); padding: clamp(24px, 4vw, 48px); }
.spotlight-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.spotlight-title { font-size: var(--step-3); line-height: 1.3; }
.spotlight-summary { color: var(--muted-dark); font-size: var(--step-1); line-height: 1.75; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ic { color: var(--accent); margin-top: 4px; }
.spotlight-visual { flex: 1 1 380px; min-width: 0; }
.soon-line { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted-dark); }
.soon-line a { color: var(--accent); font-weight: 600; }
.sheet { margin: 0; background: #FFFFFF; color: var(--text); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.75); border: 1px solid #2C3139; }
.sheet-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #EEF0F2; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.sheet-dots { display: flex; gap: 5px; }
.sheet-dots i { width: 9px; height: 9px; border-radius: 50%; background: #C9CDD3; }
.sheet-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.sheet-kpis div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; }
.k-val { font: 700 1.5rem/1.1 var(--font-display); color: #1E6B43; }
.k-soon { color: #9A6512; }
.k-exp { color: #A12A2A; }
.k-lbl { font-size: 0.78rem; color: var(--muted); }
.sheet-table-wrap { overflow-x: auto; padding: 0 14px; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.sheet-table th { text-align: start; font-weight: 600; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet-table td { padding: 9px 6px; border-bottom: 1px solid #F0F1F3; white-space: nowrap; }
.pill { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.pill-active { background: #E3F2E9; color: #1E6B43; }
.pill-soon { background: #FBEFD9; color: #8A5A0E; }
.pill-expired { background: #F8E1E1; color: #A12A2A; }
.sheet figcaption { font-size: 0.75rem; color: var(--muted); padding: 10px 14px 12px; }
.product-main .sheet { border-color: var(--line); box-shadow: 0 20px 40px -28px rgba(14,16,19,.4); }

/* ---------- header & footer polish ---------- */
.site-header { background: rgba(14,16,19,.86); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); }
.footer-inner { align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; }
.footer-pos { font-size: 0.9rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 4px 32px; }
.footer-nav a { text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-nav a:hover { color: var(--on-dark); }

[hidden] { display: none !important; }
