/* Copied from ./styles.css to ensure Vite build includes it (public assets). */
/* For changes, edit this file going forward. */

/* PawseKeys Landing — colors derived from app icon (peach→pink) */
:root {
  --brand-1: #FFB36B;
  --brand-2: #FF7EA1;
  --brand-3: #FF589A;
  --bg: radial-gradient(1200px 600px at 20% -10%, rgba(255, 179, 107, .35), transparent 60%),
    radial-gradient(1000px 500px at 90% 10%, rgba(255, 88, 154, .35), transparent 60%),
    linear-gradient(180deg, #fff, #fff);
  --text: #1b1b1f;
  --muted: #5f6368;
  --surface: #ffffffcc;
  --border: rgba(255, 88, 154, .15);
  --shadow: 0 10px 30px rgba(255, 88, 154, .25);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

a {
  transition: color .2s ease, opacity .2s ease
}

a:hover {
  opacity: .85
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

main section {
  scroll-margin-top: 88px
}

.site-header {
  position: sticky;
  top: .5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  max-width: 1100px;
  margin: .5rem auto 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .50)) padding-box, radial-gradient(120% 120% at 0% 0%, rgba(255, 179, 107, .45), rgba(255, 88, 154, .45)) border-box;
  border: 1px solid color-mix(in oklab, var(--brand-3) 25%, white 75%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 24px rgba(255, 88, 154, .18)
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff7;
  backdrop-filter: blur(6px);
  cursor: pointer
}

.menu-btn svg {
  width: 20px;
  height: 20px
}

.menu-btn .icon-x {
  display: none
}

body.nav-open .menu-btn .icon-bars {
  display: none
}

body.nav-open .menu-btn .icon-x {
  display: block
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow)
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  opacity: .95;
  transition: color .2s ease, opacity .2s ease
}

.nav a:hover {
  color: var(--text);
  opacity: .85
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  padding: 5rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .50));
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease
}

.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .46);
  border: 1px solid color-mix(in oklab, var(--brand-3) 12%, white 88%);
  backdrop-filter: blur(8px);
  transition: background .2s ease, opacity .2s ease, transform .2s ease
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .56);
  opacity: .96;
  transform: translateY(-1px)
}

.mobile-nav .langs {
  display: flex;
  gap: .5rem;
  margin-top: .5rem
}

.mobile-nav .langs a {
  flex: 1;
  text-align: center
}

.mobile-nav .close-btn {
  position: absolute;
  top: .9rem;
  right: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff7;
  backdrop-filter: blur(6px);
  cursor: pointer
}

.mobile-nav .close-btn svg {
  width: 20px;
  height: 20px
}

body.nav-open {
  overflow: hidden
}

body.nav-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: none
}

.hero {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: .25rem 0 .75rem
}

.hero .sub {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.25rem
}

.hero-art img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
  border-radius: 26px;
  box-shadow: var(--shadow)
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-weight: 700;
  transition: opacity .2s ease, transform .2s ease
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  color: #fff;
  box-shadow: var(--shadow)
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff7;
  backdrop-filter: blur(6px)
}

.btn:hover {
  opacity: .92;
  transform: translateY(-1px)
}

.btn-lg {
  padding: 1rem 1.4rem;
  font-size: 1.125rem
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  color: var(--muted)
}

.proof li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: .4rem .7rem;
  border-radius: 999px
}

.features {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem
}

.features h2,
.how h2,
.social-proof h2,
.cta-final h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem)
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem
}

.grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .03)
}

.grid h3 {
  margin: .25rem 0 .25rem;
  font-size: 1.1rem
}

.grid p {
  margin: 0;
  color: var(--muted)
}

.how {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem
}

.steps {
  display: grid;
  gap: .75rem;
  counter-reset: step
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem
}

.social-proof {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem
}

.testimonials figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem
}

.testimonials blockquote {
  margin: 0 0 .5rem;
  font-style: italic
}

.testimonials figcaption {
  color: var(--muted);
  font-size: .95rem
}

.cta-final {
  max-width: 800px;
  margin: 3rem auto 4rem;
  text-align: center;
  padding: 0 1rem
}

