:root {
  --ink: #0a0e11;
  --graphite: #11171b;
  --slate: #1b2328;
  --slate-2: #263139;
  --steel: #89969e;
  --silver: #c9d1d6;
  --ice: #e7edf0;
  --mist: #f2f5f6;
  --paper: #fbfcfc;
  --blue: #819eae;
  --blue-dark: #506b7a;
  --text: #172026;
  --muted: #65727a;
  --line: #d7dfe3;
  --container: min(1180px, calc(100% - 48px));
  --shadow: 0 24px 70px rgba(24, 34, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid #a8c6d5; outline-offset: 4px; }

.topline {
  color: #aab4ba;
  background: #070a0c;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .71rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.topline__inner, .header__inner, .page-width { width: var(--container); margin-inline: auto; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topline__group { display: flex; align-items: center; gap: 24px; }
.topline__item { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.topline__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--ice);
  background: rgba(12, 17, 20, .95);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.header__inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 215px; }
.brand__shield {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 91% 17%, 91% 58%, 78% 80%, 50% 100%, 22% 80%, 9% 58%, 9% 17%);
  background: linear-gradient(145deg, #eef3f5 0%, #8a969d 44%, #f8fbfc 62%, #748087 100%);
  color: #0c1114;
  font: 700 .78rem/1 Georgia, serif;
  letter-spacing: -.05em;
}
.brand__copy { display: grid; line-height: 1; }
.brand__copy strong { font: 500 1.12rem/1 Georgia, serif; letter-spacing: .15em; }
.brand__copy span { margin-top: 7px; color: #8e9aa1; font-size: .57rem; letter-spacing: .15em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); }
.main-nav a {
  position: relative;
  padding: 29px 0 25px;
  color: #c8d0d4;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 19px;
  height: 1px;
  background: #dfe8ec;
  transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header__action, .button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 21px;
  border: 1px solid #9ba9b1;
  background: #dbe3e7;
  color: #101619;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header__action { color: #e4ebee; background: transparent; }
.header__action:hover, .button:hover { transform: translateY(-2px); background: #f5f8f9; color: #0c1114; }
.button--dark { color: var(--ice); background: var(--graphite); border-color: var(--graphite); }
.button--ghost { color: var(--ice); background: rgba(9,13,16,.25); border-color: rgba(223,232,236,.45); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid rgba(255,255,255,.22); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 19px; height: 1px; margin: 5px auto; background: #e5ebee; transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.home-hero, .page-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(8,12,15,.98) 0%, rgba(8,12,15,.88) 35%, rgba(8,12,15,.34) 72%, rgba(8,12,15,.16) 100%),
    url("rn-logo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 48%;
}
.home-hero {
  background-image: url("rn-logo.png");
  background-position: center center;
}
.home-hero::before { display: none; }
.home-hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.home-hero__inner { position: relative; width: var(--container); min-height: 700px; margin: 0 auto; display: flex; align-items: center; padding: 84px 0 92px; }
.home-hero__content { width: min(650px, 58%); padding: 48px 48px 50px; border-left: 2px solid rgba(218,229,234,.78); background: rgba(10,14,17,.48); backdrop-filter: blur(7px); }
.home-hero__content.home-hero__content--buttons {
  width: min(620px, 100%);
  align-self: flex-end;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.home-hero__content--buttons .hero-actions { margin-top: 0; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: #b7c8d1; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 39px; height: 1px; background: currentColor; }
.home-hero h1, .page-hero h1 { margin: 0; font: 400 clamp(3.15rem, 5.5vw, 6rem)/.98 Georgia, serif; letter-spacing: -.045em; }
.home-hero h1 em { color: #bac6cc; font-style: normal; }
.home-hero__lead { max-width: 600px; margin: 28px 0 0; color: #c1cbd0; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; }
.hero-mark { position: absolute; right: max(4vw, 30px); bottom: 32px; color: rgba(233,239,241,.65); font: 400 .75rem/1.6 Georgia, serif; letter-spacing: .15em; text-align: right; text-transform: uppercase; }
.page-hero { background-position: center 52%; }
.page-hero__inner { position: relative; width: var(--container); min-height: 390px; margin: 0 auto; padding: 88px 0 64px; display: flex; flex-direction: column; justify-content: end; }
.page-hero h1 { max-width: 850px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.page-hero__lead { max-width: 650px; margin: 23px 0 0; color: #c1cbd0; font-size: 1.05rem; }
.crumbs { padding: 13px 0; color: #79858c; background: #eef2f3; border-bottom: 1px solid var(--line); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.crumbs__inner { width: var(--container); margin: 0 auto; }
.crumbs span { margin: 0 10px; color: #93a8b4; }

.section { padding: 94px 0; }
.section--muted { background: var(--mist); }
.section--dark { color: var(--ice); background: var(--slate); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 46px; }
.section-head__copy { max-width: 760px; }
.kicker { margin: 0 0 15px; color: var(--blue-dark); font-size: .7rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.section--dark .kicker { color: #9fb7c3; }
.section-title { margin: 0; font: 400 clamp(2.25rem, 4vw, 4.3rem)/1.07 Georgia, serif; letter-spacing: -.035em; }
.section-lead { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 1.06rem; line-height: 1.85; }
.section--dark .section-lead { color: #aeb9bf; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.display-quote { margin: 0; font: 400 clamp(2rem, 3.7vw, 3.9rem)/1.18 Georgia, serif; letter-spacing: -.035em; }
.display-quote em { color: #718c9b; font-style: normal; }
.body-copy { color: var(--muted); }
.body-copy p { margin: 0 0 20px; }
.body-copy strong { color: var(--text); }

.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: white; }
.fact { min-height: 116px; display: flex; align-items: center; gap: 18px; padding: 26px 34px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact__num { color: #7892a0; font: 400 1.45rem/1 Georgia, serif; }
.fact strong { display: block; margin-bottom: 3px; font: 400 1.05rem/1.2 Georgia, serif; }
.fact span { color: var(--muted); font-size: .82rem; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  color: var(--ice);
  background: linear-gradient(145deg, #12191d, #263138);
  border: 1px solid #354148;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after { content: "R&N"; position: absolute; right: -13px; bottom: -29px; color: rgba(255,255,255,.035); font: 400 7.2rem/1 Georgia, serif; letter-spacing: -.08em; }
.service-card:hover { transform: translateY(-5px); border-color: #8fa8b5; box-shadow: var(--shadow); }
.service-card__num { color: #93aab6; font: 400 .8rem/1 Georgia, serif; }
.service-card h2, .service-card h3 { position: relative; z-index: 1; max-width: 410px; margin: 66px 0 16px; font: 400 clamp(1.55rem, 2.5vw, 2.35rem)/1.15 Georgia, serif; }
.service-card p { position: relative; z-index: 1; max-width: 450px; margin: 0; color: #abb7bd; font-size: .9rem; }
.service-card__link { position: relative; z-index: 1; margin-top: auto; padding-top: 24px; color: #dfe8ec; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card__link span { margin-left: 9px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.value-card { min-height: 300px; padding: 33px 30px; border-right: 1px solid var(--line); background: white; }
.value-card:last-child { border-right: 0; }
.value-card__num { color: #718d9b; font: 400 .85rem/1 Georgia, serif; }
.value-card h3 { margin: 76px 0 15px; font: 400 1.45rem/1.2 Georgia, serif; }
.value-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { min-height: 260px; padding: 30px 26px; border: 1px solid var(--line); border-right: 0; background: white; }
.process-step:last-child { border-right: 1px solid var(--line); }
.process-step__num { color: #718d9b; font: 400 1rem/1 Georgia, serif; }
.process-step h3 { margin: 66px 0 13px; font: 400 1.22rem/1.25 Georgia, serif; }
.process-step p { margin: 0; color: var(--muted); font-size: .85rem; }

.content-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 74px; align-items: start; }
.side-menu { position: sticky; top: 112px; border-top: 2px solid var(--slate); }
.side-menu__title { padding: 17px; color: var(--ice); background: var(--slate); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.side-menu a { min-height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; color: #5f6b72; background: #f3f6f7; border-bottom: 1px solid var(--line); font-size: .82rem; line-height: 1.4; transition: background .2s ease, padding .2s ease; }
.side-menu a::after { content: "→"; color: #8da2ad; }
.side-menu a:hover, .side-menu a[aria-current="page"] { padding-left: 20px; color: var(--text); background: white; }
.side-menu a[aria-current="page"] { box-shadow: inset 2px 0 #718d9b; }
.article h2 { margin: 0 0 24px; font: 400 clamp(2.2rem, 3.5vw, 3.7rem)/1.1 Georgia, serif; letter-spacing: -.03em; }
.article h3 { margin: 46px 0 18px; font: 400 1.7rem/1.2 Georgia, serif; }
.article p { margin: 0 0 20px; color: var(--muted); }
.article-lead { font-size: 1.12rem; line-height: 1.85; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 19px 20px 19px 42px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 8px; color: #668392; font-weight: 800; }
.result-box { margin: 46px 0; padding: 34px 38px; color: var(--ice); background: linear-gradient(135deg, #162026, #29363d); box-shadow: var(--shadow); }
.result-box h3 { margin: 0 0 15px; color: white; }
.result-box p { margin: 0; color: #b8c3c8; }
.faq { margin-top: 46px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 21px 48px 21px 0; cursor: pointer; list-style: none; font: 400 1.08rem/1.4 Georgia, serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; color: #718d9b; font: 400 1.35rem/1 Georgia, serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 48px 20px 0; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { min-height: 225px; padding: 30px; border: 1px solid var(--line); background: white; }
.contact-card small { display: block; margin-bottom: 50px; color: #718d9b; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-card strong, .contact-card a { display: block; font: 400 1.35rem/1.35 Georgia, serif; }
.contact-card span { display: block; margin-top: 9px; color: var(--muted); font-size: .82rem; }

.application { position: relative; overflow: hidden; padding: 90px 0; color: var(--ice); background: #0d1215; }
.application::before { content: "R&N"; position: absolute; right: -44px; bottom: -70px; color: rgba(255,255,255,.025); font: 400 clamp(13rem, 27vw, 28rem)/.8 Georgia, serif; letter-spacing: -.12em; }
.application__inner { position: relative; z-index: 1; width: var(--container); margin: 0 auto; display: grid; grid-template-columns: .88fr 1.12fr; gap: 82px; align-items: start; }
.application h2 { margin: 0; font: 400 clamp(2.5rem, 4.7vw, 4.9rem)/1.03 Georgia, serif; letter-spacing: -.04em; }
.application__copy p { max-width: 460px; margin: 23px 0 0; color: #9daab0; }
.application__privacy { display: flex; align-items: center; gap: 10px; margin-top: 29px; color: #a8bac3; font-size: .71rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.application__privacy::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field label { position: absolute; left: 16px; top: 10px; color: #849198; font-size: .63rem; letter-spacing: .11em; text-transform: uppercase; pointer-events: none; }
.field input, .field textarea { width: 100%; border: 1px solid #334047; border-radius: 0; color: white; background: #171e22; padding: 29px 16px 10px; }
.field input { height: 64px; }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #9eb6c1; outline: none; }
.form__bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.form__note { max-width: 360px; margin: 0; color: #748087; font-size: .7rem; line-height: 1.55; }
.form__status { grid-column: 1 / -1; min-height: 23px; margin: 0; color: #b8ccd5; font-size: .82rem; }

.footer { color: #9aa6ac; background: #080b0d; }
.footer__main { width: var(--container); margin: 0 auto; padding: 60px 0 48px; display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 70px; }
.footer h3 { margin: 0 0 18px; color: #e6ecef; font: 400 .95rem/1.2 Georgia, serif; letter-spacing: .09em; text-transform: uppercase; }
.footer p { max-width: 390px; margin: 20px 0 0; font-size: .83rem; }
.footer__links, .footer__contacts { display: grid; gap: 10px; font-size: .83rem; }
.footer a:hover { color: white; }
.footer__bottom { border-top: 1px solid #222a2e; }
.footer__bottom-inner { width: var(--container); min-height: 62px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #66737a; font-size: .7rem; }

@media (max-width: 1020px) {
  :root { --container: min(100% - 34px, 900px); }
  .topline { display: none; }
  .header__inner { min-height: 70px; grid-template-columns: 1fr auto; }
  .header__action { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 10px 17px 23px; background: #0d1215; border-top: 1px solid #293238; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 8px; border-bottom: 1px solid #252e33; }
  .main-nav a::after { display: none; }
  .home-hero__inner { min-height: 650px; }
  .home-hero__content { width: min(690px, 82%); }
  .two-column { grid-template-columns: 1fr; gap: 34px; }
  .content-layout { grid-template-columns: 1fr; gap: 44px; }
  .side-menu { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .side-menu__title { grid-column: 1 / -1; }
  .side-menu a { border-right: 1px solid var(--line); }
  .application__inner { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 28px); }
  .brand { min-width: 0; }
  .brand__copy span { display: none; }
  .home-hero { background-position: 58% center; }
  .home-hero__inner { min-height: 690px; padding: 58px 0; align-items: end; }
  .home-hero__content { width: 100%; padding: 31px 25px 34px; border-left-width: 1px; }
  .home-hero h1 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .home-hero__lead { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-mark { display: none; }
  .page-hero__inner { min-height: 330px; padding: 60px 0 44px; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .section { padding: 70px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .card-grid, .value-grid, .contact-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: 0; }
  .value-card h3 { margin-top: 36px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: 1px solid var(--line); border-bottom: 0; }
  .process-step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .side-menu { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field, .field--wide, .form__bottom, .form__status { grid-column: 1; }
  .form__bottom { align-items: stretch; flex-direction: column; }
  .form__bottom .button { width: 100%; }
  .footer__main { grid-template-columns: 1fr; gap: 38px; }
  .footer__bottom-inner { padding: 18px 0; align-items: start; flex-direction: column; }
}

@media (max-width: 460px) {
  .brand__copy strong { font-size: .92rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-last-child(-n+2) { border-bottom: 0; }
  .process-step:last-child { border-bottom: 1px solid var(--line); }
}

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