/* MyOTJ "Coming soon" page for myotj.co.uk, from myotjlandingpage/MyOTJ Coming Soon.dc.html */
@font-face { font-family: "Instrument Sans"; src: url(/assets/fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root { --ink: #1D1D1F; --ink-2: #45433E; --muted: #62605A; --subtle: #8C8983; --bg: #F7F4EE; --lime: #D4F53C; --red: #F0443A; --red-fg: #B02F2F; --purple: #6A5AE8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--purple); }
input::placeholder { color: var(--subtle); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.page { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.wash {
  position: absolute; inset: -10%; pointer-events: none; animation: drift 18s ease-in-out infinite;
  background:
    radial-gradient(55% 45% at 8% 100%, rgba(43,196,180,.5) 0%, rgba(43,196,180,0) 70%),
    radial-gradient(50% 45% at 100% 80%, rgba(106,90,232,.38) 0%, rgba(106,90,232,0) 70%),
    radial-gradient(55% 40% at 50% 110%, rgba(212,245,60,.8) 0%, rgba(212,245,60,0) 70%);
}
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3%, 2%); } }

.top { position: relative; height: 76px; display: flex; align-items: center; padding: 0 clamp(20px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 24px/1 "Instrument Sans", sans-serif; letter-spacing: -.8px; color: var(--ink); }

.main { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px clamp(20px, 4vw, 48px) 72px; }
.grid { width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }

.intro { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font: 700 14px "Instrument Sans", sans-serif; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); }
h1 { margin: 0; font: 600 clamp(56px, 8vw, 96px)/.98 "Instrument Sans", sans-serif; letter-spacing: -.045em; }
.lead { margin: 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 460px; text-wrap: pretty; }

.frame {
  border-radius: 32px 96px 32px 32px; padding: 12px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(43,196,180,.36) 0%, rgba(43,196,180,0) 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(212,245,60,.55) 0%, rgba(212,245,60,0) 60%),
    radial-gradient(80% 80% at 100% 100%, rgba(106,90,232,.26) 0%, rgba(106,90,232,0) 60%),
    #FFFFFF;
}
.card { background: #FFFFFF; border-radius: 24px 84px 24px 24px; padding: clamp(28px, 4vw, 40px); box-shadow: 0 20px 50px rgba(29,29,31,.1); }

form { display: flex; flex-direction: column; gap: 20px; }
h2 { margin: 0; font: 600 26px/1.15 "Instrument Sans", sans-serif; letter-spacing: -.6px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input {
  height: 54px; border-radius: 16px; border: 0; background: var(--bg); padding: 0 18px; min-width: 0;
  font: 500 16px "Instrument Sans", sans-serif; color: var(--ink); outline: none; box-shadow: inset 0 0 0 1.5px transparent;
}
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input.invalid { box-shadow: inset 0 0 0 1.5px var(--red); }

.roles { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.roles legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  cursor: pointer; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #FFFFFF; color: var(--ink);
  font: 600 15px "Instrument Sans", sans-serif; box-shadow: inset 0 0 0 1.5px rgba(29,29,31,.15);
}
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--ink); }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; position: relative; }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.consent .box { width: 24px; height: 24px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(29,29,31,.25); }
.consent .box svg { opacity: 0; }
.consent input:checked + .box { background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 3px solid var(--purple); outline-offset: 2px; }
.consent.invalid .box { box-shadow: inset 0 0 0 1.5px var(--red); }
.consent-text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { margin: 0; font-size: 14px; font-weight: 600; color: var(--red-fg); background: rgba(240,68,58,.1); padding: 12px 16px; border-radius: 14px; }
.cta {
  cursor: pointer; height: 56px; border-radius: 999px; border: 0; background: var(--lime); color: var(--ink);
  font: 600 17px "Instrument Sans", sans-serif; box-shadow: 0 0 22px 2px rgba(212,245,60,.85); transition: transform .1s;
}
.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .6; cursor: default; }
.small { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.small a { color: var(--ink-2); text-decoration: underline; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 40px 0; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.done h2 { font-size: 36px; line-height: 1.05; letter-spacing: -1.2px; outline: none; }
.done p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 360px; }

.foot { position: relative; padding: 24px clamp(20px, 4vw, 48px) 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); }
.foot p { margin: 0; }
.foot .legal { display: block; margin-top: 4px; font-size: 12px; color: var(--muted, #62605A); }
.foot nav { display: flex; gap: 24px; }
.foot a { color: var(--ink-2); }

/* Privacy notice */
.doc { position: relative; max-width: 760px; margin: 0 auto; padding: 24px clamp(20px, 4vw, 48px) 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 18px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -.3px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 10px; }
.doc ul { padding-left: 22px; margin: 0 0 10px; }
.doc a { text-decoration: underline; color: var(--ink); }
.draft { background: #FFF0DB; color: #8F5300; font-weight: 600; padding: 14px 18px; border-radius: 14px; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) { .wash { animation: none; } .cta { transition: none; } }
.doc .updated { margin-top: 32px; }
