/* diveo-ds.css - Diveo Media design system: fonts, tokens and component styles. */
/* Brand fonts. Poppins is the UI/body face, VAG World Bold is the display face for hero headlines. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "VAG-World";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/vag-world-bold.woff2") format("woff2");
}
/* Diveo Media design tokens, extracted from website/scss. */
:root {
  /* Color */
  --dm-color-page: #485DED;          /* page and section background */
  --dm-color-surface: #4156E3;       /* header bar, decorative blobs, ink on light panels */
  --dm-color-muted: #7E8EFC;         /* labels, captions, copyright */
  --dm-color-shadow: #3A4BB8;        /* soft drop shadow under icons */
  --dm-color-shadow-strong: #1831CF; /* drop shadow under round social buttons */
  --dm-color-accent: #FFD942;        /* highlighted words in headlines */
  --dm-color-text: #FFFFFF;          /* primary text on blue */
  --dm-color-panel: #FFFFFF;         /* light panel (mobile menu) */

  /* Typography */
  --dm-font-body: "Poppins", sans-serif;
  --dm-font-display: "VAG-World", "Poppins", sans-serif;

  --dm-text-display-size: 52px;
  --dm-text-display-line: 64px;
  --dm-text-h2-size: 44px;
  --dm-text-h2-line: 66px;
  --dm-text-h3-size: 24px;
  --dm-text-h3-line: 24px;
  --dm-text-lead-size: 22px;
  --dm-text-lead-line: 32px;
  --dm-text-body-size: 20px;
  --dm-text-body-line: 28px;
  --dm-text-small-size: 16px;
  --dm-text-small-line: 24px;

  --dm-weight-regular: 400;
  --dm-weight-medium: 500;
  --dm-weight-semibold: 600;
  --dm-weight-bold: 700;

  /* Spacing */
  --dm-space-1: 4px;
  --dm-space-2: 8px;
  --dm-space-3: 12px;
  --dm-space-4: 16px;
  --dm-space-5: 20px;
  --dm-space-6: 24px;
  --dm-space-7: 28px;
  --dm-space-8: 32px;
  --dm-space-10: 40px;
  --dm-space-14: 56px;
  --dm-space-16: 66px;
  --dm-space-18: 72px;
  --dm-space-20: 88px;

  /* Layout */
  --dm-container-max: 1210px;
  --dm-container-gutter: 25px;

  /* Radius */
  --dm-radius-app-icon: 20px;
  --dm-radius-pill: 10px;
  --dm-radius-round: 50%;

  /* Shadow */
  --dm-shadow-social: -4px 2px 12px #1831CF;
  --dm-shadow-app-icon: -4px 2px 12px #3A4BB8;
  --dm-shadow-platform: -4px 2px 20px #3A4BB8;
  --dm-shadow-on-light: -2px 2px 8px rgba(0, 0, 0, 0.2);

  /* Motion */
  --dm-transition: 0.3s;
  --dm-hover-scale: 1.1;
  --dm-hover-fade: 0.7;
}
/* Diveo Media component styles. Every class is prefixed with `dm-`. */

/* Root */
.dm-root {
  font-family: var(--dm-font-body);
  color: var(--dm-color-text);
  background: var(--dm-color-page);
  font-size: var(--dm-text-body-size);
  line-height: var(--dm-text-body-line);
  -webkit-font-smoothing: antialiased;
}
:where(.dm-root) *,
:where(.dm-root) *::before,
:where(.dm-root) *::after {
  box-sizing: border-box;
}
:where(.dm-root) a {
  color: inherit;
  text-decoration: none;
}
:where(.dm-root) :where(h1, h2, h3, p) {
  margin: 0;
}

/* Container */
.dm-container {
  width: 100%;
  max-width: var(--dm-container-max);
  margin: 0 auto;
  padding: 0 var(--dm-container-gutter);
  position: relative;
}
@media (max-width: 500px) {
  .dm-container { padding: 0 15px; }
}

/* Typography */
.dm-display {
  font-family: var(--dm-font-display);
  font-weight: var(--dm-weight-bold);
  font-size: var(--dm-text-display-size);
  line-height: var(--dm-text-display-line);
}
@media (max-width: 1100px) {
  .dm-display { font-size: 40px; line-height: 120%; }
}
@media (max-width: 500px) {
  .dm-display { font-size: 32px; }
}

