:root {
    --bg: #e8e8e8;
    --bgh: rgba(232,232,232,0.92);
    --panel: #ffffff;
    --line: #dcdcdc;
    --hair: #d0d0d0;
    --edge: #c2c2c2;
    --div: #bdbdbd;
    --hover: #3b1347;
    --chip: #f0edf1;
    --ink: #3f3f3f;
    --mute: #5e5e5e;
    --soft: #3f3f3f;
    --lead: #545454;
    --t4: #6a6a6a;
    --t5: #545454;
    --accent: #3b1347;
    --onacc: #ffffff;
    --ctbg: #3b1347;
    --ctb: #3b1347;
    --cttile: rgba(255,255,255,.07);
    --cttileb: rgba(255,255,255,.22);
    --cthover: rgba(255,255,255,.55);
    --ctlabel: #c6a9cf;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    color-scheme: light;
  }
  html[data-theme="dark"] {
    --bg: #17111a;
    --bgh: rgba(23,17,26,0.92);
    --panel: #1e1622;
    --line: #322538;
    --hair: #2b2130;
    --edge: #3d3145;
    --div: #453851;
    --hover: #c9a3d6;
    --chip: #2a1f31;
    --ink: #ece8ee;
    --mute: #a29aa8;
    --soft: #d9d3dc;
    --lead: #b0a8b5;
    --t4: #97909c;
    --t5: #b0a8b5;
    --accent: #c9a3d6;
    --onacc: #24122c;
    --ctbg: #3b1347;
    --ctb: #4d2159;
    --cttile: rgba(255,255,255,.07);
    --cttileb: rgba(255,255,255,.2);
    --cthover: rgba(255,255,255,.5);
    --ctlabel: #c6a9cf;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Poppins', 'Noto Sans Armenian', system-ui, -apple-system, sans-serif;
    overflow-wrap: break-word;
  }
  a { color: inherit; text-decoration: none; }
  a:hover { opacity: .7; }
  h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: pretty; }
  p { margin: 0; text-wrap: pretty; }

  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

  header {
    position: sticky; top: 0; z-index: 20;
    background: var(--bgh);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hair);
  }
  .bar {
    max-width: 1280px; margin: 0 auto;
    padding: 16px clamp(20px, 4vw, 40px);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
  }
  html[data-theme="dark"] .logo img { filter: invert(1) brightness(1.9) saturate(.55) hue-rotate(6deg); }
  nav.desk { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; font-size: 15px; color: var(--t5); white-space: nowrap; }
  nav.desk .drop { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 14px 0; margin: -14px 0; }
  nav.desk .drop .caret { flex: none; transition: transform .15s; }
  nav.desk .drop:hover .caret { transform: rotate(180deg); }
  .drop-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 268px; background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.13); padding: 7px 0; z-index: 30; }
  nav.desk .drop:hover .drop-menu { display: block; }
  .drop-menu a { display: block; padding: 10px 16px; font-size: 14px; line-height: 1.4; color: var(--soft); white-space: normal; }
  .drop-menu a:hover { background: var(--chip); color: var(--accent); opacity: 1; }
  .drawer-svc { display: flex; flex-direction: column; gap: 2px; padding: 0 2px 12px 14px; border-bottom: 1px solid var(--line); }
  .drawer-svc a { padding: 7px 0 !important; font-size: 14px !important; line-height: 1.4; color: var(--mute) !important; border: 0 !important; }
  .right { display: flex; align-items: center; gap: 16px; flex: none; }
  .langs { display: flex; gap: 9px; font-family: var(--mono); font-size: 12px; }
  .langs b { color: var(--div); font-weight: 400; }
  .langs a { color: var(--t4); }
  .langs a.on { color: var(--accent); font-weight: 500; }

  .pill {
    display: inline-block; border-radius: 4px;
    padding: 12px 22px; font-size: 15px; font-weight: 500;
    background: var(--accent); color: var(--onacc);
  }
  .pill.ghost { background: transparent; color: var(--ink); border: 1px solid var(--edge); font-weight: 400; }
  .pill.lg { padding: 16px 28px; font-size: 16px; }

  .theme {
    width: 32px; height: 32px; flex: none;
    border: 1px solid var(--edge); border-radius: 999px;
    background: none; cursor: pointer;
    font-family: system-ui, sans-serif; font-size: 14px; line-height: 1;
    color: var(--t5); display: flex; align-items: center; justify-content: center;
    transition: color .15s, border-color .15s;
  }
  .theme:hover { color: var(--accent); border-color: var(--accent); }

  .burger {
    display: none; flex-direction: column; gap: 5px;
    padding: 10px 9px; border: 1px solid var(--edge); border-radius: 4px;
    background: none; cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); }
  .burger span:nth-child(2) { width: 14px; }

  .drawer { display: none; flex-direction: column; padding: 4px clamp(20px, 4vw, 40px) 22px; border-top: 1px solid var(--hair); }
  .drawer.open { display: flex; max-height: calc(100vh - 72px); overflow-y: auto; }
  .drawer a { padding: 14px 2px; font-size: 17px; color: var(--soft); border-bottom: 1px solid var(--hair); }
  .drawer .pill { margin-top: 16px; text-align: center; border-bottom: 0; color: var(--onacc); }

  .hero {
    padding: clamp(30px, 4vw, 56px) 0 clamp(52px, 6vw, 84px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(34px, 5vw, 64px); align-items: center;
  }
  .hero-col { display: flex; flex-direction: column; gap: 22px; }
  .rule { display: block; width: 52px; height: 3px; background: var(--accent); }
  .mark {
    justify-self: stretch; width: 100%; aspect-ratio: 153 / 135;
    background: var(--accent) url('../images/hero.jpg') center/cover;
    -webkit-mask-image: url('../images/d-glyph.svg');
    mask-image: url('../images/d-glyph.svg');
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
  .checks-band { margin-bottom: clamp(52px, 7vw, 88px); }
  .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .tabs button {
    font: inherit; font-size: 13.5px; cursor: pointer;
    padding: 10px 15px; border-radius: 4px;
    background: transparent; color: var(--t5); border: 1px solid var(--edge);
    font-family: inherit;
  }
  .tabs button.on { background: var(--accent); color: var(--onacc); border-color: var(--accent); font-weight: 500; }
  .hero h1 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; color: var(--accent); max-width: 16em; }
  .hero p.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; color: var(--lead); max-width: 30em; }
  .ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

  .card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
  .checks { padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 36px) clamp(28px, 3vw, 38px); border-radius: 8px; }
  .checks h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--accent); margin-bottom: 22px; }
  .check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 28px; }
  .check { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; }
  .dot { width: 10px; height: 2px; background: var(--accent); margin-top: 10px; }
  .check span:last-child { font-size: 15px; line-height: 1.5; color: var(--soft); }

  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 12px; margin-bottom: clamp(52px, 7vw, 88px); }
  .facts .card { padding: 26px clamp(22px, 2.5vw, 30px) 30px; display: flex; flex-direction: column; gap: 12px; border-radius: 8px; background: var(--accent); border-color: var(--accent); }
  .facts .kicker { font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-transform: none; color: #fff; }
  .facts p { color: rgba(255,255,255,.82); }
  .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
  .facts p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); }

  section.block { padding-bottom: clamp(52px, 7vw, 88px); scroll-margin-top: 96px; }
  section.block > h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; color: var(--accent); margin-bottom: 28px; }

  .services { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; }
  .services .card { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 11px; transition: border-color .15s; }
  .services .card:hover { border-color: var(--hover); }
  .num {
    width: 34px; height: 34px; border-radius: 4px; background: var(--chip);
    color: var(--accent); font-family: var(--mono); font-size: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .services h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
  .services p { font-size: 15px; line-height: 1.6; color: var(--mute); }

  .process { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px 18px; }
  .step { border-top: 3px solid var(--accent); padding: 20px 4px 0; display: flex; flex-direction: column; gap: 9px; }
  .step .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
  .step h3 { font-size: 18px; font-weight: 700; }
  .step p { font-size: 15px; line-height: 1.6; color: var(--mute); }

  .why { padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px); border-radius: 8px; }
  .why > h2 { margin-bottom: clamp(24px, 3vw, 34px); max-width: 24em; text-wrap: pretty; }
  .why > h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; color: var(--accent); line-height: 1.25; line-height: 1.15; }
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(30px, 4vw, 56px); }
  .why-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; border-top: 1px solid var(--hair); padding-top: 18px; }
  .why-grid .n { font-family: var(--mono); font-size: 26px; font-weight: 300; line-height: 1; color: var(--accent); opacity: .5; }
  .why-grid h3 { font-size: 18px; font-weight: 700; line-height: 1.3; text-wrap: pretty; }
  #services-grid > .card { scroll-margin-top: 110px; }
  .why-grid p { grid-column: 2; margin-top: 6px; font-size: 15px; line-height: 1.62; color: var(--mute); text-wrap: pretty; }
  @media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 660px) { .why-grid { grid-template-columns: 1fr; } }

  .contact {
    margin-bottom: clamp(48px, 6vw, 72px);
    background: var(--ctbg); border: 1px solid var(--ctb); border-radius: 8px;
    padding: clamp(30px, 4vw, 52px) clamp(24px, 3.5vw, 48px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(222px, 1fr));
    gap: clamp(28px, 4vw, 56px); align-items: center; scroll-margin-top: 96px; color: #fff;
  }
  .contact h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; line-height: 1.2; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 16px; }
  .contact p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 28em; }
  .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 14px; }
  .contact-grid a {
    background: var(--cttile); border: 1px solid var(--cttileb); border-radius: 6px;
    padding: 18px 20px; display: flex; flex-direction: column; gap: 5px;
    transition: border-color .15s;
  }
  .contact-grid a:hover { border-color: var(--cthover); opacity: 1; }
  .contact-grid .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ctlabel); }
  .contact-grid .v { font-size: 16px; font-weight: 500; line-height: 1.35; }

  footer { border-top: 1px solid var(--hair); }
  .foot {
    max-width: 1280px; margin: 0 auto;
    padding: 24px clamp(18px, 4vw, 40px);
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 12px 24px; font-size: 13px; color: var(--t4);
  }
  .credit { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--t4); }
  .credit span { color: var(--accent); }

  @media (max-width: 1400px) {
    nav.desk, .bar > .right > .pill { display: none; }
    .burger { display: flex; }
    .tabs { flex-direction: column; align-items: stretch; }
    .tabs button { padding: 12px 16px; font-size: 14px; }
  }

  .about { display: flex; flex-direction: column; gap: 26px; }
  .about-head { display: flex; flex-direction: column; gap: 16px; }
  .about-head h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; color: var(--accent); margin: 0; }
  .about-body { display: flex; flex-direction: column; gap: 18px; }
  .about-body p { font-size: 16.5px; line-height: 1.72; color: var(--lead); }

  .logo { display: flex; align-items: center; flex: none; }
  .logo img { height: 54px; width: auto; display: block; }
  @media (max-width: 560px) { .logo img { height: 40px; } }

  @media (max-width: 620px) {
    .bar { padding: 12px 18px; gap: 10px; }
    .logo { flex: 0 1 auto; min-width: 0; overflow: hidden; }
    .logo img { height: 34px; max-width: 100%; object-fit: contain; object-position: left center; }
    .right { gap: 8px; }
    .langs { display: none; }
    .drawer .langs { display: flex; gap: 10px; justify-content: center; padding: 18px 0 4px; font-size: 13px; }
  }
  @media (max-width: 700px) and (min-width: 621px) { .logo img { height: 42px; } }
  .drawer .langs { display: none; }

  @media (max-width: 760px) { .mark { display: none; } }

  .done-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; align-self: center; }
  .done-pill i, .done-row i { font-style: normal; opacity: .45; }
  .done-pill b, .done-row b { font-weight: 700; }
  .done-row { display: none; }
  .drawer .done-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 2px; padding: 12px 16px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 16px; font-weight: 500; }

  .bg-d {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: var(--accent); opacity: .025;
    -webkit-mask-image: url('../images/d-glyph.svg'); mask-image: url('../images/d-glyph.svg');
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: min(115vh, 92vw) auto; mask-size: min(115vh, 92vw) auto;
  }
  main, footer { position: relative; z-index: 1; }
