/* Muras Tech — tokens from TZ section 5 */
:root {
  --blue: #087CFF;
  --blue-hover: #006BE3;
  --ink: #161C28;
  --muted: #727985;
  --line: #E3E6EB;
  --card-line: #E7E9ED;
  --light: #F6F7F9;
  --white: #FFFFFF;
  --strip-accent: #B8DAFF;
  --gutter: 50px;
  --anchor-offset: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
::selection { background: #D0E6FF; }
img { max-width: 100%; }

.icon { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.wrap {
  width: min(1280px, 100%);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin: 0 auto;
}

/* Header */
.header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-symbol { width: 46px; height: 36px; color: var(--blue); display: block; }
.brand-text { font-weight: 800; font-size: 20px; letter-spacing: -0.8px; line-height: 1; }
.brand-text > span { display: block; font-weight: 500; font-size: 10px; letter-spacing: 4.7px; margin-top: 6px; }

.desktop-nav { display: flex; gap: 38px; font-size: 13px; color: #69717C; }
.desktop-nav a { padding: 12px 0; transition: color .2s; }
.desktop-nav a:hover { color: var(--blue); }

.header-action { display: flex; align-items: center; gap: 22px; font-size: 12px; transition: color .2s; }
.header-action .icon { font-size: 22px; color: var(--blue); }
.header-action:hover { color: var(--blue); }

.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 54px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.eyebrow i { width: 6px; height: 6px; background: var(--blue); display: block; }

h1 {
  margin: 0 0 26px;
  font-size: clamp(38px, 4.65vw, 65px);
  font-weight: 600;
  line-height: 1.095;
  letter-spacing: -0.042em;
}
h1 > span { color: var(--blue); }

.hero-description { margin: 0 0 30px; font-size: 16px; line-height: 1.75; color: #737B87; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  padding: 17px 21px;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  transition: background .2s, transform .2s;
}
.button .icon { font-size: 21px; }
.button:hover { background: var(--blue-hover); transform: translateY(-2px); }

.hero-bottom { display: flex; align-items: center; gap: 14px; margin: 42px 0 0; font-size: 10px; color: #9097A0; }
.hero-bottom .line { height: 1px; width: 40px; background: #BBC7D5; }

.hero-visual { margin: 0; width: 100%; max-width: 418px; justify-self: end; }
.poster { display: block; aspect-ratio: 710 / 908; background: #EEE9DF; overflow: hidden; }
.poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #868D98;
}
.hero-visual figcaption > span:last-child { display: flex; align-items: center; gap: 13px; }
.asterisk { font-size: 20px; color: var(--blue); }

/* Blue strip */
.blue-strip { background: var(--blue); color: var(--white); }
.blue-strip ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 69px;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  font-size: 13px;
}
.blue-strip li { display: flex; align-items: center; gap: 12px; }
.blue-strip li .icon { color: var(--strip-accent); }
.blue-strip li:not(.sep) .icon { display: none; }
.blue-strip .sep .icon { font-size: 19px; }

/* Section shared */
.section-label { margin: 0 0 27px; font-size: 9px; font-weight: 700; letter-spacing: 1.7px; color: var(--blue); }
h2 { margin: 0; font-size: 38px; font-weight: 500; line-height: 1.17; letter-spacing: -0.042em; }
h2 span { color: #8B929D; }

/* About */
.about { padding-top: 69px; padding-bottom: 63px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-copy p { margin: 0 0 15px; font-size: 15px; line-height: 1.75; }
.about-copy p:last-child { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* Services */
.services { background: var(--light); border-top: 1px solid var(--line); padding-top: 61px; padding-bottom: 65px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 33px; }
.section-heading .section-label { margin-bottom: 19px; }
.section-heading > p { margin: 0 0 3px; font-size: 12px; line-height: 1.7; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: 9px;
}
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 29px; }
.service-number { padding-top: 3px; font-size: 10px; color: #A0A7B0; }
.service-top svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { margin: 0 0 17px; font-size: 24px; font-weight: 500; line-height: 1.16; letter-spacing: -0.7px; }
.service-card p { max-width: 260px; margin: 0 0 23px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.service-tag { margin-top: auto; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; color: #9198A1; }

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 65px;
  padding-bottom: 65px;
  border-bottom: 1px solid var(--line);
}
.contacts .section-label { margin-bottom: 22px; }
.contact-company { margin: 23px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.contact-links { align-self: center; }
.contact-link { display: block; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-link:last-child { border-bottom: 1px solid var(--line); }
.contact-label { display: block; margin-bottom: 12px; font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.contact-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  transition: color .2s;
  user-select: text;
  -webkit-user-select: text;
}
.contact-value > span { min-width: 0; }
.contact-value .icon { font-size: 25px; color: var(--blue); }
.contact-link:hover .contact-value { color: var(--blue); }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 125px; }
.footer .brand-symbol { width: 36px; height: 28px; }
.footer .brand-text { font-size: 16px; }
.footer .brand-text > span { font-size: 8px; letter-spacing: 3.7px; margin-top: 5px; }
.footer-company { margin: 0; font-size: 11px; color: #9399A2; }
.footer-copy { font-size: 9px; color: #9399A2; }
.top-link { display: flex; align-items: center; gap: 20px; font-size: 10px; transition: color .2s; }
.top-link .icon { font-size: 19px; color: var(--blue); }
.top-link:hover { color: var(--blue); }

/* ≥1450 */
@media (min-width: 1450px) {
  .hero { padding-top: 66px; padding-bottom: 60px; }
  .hero-visual { max-width: 405px; }
  h1 { font-size: 63px; }
}

/* 761–1100 */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .header { height: 94px; }
  .desktop-nav { gap: 25px; }
  .header-action { font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; padding-top: 50px; padding-bottom: 46px; }
  h1 { font-size: clamp(34px, 4.5vw, 50px); }
  .eyebrow { font-size: 8px; margin-bottom: 25px; }
  .hero-description { font-size: 14px; }
  .hero-bottom { margin-top: 30px; font-size: 9px; }
  h2 { font-size: 33px; }
  .about-grid { gap: 50px; }
  .about-copy p { font-size: 14px; }
  .service-grid { gap: 15px; }
  .service-card { padding: 22px; min-height: 286px; }
  .service-card h3 { font-size: 21px; }
  .service-card p { font-size: 11px; }
  .service-top { margin-bottom: 22px; }
  .contacts { gap: 50px; }
  .contact-value { font-size: 22px; }
  .footer { gap: 20px; }
  .footer-company { font-size: 10px; }
}

/* ≤760 */
@media (max-width: 760px) {
  :root { --gutter: 24px; --anchor-offset: 24px; }
  .header { height: 83px; }
  .brand { gap: 10px; }
  .brand-symbol { width: 38px; height: 30px; }
  .brand-text { font-size: 18px; }
  .brand-text > span { font-size: 9px; letter-spacing: 4.2px; margin-top: 5px; }
  .desktop-nav, .header-action { display: none; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-right: -12px;
    padding: 15px 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle > span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 10px var(--gutter);
    background: var(--light);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .mobile-nav a { padding: 12px 0; }

  .hero { display: block; padding-top: 39px; padding-bottom: 27px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 23px; }
  h1 { font-size: clamp(29px, 7.7vw, 53px); line-height: 1.13; letter-spacing: -0.035em; margin-bottom: 23px; }
  .hero-description { font-size: 13px; margin-bottom: 25px; }
  .desktop-break { display: none; }
  .button { font-size: 11px; padding: 16px 18px; gap: 50px; }
  .hero-bottom { margin-top: 25px; font-size: 9px; gap: 12px; }
  .hero-bottom .line { width: 30px; }
  .hero-visual { max-width: 420px; margin: 31px auto 0; }
  .hero-visual figcaption { margin-top: 12px; font-size: 7px; letter-spacing: 1.3px; }
  .asterisk { font-size: 16px; }

  .blue-strip ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 25px;
    min-height: 0;
    padding-top: 21px;
    padding-bottom: 21px;
    font-size: 12px;
  }
  .blue-strip .sep { display: none; }
  .blue-strip li:not(.sep) .icon { display: inline-block; font-size: 13px; }

  .section-label { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 24px; }
  h2 { font-size: 31px; line-height: 1.2; letter-spacing: -0.04em; }

  .about { padding-top: 42px; padding-bottom: 43px; }
  .about-grid { display: block; }
  .about-copy { margin-top: 23px; }
  .about-copy p { margin-bottom: 13px; font-size: 14px; }
  .about-copy p:last-child { font-size: 12px; line-height: 1.85; }

  .services { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading .section-label { margin-bottom: 17px; }
  .section-heading > p { margin: 17px 0 0; }
  .service-grid { display: flex; flex-direction: column; gap: 13px; }
  .service-card { min-height: 0; padding: 23px 24px; }
  .service-top { margin-bottom: 20px; }
  .service-top svg { width: 31px; height: 31px; }
  .service-number { font-size: 9px; }
  .service-card h3 { font-size: 25px; line-height: 1.14; margin-bottom: 15px; }
  .service-card p { max-width: none; font-size: 12px; margin-bottom: 21px; }

  .contacts { display: block; padding-top: 42px; padding-bottom: 40px; }
  .contacts .section-label { margin-bottom: 21px; }
  .contacts h2 br { display: none; }
  .contact-company { margin-top: 19px; font-size: 11px; }
  .contact-links { margin-top: 28px; }
  .contact-link { padding: 21px 0; }
  .contact-label { font-size: 7px; margin-bottom: 10px; }
  .contact-value, .contact-value .icon { font-size: 23px; }

  .footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding-top: 29px;
    padding-bottom: 28px;
  }
  .footer .brand { grid-column: 1; grid-row: 1; }
  .top-link { grid-column: 2; grid-row: 1; justify-self: end; gap: 12px; }
  .footer-company { grid-column: 1; grid-row: 2; font-size: 9px; }
  .footer-copy { grid-column: 2; grid-row: 2; text-align: right; font-size: 8px; }
}

@media (max-width: 359px) {
  .contact-value, .contact-value .icon { font-size: 20px; }
  .button { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Legal pages (privacy policy for App Store / Google Play) */
.legal { max-width: 860px; padding-top: 56px; padding-bottom: 72px; }
.legal-title { margin-bottom: 12px; font-size: clamp(30px, 5vw, 46px); }
.legal-meta { margin: 0 0 40px; font-size: 12px; color: var(--muted); }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal h2 { margin-bottom: 14px; font-size: 22px; letter-spacing: -0.02em; }
.legal section p, .legal li { font-size: 15px; line-height: 1.75; color: #3A414D; }
.legal section p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { display: flex; }
.legal-footer { border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .legal { padding-top: 36px; padding-bottom: 48px; }
  .legal section p, .legal li { font-size: 14px; }
  .legal-footer .footer-company, .legal-footer .footer-copy { grid-row: 1; }
}
