/* cowX homepage. Michroma only, weight 400 everywhere. Desktop (>=1280px) is the fork-trail design;
   below that is the calm mobile design, centred in a 560px column on tablets. */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/michroma.woff2') format('woff2');
}

*, h1, h2, h3, p, b, strong, button { font-weight: 400; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F8F9F7; color: #000000; font-family: 'Michroma', sans-serif; }
.page { font-family: 'Michroma', sans-serif; overflow: hidden; min-height: 100vh; }
a { color: #570BAD; }
a:hover { color: #B5179E; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #F72586; outline-offset: 3px; }

.label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #575757; }

/* header */
.head { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 18px; letter-spacing: 0.42em; color: #000000; text-decoration: none; }
.logo:hover { color: #000000; }
.logo span { color: #B5179E; }
.contact { position: relative; font-size: 18px; letter-spacing: 0.42em; color: #575757; text-decoration: none; padding: 6px 0; }
.contact::after { content: ""; position: absolute; left: 0; right: 0.42em; bottom: -4px; height: 7px; opacity: 0; transition: opacity .15s ease; background: linear-gradient(#F72586, #F72586) 0 0/100% 1.5px no-repeat, linear-gradient(#B5179E, #B5179E) 0 2.75px/100% 1.5px no-repeat, linear-gradient(#570BAD, #570BAD) 0 5.5px/100% 1.5px no-repeat; }
.contact:hover { color: #000000; }
.contact:hover::after { opacity: 1; }

/* hero (desktop) */
.hero { position: relative; max-width: 1200px; margin: 40px auto 0; padding: 0 40px; box-sizing: content-box; height: 760px; }
.trail { position: absolute; left: 40px; top: 0; overflow: visible; pointer-events: none; }
.drop-in { display: none; }
.hhead { position: relative; box-sizing: border-box; height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 72px 80px 12px; }
.hhead .label { margin: 0 0 4px; }
.hhead h1 { font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; }
.tagline { margin-top: 16px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #575757; white-space: nowrap; }
.m-br { display: none; }
.two { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 120px; }
.hcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; height: 340px; box-sizing: border-box; padding: 44px 64px; color: #000000; text-decoration: none; }
.hcard:hover { color: #000000; }
.card-title { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; }
.card-sub { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0; color: #575757; }
.card-body { font-size: 14px; line-height: 1.8; }
.card-link { font-size: 14px; }
.hcard--d10 .card-link { color: #B5179E; }
.hcard--cow .card-link { color: #570BAD; }

/* hook */
.hook { max-width: 1200px; margin: 0 auto; padding: 160px 40px 40px; }
.hook h2 { font-size: clamp(28px, 4vw, 54px); line-height: 1.2; letter-spacing: -0.02em; max-width: 18ch; }
.until { margin-top: 14px; font-size: clamp(24px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.02em; color: #B5179E; }
.hook-body { margin-top: 36px; font-size: 16px; line-height: 1.8; max-width: 46ch; }

/* three blocks */
.three-wrap { max-width: 1200px; margin: 0 auto; padding: 120px 40px 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; align-items: stretch; }
.blk { display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; min-height: 230px; padding: 40px 0; }
.blk--stat { padding: 40px; border-radius: 40px 40px 40px 0; background: #570BAD; color: #FFFFFF; }
.blk h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; }
.blk-body { font-size: 14px; line-height: 1.8; }
.blk--stat .blk-body { color: #E9E0F7; }
.stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat-n { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.stat-w { font-size: 18px; color: #F37795; }

/* get in touch */
.touch { max-width: 1200px; margin: 0 auto; padding: 180px 40px 140px; text-align: center; }
.touch .label { margin-bottom: 32px; }
.touch-lines { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.touch-lines p { font-size: clamp(18px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; }
.pill { display: inline-flex; margin-top: 48px; background: #570BAD; color: #FFFFFF; font-size: 15px; padding: 18px 30px; text-decoration: none; border-radius: 999px; }
.pill:hover { background: #B5179E; color: #FFFFFF; }

/* stripes + footer */
.stripes { display: grid; gap: 3px; }
.stripes div { height: 6px; }
.stripes div:nth-child(1) { background: #F72586; }
.stripes div:nth-child(2) { background: #B5179E; }
.stripes div:nth-child(3) { background: #570BAD; }
.cfoot { max-width: 1200px; margin: 0 auto; padding: 28px 40px 40px; font-size: 12px; color: #575757; }
.cfoot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cfoot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cfoot a, .cfoot button.cc-open { font: inherit; color: #575757; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.cfoot a:hover, .cfoot button.cc-open:hover { color: #000000; text-decoration: underline; text-underline-offset: 4px; }
.cfoot-legal { margin: 14px 0 0; font-size: 11px; line-height: 1.8; color: #575757; text-align: left; }

/* below 1280px: the calm mobile design, no fork, no wraps */
@media (max-width: 1279px) {
  .head { max-width: 560px; box-sizing: border-box; padding: 22px 20px; }
  .logo { font-size: 15px; letter-spacing: 0.4em; }
  .contact { font-size: 13px; letter-spacing: 0.4em; padding: 12px 0; }
  .contact::after { right: 0.4em; }
  .label { font-size: 10px; }

  .hero { max-width: 560px; box-sizing: border-box; height: auto; margin-top: 70px; padding: 0 20px; }
  .trail { display: none; }
  .drop-in { display: block; position: absolute; left: 50%; margin-left: -10px; top: 0; overflow: visible; pointer-events: none; }
  .hhead { height: 260px; padding: 78px 24px 0; justify-content: flex-start; gap: 10px; }
  .hhead .label { margin-bottom: 2px; }
  .hhead h1 { font-size: 26px; }
  .tagline { margin-top: 10px; font-size: 9.5px; line-height: 1.9; letter-spacing: 0.16em; white-space: normal; }
  .m-br { display: inline; }
  .two { display: flex; flex-direction: column; gap: 40px; }
  .hcard { height: 300px; gap: 16px; padding: 40px 24px 30px; }
  .hcard::before, .hcard::after { content: ""; position: absolute; left: 24px; right: 24px; height: 3px; border-radius: 3px; }
  .hcard::before { top: 0; background: var(--r1); }
  .hcard::after { top: 7px; background: var(--r2); }
  .hcard--d10 { --r1: #F72586; --r2: #B5179E; }
  .hcard--cow { --r1: #B5179E; --r2: #570BAD; }
  .card-title { font-size: 22px; }
  .card-sub { margin-top: 6px; font-size: 11px; }
  .card-body, .card-link { font-size: 12px; }

  .hook { max-width: 560px; box-sizing: border-box; padding: 90px 20px 0; }
  .hook h2 { font-size: 24px; line-height: 1.3; }
  .until { margin-top: 10px; font-size: 22px; }
  .hook-body { margin-top: 24px; font-size: 13px; }

  .three-wrap { max-width: 560px; box-sizing: border-box; padding: 64px 20px 0; }
  .three { display: flex; flex-direction: column; gap: 20px; }
  .blk { min-height: 0; padding: 28px; gap: 12px; }
  .blk--stat { padding: 28px; border-radius: 32px 32px 32px 0; }
  .blk h3 { font-size: 19px; line-height: 1.3; }
  .blk-body { font-size: 12px; }
  .stat-n { font-size: 28px; }
  .stat-w { font-size: 15px; }

  .touch { max-width: 560px; box-sizing: border-box; padding: 100px 20px 90px; }
  .touch .label { margin-bottom: 24px; }
  .touch-lines { gap: 12px; }
  .touch-lines p { font-size: 15px; line-height: 1.4; }
  .pill { margin-top: 36px; font-size: 13px; padding: 16px 26px; }

  .stripes div { height: 5px; }
  .cfoot { max-width: 560px; box-sizing: border-box; padding: 22px 20px 30px; font-size: 11px; }
}
@media (max-width: 699px) {
  .cfoot { font-size: 12px; }
  .cfoot-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .cfoot-links { flex-wrap: wrap; align-items: center; gap: 0 .7em; }
  .cfoot-links a, .cfoot-links button.cc-open { display: inline-flex; align-items: center; min-height: 44px; }
  .cfoot-legal { font-size: 10px; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact::after { transition: none; }
}

/* ---------- contact card ---------- */
.no-scroll { overflow: hidden; }
.ov { position: fixed; inset: 0; z-index: 50; }
.wash { position: absolute; inset: 0; background: rgba(248,249,247,.84); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.ov.open .wash { opacity: 1; }
.ov-head { display: none; }
.drop { position: absolute; left: 50%; top: 0; overflow: visible; pointer-events: none; }
.drop line { stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset .5s ease; }
.ov.open .drop line { stroke-dashoffset: 0; transition-delay: .05s; }
.ov .card { position: absolute; font-family: 'Michroma', sans-serif; opacity: 0; transform: translateY(14px); transition: opacity .3s .15s, transform .35s .15s; display: flex; flex-direction: column; background: #fff; color: #000; box-shadow: 0 30px 80px rgba(87,11,173,.13), 0 2px 8px rgba(0,0,0,.05); }
.ov.open .card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .wash, .ov .card, .drop line { transition: none !important; } }

.ov .card .top { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 8px; }
.ov .card .x { background: none; border: 0; font-family: inherit; cursor: pointer; padding: 6px 2px; line-height: 1; color: #B5179E; }
.ov .card .x:hover { color: #F72586; }
.form { display: flex; flex-direction: column; flex: 1; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f span { letter-spacing: .2em; text-transform: uppercase; color: #575757; }
.f input, .f textarea { font-family: inherit; color: #000; background: transparent; border: 0; border-bottom: 1.5px solid #CFCFCF; padding: 6px 0 10px; outline: none; resize: none; border-radius: 0; }
.f input:focus, .f textarea:focus, .f [aria-invalid=true] { border-color: #B5179E; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.err { margin: 0; color: #575757; line-height: 1.7; }
.err a { color: inherit; }
.send { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.go { font-family: inherit; border: 0; border-radius: 999px; cursor: pointer; background: #570BAD; color: #fff; }
.go:hover { background: #B5179E; }
.go:disabled { cursor: default; }
a.alt { color: #575757; text-decoration: none; line-height: 1; }
a.alt:hover { color: #575757; text-decoration: underline; text-underline-offset: 4px; }
.done { display: none; flex: 1; flex-direction: column; justify-content: center; gap: 16px; }
.ov .card.sent .form { display: none; }
.ov .card.sent .done { display: flex; }
.done h2 { margin: 0; letter-spacing: -.02em; line-height: 1.25; }
.done h2 em { font-style: normal; color: #B5179E; }
.done p, .again { color: #575757; }
.again { align-self: flex-start; font-family: inherit; background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 700px) {
  .ov .card { left: 0; right: 0; margin: 0 auto; width: 560px; max-width: calc(100vw - 48px); box-sizing: border-box; top: 116px; max-height: calc(100vh - 140px); overflow-y: auto; border-radius: 40px 40px 40px 0; padding: 32px 48px 44px; }
  .drop--m { display: none; }
  .ov .x { font-size: 18px; } .form { gap: 30px; } .f span { font-size: 11px; } .f input, .f textarea { font-size: 15px; }
  .go { font-size: 15px; padding: 17px 30px; } .alt { font-size: 12px; } .err { font-size: 12px; }
  .done h2 { font-size: 34px; } .done p { margin: 0; font-size: 14px; line-height: 1.8; }
}
@media (max-width: 699px) {
  .ov { background: #F8F9F7; }
  .wash { display: none; }
  .ov-head { display: block; position: absolute; top: 0; left: 0; right: 0; max-width: 560px; margin: 0 auto; box-sizing: border-box; padding: 22px 20px; }
  .ov-head .logo { font-size: 15px; letter-spacing: 0.4em; }
  .drop--d { display: none; }
  .ov .card { left: 0; right: 0; top: 112px; bottom: 0; box-sizing: border-box; border-radius: 32px 32px 0 0; padding: 28px 24px 30px; overflow-y: auto; }
  .ov .x { font-size: 15px; } .form { gap: 26px; } .f span { font-size: 10px; } .f input, .f textarea { font-size: 16px; }
  .go { font-size: 14px; padding: 16px 26px; } .alt { font-size: 11px; } .err { font-size: 11px; }
  .done h2 { font-size: 28px; } .done p { margin: 0; font-size: 13px; line-height: 1.8; }
}
