/* Ovrtre marketing homepage — /ovrtre */

@font-face {
  font-family: "headings";
  src: url('/static/fonts/Alata-Regular.ttf');
}
@font-face {
  font-family: "superior_regular";
  src: url('/static/fonts/superior/LTSuperior-Regular.otf');
}

:root {
  --ovrtre-black: #1b1b1b;
  --ovrtre-near-black: #141414;
  --ovrtre-thunder: #3d3d3d;
  --ovrtre-rain: #b3b3b3;
  --ovrtre-cloud: #e8e8e8;
  --ovrtre-white: #ffffff;
  --ovrtre-night: #010860;
  --ovrtre-dusk: #10507b;
  --ovrtre-blue: #347ca0;
  --ovrtre-sky: #52b2cb;
  --ovrtre-sea: #0e5b5c;
  --ovrtre-forest: #03491d;
  --ovrtre-red: #df1c50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ovrtre-home {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: clamp(1.1rem, 0.7vw + 0.95rem, 1.5rem);
  font-family: "superior_regular", Helvetica, sans-serif;
  color: var(--ovrtre-white);
  background-image: url('/static/images/backgrounds/new_background-01.svg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
}

.ovrtre-home h1,
.ovrtre-home h2 {
  font-family: "headings", Helvetica, sans-serif;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.ovrtre-home a {
  color: inherit;
  text-decoration: none;
}

.ovrtre-home button {
  font-family: "headings", Helvetica, sans-serif;
  cursor: pointer;
}

/* Layout helpers */

.ovrtre-section {
  padding: 4rem 1.5rem;
}

.ovrtre-section-inner {
  max-width: 96rem;
  margin: 5rem auto;
}

.ovrtre-roadmap .ovrtre-section-inner {
  margin-bottom: 0;
}

h2.ovrtre-section-heading {
  text-align: center;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

.ovrtre-section-subheading {
  text-align: center;
  max-width: 58rem;
  margin: 0 auto 2.5rem;
  color: var(--ovrtre-cloud);
}

/* Nav */

.ovrtre-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: rgba(19, 19, 19, 0.35);
  backdrop-filter: blur(6px);
}

.ovrtre-nav-logo {
  justify-self: start;
}

.ovrtre-nav-logo img {
  height: 3rem;
  display: block;
}

.ovrtre-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.ovrtre-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.ovrtre-nav-login {
  font-family: "headings", Helvetica, sans-serif;
  border: 1.5px solid var(--ovrtre-white);
  border-radius: 999px;
  padding: 0.6rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
}

.ovrtre-nav-login:hover {
  background: var(--ovrtre-white);
  color: var(--ovrtre-black);
}

.ovrtre-nav-signup {
  font-family: "headings", Helvetica, sans-serif;
  border: 1.5px solid var(--ovrtre-sky);
  border-radius: 999px;
  padding: 0.6rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
  background: var(--ovrtre-sky);
  color: var(--ovrtre-white);
}

.ovrtre-nav-signup:hover {
  background: transparent;
  color: var(--ovrtre-sky);
}

.ovrtre-nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ovrtre-nav-toggle {
  display: none;
}

/* Buttons */

.ovrtre-cta {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 1.2rem 2.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: 0.03em;
  color: var(--ovrtre-white);
  background: linear-gradient(135deg, var(--ovrtre-night), var(--ovrtre-sky));
  box-shadow: 0 0 1.5rem rgba(82, 178, 203, 0.35);
}

.ovrtre-cta:hover {
  background: var(--ovrtre-night);
  box-shadow: 0 0 2rem rgba(82, 178, 203, 0.6);
}

.ovrtre-cta-outline {
  border: 1.5px solid var(--ovrtre-white);
  background: transparent;
  box-shadow: none;
}

.ovrtre-cta-outline:hover {
  background: var(--ovrtre-white);
  color: var(--ovrtre-black);
  box-shadow: none;
}

.ovrtre-cta-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* Hero */

.ovrtre-hero {
  padding-top: 3rem;
  padding-bottom: 0;
  text-align: center;
}

.ovrtre-hero-logo {
  width: min(90%, 32rem);
  margin: 1rem auto 1.5rem;
  display: block;
}

.ovrtre-hero-tagline {
  font-family: "headings", Helvetica, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--ovrtre-cloud);
  margin-bottom: 1.25rem;
}

.ovrtre-hero-body {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  color: var(--ovrtre-cloud);
  text-wrap: balance;
}

/* USP band */

.ovrtre-usp {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--ovrtre-near-black);
}

