:root {
  color-scheme: light;
  --text: #1c1c1c;
  --muted: #8e8e8e;
  --background: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text)
}

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

a {
  color: inherit
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #fff
}

.content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 680px);
  margin: auto;
  text-align: center;
  padding: 38px 0 70px
}

.hero {
  display: flex;
  justify-content: center
}

.brand {
  width: min(100%, 520px)
}

.connect {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  margin: 10px auto 12px
}

.connect__social,
.connect__email {
  display: flex;
  flex-direction: column;
  align-items: center
}

.connect__heading {
  object-fit: contain;
  object-position: center bottom;
  height: 52px
}

.connect__heading--social {
  width: 135px
}

.connect__heading--email {
  width: 94px
}

.icon-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transition: transform .2s ease, filter .2s ease
}

.icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-4px) scale(1.055);
  filter: drop-shadow(0 5px 5px #00000015)
}

.icon-link:focus-visible,
.partner__link:focus-visible {
  outline: 2px solid #1174aa;
  outline-offset: 5px;
  border-radius: 8px
}

.characters {
  margin: 0 auto;
  width: min(100%, 580px)
}

.characters img {
  width: 100%
}

.partners {
  margin: -6px auto 0
}

.partners h2 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.5;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-style: italic;
  font-weight: 500;
  color: #b2b2b2
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start
}

.partner {
  min-width: 0;
  text-align: center
}

.partner__link {
  text-decoration: none;
  display: block
}

.partner__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px
}

.partner__image img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform .2s ease
}

.partner:first-child .partner__image img {
  width: 90px;
  height: 62px
}

.partner__link:hover img {
  transform: translateY(-3px)
}

.partner h3 {
  margin: 2px 0 9px;
  font-size: clamp(17px, 2.05vw, 24px);
  line-height: 1.1;
  font-weight: 700
}

.partner p {
  margin: 0;
  color: #888;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.18;
  font-weight: 600
}

.character {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  max-width: none
}

.character--left {
  width: clamp(300px, 35vw, 660px);
  left: max(-220px, calc(50% - 1050px));
  top: clamp(320px, 39vh, 470px)
}

.character--right {
  width: clamp(310px, 39vw, 750px);
  right: max(-255px, calc(50% - 1100px));
  top: clamp(270px, 28vh, 370px)
}

@media(min-width:1600px) {
  .content {
    width: 680px;
    padding-top: 42px
  }

  .brand {
    width: 530px
  }

  .connect {
    margin-top: 10px;
    margin-bottom: 12px
  }

  .character--left {
    left: calc(50% - 1120px)
  }

  .character--right {
    right: calc(50% - 1130px)
  }
}

@media(max-width:1200px) {
  .content {
    width: min(100% - 30px, 610px)
  }

  .character--left {
    width: 38vw;
    left: -16vw;
    top: 40vh
  }

  .character--right {
    width: 43vw;
    right: -19vw;
    top: 34vh
  }
}

@media(max-width:850px) {
  .content {
    width: min(100% - 28px, 580px);
    padding-top: 34px
  }

  .character--left,
  .character--right {
    opacity: .26
  }

  .character--left {
    left: -28vw;
    top: 40vh;
    width: 55vw
  }

  .character--right {
    right: -31vw;
    top: 37vh;
    width: 65vw
  }
}

@media(max-width:600px) {
  .content {
    width: min(100% - 24px, 460px);
    padding: 28px 0 50px
  }

  .brand {
    width: 100%
  }

  .connect {
    gap: 14px;
    margin: 13px auto 8px
  }

  .connect__heading {
    height: 46px
  }

  .connect__heading--social {
    width: 116px
  }

  .connect__heading--email {
    width: 86px
  }

  .icon-links {
    gap: 4px
  }

  .icon-link {
    width: 52px;
    height: 52px
  }

  .characters {
    width: 100%;
    margin: 20px auto 4px
  }

  .partners {
    margin: 5px auto 0
  }

  .partners h2 {
    font-size: 20px;
    margin-bottom: 8px
  }

  .partner-grid {
    gap: 12px
  }

  .partner__image {
    height: 62px
  }

  .partner__image img {
    width: 50px;
    height: 50px
  }

  .partner:first-child .partner__image img {
    width: 75px;
    height: 50px
  }

  .partner h3 {
    font-size: clamp(14px, 3.7vw, 18px);
    margin: 4px 0 7px
  }

  .partner p {
    font-size: 10px;
    line-height: 1.3;
    font-weight: 400
  }

  .character--left,
  .character--right {
    display: none
  }
}