.cta-final .fine {
  color: var(--muted)
}

.site-footer {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.25rem 1rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border)
}

.site-footer nav {
  display: flex;
  gap: 1rem
}

.site-footer a {
  color: inherit;
  text-decoration: none
}

.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
}

body.modal-open {
  overflow: hidden
}

.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 18, 26, .58);
  backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease
}

.lead-overlay.is-visible,
.lead-overlay:target {
  opacity: 1;
  pointer-events: auto
}

.lead-modal {
  position: relative;
  width: min(100%, 520px);
  border-radius: 26px;
  padding: 2.2rem 2rem 2.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 236, 245, .88));
  border: 1px solid color-mix(in oklab, var(--brand-3) 32%, white 68%);
  box-shadow: 0 30px 70px rgba(32, 11, 30, .28);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .32s ease, opacity .32s ease
}

.lead-overlay.is-visible .lead-modal,
.lead-overlay:target .lead-modal {
  transform: translateY(0);
  opacity: 1
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--brand-3) 22%, white 78%);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px);
  color: var(--muted);
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease
}

.modal-close svg {
  width: 22px;
  height: 22px
}

.modal-close:hover {
  opacity: .82;
  transform: scale(.96)
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .42rem .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 179, 107, .35), rgba(255, 88, 154, .45));
  color: color-mix(in oklab, var(--brand-3) 75%, black 25%);
  border: 1px solid color-mix(in oklab, var(--brand-3) 30%, white 70%)
}

.lead-modal h2 {
  margin: 1.2rem 0 .6rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2
}

.lead-modal p {
  margin: 0;
  color: var(--muted)
}

.lead-benefits {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: .6rem
}

.lead-benefits li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid color-mix(in oklab, var(--brand-3) 18%, white 82%);
  font-weight: 600;
  color: color-mix(in oklab, var(--brand-3) 40%, var(--text) 60%);
  box-shadow: 0 10px 26px rgba(255, 88, 154, .12)
}

.lead-benefits li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  box-shadow: 0 0 0 4px rgba(255, 88, 154, .15)
}

.lead-modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.lead-modal .input-label {
  font-weight: 600;
  color: var(--text)
}

.lead-modal .input-group {
  display: flex;
  gap: .7rem
}

.lead-modal input[type="email"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--brand-3) 18%, white 82%);
  background: rgba(255, 255, 255, .9);
  padding: .75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease
}

.lead-modal input[type="email"]:focus {
  border-color: color-mix(in oklab, var(--brand-3) 50%, white 50%);
  box-shadow: 0 0 0 4px rgba(255, 120, 168, .25)
}

.lead-modal .consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .95rem;
  color: var(--muted)
}

.lead-modal .consent input {
  margin-top: .2rem
}

.lead-modal .form-note {
  font-size: .9rem
}

.lead-modal .form-feedback {
  min-height: 1.2em;
  font-weight: 600
}

.lead-modal form.is-sending .btn {
  pointer-events: none;
  opacity: .65
}

.lead-modal form.is-success .input-group,
.lead-modal form.is-success .consent,
.lead-modal form.is-success .form-note {
  display: none
}

.lead-modal form.is-success .form-feedback {
  color: color-mix(in oklab, var(--brand-3) 65%, green 35%)
}

.lead-modal form.is-error .form-feedback {
  color: #c0392b
}

.lead-modal form.is-error .btn {
  opacity: 1
}

.lead-modal form.is-success {
  gap: .5rem
}

.lead-modal form.is-success::after {
  content: '';
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  display: block
}

@media (max-width:900px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

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

  .cta-row {
    justify-content: center
  }

  .grid {
    grid-template-columns: 1fr 1fr
  }

  .testimonials {
    grid-template-columns: 1fr
  }
}

@media (max-width:560px) {
  .lead-modal {
    padding: 2rem 1.4rem
  }

  .lead-modal .input-group {
    flex-direction: column
  }

  .lead-modal .btn {
    width: 100%
  }

  .grid {
    grid-template-columns: 1fr
  }
}