.dm-section-title {
  font-weight: var(--dm-weight-bold);
  font-size: var(--dm-text-h2-size);
  line-height: var(--dm-text-h2-line);
  margin-bottom: var(--dm-space-16);
  position: relative;
  z-index: 3;
}
.dm-section-title--center { text-align: center; }
.dm-section-title--left { text-align: left; }
@media (max-width: 1200px) {
  .dm-section-title { margin-bottom: var(--dm-space-10); font-size: 40px; line-height: 120%; }
}
@media (max-width: 800px) {
  .dm-section-title { font-size: 35px; }
  .dm-section-title--center { text-align: left; }
}
@media (max-width: 400px) {
  .dm-section-title { font-size: 28px; }
}

.dm-subtitle {
  font-weight: var(--dm-weight-semibold);
  font-size: var(--dm-text-lead-size);
  line-height: var(--dm-text-lead-line);
  max-width: 496px;
  position: relative;
  z-index: 3;
}
.dm-subtitle--center { text-align: center; margin: 0 auto var(--dm-space-18); }
.dm-subtitle--left { text-align: left; margin: 0 0 45px; }
@media (max-width: 1023px) {
  .dm-subtitle { font-size: 18px; line-height: 160%; }
}

.dm-label {
  color: var(--dm-color-muted);
  font-weight: var(--dm-weight-regular);
  font-size: var(--dm-text-small-size);
  line-height: var(--dm-text-small-line);
}
.dm-label--lg {
  font-weight: var(--dm-weight-semibold);
  font-size: var(--dm-text-lead-size);
  line-height: var(--dm-text-lead-line);
}

.dm-text {
  font-size: var(--dm-text-body-size);
  line-height: var(--dm-text-body-line);
  font-weight: var(--dm-weight-regular);
}
@media (max-width: 1023px) {
  .dm-text { font-size: 16px; line-height: 150%; }
}

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

/* Eyebrow (hero label with sparkle) */
.dm-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--dm-space-3);
  font-size: var(--dm-text-body-size);
  line-height: var(--dm-text-body-line);
}
.dm-eyebrow img { width: 28px; height: 24px; }

/* Logo */
.dm-logo { display: block; }
.dm-logo img { width: 100%; height: auto; display: block; }

/* Blob */
.dm-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.dm-blob path { fill: var(--dm-blob-color, var(--dm-color-surface)); }

/* Section */
.dm-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dm-color-page);
}
.dm-section__inner {
  position: relative;
  z-index: 2;
}
.dm-section--pad-md .dm-section__inner { padding: 75px 0; }
.dm-section--pad-lg .dm-section__inner { padding: 130px 0; }
.dm-section--pad-none .dm-section__inner { padding: 0; }
@media (max-width: 800px) {
  .dm-section--pad-md .dm-section__inner { padding: 50px 0; }
  .dm-section--pad-lg .dm-section__inner { padding: 80px 0; }
}
.dm-section .dm-blob--apps-1 { width: 2445px; height: 726px; left: 50%; top: 50%; transform: translate(-50%, -55%); }
.dm-section .dm-blob--apps-2 { width: 2313px; height: 657px; left: 10%; top: 50%; transform: translate(0, -40%); }
.dm-section .dm-blob--music { width: 2783px; height: 993px; left: 50%; top: 27%; transform: translate(-65%, -40%); }
.dm-section .dm-blob--about { width: 2660px; height: 932px; left: 50%; top: 0; transform: translate(-30%, 0); }
.dm-section .dm-blob--footer { width: 100%; height: 100%; left: 0; top: 0; }
.dm-section .dm-blob--wave-top { width: 3482px; height: 777px; left: 50%; top: 0; transform: translateX(-50%); }

/* Social link */
.dm-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dm-radius-round);
  box-shadow: var(--dm-shadow-social);
  transition: transform var(--dm-transition);
  flex: none;
}
.dm-social-link:hover { transform: scale(var(--dm-hover-scale)); }
.dm-social-link img { width: 100%; height: 100%; display: block; }
.dm-social-link--md { width: 50px; height: 50px; }
.dm-social-link--sm { width: 40px; height: 40px; }
.dm-social-link--on-light { box-shadow: var(--dm-shadow-on-light); }

.dm-social-links { display: flex; align-items: center; gap: var(--dm-space-5); }
.dm-social-links--grid { display: grid; grid-template-columns: repeat(3, 50px); gap: var(--dm-space-5); }

/* Nav links */
.dm-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: var(--dm-weight-medium);
  font-size: var(--dm-text-body-size);
  line-height: 30px;
}
.dm-nav a { transition: opacity var(--dm-transition); }
.dm-nav a:hover { opacity: var(--dm-hover-fade); }
@media (max-width: 1100px) {
  .dm-nav { font-size: 16px; line-height: 100%; }
}