@media(max-width:360px) {
  .content {
    width: calc(100% - 16px)
  }

  .icon-link {
    width: 46px;
    height: 46px
  }

  .connect {
    gap: 6px
  }

  .partner-grid {
    gap: 6px
  }

  .partner h3 {
    font-size: 13px
  }

  .partner p {
    font-size: 9px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .icon-link,
  .partner__image img {
    transition: none
  }
}

/* Side characters — 25% smaller on desktop */
@media (min-width: 1201px) {
  .character--left {
    width: clamp(225px, 26.25vw, 495px);
  }

  .character--right {
    width: clamp(232px, 29.25vw, 562px);
  }
}

/* Side characters — move closer to center */
@media (min-width: 1201px) {
  .character--left {
    transform: translateX(80px);
  }

  .character--right {
    transform: translateX(-80px);
  }
}

/* Side characters — final positioning adjustment */
@media (min-width: 1201px) {
  .character--left {
    transform: translate(140px, -50px);
  }

  .character--right {
    transform: translate(-165px, -130px);
  }
}

/* Left Oopsy — move 40px higher */
@media (min-width: 1201px) {
  .character--left {
    transform: translate(140px, -90px);
  }
}

/* Restore previous left Oopsy position */
@media (min-width: 1201px) {
  .character--left {
    transform: translate(140px, -50px);
  }
}

/* Left Oopsy — move 25px lower */
@media (min-width: 1201px) {
  .character--left {
    transform: translate(160px, -25px);
  }
}

/* Desktop — remove vertical scrolling */
@media (min-width: 1201px) {
  .landing {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
  }

  .content {
    padding-bottom: 0;
  }
}

/* Increase spacing between Social Networks and Email */
@media (min-width: 601px) {
  .connect {
    gap: 48px;
  }
}

/* Increase spacing between social media icons */
@media (min-width: 601px) {
  .icon-links {
    gap: 30px;
  }
}

/* Entire partner block is clickable */
.partner__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.partner {
  cursor: pointer;
}

.partner__link:hover {
  opacity: 0.85;
}


/* oopsy-cookie-consent-v1 */
.cookie-banner[hidden],
.cookie-settings[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 9999;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 640px);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 20px;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 30px #00000018;
  font-family: Arial, sans-serif;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  font-size: 14px;
}

.cookie-banner__text p {
  font-size: 12px;
  line-height: 1.5;
  color: #666666;
  margin: 5px 0 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
}

.cookie-banner__actions button {
  padding: 10px 16px;
  border: 1px solid #dddddd;
  border-radius: 9px;
  background: #ffffff;
  color: #222222;
  font-weight: 600;
  cursor: pointer;
}

#cookie-accept {
  background: #181818;
  color: #ffffff;
  border-color: #181818;
}

.cookie-banner__actions button:hover {
  opacity: .8;
}

.cookie-settings {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 9998;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: white;
  padding: 7px 10px;
  color: #555555;
  font-size: 11px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px;
  }

  .cookie-banner__actions button {
    flex: 1;
  }
}

/* Cookie Consent — single horizontal line on desktop */
@media (min-width: 601px) {
  .cookie-banner {
    width: min(96%, 850px);
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
  }

  .cookie-banner__text {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
  }

  .cookie-banner__text strong {
    flex-shrink: 0;
  }

  .cookie-banner__text p {
    margin: 0;
    font-size: 11px;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
  }
}

