:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #142447;
  --muted: #586a83;
  --line: #dce4ef;
  --blue: #1749c7;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.page-width {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  line-height: 1;
}

nav a,
.footer-link {
  text-decoration: none;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

nav a:hover,
.footer-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 4px;
}

.nav-cta {
  color: var(--blue);
  font-weight: 600;
}

.hero {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 104px 112px;
}

.section-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-weight: 500;
}

h1 {
  max-width: 1020px;
  margin-block: 28px 36px;
  font-size: clamp(62px, 7.2vw, 104px);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 span {
  color: var(--blue);
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-copy {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.button:hover {
  background: #123da8;
  border-color: #123da8;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.idea-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding-block: 88px 96px;
}

.idea-grid > .section-label {
  padding-top: 9px;
}

.idea-copy {
  max-width: 680px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.idea-copy p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.idea-copy a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 3px;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.footer-link {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 700px) {
  .page-width {
    width: min(100% - 40px, 560px);
  }

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

  .brand img {
    width: 36px;
    height: 36px;
  }

  nav {
    gap: 12px;
    font-size: 12px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 610px;
    padding-block: 82px 88px;
  }

  h1 {
    margin-block: 24px 28px;
    font-size: clamp(38px, 9vw, 56px);
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .idea-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 64px 72px;
  }

  .idea-grid > .section-label {
    padding-top: 0;
  }

  .site-footer {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 20px;
    padding-block: 20px;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .page-width {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