/* Burger */
.dm-burger {
  position: relative;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.dm-burger span,
.dm-burger::before,
.dm-burger::after {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  border-radius: var(--dm-radius-pill);
  background: var(--dm-color-text);
  transition: var(--dm-transition);
}
.dm-burger::before { width: 16px; transform: translateY(-6px); }
.dm-burger span { width: 20px; }
.dm-burger::after { width: 24px; transform: translateY(6px); }
.dm-burger--open span { opacity: 0; }
.dm-burger--open::before,
.dm-burger--open::after { width: 24px; background: var(--dm-color-surface); }
.dm-burger--open::before { transform: rotate(45deg); }
.dm-burger--open::after { transform: rotate(-45deg); }

/* Header */
.dm-header {
  position: relative;
  width: 100%;
  background: var(--dm-color-surface);
  z-index: 10;
}
.dm-header__bar {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 20px 0;
}
.dm-header__logo { width: 80px; }
.dm-header__social { justify-content: flex-end; }
.dm-header__burger { display: none; justify-self: end; position: relative; z-index: 20; }
.dm-header__menu { position: absolute; top: 0; left: 0; right: 0; z-index: 15; }
@media (max-width: 1100px) {
  .dm-header__social .dm-social-link { width: 40px; height: 40px; }
  .dm-header__social { gap: 15px; }
}
@media (max-width: 880px) {
  .dm-header__bar { grid-template-columns: auto auto; justify-content: space-between; padding: 10px 0; }
  .dm-header__logo { width: 60px; }
  .dm-header__nav,
  .dm-header__social { display: none; }
  .dm-header__burger { display: flex; }
}
@media (min-width: 881px) {
  .dm-header__menu { display: none; }
}

/* Mobile menu */
.dm-mobile-menu {
  background: var(--dm-color-panel);
  color: var(--dm-color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px var(--dm-space-6) var(--dm-space-5);
  min-height: 560px;
  justify-content: space-between;
}
.dm-mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-weight: var(--dm-weight-semibold);
  font-size: 20px;
  line-height: 30px;
  margin-bottom: var(--dm-space-5);
}
.dm-mobile-menu__contact { margin-bottom: var(--dm-space-10); }
.dm-mobile-menu__contact .dm-label,
.dm-mobile-menu__social .dm-label { margin-bottom: 7px; }
.dm-mobile-menu__social .dm-label { margin-bottom: 22px; }
.dm-mobile-menu__email { font-weight: var(--dm-weight-semibold); font-size: 16px; line-height: 22px; }
.dm-mobile-menu__social .dm-social-links { margin: 0 auto 50px; justify-content: center; }

/* Hero */
.dm-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dm-color-page);
}
.dm-hero .dm-blob--wave-top { width: 3482px; height: 777px; left: 50%; bottom: 0; transform: translateX(-50%); }
.dm-hero__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 80px 0 75px;
}
.dm-hero__text { width: 512px; min-width: 512px; position: relative; z-index: 2; }
.dm-hero__text .dm-eyebrow { margin-bottom: var(--dm-space-5); }
.dm-hero__image { width: 817px; max-width: 60%; height: auto; transform: translateX(-60px); display: block; }
@media (max-width: 1100px) {
  .dm-hero__text { width: 400px; min-width: 400px; }
}
@media (max-width: 800px) {
  .dm-hero__wrap { flex-direction: column; padding: 40px 0 50px; }
  .dm-hero__text { width: 100%; min-width: 0; text-align: center; }
  .dm-hero__text .dm-eyebrow { display: none; }
  .dm-hero__text .dm-display { margin-bottom: var(--dm-space-6); }
  .dm-hero__image { max-width: 100%; transform: none; }
}

/* Store badge */
.dm-store-badge {
  display: flex;
  align-items: center;
  transition: transform var(--dm-transition);
}
.dm-store-badge:hover { transform: scale(var(--dm-hover-scale)); }
.dm-store-badge img { width: 100%; height: auto; display: block; }
.dm-store-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 27px;
  align-items: center;
  width: 380px;
  max-width: 100%;
}

/* App icon */
.dm-app-icon {
  border: 2.5px solid var(--dm-color-text);
  border-radius: var(--dm-radius-app-icon);
  box-shadow: var(--dm-shadow-app-icon);
  display: block;
  flex: none;
  object-fit: cover;
}

/* Rating */
.dm-rating { display: block; width: 80px; height: 16px; }

