:root {
  --bg: #f4f4f2;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --text: #161616;
  --muted: #676767;
  --line: rgba(22, 22, 22, 0.10);
  --yellow: #ffe500;
  --yellow-soft: #fff9bf;
  --blue: #0969da;
  --blue-soft: #e9f2ff;
  --orange: #e36b1e;
  --orange-soft: #fff0e6;
  --green: #198754;
  --green-soft: #e7f5ed;
  --violet: #7257d6;
  --violet-soft: #f0ecff;
  --shadow-sm: 0 10px 34px rgba(0, 0, 0, 0.055);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.11);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "FK Screamer", "FKScreamer", "Arial Narrow", Impact, sans-serif;
  --font-body: "Faktum", "Faktum Regular", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: "FK Screamer";
  src: url("fonts/FKScreamer.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("fonts/Rene Bieder - Faktum Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("fonts/Rene Bieder - Faktum Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("fonts/Rene Bieder - Faktum SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("fonts/Rene Bieder - Faktum Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 13% 0%, rgba(255, 229, 0, 0.16), transparent 26rem),
    radial-gradient(circle at 100% 24%, rgba(9, 105, 218, 0.06), transparent 26rem),
    var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

svg {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 242, 0.80);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.topbar__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.brand__separator {
  width: 1px;
  height: 26px;
  background: rgba(22, 22, 22, 0.18);
}

.brand__name {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

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

.hero {
  padding: clamp(76px, 9vw, 122px) 0 clamp(82px, 10vw, 136px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(44px, 7vw, 98px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 12px;
  margin-bottom: 21px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.89;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 span {
  color: #777;
}

.hero__copy > p {
  max-width: 580px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease;
}

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

.hero__button:hover {
  transform: translateY(-2px);
  background: #000;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 229, 0, 0.28), rgba(255, 255, 255, 0.22));
  transform: translate(62px, -36px);
}

.hero__visual::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 32px;
  right: 7%;
  bottom: 16%;
  background: var(--yellow);
  transform: rotate(-4deg);
}

.hello-card {
  position: relative;
  z-index: 1;
  width: min(100%, 530px);
  min-height: 314px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255,255,255,0.92);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  transform: rotate(1.2deg);
  animation: float-card 6s ease-in-out infinite;
}

.hello-card img {
  width: 100%;
  height: auto;
}

@keyframes float-card {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50% { transform: rotate(0.3deg) translateY(-9px); }
}

.section {
  padding: clamp(74px, 8vw, 112px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 38px;
}

.section-heading__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.resource-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.tools {
  background: rgba(255,255,255,0.48);
  border-top: 1px solid rgba(0,0,0,0.045);
  border-bottom: 1px solid rgba(0,0,0,0.045);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 20px;
}

.tool-card {
  min-height: 322px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -92px;
  top: -108px;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.8;
  transition: transform 300ms var(--ease), opacity 300ms ease;
}

.tool-card--blue::before { background: var(--blue-soft); }
.tool-card--orange::before { background: var(--orange-soft); }
.tool-card--green::before { background: var(--green-soft); }
.tool-card--violet::before { background: var(--violet-soft); }

.tool-card:hover {
  transform: translateY(-7px);
  border-color: rgba(22,22,22,0.16);
  box-shadow: var(--shadow-lg);
}

.tool-card:hover::before {
  transform: scale(1.13);
  opacity: 1;
}

.tool-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tool-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.tool-card--blue .tool-card__icon { color: var(--blue); background: var(--blue-soft); }
.tool-card--orange .tool-card__icon { color: var(--orange); background: var(--orange-soft); }
.tool-card--green .tool-card__icon { color: var(--green); background: var(--green-soft); }
.tool-card--violet .tool-card__icon { color: var(--violet); background: var(--violet-soft); }

.tool-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-card__open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.tool-card__open svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}

.tool-card:hover .tool-card__open svg {
  transform: translate(2px, -2px);
}

.tool-card__content {
  margin-top: 52px;
}

.tool-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tool-card h3 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-transform: uppercase;
}

.tool-card p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.resource {
  padding-top: clamp(64px, 8vw, 104px);
}

.resource-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.resource-panel__icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #217346;
  background: #eaf6ef;
}

.resource-panel__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-panel__content p {
  max-width: 590px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 670;
  white-space: nowrap;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}

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

.download-button:hover {
  transform: translateY(-2px);
  background: #000;
  box-shadow: 0 12px 25px rgba(0,0,0,0.14);
}

.footer {
  padding: 28px 0 34px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer__brand {
  color: var(--text);
  font-weight: 650;
}

.footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
  }

  .hello-card {
    width: min(620px, 94%);
    min-height: 245px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-panel {
    grid-template-columns: auto 1fr;
  }

  .download-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    height: 64px;
  }

  .brand__logo {
    height: 32px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 76px);
  }

  .hero__copy > p {
    font-size: 17px;
  }

  .hero__visual {
    min-height: 225px;
  }

  .hello-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 30px;
  }

  .hero__visual::after {
    width: 92px;
    height: 24px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .tool-card {
    min-height: 275px;
    padding: 24px;
  }

  .resource-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 26px;
  }

  .download-button {
    width: 100%;
  }
}