.ovrtre-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-align: center;
}

.ovrtre-usp-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
}

.ovrtre-usp-title {
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.ovrtre-usp-text {
  font-family: "superior_regular", Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--ovrtre-rain);
}

/* "Creating is only half the job" + screenshot */

.ovrtre-story {
  text-align: center;
}

.ovrtre-story-intro {
  max-width: 56rem;
  margin: 0 auto 2.5rem;
  color: var(--ovrtre-cloud);
}

.ovrtre-story-photo {
  width: min(100%, 40rem);
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: block;
  margin: 0 auto;
}

.ovrtre-story-caption {
  max-width: 50rem;
  margin: 2.5rem auto;
  color: var(--ovrtre-cloud);
  text-wrap: balance;
}

.ovrtre-story-screenshot {
  width: min(100%, 46rem);
  display: block;
  margin: 0 auto;
}

/* Your data is yours */

.ovrtre-data {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--ovrtre-near-black);
}

.ovrtre-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 16rem) 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.ovrtre-data-graphic {
  width: 100%;
  transform: rotate(-6deg);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}

.ovrtre-data-copy p {
  color: var(--ovrtre-cloud);
  margin: 0 0 1.25rem;
}

/* Roadmap */

.ovrtre-roadmap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  max-width: 56rem;
  margin: 0 auto;
}

.ovrtre-roadmap-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: "superior_regular", Helvetica, sans-serif;
  font-size: 2.1rem;
}

.ovrtre-roadmap-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.ovrtre-roadmap-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  margin: 2rem 0 0;
  color: var(--ovrtre-cloud);
}

.ovrtre-roadmap-more-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* FAQ accordion */

.ovrtre-faq {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--ovrtre-near-black);
}

.ovrtre-faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.ovrtre-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
}

.ovrtre-faq-item summary {
  cursor: pointer;
  font-family: "headings", Helvetica, sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  list-style: none;
}

.ovrtre-faq-item summary::-webkit-details-marker {
  display: none;
}

.ovrtre-faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.3rem;
}

.ovrtre-faq-item[open] summary::after {
  content: "\2212";
}

.ovrtre-faq-item p {
  color: var(--ovrtre-cloud);
  margin: 1rem 0 0;
}

/* Final CTA */

.ovrtre-final-cta {
  text-align: center;
}

.ovrtre-final-cta h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 2rem;
}

/* Footer */

.ovrtre-footer {
  margin-top: auto;
  background: var(--ovrtre-black);
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.ovrtre-footer-logo {
  height: 2.5rem;
  margin-bottom: 1.75rem;
}

.ovrtre-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1rem;
}

.ovrtre-footer-social-heading {
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--ovrtre-rain);
  margin-bottom: 0.75rem;
}

.ovrtre-footer-social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  font-size: 1rem;
}

.ovrtre-footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.ovrtre-footer-social-icons img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.ovrtre-footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--ovrtre-rain);
}

/* About page */

.ovrtre-page-header {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.ovrtre-page-header .ovrtre-section-inner {
  margin-top: 0;
  margin-bottom: 0;
}

.ovrtre-page-header + section {
  padding-top: 1rem;
}

.ovrtre-page-header + section .ovrtre-section-inner {
  margin-top: 0;
}

h1.ovrtre-about-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.ovrtre-about-block {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.ovrtre-about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

h2.ovrtre-about-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.ovrtre-about-photo {
  width: 100%;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.ovrtre-about-closing {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: var(--ovrtre-cloud);
}

/* Contact page */

.ovrtre-contact-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-areas:
    "intro form"
    "faq   form";
  gap: 1.5rem 4rem;
  align-items: start;
}

.ovrtre-contact-intro {
  grid-area: intro;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ovrtre-cloud);
}

.ovrtre-contact-form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
}

.ovrtre-contact-form div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ovrtre-contact-form label {
  font-family: "headings", Helvetica, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.ovrtre-contact-form .contact-consent {
  order: -1;
}

.ovrtre-contact-form div:has(.contact-consent) {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.ovrtre-contact-form .contact-style {
  font-family: "superior_regular", Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--ovrtre-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
}

.ovrtre-contact-form .contact-style:focus {
  outline: none;
  border-color: var(--ovrtre-sky);
}

.ovrtre-contact-form textarea.contact-style {
  resize: vertical;
  min-height: 8rem;
}

.ovrtre-contact-form .contact-consent {
  width: 1.1rem;
  height: 1.1rem;
}

.ovrtre-contact-form button {
  align-self: center;
  margin-top: 0.5rem;
}

.ovrtre-contact-form .errorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ovrtre-red);
  font-size: 0.85rem;
}

