/* ─────────────────────────────────────────────────────────────
   Season Sans Font
   ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Season Sans';
  src: url('./assets/fonts/SeasonSansTRIAL-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./assets/fonts/SeasonSansTRIAL-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./assets/fonts/SeasonSansTRIAL-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./assets/fonts/SeasonSansTRIAL-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./assets/fonts/SeasonMix-TRIAL-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./assets/fonts/SeasonMix-TRIAL-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./assets/fonts/SeasonMix-TRIAL-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./assets/fonts/SeasonMix-TRIAL-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;

  --font-display: 'Season Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Horizontal breathing room on all devices */
  --page-pad-x: clamp(1rem, 5vw, 1.5rem);
  /* Mobile-first: smaller top padding by default */
  --page-pad-top: clamp(3rem, 10vh, 5rem);
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--page-pad-top) var(--page-pad-x);
}

.wrapper {
  width: 100%;
  max-width: 397px;
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 385px;
  margin-inline: auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.header-login {
  width: auto !important;
  padding: 0 !important;
}

.brand__logo {
  height: clamp(0.853rem, 1.23vw, 1.029rem);
  width: auto;
  display: block;
  transform: translateY(-10%);
}

.brand__logo path {
  fill: #242424;
  transition: fill 0.3s ease;
}

.brand:hover .brand__logo path {
  fill: #0000C5;
}

.brand__logo path.selected {
  fill: #ffffff !important;
}

/* Text selection styles */
::selection {
  background-color: #0000C5 !important;
  color: #ffffff !important;
}

::-moz-selection {
  background-color: #0000C5 !important;
  color: #ffffff !important;
}

.content {
  padding-left: 0;
}

.mission {
  margin-top: clamp(1.47rem, 2.95vw, 2.1rem);
  max-width: 385px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 0.926rem;
  line-height: 1.7;
  color: var(--muted);
}

.mission p {
  margin: 0 0 1.64rem;
  font-size: 0.926rem;
}

.mission p:last-child {
  margin-bottom: 0;
}

.mobile-break {
  display: none;
}

.nav {
  margin-top: clamp(1.47rem, 2.95vw, 2.1rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 385px;
  margin-inline: auto;
}

.nav .button-nothing-plop:last-child {
  margin-left: auto;
  justify-content: flex-end;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.78rem, 0.95vw, 0.875rem);
  color: var(--text);
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.nav__link:focus-visible {
  outline: 2px solid rgba(10, 10, 10, 0.55);
  outline-offset: 7px;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   Nothing-Plop Button (from tiny-mighty-buttons.webflow.io)
   ───────────────────────────────────────────────────────────── */
.button-nothing-plop {
  --elastic-ease-out: linear(
    0,
    0.5737 7.6%,
    0.8382 11.87%,
    0.9463 14.19%,
    1.0292 16.54%,
    1.0886 18.97%,
    1.1258 21.53%,
    1.137 22.97%,
    1.1424 24.48%,
    1.1423 26.1%,
    1.1366 27.86%,
    1.1165 31.01%,
    1.0507 38.62%,
    1.0219 42.57%,
    0.9995 46.99%,
    0.9872 51.63%,
    0.9842 58.77%,
    1.0011 81.26%,
    1
  );
  --smooth-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --color-ease: cubic-bezier(0.215, 0.61, 0.355, 1);

  position: relative;
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 0.61rem;
  padding: 0.75rem 1.08rem 0.75rem 0;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: 'Season Mix', serif;
  font-size: 0.722rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.22s var(--elastic-ease-out), color 0.32s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.button-nothing-plop:active {
  transform: scaleX(0.955) scaleY(0.954);
}

.button-nothing-plop:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.button-nothing-plop_bg {
  display: none;
}

.button-nothing-plop_inner {
  position: relative;
  z-index: 1;
}

.button-nothing-plop_text {
  transition: color 0.32s ease-out;
}

.button-nothing-plop_inner::before {
  display: none;
}

.button-nothing-plop_text {
}

.button-nothing-plop_icon {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 2px);
  grid-template-rows: repeat(5, 2px);
  gap: 1px;
}

.button-nothing-plop_icon.is-arrow {
  /* Pull arrow back to overlap the grid icon */
  margin-left: calc(-14px - 0.65rem);
}

.button-nothing-plop_dot {
  width: 2px;
  height: 2px;
  background-color: var(--text);
  border-radius: 50%;
  scale: 0;
  transition: scale 0.10s var(--smooth-ease);
  transition-delay: calc(var(--index) * 0.01s);
}

.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot {
  scale: 1;
  transition-delay: 0s;
  background-color: var(--text); /* default arrow: black */
}

/* Arrow dot positioning (forms a right-pointing arrow) */
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(1) { grid-area: 3 / 1; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(2) { grid-area: 3 / 2; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(3) { grid-area: 3 / 3; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(4) { grid-area: 3 / 4; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(5) { grid-area: 3 / 5; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(6) { grid-area: 2 / 4; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(7) { grid-area: 1 / 3; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(8) { grid-area: 4 / 4; }
.button-nothing-plop_icon.is-arrow .button-nothing-plop_dot:nth-child(9) { grid-area: 5 / 3; }

/* Hover states - only for devices with hover capability */
@media (hover: hover) and (pointer: fine) {
  .button-nothing-plop:is(:hover, :focus-visible) {
    color: #0000C5;
  }

  .button-nothing-plop:is(:hover, :focus-visible) .button-nothing-plop_dot {
    scale: 1;
    background-color: #0000C5; /* square turns blue */
    transition-delay: calc((var(--index) * 0.01s) + (var(--index-parent) * 0.019s));
  }

  .button-nothing-plop:is(:hover, :focus-visible) .button-nothing-plop_icon.is-arrow .button-nothing-plop_dot {
    scale: 0;
    background-color: #0000C5; /* arrow turns blue before hiding */
    transition-delay: 0s;
  }
}

/* Touch device styles */
@media (hover: none) or (pointer: coarse) {
  .button-nothing-plop:active .button-nothing-plop_bg {
    background-color: #4d4d4d;
    transition-duration: 0s;
  }

  .button-nothing-plop_dot {
    scale: 0;
  }

  .button-nothing-plop_icon.is-arrow .button-nothing-plop_dot {
    scale: 1;
    background-color: var(--text); /* Black arrows on mobile */
    transition-delay: 0s;
  }
}

/* ─────────────────────────────────────────────────────────────
   Arrow Blob Button (from tiny-mighty-buttons.webflow.io)
   ───────────────────────────────────────────────────────────── */
.button-arrow-blob {
  --elastic-ease-out: linear(
    0,
    0.5737 7.6%,
    0.8382 11.87%,
    0.9463 14.19%,
    1.0292 16.54%,
    1.0886 18.97%,
    1.1258 21.53%,
    1.137 22.97%,
    1.1424 24.48%,
    1.1423 26.1%,
    1.1366 27.86%,
    1.1165 31.01%,
    1.0507 38.62%,
    1.0219 42.57%,
    0.9995 46.99%,
    0.9872 51.63%,
    0.9842 58.77%,
    1.0011 81.26%,
    1
  );
  --smooth-ease: cubic-bezier(0.32, 0.72, 0, 1);

  position: relative;
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 0;
  padding: 0.75rem 1.08rem 0.75rem 0;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: 'Season Mix', serif;
  font-size: 0.722rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.36s var(--elastic-ease-out), color 0.44s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.button-arrow-blob_bg {
  display: none;
}

.button-arrow-blob:active {
  transform: scaleX(0.955) scaleY(0.954);
}

.button-arrow-blob_inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.button-arrow-blob_text {
  transition: translate 0.36s var(--smooth-ease), color 0.44s ease-out;
  margin-left: -40px;
}

.button-arrow-blob_icon {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  width: 14px;
  height: 14px;
  justify-content: center;
}

.button-arrow-blob_dot {
  display: grid;
  width: 2px;
  height: 2px;
  background-color: var(--text);
  border-radius: 50%;
  transition: translate 0.36s var(--smooth-ease);
  transition-delay: calc(var(--index) * 0.038s);
}

/* Arrow/chevron shape - dots offset to form > shape */
.button-arrow-blob_dot:nth-child(1) { margin-right: 6px; }  /* top - furthest left */
.button-arrow-blob_dot:nth-child(2) { margin-right: 3px; }  /* second */
.button-arrow-blob_dot:nth-child(3) { margin-right: 0; }    /* middle - furthest right (tip) */
.button-arrow-blob_dot:nth-child(4) { margin-right: 3px; }  /* fourth */
.button-arrow-blob_dot:nth-child(5) { margin-right: 6px; }  /* bottom - furthest left */

.button-arrow-blob_dot::before {
  content: "";
  display: block;
  grid-area: 1 / 1;
  background-color: #0000C5;
  border-radius: 50%;
  transition: scale 0.44s var(--smooth-ease), translate 0.44s var(--smooth-ease);
  translate: -0.5rem 0 0;
  scale: 0;
  transition-delay: calc(var(--index) * 0.051s);
}

@media (hover: hover) and (pointer: fine) {
  .button-arrow-blob:is(:hover, :focus-visible) {
    color: #0000C5;
  }

  .button-arrow-blob:is(:hover, :focus-visible) .button-arrow-blob_dot::before {
    scale: 1;
    translate: 0 0 0;
  }
}

/* active style only for touch devices */
@media (hover: none) or (pointer: coarse) {
  .button-arrow-blob_dot::before {
    scale: 1;
    translate: 0 0 0;
  }
}

@media (min-width: 769px) {
  :root {
    --page-pad-top: clamp(5.61rem, 16.83vh, 11.22rem);
  }

  .wrapper {
    max-width: 397px;
    margin-inline: auto;
  }

  .mission {
    font-size: 0.810rem;
    line-height: 1.85;
  }

  .nav {
    gap: 0.70rem;
  }
}

@media (max-width: 520px) {
  /* Scale down all content by 10% on mobile */
  :root {
    font-size: 90%;
  }

  .mobile-break {
    display: initial;
  }

  .mission p {
    margin: 0 0 1.17rem;
  }

  .nav {
    gap: 0.47rem;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .nav .button-nothing-plop:last-child {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }

  .button-nothing-plop {
    width: 100% !important;
    padding: 0.65rem 0.94rem 0.65rem 0;
    font-size: 0.667rem;
  }
}

/* Force stacked buttons on phones + tablets */
@media only screen and (max-width: 1024px) {
  .nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem;
  }

  /* Stack buttons: BOOK A CALL first, LOGIN second */
  .nav .button-nothing-plop:first-child {
    order: 1 !important;
  }

  .nav .button-nothing-plop:last-child {
    order: 2 !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }

  .button-nothing-plop {
    width: 100% !important;
  }
}

/* Extra fallback: stack on touch-first devices (e.g. large iPads) */
@media (pointer: coarse) {
  .nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem;
  }

  .nav .button-nothing-plop:last-child {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }

  .button-nothing-plop {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
