:root {
  color-scheme: light;
  --color-primary: #0b1e3d;
  --color-accent: #1dc0cf;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-background: #ffffff;
  --shadow-soft: 0 24px 48px rgba(11, 30, 61, 0.12);
  --font-stack: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  height: 100%;
}

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

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-stack);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:is(:hover, :focus-visible) {
  color: var(--color-accent);
}

.header-logo-social {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.header-logo-social ul {
  display: flex;
}
.site-header,
main,
.socials,
.site-footer {
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container {
  width: min(1080px, 90vw);
  margin-inline: auto;
  text-align: center;
  margin: 0 auto;
}

.site-header {
  padding-block: clamp(2.5rem, 8vw, 4rem);
  padding-bottom: 0;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  text-align: left;
}

.logo {
  width: 120px;
  margin: 0 auto 1.5rem 0;
}

h1,
h2 {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
}

h1 {
  all: unset;
  display: block;
  box-sizing: border-box;

  font-family: var(--font-avantt);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;

  color: var(--color-primary);

  font-size: clamp(12rem, 4vw, 3rem);
  line-height: 0.8;
  margin-bottom: 1rem;
  text-align: left;
}

#page-bg {
  width: 100vw;
  height: 100vh;
}

.hero-heading {
  color: #8f96a3;
  font-size: 1.8rem;
  text-align: left;
}

.tagline {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem;
  background: #0b1e3d;
  text-align: left;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 10vw, 5rem);
  padding-bottom: clamp(3rem, 10vw, 5rem);
}

main section {
  margin-inline: auto;
  width: 100%;
}

.socials .container {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.socials-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--color-primary);
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(11, 30, 61, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 30, 61, 0.16);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(29, 192, 207, 0.2),
    rgba(11, 30, 61, 0.15)
  );
}

.icon-svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.site-footer {
  margin-top: auto;
  padding-block: clamp(2rem, 6vw, 3rem);
  color: var(--almost-black);
  font-size: 0.95rem;
  text-align: center;
  border-radius: 24px 24px 0 0;
}

.site-footer a {
  color: inherit;
  font-weight: 500;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.site-footer small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-height: 1000px) {
  .site-header {
    padding-top: 1.5rem;
  }
  .site-header .container {
    align-items: center;
    text-align: center;
  }
  h1 {
    font-size: 8rem;
    text-align: center;
  }
  .site-footer {
    padding-block: clamp(1rem, 6vw, 2rem);
  }
  .flipdown {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 5rem;
    margin: 0 auto;
  }
  .header-logo-social {
    display: block;
    margin-bottom: 1.3rem;
  }
  h1 {
    font-size: 4rem;
    text-align: center;
  }
  .hero-heading {
    font-size: 1rem;
  }
  .tagline {
    font-size: 0.8rem;
  }
  .h1 {
    font-size: 8rem;
    text-align: center;
  }
  .social-link {
    padding: 0;
  }
  .social-label {
    display: none;
  }
  .social-icon {
    width: 2rem;
    height: 2rem;
  }
  .site-footer {
    padding-block: clamp(1rem, 6vw, 3rem);
  }
}

/* @media (min-width: 1024px) {
  .hero {
    margin-inline: auto;
  }

  .hero .container {
    padding-block: clamp(4rem, 10vw, 6rem);
  }

  .logo {
    margin-bottom: 2rem;
    width: 10rem;
    height: 10rem;
  }
}

@media (max-width: 600px) {
  .hero {
    border-radius: 20px;
  }

  .socials {
    border-radius: 20px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
} */

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