/* App card */
.dm-app-card {
  display: flex;
  align-items: flex-end;
  gap: var(--dm-space-10);
  position: relative;
}
.dm-app-card--image-left { flex-direction: row-reverse; }
.dm-app-card__info { max-width: 460px; position: relative; z-index: 2; flex: none; }
.dm-app-card__head { display: flex; align-items: center; gap: var(--dm-space-7); margin-bottom: var(--dm-space-5); }
.dm-app-card__title-wrap { display: flex; flex-direction: column; gap: var(--dm-space-1); }
.dm-app-card__title {
  font-weight: var(--dm-weight-bold);
  font-size: var(--dm-text-h3-size);
  line-height: var(--dm-text-h3-line);
  text-transform: uppercase;
}
.dm-app-card__desc { margin-bottom: var(--dm-space-14); }
.dm-app-card__image { flex: 1 1 auto; min-width: 0; max-width: 620px; height: auto; display: block; position: relative; z-index: 1; }
@media (max-width: 1100px) {
  .dm-app-card__desc { margin-bottom: 30px; }
}
@media (max-width: 800px) {
  .dm-app-card,
  .dm-app-card--image-left { flex-direction: column; align-items: stretch; }
  .dm-app-card__info { max-width: 100%; }
  .dm-app-card__head { margin-bottom: var(--dm-space-8); gap: var(--dm-space-5); }
  .dm-app-card__image { max-width: 100%; order: -1; }
}
@media (max-width: 550px) {
  .dm-app-card__title { font-size: 18px; line-height: 100%; }
}

/* Music platform */
.dm-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100px;
  text-align: center;
  font-size: var(--dm-text-body-size);
  line-height: var(--dm-text-body-line);
}
.dm-platform img {
  width: 100px;
  height: 100px;
  border-radius: var(--dm-radius-round);
  box-shadow: var(--dm-shadow-platform);
  margin-bottom: var(--dm-space-5);
  transition: transform var(--dm-transition);
  display: block;
}
.dm-platform:hover img { transform: scale(var(--dm-hover-scale)); }
.dm-platforms { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--dm-space-6); }
@media (max-width: 1023px) {
  .dm-platform { max-width: 80px; font-size: 16px; line-height: 140%; }
  .dm-platform img { width: 80px; height: 80px; margin-bottom: 10px; }
}
@media (max-width: 800px) {
  .dm-platforms { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-around; gap: 60px 20px; }
}

/* About block */
.dm-about { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--dm-space-10); }
.dm-about__image { width: 389px; max-width: 40%; height: auto; display: block; flex: none; }
.dm-about__text { max-width: 660px; }
.dm-about__text p { margin-bottom: 10px; }
@media (max-width: 800px) {
  .dm-about { flex-direction: column; }
  .dm-about__image { max-width: 220px; }
  .dm-about__text { max-width: 100%; }
  .dm-about__text p { margin-bottom: 22px; }
}

/* Contact block */
.dm-contact { display: flex; flex-direction: column; }
.dm-contact .dm-label { margin-bottom: var(--dm-space-6); }
.dm-contact__email { font-size: var(--dm-text-body-size); line-height: var(--dm-text-body-line); transition: opacity var(--dm-transition); }
.dm-contact__email:hover { opacity: var(--dm-hover-fade); }
@media (max-width: 760px) {
  .dm-contact .dm-label { margin-bottom: var(--dm-space-3); }
}

/* Footer */
.dm-footer { position: relative; width: 100%; background: var(--dm-color-page); overflow: hidden; }
.dm-footer .dm-blob--footer { width: 100%; height: 100%; left: 0; top: 0; }
.dm-footer__wrap { position: relative; z-index: 2; padding: 164px 0 150px; }
.dm-footer__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--dm-space-20); gap: var(--dm-space-10); }
.dm-footer__social-wrap { max-width: 660px; width: 100%; }
.dm-footer__social-wrap .dm-label { margin-bottom: var(--dm-space-6); }
.dm-footer__copyright { color: var(--dm-color-muted); font-size: var(--dm-text-body-size); line-height: var(--dm-text-body-line); }
@media (max-width: 1023px) {
  .dm-footer__social-wrap { width: auto; max-width: none; }
}
@media (max-width: 760px) {
  .dm-footer__wrap { padding: 80px 0 20px; }
  .dm-footer__top { display: block; margin-bottom: 70px; }
  .dm-footer__top .dm-contact { margin-bottom: 70px; }
  .dm-footer__social-wrap .dm-label { margin-bottom: var(--dm-space-3); }
  .dm-footer__copyright { font-size: 16px; line-height: 1; }
}
