/* base.css */

:root {

  /* COLORS */

  --bg: #edf2f6;
  --page: #f8fafc;

  --ink: #354a5f;
  --heading: #3f607b;

  --muted: #788b9b;
  --muted-2: #5b7890;

  --line: #dce6ee;

  --surface: #eef3f7;
  --surface-soft: #e5edf4;

  --accent: #365f82;
  --accent-2: #6589a6;

  --warm: #ff5a35;
  --green: #23b26d;

  /* GRADIENTS */

  --brand-gradient: linear-gradient(
    90deg,
    var(--warm) 0%,
    var(--accent) 100%
  );

  --brand-gradient-vertical: linear-gradient(
    180deg,
    var(--warm) 0%,
    var(--accent) 100%
  );

  /* LAYOUT */

  --max: 1180px;
  --section-max: 1120px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --section-space: 88px;

  /* TYPOGRAPHY */

  --font-main: Inter, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --heading-line: .95;
  --paragraph-line: 1.18;

  /* SHADOWS */

  --shadow-soft: 0 18px 60px rgba(54, 95, 130, .08);
  --shadow-card: 0 14px 36px rgba(54, 95, 130, .06);
  --shadow-image: 0 24px 45px rgba(54, 95, 130, .12);
  --shadow-hero: 0 24px 70px rgba(54, 95, 130, .12);
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* STRONG */
.text-strong {
  font-weight: 750;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

html {
  scroll-behavior: smooth;
}

/* BODY */

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* LINKS */

a {
  color: inherit;
  text-decoration: none;
}

/* IMAGES */

img {
  max-width: 100%;
  display: block;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4 {
  color: var(--heading);
  letter-spacing: -0.05em;
  
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: var(--heading-line);
  font-weight: 620;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  font-weight: 560;
  margin-bottom:1em;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 600;
}

p {
  color: var(--muted);
  line-height: var(--paragraph-line);
}

/* MAIN LAYOUT */

.site-main {
  max-width: 1188px;
  margin: 22px auto 42px;
  background: var(--page);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* SECTIONS */

.section {
  max-width: var(--section-max);
  margin: auto;
  padding: var(--section-space) 20px;
}

/* UTILITIES */

.tech-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* RESPONSIVE */

@media (max-width: 960px) {

  .site-main {
    margin: 14px 12px 28px;
  }

  .section {
    padding: 68px 20px;
  }

}