
:root {
  --rv-ink: #062f46;
  --rv-ink-2: #0a3d56;
  --rv-muted: #5f778a;
  --rv-soft: #effafa;
  --rv-soft-2: #f7fdfd;
  --rv-line: rgba(10, 78, 94, 0.14);
  --rv-teal: #0c8f84;
  --rv-teal-2: #11b7a3;
  --rv-teal-3: #0a6f70;
  --rv-green: #24c19a;
  --rv-orange: #ffb547;
  --rv-white: #ffffff;
  --rv-shadow: 0 24px 70px rgba(6, 47, 70, 0.12);
  --rv-shadow-soft: 0 14px 38px rgba(6, 47, 70, 0.08);
  --rv-radius-lg: 34px;
  --rv-radius-md: 24px;
  --rv-radius-sm: 16px;
  --rv-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(17, 183, 163, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(36, 193, 154, 0.13), transparent 32rem),
    linear-gradient(180deg, #f4fbfb 0%, #ffffff 46%, #f6fbfb 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--rv-max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 254, 254, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rv-line);
  box-shadow: 0 10px 30px rgba(6, 47, 70, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 950;
  font-size: 26px;
  letter-spacing: -0.04em;
  background:
    linear-gradient(135deg, rgba(21, 185, 168, 1), rgba(6, 91, 100, 1)),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .45), transparent 2rem);
  box-shadow: 0 14px 32px rgba(12, 143, 132, 0.25);
}

.brand-text strong {
  display: block;
  line-height: 1.05;
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--rv-ink);
}

.brand-text strong span {
  color: var(--rv-teal-2);
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 12px;
  font-weight: 750;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 850;
  color: var(--rv-ink);
}

.nav a {
  position: relative;
  opacity: .95;
}

.nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rv-teal), var(--rv-teal-2));
  transition: right .22s ease;
}

.nav a:not(.button):hover::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 900;
  border: 1px solid transparent;
  box-shadow: var(--rv-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(6, 47, 70, 0.14);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rv-teal), var(--rv-teal-2));
}

.button-secondary {
  color: var(--rv-ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--rv-line);
}

.button-ghost {
  color: var(--rv-teal-3);
  background: rgba(237, 253, 250, 0.92);
  border-color: rgba(17, 183, 163, 0.22);
  box-shadow: none;
}

.hero {
  padding: 88px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 15px;
  border: 1px solid rgba(12, 143, 132, .22);
  border-radius: 999px;
  background: rgba(219, 249, 245, .86);
  color: var(--rv-teal-3);
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(17, 183, 163, 0.08);
}

.kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rv-teal-2), var(--rv-green));
  box-shadow: 0 0 0 5px rgba(17, 183, 163, 0.13);
}

h1 {
  margin: 28px 0 18px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -0.075em;
  color: var(--rv-ink);
}

.lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.55;
  color: var(--rv-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card-wrap {
  position: relative;
}

.hero-card-wrap::before {
  content: "";
  position: absolute;
  inset: -24px 28px 18px -26px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .64), transparent 12rem),
    linear-gradient(135deg, rgba(21, 185, 168, 0.16), rgba(6, 47, 70, 0.04));
  filter: blur(.2px);
  z-index: -1;
}

.app-card {
  padding: 24px;
  border-radius: var(--rv-radius-lg);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--rv-line);
  box-shadow: var(--rv-shadow);
}

.app-screen {
  padding: 25px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 255, 255, .24), transparent 12rem),
    linear-gradient(145deg, #06384f 0%, #0a736e 50%, #10a38e 100%);
  overflow: hidden;
}

.app-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 950;
}

.app-highlight {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 17px;
}

.app-highlight strong {
  display: block;
  margin-top: 4px;
  font-size: 25px;
  line-height: 1.28;
}

.app-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.app-mini-card {
  padding: 16px;
  min-height: 94px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  color: var(--rv-ink);
}

.app-mini-card strong {
  display: block;
  font-size: 16px;
}

