:root {
  --ink: #050909;
  --paper: #e9e7e1;
  --paper-cool: #eeede9;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.42), transparent 31%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.25), transparent 28%),
    radial-gradient(circle at 50% 74%, rgba(255, 255, 255, 0.28), transparent 39%),
    linear-gradient(100deg, #e4e1db 0%, var(--paper-cool) 49%, #e1ded8 100%);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 118px 118px;
  mix-blend-mode: soft-light;
  opacity: 0.32;
}

body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 0, 0, 0.035), transparent 23%),
    radial-gradient(circle at 78% 48%, rgba(0, 0, 0, 0.03), transparent 26%);
  filter: blur(24px);
  opacity: 0.8;
}

.page-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 620px;
  isolation: isolate;
}

.brand-lockup {
  position: absolute;
  top: clamp(34px, 11.1vh, 120px);
  left: clamp(24px, 3.08vw, 60px);
  line-height: 0.9;
  letter-spacing: 0.035em;
}

.brand-lockup h1 {
  margin: 0 0 2px;
  font-size: clamp(2rem, 2.55vw, 3.08rem);
  font-weight: 900;
}

.brand-lockup p {
  margin: 0 0 5px;
  font-size: clamp(0.92rem, 1.07vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.system-title {
  display: flex;
  gap: 0.54em;
  align-items: baseline;
  font-size: clamp(1.9rem, 2.13vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0.045em;
}

.system-title strong {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero {
  position: absolute;
  top: 38.25%;
  left: 50%;
  width: min(620px, 84vw);
  text-align: center;
  transform: translateX(-50%);
}

.hero h2 {
  margin: 0 0 4px;
  font-size: clamp(2.15rem, 3vw, 3.58rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.company-name {
  display: inline-block;
  margin: 0;
  padding: 2px 12px 5px;
  color: #f4f4f1;
  background: #020202;
  font-size: clamp(1.86rem, 2.58vw, 3.06rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.035em;
}

.mark-wrap {
  margin-top: clamp(38px, 4vh, 44px);
}

.rhine-logo {
  display: block;
  width: clamp(198px, 12.65vw, 244px);
  height: auto;
  margin: 0 auto;
}

.powered {
  position: absolute;
  right: clamp(30px, 3.05vw, 59px);
  bottom: clamp(65px, 9.2vh, 99px);
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0;
  font-size: clamp(0.82rem, 1.05vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.powered strong {
  font-weight: 900;
}

.powered i {
  display: inline-block;
  width: clamp(17px, 1.3vw, 25px);
  height: 7px;
  margin-left: 11px;
  background: var(--ink);
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .page-shell {
    min-height: 720px;
  }

  .hero {
    top: 43%;
  }

  .powered {
    right: 24px;
    bottom: 82px;
  }
}

@media (max-width: 520px) {
  .brand-lockup {
    top: 34px;
  }

  .hero {
    width: 92vw;
  }

  .company-name {
    padding-inline: 8px;
  }

  .powered {
    left: 24px;
    right: auto;
  }
}
