:root {
  color-scheme: light;
  --ink: #111114;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: rgba(17, 17, 20, 0.1);
  --panel: rgba(255, 255, 255, 0.72);
  --blue: #0071e3;
  --blue-deep: #005bbf;
  --violet: #7c3aed;
  --cyan: #42d8ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfbfd 0%, #f3f4f8 52%, #ffffff 100%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 22px clamp(18px, 4vw, 64px) clamp(28px, 4vw, 56px);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 48% at 52% 8%, rgba(0, 113, 227, 0.16), transparent 64%),
    radial-gradient(ellipse 62% 40% at 78% 24%, rgba(124, 58, 237, 0.12), transparent 70%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.72) 42% 47%, transparent 47%);
  pointer-events: none;
}

.topbar,
.hero {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1180px, 100%);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.brand,
.topbar__mail {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 10px;
  color: rgba(17, 17, 20, 0.86);
  font-size: 0.96rem;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: var(--white);
  background: #111114;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.topbar__mail {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(17, 17, 20, 0.74);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero {
  width: min(1180px, 100%);
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 54px) 0 18px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.2rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.24rem, 2.4vw, 1.82rem);
  font-weight: 600;
  line-height: 1.28;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 28px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(0, 113, 227, 0.32);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  box-shadow:
    0 18px 36px rgba(0, 113, 227, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.mail-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 22px 42px rgba(0, 113, 227, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.mail-text {
  color: rgba(17, 17, 20, 0.62);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero__visual {
  position: relative;
  min-height: min(620px, calc(100vh - 120px));
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: min(88%, 620px);
  aspect-ratio: 1.35;
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.28)),
    linear-gradient(140deg, rgba(0, 113, 227, 0.22), rgba(124, 58, 237, 0.16), rgba(66, 216, 255, 0.12));
  filter: blur(4px);
  transform: rotate(-8deg) translateY(34px);
  box-shadow: 0 42px 120px rgba(48, 72, 104, 0.18);
  z-index: -2;
}

.hero__visual::after {
  content: "";
  position: absolute;
  width: min(82%, 560px);
  height: 32%;
  bottom: 54px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(34, 40, 50, 0.22), transparent 68%);
  filter: blur(22px);
  transform: perspective(600px) rotateX(62deg);
  z-index: -3;
}

.device {
  position: relative;
  width: min(88%, 550px);
  min-width: 320px;
  aspect-ratio: 0.78;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 243, 248, 0.64)),
    var(--panel);
  box-shadow:
    0 46px 120px rgba(35, 45, 65, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(17, 17, 20, 0.08);
  backdrop-filter: blur(20px);
  transform: rotate(3deg);
}

.device::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 34px;
  pointer-events: none;
}

.device__chrome {
  position: absolute;
  top: 26px;
  left: 32px;
  display: flex;
  gap: 7px;
  z-index: 3;
}

.device__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(17, 17, 20, 0.18);
}

.device__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 46px);
  color: var(--white);
  background:
    radial-gradient(ellipse 78% 54% at 64% 24%, rgba(255, 255, 255, 0.34), transparent 58%),
    linear-gradient(145deg, #0b1220 0%, #13223d 42%, #0071e3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.device__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 26%, rgba(255, 255, 255, 0.12) 26% 27%, transparent 27%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%);
}

.screen__badge,
.screen__title,
.screen__line {
  position: relative;
  z-index: 1;
}

.screen__badge {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.screen__title {
  font-size: clamp(5.6rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
}

.screen__line {
  display: block;
  width: min(78%, 320px);
  height: 12px;
  margin-top: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.screen__line--short {
  width: min(52%, 220px);
  height: 10px;
  margin-top: 13px;
  background: rgba(255, 255, 255, 0.36);
}

@media (max-width: 900px) {
  .page-shell {
    padding-inline: 18px;
  }

  .topbar__mail {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(4.2rem, 18vw, 7rem);
  }

  .lead {
    font-size: clamp(1.18rem, 5.2vw, 1.55rem);
  }

  .hero__visual {
    min-height: 420px;
  }

  .device {
    width: min(92%, 430px);
    min-width: 0;
    border-radius: 36px;
    transform: rotate(0deg);
  }
}

@media (max-width: 460px) {
  .page-shell {
    padding-top: 16px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 44px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 5.1rem);
  }

  .actions,
  .mail-link {
    width: 100%;
  }

  .mail-link {
    min-height: 50px;
  }

  .mail-text {
    width: 100%;
    text-align: center;
  }

  .hero__visual {
    min-height: 360px;
  }

  .device {
    width: 100%;
  }
}