.ovrtre-contact-response {
  text-align: center;
  color: var(--ovrtre-cloud);
}

.ovrtre-contact-response p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.ovrtre-contact-faq-link {
  grid-area: faq;
  color: var(--ovrtre-cloud);
}

.ovrtre-contact-faq-link a {
  color: var(--ovrtre-sky);
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .ovrtre-usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ovrtre-data-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ovrtre-data-graphic {
    width: min(70%, 18rem);
    margin: 0 auto;
    transform: rotate(-4deg);
  }

  .ovrtre-roadmap-list {
    grid-template-columns: 1fr;
  }

  .ovrtre-about-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ovrtre-about-photo {
    width: min(70%, 18rem);
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .ovrtre-contact-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "form"
      "faq";
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ovrtre-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(19, 19, 19, 0.95);
    padding: 1.5rem 2rem;
    display: none;
  }

  .ovrtre-nav-toggle-checkbox:checked ~ .ovrtre-nav-links {
    display: flex;
  }

  .ovrtre-nav-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
  }

  .ovrtre-usp-grid {
    grid-template-columns: 1fr;
  }
}


/* Documentation pages */

.ovrtre-docs-wrap {
  max-width: 52rem;
}

.ovrtre-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ovrtre-docs-item a {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: 0.9rem;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(6px);
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1.2rem;
  color: var(--ovrtre-white);
}

.ovrtre-docs-item a:hover {
  background: rgba(20, 20, 20, 0.65);
}

.ovrtre-docs-empty,
.ovrtre-faq-empty {
  color: var(--ovrtre-cloud);
}

.ovrtre-doc-body {
  display: block;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(6px);
  color: var(--ovrtre-cloud);
}

.ovrtre-doc-body h1,
.ovrtre-doc-body h2,
.ovrtre-doc-body h3 {
  font-family: "headings", Helvetica, sans-serif;
  color: var(--ovrtre-white);
  margin: 1.5rem 0 0.75rem;
}

.ovrtre-doc-body a {
  color: var(--ovrtre-sky);
  text-decoration: underline;
}

.ovrtre-legal-updated {
  color: var(--ovrtre-rain);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.ovrtre-doc-back {
  margin-top: 2rem;
}

.ovrtre-doc-back a {
  color: var(--ovrtre-sky);
  text-decoration: underline;
}


/* Updates / news feed */

.ovrtre-update {
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(6px);
}

.ovrtre-update-title {
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
}

.ovrtre-update-title a {
  color: var(--ovrtre-white);
}

.ovrtre-update-title a:hover {
  color: var(--ovrtre-sky);
}

.ovrtre-update-date {
  color: var(--ovrtre-rain);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.ovrtre-update-body {
  color: var(--ovrtre-cloud);
}

.ovrtre-update-body a {
  color: var(--ovrtre-sky);
  text-decoration: underline;
}

/* Waiting-list signup form */
.ovrtre-waitlist-box {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 3rem;
  border-radius: 1.5rem;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  text-align: center;
}

.ovrtre-waitlist-box h2 {
  font-family: "headings", Helvetica, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ovrtre-white);
  margin: 0 0 1.5rem;
}

.ovrtre-waitlist-form {
  margin: 0;
  padding-top: 1.5rem;
  text-align: left;
}

.ovrtre-waitlist-form label {
  display: block;
  margin: 1.25rem 0 0.4rem;
  font-family: "headings", Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ovrtre-white);
}

.ovrtre-waitlist-form .ovrtre-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "superior_regular", Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--ovrtre-black);
}

.ovrtre-waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.5rem 0 0.5rem;
}

.ovrtre-waitlist-consent input[type="checkbox"] {
  margin: 0.15rem 0 0;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--ovrtre-sky);
}

.ovrtre-waitlist-consent label {
  display: inline;
  margin: 0;
  font-family: "superior_regular", Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ovrtre-cloud);
}

.ovrtre-waitlist-form button {
  display: block;
  width: fit-content;
  margin: 1.75rem auto 0;
}