/* Compact Cookie Consent */
@media (min-width: 601px) {
  .cookie-banner {
    padding: 7px 14px;
    gap: 12px;
    border-radius: 10px;
  }

  .cookie-banner__actions button {
    padding: 6px 13px;
    font-size: 11px;
    border-radius: 6px;
    line-height: 1.2;
  }

  .cookie-banner__text strong {
    font-size: 12px;
  }

  .cookie-banner__text p {
    font-size: 11px;
  }
}

/* Move characters and partners 20px upward */
@media (min-width: 1201px) {

  .characters,
  .partners {
    position: relative;
    top: -10px;
  }
}

/* ==========================================
   OOPSYVIBES — MOBILE RESPONSIVE LAYOUT
   ========================================== */

@media (max-width: 600px) {

  html,
  body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
  }

  .landing {
    width: 100%;
    min-height: 100svh;
    height: auto;
    overflow: hidden;
  }

  /* Hide large side characters */
  .character--left,
  .character--right {
    display: none !important;
  }

  /* Main content */
  .content {
    width: calc(100% - 24px);
    max-width: 460px;
    margin: 0 auto;
    padding: 28px 0 85px;
    text-align: center;
  }

  /* Logo */
  .hero {
    width: 100%;
    justify-content: center;
  }

  .brand {
    width: 100%;
    max-width: 440px;
    height: auto;
  }

  /* Social + Email */
  .connect {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    margin: 18px auto 20px;
  }

  .connect__social,
  .connect__email {
    align-items: center;
    min-width: 0;
  }

  .connect__heading {
    height: 42px;
  }

  .connect__heading--social {
    width: 120px;
  }

  .connect__heading--email {
    width: 84px;
  }

  .icon-links {
    gap: 7px;
  }

  .icon-link {
    width: clamp(38px, 12vw, 53px);
    height: clamp(38px, 12vw, 53px);
  }

  /* Five Oopsy characters */
  .characters {
    position: static;
    width: 100%;
    max-width: 460px;
    margin: 12px auto 0;
  }

  .characters img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Partners */
  .partners {
    position: static;
    width: 100%;
    margin: 0 auto 15;
  }

  .partners h2 {
    font-size: 20px;
    margin: 0 0 10px;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .partner {
    min-width: 0;
    text-align: center;
  }

  .partner__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .partner__image {
    height: 58px;
  }

  .partner__image img {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .partner:first-child .partner__image img {
    width: 70px;
    height: 48px;
  }

  .partner h3 {
    font-size: clamp(12px, 3.6vw, 17px);
    margin: 4px 0 8px;
    line-height: 1.15;
  }

  .partner p {
    font-size: clamp(9px, 2.5vw, 11px);
    line-height: 1.3;
    font-weight: 400;
    overflow-wrap: break-word;
  }

  /* Cookie consent */
  .cookie-banner {
    width: calc(100% - 20px);
    max-width: 460px;
    bottom: 10px;
    padding: 12px;
    gap: 10px;
  }

  .cookie-banner__text {
    white-space: normal;
  }

  .cookie-banner__text strong {
    font-size: 12px;
  }

  .cookie-banner__text p {
    font-size: 11px;
    line-height: 1.4;
  }

  .cookie-banner__actions {
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .cookie-banner__actions button {
    flex: 1;
    padding: 8px;
    font-size: 12px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .content {
    width: calc(100% - 16px);
  }

  .connect {
    gap: 8px;
  }

  .icon-links {
    gap: 3px;
  }

  .partner-grid {
    gap: 5px;
  }
}

/* ==========================================
   OOPSYVIBES — MOBILE FINAL ADJUSTMENTS
   ========================================== */

@media (max-width: 600px) {

  /* Smaller centered logo */
  .brand {
    width: 90%;
    max-width: 396px;
    margin: 0 auto;
  }

  /* More space below Social / Email headings */
  .connect__heading {
    margin-bottom: 10px;
  }

  /* Spread social icons */
  .icon-links {
    gap: 14px;
  }

  /* Keep icons comfortably sized */
  .icon-link {
    width: clamp(38px, 11vw, 50px);
    height: clamp(38px, 11vw, 50px);
  }

  /* Center Cookie Consent title and description */
  .cookie-banner__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: normal;
  }

  .cookie-banner__text strong,
  .cookie-banner__text p {
    width: 100%;
    text-align: center;
  }
}

/* Narrow phones */
@media (max-width: 360px) {
  .icon-links {
    gap: 8px;
  }
}

/* Mobile — wider spacing between social icons */
@media (max-width: 600px) {
  .icon-links {
    gap: 24px;
  }
}

@media (max-width: 360px) {
  .icon-links {
    gap: 12px;
  }
}

/* My Partners image title — all screen sizes */
.partners__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 10px;
}

.partners__heading img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .partners__heading img {
    width: 100px;
  }
}

