:root {
  color-scheme: light;
  --ink: #07162f;
  --muted: #5c6675;
  --line: #dce6f4;
  --blue: #1267f2;
  --blue-soft: #eaf2ff;
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(7, 22, 47, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 103, 242, 0.12), transparent 36rem),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 52%, #edf5ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(18, 103, 242, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 103, 242, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, transparent, black 22%, black 72%, transparent);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #0c55e8, #07162f);
  box-shadow: 0 12px 28px rgba(18, 103, 242, 0.22);
  font-weight: 950;
}

.links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.panel,
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(188, 204, 229, 0.72);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: clamp(30px, 5vw, 58px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #074dbe;
  font-weight: 850;
  font-size: 14px;
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.42;
  max-width: 650px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 850;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.preview {
  overflow: hidden;
  min-height: 420px;
  padding: 34px;
}

.plan {
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.wall {
  position: absolute;
  background: #07162f;
  border-radius: 999px;
}

.room {
  position: absolute;
  display: grid;
  place-items: center;
  color: rgba(7, 22, 47, 0.72);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 13px;
  background: rgba(18, 103, 242, 0.08);
}

.room.a { left: 16%; top: 17%; width: 34%; height: 34%; }
.room.b { left: 50%; top: 17%; width: 34%; height: 34%; background: rgba(255, 191, 73, 0.18); }
.room.c { left: 16%; top: 51%; width: 68%; height: 30%; background: rgba(117, 99, 255, 0.12); }
.w1 { left: 15%; top: 16%; width: 70%; height: 10px; }
.w2 { left: 15%; bottom: 18%; width: 70%; height: 10px; }
.w3 { left: 15%; top: 16%; width: 10px; height: 66%; }
.w4 { right: 15%; top: 16%; width: 10px; height: 66%; }
.w5 { left: 50%; top: 16%; width: 8px; height: 66%; }
.w6 { left: 15%; top: 50%; width: 70%; height: 7px; opacity: 0.86; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.card {
  padding: 24px;
}

.content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.legal {
  padding: clamp(28px, 5vw, 54px);
}

.legal ul {
  margin: 0 0 18px 20px;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.footer {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