.app-mini-card span {
  color: var(--rv-ink-2);
}

.app-note {
  margin-top: 14px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(36, 193, 154, .20);
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 800;
}

.section {
  padding: 58px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(35px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: var(--rv-ink);
}

.section-subtitle {
  margin: 0 0 32px;
  color: var(--rv-muted);
  font-size: 20px;
  max-width: 800px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module-card {
  min-height: 218px;
  padding: 25px;
  border-radius: var(--rv-radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
  border: 1px solid var(--rv-line);
  box-shadow: 0 16px 42px rgba(6, 47, 70, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 183, 163, .25);
  box-shadow: 0 26px 70px rgba(6, 47, 70, .11);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(218, 249, 245, .90);
  color: var(--rv-teal-3);
  font-size: 13px;
  font-weight: 950;
}

.module-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.module-card p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 17px;
}

.institutional {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.info-card {
  padding: 28px;
  border-radius: var(--rv-radius-md);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--rv-line);
  box-shadow: var(--rv-shadow-soft);
}

.info-card h2 {
  margin: 0 0 18px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--rv-line);
}

.info-row:first-of-type {
  border-top: 0;
}

.info-row span {
  color: var(--rv-muted);
}

.info-row strong,
.info-row a {
  font-weight: 950;
  text-align: right;
}

.info-row a {
  color: var(--rv-teal);
}

.notice {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--rv-radius-md);
  background: linear-gradient(135deg, rgba(255, 249, 232, .96), rgba(255, 255, 255, .88));
  border: 1px solid rgba(255, 181, 71, .38);
  box-shadow: 0 16px 38px rgba(255, 181, 71, .08);
}

.notice h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.notice p {
  margin: 0;
  color: var(--rv-muted);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--rv-line);
  color: var(--rv-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--rv-teal-3);
  font-weight: 900;
}

.page-hero {
  padding: 62px 0 32px;
}

.page-card {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--rv-radius-lg);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--rv-line);
  box-shadow: var(--rv-shadow-soft);
}

.page-card h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 64px);
}

.content-block {
  max-width: 960px;
}

.content-block h2 {
  margin: 34px 0 12px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.content-block p,
.content-block li {
  color: var(--rv-muted);
  font-size: 17px;
}

.content-block strong {
  color: var(--rv-ink-2);
}

.support-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.support-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--rv-radius-lg);
}

.support-panel.primary {
  color: #fff;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, .23), transparent 13rem),
    linear-gradient(140deg, #064157, #0d857d 52%, #14b096);
  box-shadow: var(--rv-shadow);
}

.support-panel.primary .kicker {
  color: #eafffb;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.support-panel.primary h1 {
  color: #fff;
}

.support-panel.primary p,
.support-panel.primary a {
  color: #fff;
}

.contact-line {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  font-weight: 850;
}

.support-panel.light {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--rv-line);
  box-shadow: var(--rv-shadow-soft);
}

.support-panel.light h2 {
  margin-top: 0;
  font-size: 30px;
}

.support-panel.light li {
  color: var(--rv-muted);
  margin: 6px 0;
  font-size: 17px;
}

.cta-strip {
  margin: 40px 0 0;
  padding: 28px;
  border-radius: var(--rv-radius-md);
  background:
    linear-gradient(135deg, rgba(12, 143, 132, .10), rgba(255, 255, 255, .92));
  border: 1px solid var(--rv-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-strip h2 {
  margin: 0 0 5px;
  font-size: 28px;
}

.cta-strip p {
  margin: 0;
  color: var(--rv-muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .institutional,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 16px;
  }

  .header-inner {
    min-height: 76px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--rv-max));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero {
    padding: 54px 0 36px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .lead {
    font-size: 18px;
  }

  .app-modules,
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .info-row {
    display: grid;
    gap: 4px;
  }

  .info-row strong,
  .info-row a {
    text-align: left;
  }

  .footer-inner,
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
