:root {
    /* color */
    --bg-light: hsl(0, 0%, 10%);
    --bg: hsl(0, 0%, 5%);
    --bg-dark: hsl(0, 0%, 0%);

    --text: hsl(0, 0%, 95%);
    --text-muted: hsl(0, 0%, 70%);

    --primary: #5d65cc;


    /* shadow */
    --shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.30),
    0 4px 8px rgba(0, 0, 0, 0.15);

    --shadow-small:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 2px 3px rgba(0, 0, 0, 0.15);
    

    /* layout */
    --section-padding-horizontal: 160px;
    --section-padding-vertical: 60px;
    --section-max-width: 1440px;
    --section-gap: 20px;


    /* spacing */
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-20: 1.25rem;
    --space-24: 1.5rem;
    --space-48: 3rem;
    --space-72: 4.5rem;


    /* text */
    --text-12: 0.75rem;
    --text-14: 0.875rem;
    --text-16: 1rem;
    --text-18: 1.125rem;
    --text-20: 1.25rem;
    --text-24: 1.5rem;
    --text-32: 2rem;
    --text-40: 2.5rem;
    --text-48: 3rem;


    /* radius */
    --radius-big: 16px;
    --radius-small: 8px;
}

@media (max-width: 768px) {
  :root {
    --section-padding-horizontal: 24px;
    --section-padding-vertical: 24px;
  }
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

.main-container {
    position: relative;
    z-index: 100;
    background: linear-gradient(
    to right,
    color-mix(in srgb, var(--primary) 1%, var(--bg-dark)) 0%,
    color-mix(in srgb, var(--primary) 4%, var(--bg-dark)) 20%,
    color-mix(in srgb, var(--primary) 7%, var(--bg-dark)) 80%,
    color-mix(in srgb, var(--primary) 8%, var(--bg-dark)) 100%
  );
}

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--primary) 1%, var(--bg-dark)) 0%,
    color-mix(in srgb, var(--primary) 4%, var(--bg-dark)) 20%,
    color-mix(in srgb, var(--primary) 7%, var(--bg-dark)) 80%,
    color-mix(in srgb, var(--primary) 8%, var(--bg-dark)) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

button, input, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--primary);
  color: #fff;
}

h1, h2, h3, h4, h5, h6, p, small {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-light) var(--bg);
}

/* WebKit */
*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--bg-light);
  border-radius: 999px;
  box-shadow: var(--shadow);
}


.section {
    width: 100%;
    height: 600px;
    padding: 0;
}

.section-container {
    width: 100%;
    height: 100%;
    padding: var(--section-padding-vertical) var(--section-padding-horizontal);

    display: flex;
    justify-content: center;
    align-items: center;
}

.section-content {
    width: 100%;
    height: 100%;
    padding: 0;
    max-width: var(--section-max-width);

    display: flex;
    justify-content: space-between;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  gap: var(--space-20);
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-grow: 1;
  gap: var(--space-20);
}

.row > .column {
  flex: 1 1 0;
  min-width: 0;
}

.topleft {
  justify-content: start;
  align-items: self-start;
}

.center {
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: var(--text-48);
  font-weight: 700;
  color: var(--text);
}

h2 {
  font-size: var(--text-40);
  font-weight: 700;
  color: var(--text);
}

h3 {
  font-size: var(--text-24);
  font-weight: 500;
  color: var(--text-muted);
}

p {
  font-size: var(--text-16);
  font-weight: 400;
  color: var(--text-muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: inside;
}

ul li {
  font-size: var(--text-16);
  font-weight: 400;
  color: var(--text-muted);
}

small {
  font-size: var(--text-12);
  font-weight: 300;
  color: var(--text);
}

.divider,
hr {
    margin: 0;
    border: none;       
    border-top: 2px solid var(--text-muted);
}

.heading-strong {
  font-size: var(--text-48);
  font-weight: 700;
  color: var(--text);
}

.heading-medium {
  font-size: var(--text-40);
  font-weight: 700;
  color: var(--text);
}

.heading-weak {
  font-size: var(--text-24);
  font-weight: 500;
  color: var(--text-muted);
}

.subheading {
  font-size: var(--text-20);
  font-weight: 400;
  color: var(--text-muted);
}

.paragraph {
  font-size: var(--text-16);
  font-weight: 400;
  color: var(--text-muted);
}

.link {
  font-size: var(--text-16);
  font-weight: 400;
  color: var(--text);
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.link:hover,
.link:focus {
  transform: translateY(3px);
}

.link.current {
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

.image-include {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.svg-include {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-gradient {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--primary) 1%, var(--bg-dark)) 0%,
    color-mix(in srgb, var(--primary) 4%, var(--bg-dark)) 20%,
    color-mix(in srgb, var(--primary) 7%, var(--bg-dark)) 80%,
    color-mix(in srgb, var(--primary) 8%, var(--bg-dark)) 100%
  );
}

@media (max-width: 768px) {
  /* Section height */
  .section {
    height: auto;
  }

  /* Stack section content vertically */
  .mobile-stack {
    flex-direction: column;
  }

  /* Columns take full width */
  .column {
    width: 100%;
    gap: var(--space-16); /* controls spacing between children */
  }

  /* Section container respects mobile padding */
  .section-container {
    padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  }

  /* Links full-width for touch */
  .link {
    display: inline-block;
    width: 100%;
  }

  /* Headings responsive and consistent with typography classes */
  h1, .heading-strong {
    font-size: clamp(2rem, 6vw, var(--text-40));
    line-height: 1.3;
  }

  h2, .heading-medium, .subheading {
    font-size: clamp(1.75rem, 5vw, var(--text-32));
    line-height: 1.35;
  }

  h3, .heading-weak {
    font-size: clamp(1.25rem, 4vw, var(--text-24));
    line-height: 1.4;
  }

  p, .paragraph, ul li {
    font-size: var(--text-16);
    line-height: 1.5;
  }

  small {
    font-size: var(--text-12);
  }
}


