/* @import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"); */

:root {
  --brand: #ff6602;

  --accent-hue: 24;
  --accent: hsl(var(--accent-hue), 100%, 55%);
  --accent-hover: hsl(var(--accent-hue), 100%, 50%);
  --accent-light: hsl(var(--accent-hue), 100%, 70%);

  --background: hsl(225, 7%, 11%);
  --text-color: hsl(225, 7%, 95%);
  --h1-color: hsl(225, 7%, 70%);
  --section-background: hsl(225, 7%, 9%);

  --nav-cta-background: hsl(225, 7%, 9%);
  --nav-cta-color: var(--accent);
  --nav-cta-color-hover: hsl(225, 7%, 13%);

  --email-input-background: hsl(225, 7%, 9%);
  --email-input-border: 1px solid hsl(225, 7%, 19%);
  --email-input-color: white;
  --email-input-caret-color: lightgray;

  --email-cta-background: var(--accent);
  --email-cta-color: hsl(225, 7%, 13%);

  --footer-background: hsl(225, 7%, 9%);
  --footer-color: hsl(225, 7%, 80%);
  --footer-header-color: hsl(225, 7%, 95%);
}

@media (prefers-color-scheme: light) {
  :root {
    --accent-hue: 24;
    /* --accent: hsl(var(--accent-hue), 100%, 50%); */
    --accent: #ff6602;
    --accent-hover: #f46102;
    --accent-light: hsl(var(--accent-hue), 90%, 40%);

    --background: hsl(225, 7%, 95%);
    --text-color: hsl(225, 7%, 11%);
    --h1-color: hsl(225, 7%, 30%);
    --section-background: hsl(225, 7%, 91%);

    --nav-cta-background: hsl(225, 7%, 95%);
    --nav-cta-color: var(--accent);
    --nav-cta-color-hover: hsl(225, 7%, 87%);

    --email-input-background: hsl(225, 7%, 91%);
    --email-input-border: 1px solid hsl(225, 7%, 81%);
    --email-input-color: hsl(225, 7%, 11%);
    --email-input-caret-color: hsl(225, 7%, 11%);

    --email-cta-background: var(--accent);
    --email-cta-color: hsl(225, 7%, 100%);

    --footer-background: hsl(225, 7%, 91%);
    --footer-color: hsl(225, 7%, 20%);
    --footer-header-color: hsl(225, 7%, 5%);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  /* font-family: "Space Grotesk", Helvetica, sans-serif; */
  /* font-family: "Libre Franklin", Helvetica, sans-serif; */
  /* font-family: "Poppins", Helvetica, sans-serif; */
  /* font-family: "Raleway", Helvetica, sans-serif; */
  /* font-family: "Nunito", Helvetica, sans-serif; */
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.25;
  background: var(--background);
  color: var(--text-color);
}

/* https://fluidtypography.com/ */
html {
  font-size: clamp(1rem, 0.781vw + 0.625rem, 1.25rem);
  line-height: clamp(1.5rem, 0.391vw + 1.313rem, 1.625rem);
}

.accent {
  color: var(--accent);
}

.nav-cta {
  font-size: 1.1rem;
}

.tag1 {
  text-align: center;
  margin: 0 auto;

  font-size: calc(4vw + 0.5rem);
  line-height: 1.25;
}

.tag2 {
  display: inline-block;
  text-align: left;
  margin: 0 auto;

  font-size: 1.2rem;
  line-height: 1.25;
  max-width: 20rem;

  text-align: center;
}

@media only screen and (min-width: 768px) {
  .tag1 {
    font-size: calc(4vw + 8px);
  }
  .tag2 {
    /* font-size: 2vw; */
    max-width: 26rem;
  }
}

input,
select,
textarea,
button {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}

h1 {
  color: var(--h1-color);
  margin: 1.25rem 0;
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
}

h2 {
  color: var(--accent-light);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 300;
}

h3 {
  font-size: 1.1875rem;
}

p {
  line-height: 1.5;
}

li {
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.divider {
  border-top: 1px solid #fff1;
  margin: 0;
}

/*-----------------------------------------------------------------------------
 |  Header
 +---------------------------------------------------------------------------*/

header {
  padding: 3rem 2rem 1rem;
  /* min-height: 100vh; */
}

@media only screen and (max-width: 768px) {
  header {
    padding: 0 1rem 1rem;
  }
}

/*-----------------------------------------------------------------------------
 |  Section
 +---------------------------------------------------------------------------*/

section {
  padding: 1rem 1rem;
}

section#features {
  background: var(--section-background);
}

section .inner {
  max-width: 36rem;
  margin: 0 auto;
}

/* section .inner {
  margin: 0 auto;
}

.feature {
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.side video {
  height: 400px;
  width: 400px;
  border-radius: 8px;
  border: 2px solid #7f7f7f44;
} */

/*-----------------------------------------------------------------------------
 |  Email
 +---------------------------------------------------------------------------*/

.email-box {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  /* padding: 32px 16px 16px; */
  gap: 16px;
}

.email-input {
  padding: 8px;
  width: 260px;
  border-radius: 4px;
  font-size: 16px !important;
  background: var(--email-input-background);
  border: var(--email-input-border);
  color: var(--email-input-color);
  caret-color: var(--email-input-caret-color);
  outline: none;
}

.email-cta {
  display: inline-block;
  border-radius: 4px;
  padding: 8px;
  background: var(--email-cta-background);
  color: var(--email-cta-color);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  min-width: 100px;
  text-align: center;
  transition: 100ms all ease;
}

.email-cta:hover {
  text-decoration: none;
  background: var(--accent-hover);
}

/* img#demo {
  width: 100%;
  max-width: 540px;
  margin: 32px auto;
  display: block;
  box-shadow: 0 0 8px black;
  border: 2px solid #444;
  border-radius: 8px;
} */

/*-----------------------------------------------------------------------------
 |  Footer
 +---------------------------------------------------------------------------*/

footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1rem 2rem;
  background: var(--footer-background);
  color: var(--footer-color);
}

@media only screen and (max-width: 768px) {
  footer {
    padding: 1rem 1rem;
  }
}

.footer-header {
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
  color: var(--footer-header-color);
}

/*-----------------------------------------------------------------------------
 |   Nav
 +---------------------------------------------------------------------------*/

nav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: top;
  position: fixed;
  width: 100%;
  padding: 24px;
}

@media only screen and (max-width: 768px) {
  nav {
    position: static;
  }
}

nav img#logo {
  height: 64px;
  display: block;
}

nav .nav-cta {
  display: inline-block;
  border-radius: 4px;
  padding: 8px;
  border: 1px solid var(--nav-cta-color);

  background: var(--nav-cta-background);
  color: var(--nav-cta-color);
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  transition: 100ms all ease;
}

nav .nav-cta:hover {
  text-decoration: none;
  background: var(--accent);
  color: var(--nav-cta-color-hover);
}
