/* Lead funnel: the enquiry form, the "notification" nudge, the form sheet and the phone menu.
   Shared by the main page, the ad landing page (lp/) and the thank-you page. */

/* ---- the form ---- */
.lf{display:grid;gap:12px;text-align:left}
.lf label{display:grid;gap:6px;font:700 15px/1.3 var(--sans,"Hind Madurai",sans-serif);color:inherit}
.lf label small{font-weight:500;color:#9fb1a3}
.lf input:not([type=checkbox]),.lf select{width:100%;min-height:52px;padding:0 14px;border-radius:12px;border:1.5px solid #e8c97b55;background:#fbf6e8;color:#0b2a1e;font:600 17px var(--sans,"Hind Madurai",sans-serif);box-sizing:border-box}
.lf input:focus,.lf select:focus{outline:3px solid #e8c97b;outline-offset:1px;border-color:#e8c97b}
.lf__tel{display:flex;align-items:stretch}
.lf__tel b{display:grid;place-items:center;padding:0 12px;border-radius:12px 0 0 12px;background:#e8c97b;color:#0b2a1e;font:700 16px ui-monospace,monospace}
.lf__tel input{border-radius:0 12px 12px 0!important;border-left:0!important;letter-spacing:.06em}
.lf__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lf__ok{grid-template-columns:24px 1fr!important;align-items:start;font-weight:500!important;font-size:14px!important;color:#c9d3c6}
.lf__ok input{width:22px;height:22px;margin:1px 0 0;accent-color:#e8c97b}
.lf__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.lf__go{width:100%;justify-content:center;min-height:58px!important;font-size:18px!important}
.lf__go[disabled]{opacity:.6;cursor:progress}
.lf__fine{margin:0;font-size:12.5px;line-height:1.45;color:#9fb1a3}
.lf__msg{margin:0;min-height:1.2em;font:600 14px/1.4 var(--sans,"Hind Madurai",sans-serif)}
.lf__msg.is-err{color:#ffb4a8}.lf__msg.is-ok{color:#bff0cf}
.lf .is-bad{border-color:#ff8f80!important;box-shadow:0 0 0 2px #ff8f8044}
@media(max-width:420px){.lf__row{grid-template-columns:1fr}}

/* ---- the nudge: a notification card that slides up once ---- */
.nudge{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:70;max-width:420px;margin:0 auto;display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:start;
  padding:14px 14px 14px 14px;border-radius:18px;background:#fbf6e8;color:#0b2a1e;box-shadow:0 24px 60px -20px #000e,0 0 0 1px #e8c97b;
  transform:translateY(140%);opacity:0;transition:transform .55s cubic-bezier(.2,.9,.25,1.15),opacity .3s;pointer-events:none}
.nudge.is-on{transform:none;opacity:1;pointer-events:auto}
.nudge__bell{width:44px;height:44px;border-radius:12px;background:#0f4a37;display:grid;place-items:center}
.nudge__bell svg{width:24px;height:24px;fill:#e8c97b}
.nudge.is-on .nudge__bell svg{animation:ring 1.2s ease .5s 2}
@keyframes ring{0%,100%{transform:rotate(0)}15%{transform:rotate(16deg)}30%{transform:rotate(-14deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-6deg)}}
.nudge__t{margin:0;font:700 16px/1.3 var(--sans,"Hind Madurai",sans-serif)}
.nudge__s{margin:3px 0 10px;font:500 13.5px/1.4 var(--sans,"Hind Madurai",sans-serif);color:#3d5547}
.nudge__go{min-height:44px!important;padding:0 16px!important;font-size:15px!important}
.nudge__x{width:36px;height:36px;border-radius:10px;border:0;background:transparent;color:#3d5547;font-size:20px;cursor:pointer}
@media(min-width:861px){.nudge{left:auto;right:24px;bottom:24px;margin:0}}

/* ---- the form sheet (a dialog: bottom sheet on phones, centred card on desktop) ---- */
.sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:520px;max-height:92svh;border-radius:22px 22px 0 0;background:#0b2219;color:#f5efe1;box-shadow:0 -20px 60px #000c;overflow:auto}
.sheet::backdrop{background:#000b}
.sheet[open]{animation:sheetup .45s cubic-bezier(.2,.9,.25,1)}
@keyframes sheetup{from{transform:translateY(60%);opacity:0}}
.sheet__in{padding:22px 18px calc(22px + env(safe-area-inset-bottom))}
.sheet__head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:14px}
.sheet__head h2{margin:0;font:700 24px/1.2 var(--sans,"Hind Madurai",sans-serif)}
.sheet__head h2 em{display:block;font-size:.8em}
.sheet__head p{margin:6px 0 0;color:#b9c6b6;font-size:14px}
.sheet__x{flex:none;width:44px;height:44px;border-radius:12px;border:1px solid #e8c97b44;background:transparent;color:#f5efe1;font-size:20px;cursor:pointer}
@media(min-width:861px){.sheet{margin:auto;border-radius:22px}}

/* ---- the phone menu ---- */
.nav__menu{display:none;width:44px;height:44px;border-radius:var(--r,14px);border:1px solid #e8c97b4d;background:transparent;cursor:pointer;place-items:center;padding:0}
.nav__menu span{display:block;width:20px;height:2px;margin:2.5px auto;border-radius:2px;background:#f5efe1}
@media(max-width:860px){.nav__menu{display:grid;align-content:center}.nav__cta{display:none!important}}
.menu{border:0;padding:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;background:#06170f;color:#f5efe1}
.menu::backdrop{background:#06170f}
.menu[open]{animation:fadein .25s ease}
@keyframes fadein{from{opacity:0}}
.menu__in{min-height:100%;display:flex;flex-direction:column;padding:16px 20px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box}
.menu__top{display:flex;justify-content:space-between;align-items:center}
.menu__top img{width:110px;height:auto}
.menu__links{display:grid;margin:28px 0 auto}
.menu__links a{display:flex;justify-content:space-between;align-items:center;padding:18px 2px;border-bottom:1px solid #e8c97b26;color:#f5efe1;text-decoration:none;font:700 24px/1.2 var(--sans,"Hind Madurai",sans-serif)}
.menu__links a span{font:700 13px ui-monospace,monospace;color:#e8c97b}
.menu__cta{display:grid;gap:10px;margin-top:24px}
.menu__cta .btn{justify-content:center;min-height:54px}

/* ---- deadline: joining closes 30 November ---- */
.js-after-dl{display:none!important}
.after-deadline .js-dl{display:none!important}
.after-deadline .js-after-dl{display:revert!important}
.dl-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;padding:8px 14px;background:linear-gradient(90deg,#7d2231,#a33a2f 50%,#7d2231);color:#fff4e0;font:700 14px/1.3 var(--sans,"Hind Madurai",sans-serif);text-align:center}
.dl-strip b{font:700 14px ui-monospace,"JetBrains Mono",monospace;background:#0006;padding:3px 8px;border-radius:7px;letter-spacing:.02em;white-space:nowrap}
.dl-dot{width:8px;height:8px;border-radius:50%;background:#ffd38a;box-shadow:0 0 0 0 #ffd38a99;animation:dlpulse 1.6s infinite}
@keyframes dlpulse{70%{box-shadow:0 0 0 9px #ffd38a00}100%{box-shadow:0 0 0 0 #ffd38a00}}
.dl-chip{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;padding:6px 12px;border-radius:999px;background:#7d2231;color:#fff4e0;font:700 13px/1.2 var(--sans,"Hind Madurai",sans-serif);box-shadow:0 8px 20px -10px #7d2231}
.dl-chip b{font:700 13px ui-monospace,"JetBrains Mono",monospace;white-space:nowrap}
.gets{list-style:none;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#fbf6e8;color:#0b2a1e;display:grid;gap:6px}
.gets li{display:grid;grid-template-columns:22px 1fr;gap:6px;font:600 15px/1.35 var(--sans,"Hind Madurai",sans-serif)}
.gets li::before{content:"✓";color:#0f4a37;font-weight:700}
.gets b{color:#7a2a1f}
.gets__h{font:700 13px/1 var(--sans,"Hind Madurai",sans-serif);color:#7a2a1f;letter-spacing:.04em;margin-bottom:2px;display:block!important}
.gets__h::before{content:none!important}
.nudge__cd{display:inline-block;margin-left:2px;font:700 12px ui-monospace,monospace;color:#7d2231;white-space:nowrap}
.dl-short{display:none}
@media(max-width:600px){.dl-long{display:none}.dl-short{display:inline}.dl-strip{flex-wrap:nowrap;gap:7px;font-size:13px;padding:8px 10px}.dl-strip b{font-size:12.5px;padding:3px 6px}.story__dl{font-size:11.5px!important;padding:5px 10px}.story__dl span{white-space:nowrap}}
@media(max-width:600px){.dl-short{white-space:nowrap}}
@media(max-width:359px){.dl-short{white-space:normal}.dl-strip{flex-wrap:wrap}}

/* ---- a bigger nudge: easier to notice, easier to tap ---- */
.nudge{max-width:470px;grid-template-columns:52px 1fr 44px;gap:14px;padding:18px 16px 18px 18px;border-radius:22px;box-shadow:0 30px 70px -20px #000,0 0 0 2px #e8c97b}
.nudge__bell{width:52px;height:52px;border-radius:14px}
.nudge__bell svg{width:28px;height:28px}
.nudge__t{font-size:19px;line-height:1.25}
.nudge__s{font-size:15px;margin:6px 0 12px}
.nudge__cd{font-size:14px;padding:2px 6px;border-radius:6px;background:#7d22311a}
.nudge__go{width:100%;justify-content:center;min-height:52px!important;font-size:17px!important}
.nudge.is-on{animation:nudgein .6s cubic-bezier(.2,.9,.25,1.2)}
@keyframes nudgein{0%{transform:translateY(140%)}70%{transform:translateY(-6px)}100%{transform:none}}
.nudge>div{min-width:0}.nudge .nudge__go{display:flex!important;width:100%!important;white-space:nowrap}
.nudge .nudge__go::before,.nudge .nudge__go::after{display:none!important}.nudge .nudge__go{font-size:16px!important;padding:0 12px!important;gap:8px}
@media(max-width:359px){.nudge .nudge__go{white-space:normal;line-height:1.2;font-size:15px!important}.nudge{grid-template-columns:44px 1fr 40px;gap:10px;padding:14px 12px}}
.nudge.is-away{transform:translateY(140%)!important;opacity:0!important;pointer-events:none!important}