/* Mobile — balanced typography and headings */
@media (max-width: 600px) {

  /* Social Networks and Email titles */
  .connect__heading {
    height: 60px;
    margin-bottom: 15px;
  }

  .connect__heading--social {
    width: 138px;
  }

  .connect__heading--email {
    width: 97px;
  }

  /* Partner descriptions */
  .partner p {
    font-size: 9px;
    line-height: 1.3;
    font-weight: 400;
  }
}
/* Small phones — Cookie Consent below the content */
@media (max-width: 360px) {
  .cookie-banner {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    max-width: 460px;
    margin: 24px auto 12px;
    padding: 12px;
  }

  .cookie-banner__text strong {
    font-size: 12px;
  }

  .cookie-banner__text p {
    font-size: 10px;
    line-height: 1.4;
  }

  .cookie-banner__actions button {
    padding: 8px;
    font-size: 11px;
  }
}

/* Small mobile — reduce space before Cookie Consent */
@media (max-width: 360px) {
  .content {
    padding-bottom: 10px;
  }

  .cookie-banner {
    margin-top: 10px;
    margin-bottom: 12px;
  }
}

/* Mobile — Cookie Consent after partners */
@media (max-width: 600px) {
  .content {
    padding-bottom: 10px;
  }

  .cookie-banner {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    max-width: 460px;
    margin: 10px auto 12px;
  }
}

/* Mobile — remove excess space before Cookie Consent */
@media (max-width: 600px) {
  .landing {
    min-height: 0;
    height: auto;
  }

  .content {
    padding-bottom: 0;
  }

  .cookie-banner {
    margin-top: 20px;
    margin-bottom: 12px;
  }
}

/* ==========================================
   TABLET PORTRAIT — 601px to 850px
   ========================================== */

@media (min-width: 601px) and (max-width: 850px) and (orientation: portrait) {

  /* Hide large side characters */
  .character--left,
  .character--right {
    display: none !important;
  }

  .landing {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .content {
    width: min(100% - 40px, 580px);
    padding: 15px 0 10px;
  }

  /* Smaller logo */
  .brand {
    width: 420px;
    max-width: 100%;
  }

  /* Social networks and email */
  .connect {
    margin: 4px auto 6px;
    gap: 48px;
  }

  .connect__heading {
    height: 40px;
  }

  .icon-link {
    width: 52px;
    height: 52px;
  }

  .icon-links {
    gap: 18px;
  }

  /* Five characters */
  .characters {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  /* Partners */
  .partners {
    margin: -10px auto 0;
  }

  .partners__heading {
    margin-bottom: 4px;
  }

  .partners__heading img {
    width: 125px;
  }

  .partner-grid {
    gap: 16px;
  }

  .partner__image {
    height: 58px;
  }

  .partner__image img {
    width: 50px;
    height: 50px;
  }

  .partner:first-child .partner__image img {
    width: 75px;
    height: 50px;
  }

  .partner h3 {
    font-size: 19px;
    margin: 2px 0 5px;
  }

  .partner p {
    font-size: 10px;
    line-height: 1.2;
  }
}

/* Tablet portrait — balanced vertical spacing */
@media (min-width: 601px) and (max-width: 850px) and (orientation: portrait) {

  .content {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px 0 105px;
  }

  .hero,
  .connect,
  .characters,
  .partners {
    flex-shrink: 0;
  }

  .connect {
    margin: 0 auto;
  }

  .characters {
    margin: 0 auto;
  }

  .partners {
    margin: 0 auto;
  }
}
