* {
  box-sizing: border-box;
}

:root {
  --bg: #0f0d0a;
  --bg-2: #17120e;
  --paper: #f7f0e6;
  --paper-soft: #fff8ef;
  --ink: #19130f;
  --muted: #77695d;
  --line: rgba(255, 239, 220, 0.18);
  --line-dark: rgba(25, 19, 15, 0.12);
  --accent: #ea580c;
  --accent-2: #f97316;
  --accent-dark: #771609;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.24), transparent 34rem),
    radial-gradient(circle at 84% 16%, rgba(234, 88, 12, 0.18), transparent 34rem),
    linear-gradient(135deg, #100d0a 0%, #16110d 45%, #090807 100%);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.52;
  z-index: 0;
}

.ambient-one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 9vh;
  background: rgba(249, 115, 22, 0.18);
}

.ambient-two {
  width: 460px;
  height: 460px;
  right: -180px;
  bottom: 4vh;
  background: rgba(234, 88, 12, 0.16);
}

.public-page {
  overflow-x: hidden;
}

.public-header,
.public-main,
.public-footer {
  position: relative;
  z-index: 1;
}

.public-header {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 48px;
  height: 40px;
  display: block;
  object-fit: contain;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.public-main {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.public-hero {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(28px, 5vw, 52px);
  padding: 56px 0 84px;
  text-align: center;
}

.hero-logo {
  width: min(72vw, 560px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 30px 58px rgba(0, 0, 0, 0.42));
}

.hero-title {
  max-width: 980px;
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.public-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 24px;
  color: rgba(255, 242, 228, 0.48);
  font-size: 14px;
}

@media (max-width: 560px) {
  .public-header {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .public-main,
  .public-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 42px;
    height: 35px;
  }

  .hero-logo {
    width: min(88vw, 430px);
  }

  .hero-title {
    font-size: clamp(34px, 13vw, 58px);
  }
}
