:root {
  --brand-red: #d9230f;
  --brand-red-bright: #f02b17;
  --brand-deep: #561d14;
  --ink: #191715;
  --muted: #716b67;
  --paper: #fbfaf8;
  --paper-warm: #f6f1ed;
  --card: rgba(255, 255, 255, 0.94);
  --line: rgba(86, 29, 20, 0.11);
  --soft-red: rgba(217, 35, 15, 0.09);
  --shadow: 0 28px 80px rgba(75, 39, 27, 0.16);
  --shadow-soft: 0 16px 42px rgba(75, 39, 27, 0.11);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 18%, rgba(217, 35, 15, 0.12), transparent 29rem),
    radial-gradient(circle at 91% 72%, rgba(86, 29, 20, 0.08), transparent 31rem),
    linear-gradient(135deg, #fff 0%, var(--paper) 42%, var(--paper-warm) 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(86, 29, 20, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 29, 20, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 78%);
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
}

.site-header,
.hero,
.site-footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  text-decoration: none;
}

.brand img {
  width: 220px;
  height: auto;
}

.brand:focus-visible,
.header-link:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(217, 35, 15, 0.28);
  outline-offset: 4px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  color: #3f3935;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    color 180ms ease,
    gap 180ms ease;
}

.header-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-link:hover {
  gap: 13px;
  color: var(--brand-red);
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  align-items: center;
  min-height: calc(100vh - 190px);
  padding: 48px 0 72px;
  gap: clamp(48px, 7vw, 105px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(217, 35, 15, 0.15);
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(83, 48, 37, 0.06);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.095em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(217, 35, 15, 0.09);
}

.status-dot::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(217, 35, 15, 0.3);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.4s ease-out infinite;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.5rem, 6.2vw, 5.65rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  color: var(--brand-red);
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 38px;
  gap: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 12px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 180ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red-bright), var(--brand-red));
  box-shadow: 0 14px 32px rgba(217, 35, 15, 0.23);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f43722, #c91c0b);
  box-shadow: 0 18px 38px rgba(217, 35, 15, 0.3);
  transform: translateY(-2px);
}

.button-primary:hover svg {
  transform: translateX(3px);
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #5f5955;
  font-size: 0.84rem;
  line-height: 1.35;
}

.launch-note svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.launch-note strong,
.launch-note span {
  display: block;
}

.launch-note strong {
  color: var(--ink);
  font-size: 0.91rem;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  margin: 48px 0 0;
  padding: 0;
  gap: 8px 22px;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5e5854;
  font-size: 0.82rem;
  font-weight: 680;
  white-space: nowrap;
}

.benefits li span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(86, 29, 20, 0.12);
  border-radius: 9px;
  color: var(--brand-red);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -4;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(145deg, rgba(217, 35, 15, 0.16), rgba(86, 29, 20, 0.06));
  content: "";
  filter: blur(0.2px);
  transform: translate(-50%, -50%);
}

.hero-visual::after {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: -3;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(217, 35, 15, 0.09);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(4px);
}

.ambient-one {
  top: 67px;
  right: -50px;
  width: 210px;
  height: 210px;
  background: rgba(217, 35, 15, 0.11);
}

.ambient-two {
  bottom: 42px;
  left: -35px;
  width: 160px;
  height: 160px;
  background: rgba(86, 29, 20, 0.09);
}

.brand-watermark {
  position: absolute;
  top: 2px;
  right: -32px;
  z-index: -1;
  width: 395px;
  opacity: 0.075;
  transform: rotate(-7deg);
}

.hub-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 560px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(0.7deg);
  backdrop-filter: blur(24px);
  animation: card-float 7s ease-in-out infinite;
}

.hub-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), transparent 45%);
  content: "";
  pointer-events: none;
}

.hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hub-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-logo-box {
  display: grid;
  width: 45px;
  height: 45px;
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f8efeb);
  box-shadow: inset 0 0 0 1px rgba(86, 29, 20, 0.07);
}

.hub-logo-box img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.hub-identity span,
.hub-identity strong {
  display: block;
}

.hub-identity span {
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-identity strong {
  font-size: 0.98rem;
}

.prep-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 35, 15, 0.11);
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(217, 35, 15, 0.055);
  font-size: 0.66rem;
  font-weight: 780;
  white-space: nowrap;
}

.prep-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}

.hub-intro {
  margin: 30px 0 23px;
  padding: 23px 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 83% 22%, rgba(255, 255, 255, 0.19), transparent 8rem),
    linear-gradient(135deg, var(--brand-deep), #7a281b 70%, #922d1e);
  box-shadow: 0 16px 30px rgba(86, 29, 20, 0.18);
}

.mini-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.hub-intro h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.038em;
}

