:root {
  color-scheme: light;
  --bg: #f7fbfb;
  --bg-strong: #ffffff;
  --ink: #071018;
  --muted: #536171;
  --line: rgba(7, 16, 24, 0.1);
  --cyan: #00a9d6;
  --green: #17c976;
  --coral: #ff7b61;
  --shadow: 0 24px 80px rgba(16, 47, 66, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(18px, 3vw, 42px);
  margin-left: auto;
  color: #253242;
  font-size: 16px;
  font-weight: 700;
}

.nav-links a,
.button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.button-secondary:hover {
  border-color: rgba(0, 169, 214, 0.75);
  box-shadow: 0 14px 36px rgba(0, 169, 214, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(700px, calc(100svh - 220px));
  grid-template-columns: minmax(320px, 0.9fr) minmax(430px, 1.1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
  padding: clamp(58px, 8vh, 88px) clamp(18px, 5vw, 86px) clamp(36px, 5vh, 54px);
  background:
    radial-gradient(circle at 72% 23%, rgba(255, 123, 97, 0.16), transparent 26%),
    radial-gradient(circle at 54% 54%, rgba(0, 169, 214, 0.14), transparent 24%),
    linear-gradient(90deg, #ffffff 0%, #fbfdfd 44%, #edf8f6 100%);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -14vw;
  width: 44vw;
  max-width: 640px;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 169, 214, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 680px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(56px, 7vw, 116px);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: 0;
}

.tagline,
.summary {
  max-width: 620px;
  color: #3d4b5d;
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.42;
}

.tagline {
  margin-bottom: 20px;
  font-weight: 650;
}

.summary {
  margin-bottom: 38px;
  color: var(--muted);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 10px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 850;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: white;
  box-shadow: 0 22px 46px rgba(0, 169, 214, 0.23);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 56px rgba(0, 169, 214, 0.28);
}

.button-secondary {
  border: 1px solid rgba(0, 169, 214, 0.45);
  background: rgba(255, 255, 255, 0.72);
  color: #0085a7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: min(50vw, 580px);
}

.hero-visual img {
  position: absolute;
  inset: -3% -16% 0 -3%;
  width: 118%;
  height: 102%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(1.04) contrast(1.02);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
  pointer-events: none;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  color: #0085a7;
  font-size: 17px;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.floating-panel svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.panel-learn {
  top: 11%;
  left: 20%;
}

.panel-create {
  top: 19%;
  right: 3%;
  color: var(--coral);
}

.panel-work {
  top: 46%;
  left: 8%;
  color: #12965d;
}

.panel-grow {
  top: 52%;
  right: 2%;
  color: #0eae69;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(270px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 86px);
  border-top: 1px solid var(--line);
  background: var(--bg-strong);
}

.workspace h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.workspace > div > p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.52;
}

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

.path-grid article {
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 251, 0.92)),
    var(--bg-strong);
}

.path-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}

.path-learn {
  background: linear-gradient(135deg, #00a9d6, #8ee9ff);
}

.path-work {
  background: linear-gradient(135deg, #17c976, #b3f5cd);
}

.path-create {
  background: linear-gradient(135deg, #ff7b61, #ffd0c6);
}

.path-grow {
  background: linear-gradient(135deg, #2bb673, #d7f8b8);
}

.path-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.path-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
}

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

  .nav-links {
    display: none;
  }

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

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

  .hero-visual img {
    inset: 0 -8% 0 -8%;
    width: 116%;
    height: 100%;
    mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    padding: 38px 16px 40px;
  }

  h1 {
    max-width: 358px;
    font-size: clamp(42px, 13vw, 54px);
    line-height: 1;
  }

  .tagline,
  .summary {
    max-width: 344px;
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
    margin-inline: -16px;
  }

  .floating-panel {
    min-width: 112px;
    min-height: 48px;
    padding: 10px 13px;
    font-size: 14px;
  }

  .floating-panel svg {
    width: 21px;
    height: 21px;
  }

  .panel-learn {
    top: 5%;
    left: 12%;
  }

  .panel-create {
    top: 17%;
    right: 7%;
  }

  .panel-work {
    top: 44%;
    left: 5%;
  }

  .panel-grow {
    top: 57%;
    right: 7%;
  }

  .workspace {
    padding: 54px 16px;
  }

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

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