:root {
  --black: #000000;

  --mint: #c7efcf;
  --pale: #eef5db;
  --pink: #e63462;
  --slate: #8d99ae;

  --bg: #ffffff;
  --card: rgba(0, 0, 0, 0.035);
  --border: rgba(0, 0, 0, 0.10);
}

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

html, body {
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black);
  background: var(--bg);
}

/* ── Landing auth buttons (top-right, no header bar) ──── */
.landing-auth {
  position: fixed;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.landing-auth a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  letter-spacing: 0.01em;
}
.landing-auth .auth-link {
  color: var(--black);
  background: transparent;
  border: 1px solid transparent;
}
.landing-auth .auth-link:hover {
  background: rgba(0, 0, 0, 0.06);
}
.landing-auth .auth-cta {
  color: #fff;
  background: var(--black);
  border: 1px solid var(--black);
}
.landing-auth .auth-cta:hover {
  background: #1a1a1a;
}
@media (max-width: 480px) {
  .landing-auth { top: 14px; right: 14px; }
  .landing-auth a { padding: 7px 12px; font-size: 12.5px; }
}

/* ── Animated background blobs ──────────────────── */

.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.blob--mint {
  width: min(900px, 90vw);
  height: min(500px, 50vw);
  background: var(--mint);
  top: -8%;
  left: -10%;
  opacity: 0.9;
  animation: blob1 20s ease-in-out infinite alternate;
}

.blob--pink {
  width: min(900px, 90vw);
  height: min(500px, 50vw);
  background: var(--pink);
  top: -8%;
  right: -10%;
  opacity: 0.55;
  animation: blob2 26s ease-in-out infinite alternate;
}

.blob--slate {
  width: min(900px, 90vw);
  height: min(500px, 50vw);
  background: var(--slate);
  bottom: -8%;
  right: 0%;
  opacity: 0.6;
  animation: blob3 18s ease-in-out infinite alternate;
}

.blob--pale {
  width: min(1000px, 100vw);
  height: min(600px, 60vw);
  background: var(--pale);
  bottom: -8%;
  left: -5%;
  opacity: 0.9;
  animation: blob4 23s ease-in-out infinite alternate;
}

@keyframes blob1 {
  0%   { transform: translate(0,    0)    scale(1);    }
  100% { transform: translate(3vw,  2vh)  scale(1.05); }
}

@keyframes blob2 {
  0%   { transform: translate(0,    0)    scale(1.02); }
  100% { transform: translate(-4vw, 3vh)  scale(0.96); }
}

@keyframes blob3 {
  0%   { transform: translate(0,    0)    scale(1);    }
  100% { transform: translate(-3vw, -2vh) scale(1.04); }
}

@keyframes blob4 {
  0%   { transform: translate(0,    0)    scale(1.01); }
  100% { transform: translate(2vw,  -3vh) scale(0.97); }
}

.page {
  min-height: 100vh; 
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 18px;
}

.hero {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 42px 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  width: min(520px, 85%);
  max-height: 48vh;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
}

.subhead {
  font-weight: 100;
  margin-bottom: 24px;
  font-size: clamp(12px, 3.8vw, 18px);
  opacity: 0.86;
  white-space: nowrap;
}

.subhead2 {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  opacity: 0.86;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 18px 0;
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
  text-align: center;
  opacity: 0.7;
  flex-shrink: 0;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
  color: var(--black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(230, 52, 98, 0.35);
  outline-offset: 3px;
}

.btn--dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(230, 52, 98, 0.18);
}

.contact {
  width: min(560px, 100%);
  margin: 14px auto 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-height: 0;
  padding: 0 14px;  
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  filter: blur(2px);
  pointer-events: none;

  transition:
    max-height 320ms ease,
    padding 220ms ease,
    transform 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
}

.contact--open {
  max-height: 520px; 
  padding: 14px; 
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.contact__form {
  display: grid;
  gap: 10px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.contact__input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  outline: none;
}

.contact__input:focus {
  border-color: rgba(230, 52, 98, 0.35);
  box-shadow: 0 0 0 4px rgba(230, 52, 98, 0.14);
}

.contact__input--message {
  resize: none;
  overflow: hidden;
  min-height: 44px;
  max-height: 180px;
}

.contact__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__send {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.contact__send:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.95);
}

.contact__send svg {
  width: 20px;
  height: 20px;
  color: var(--black);
}

.contact__hint {
  margin: 10px 2px 0;
  font-size: 12px;
  opacity: 0.7;
}

.success {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.contact--closing {
  max-height: 0;
  padding: 0 14px; 
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  filter: blur(2px);
  pointer-events: none;

  transition:
    max-height 320ms ease,
    padding 220ms ease,
    transform 320ms ease,
    opacity 320ms ease,
    filter 320ms ease;
}

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

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

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