.hub-intro > p:last-child {
  max-width: 420px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.55;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.module-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-width: 0;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(86, 29, 20, 0.075);
  border-radius: var(--radius-md);
  background: rgba(251, 249, 247, 0.74);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.module-card:hover {
  border-color: rgba(217, 35, 15, 0.14);
  background: #fff;
  transform: translateY(-2px);
}

.module-card-featured {
  border-color: rgba(217, 35, 15, 0.14);
  background: rgba(217, 35, 15, 0.055);
}

.module-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: var(--brand-red);
  background: #fff;
  box-shadow: 0 7px 18px rgba(73, 39, 28, 0.08);
}

.module-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.module-card strong,
.module-card span {
  display: block;
  min-width: 0;
}

.module-card strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-card span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #918783;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.build-status {
  margin-top: 19px;
  padding: 14px 4px 1px;
}

.build-status-heading,
.build-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.build-status-heading {
  margin-bottom: 11px;
  color: #5c5551;
  font-size: 0.69rem;
  font-weight: 690;
}

.build-status-heading strong {
  color: var(--brand-red);
}

.build-track {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(86, 29, 20, 0.08);
}

.build-track > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-red), #f15846, var(--brand-red));
  background-size: 200% 100%;
  animation: build-shimmer 2.8s linear infinite;
}

.build-track > span::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 3px 8px rgba(217, 35, 15, 0.24);
  content: "";
  transform: translateY(-50%);
}

.build-steps {
  margin-top: 10px;
  color: #99908b;
  font-size: 0.58rem;
  font-weight: 700;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.floating-chip-top {
  top: 83px;
  right: -3px;
  animation: chip-float-top 6s ease-in-out infinite;
}

.floating-chip-bottom {
  bottom: 69px;
  left: -22px;
  animation: chip-float-bottom 6.6s ease-in-out infinite;
}

.floating-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--brand-red);
  box-shadow: 0 8px 20px rgba(217, 35, 15, 0.2);
}

.floating-icon-dark {
  background: var(--brand-deep);
  box-shadow: 0 8px 20px rgba(86, 29, 20, 0.2);
}

.floating-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-chip > span:last-child,
.floating-chip strong {
  display: block;
}

.floating-chip > span:last-child {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.42;
}

.floating-chip strong {
  color: var(--ink);
  font-size: 0.75rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #807773;
  font-size: 0.73rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  color: #9d9490;
}

@keyframes status-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.55);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0.7deg) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) rotate(0.2deg) translateY(-7px);
  }
}

@keyframes chip-float-top {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-8px) rotate(-0.5deg);
  }
}

@keyframes chip-float-bottom {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(7px) rotate(0.4deg);
  }
}

@keyframes build-shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(430px, 1.15fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 6vw, 4.6rem);
  }

  .floating-chip-top {
    right: -18px;
  }

  .floating-chip-bottom {
    left: -14px;
  }
}

@media (max-width: 940px) {
  .site-header {
    min-height: 94px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 68px 0 84px;
    gap: 38px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(3.35rem, 9vw, 5.2rem);
  }

  .hero-text {
    max-width: 670px;
  }

  .hero-visual {
    width: min(100%, 690px);
    min-height: 660px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 84px;
  }

  .brand img {
    width: 174px;
  }

  .header-link {
    font-size: 0;
  }

  .header-link::before {
    font-size: 0.78rem;
    content: "Site";
  }

  .hero {
    padding: 52px 0 68px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.075em;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .hero-text {
    margin-top: 23px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 31px;
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .benefits {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 37px;
    gap: 10px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-visual::before {
    width: 430px;
    height: 430px;
  }

  .hero-visual::after {
    width: 490px;
    height: 490px;
  }

  .brand-watermark {
    right: -90px;
    width: 320px;
  }

  .hub-card {
    width: calc(100% - 12px);
    padding: 17px;
    border-radius: 26px;
  }

  .hub-card-header {
    align-items: flex-start;
  }

  .hub-logo-box {
    width: 41px;
    height: 41px;
  }

  .hub-logo-box img {
    width: 34px;
    height: 34px;
  }

  .prep-pill {
    padding: 7px 9px;
    font-size: 0.58rem;
  }

  .hub-intro {
    margin: 23px 0 17px;
    padding: 20px;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card:nth-child(n + 4) {
    display: none;
  }

  .floating-chip {
    min-width: 175px;
  }

  .floating-chip-top {
    top: -26px;
    right: 0;
  }

  .floating-chip-bottom {
    bottom: 31px;
    left: -3px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 105px;
    gap: 5px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 156px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.5vw, 3.75rem);
  }

  .eyebrow > span[aria-hidden="true"]:not(.status-dot) {
    display: none;
  }

  .prep-pill {
    max-width: 108px;
    white-space: normal;
  }

  .floating-chip-top {
    top: -28px;
    right: -8px;
  }

  .floating-chip-bottom {
    left: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
