:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #101319;
  --ink: #f5f7f9;
  --muted: #a9b2bd;
  --line: rgba(255, 255, 255, 0.15);
  --accent: #f2a63b;
  --cyan: #67c8dc;
  --max: 1180px;
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  width: min(100% - 40px, var(--max));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--accent);
}

.hero {
  width: min(100% - 40px, var(--max));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 42px 0 74px;
}

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

.eyebrow,
.tool-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
}

h1,
h2 {
  margin: 0;
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(44px, 7vw, 92px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.hero-copy p:last-child,
.tool-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1014;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.tools {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 0 0 92px;
}

.tool-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(103, 200, 220, 0.14), transparent 44%),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tool-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(242, 166, 59, 0.14), transparent 44%),
    var(--panel);
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
}

.tool-card p {
  max-width: 420px;
  margin: 0;
}

.tool-link {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #7f8893;
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero,
  .tools {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .tools,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    font-size: 15px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
  }

  .tool-card {
    min-height: 300px;
    padding: 22px;
  }
}
