/* Escoffier Design site styles. Brand colours come from the lemon logo. */
:root {
  --blue: #1C19F0; --blue-dark: #120FB0; --blue-soft: #EDEDFE; --blue-mid: #8D8BF7;
  --yellow: #F2F05A;
  --ink: #15142B; --text-2: #4B4A60; --muted: #888780;
  --page: #FAFAF7; --surface: #FFFFFF; --border: #E3E2DA; --border-strong: #B4B2A9;
  /* names used by the diagrams */
  --accent-bg: var(--blue-soft); --accent-border: var(--blue-mid); --accent-text: var(--blue); --accent-line: var(--blue);
  --brain-blue: var(--blue); --brain-pink: #D4537E;
  --head: "Panchang", "Poppins", sans-serif;
  --body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body);
       font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--blue); border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250,250,247,.94); backdrop-filter: blur(8px);
               border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.nav .btn { color: #fff; padding: 9px 18px; font-size: 14px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-family: var(--body);
       font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
       transition: background .2s, transform .2s; text-align: center; }
.btn:hover { background: var(--blue-dark); }
.btn-yellow { background: var(--yellow); color: var(--blue); }
.btn-yellow:hover { background: #fff; }

/* Hero */
.hero { background: var(--blue); color: #fff; text-align: center; padding: 56px 0 64px; }
.hero .logo { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 0 0 4px rgba(255,255,255,.15); }
.hero .name { font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: .03em; margin: 0 0 22px; }
.hero h1 { font-family: var(--body); font-weight: 500; font-size: 21px; line-height: 1.5; margin: 0 auto 32px; max-width: 640px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); }

/* Sections */
section.band { padding: 64px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-family: var(--head); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 0 0 16px; text-wrap: balance; letter-spacing: .01em; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--text-2); max-width: 620px; margin: 0 auto; }
.narrow { max-width: 640px; margin: 0 auto; }
.narrow p { color: var(--text-2); }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.card { width: 100%; max-width: 340px; text-align: center; }
.card h2 { font-size: 19px; }
.card p { font-size: 16px; color: var(--text-2); margin: 16px 0 0; }
.tile { width: 100%; aspect-ratio: 1 / 1; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px;
        display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.cta-row { text-align: center; margin-top: 48px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px auto 0; max-width: 640px; counter-reset: s; }
.steps li { position: relative; padding: 0 0 26px 58px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
                    background: var(--blue); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; background: var(--blue-soft); }
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--text-2); }

/* About */
.about { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.monogram { width: 96px; height: 96px; border-radius: 50%; background: var(--blue); color: var(--yellow); flex: none;
            font-family: var(--head); font-weight: 700; font-size: 28px; display: flex; align-items: center; justify-content: center; }

/* FAQ */
.faq { max-width: 680px; margin: 24px auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }

/* Closing */
.closing { background: var(--blue); color: #fff; text-align: center; padding: 64px 0; }
.closing h2 { color: #fff; margin-bottom: 28px; }

/* Footer */
footer { padding: 32px 0 110px; font-size: 14px; color: var(--text-2); text-align: center; }
footer a { color: var(--text-2); }
footer p { margin: 4px 0; }

/* Phone-only fixed button */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 6; box-shadow: 0 8px 24px rgba(21,20,43,.22);
              transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.show { transform: none; }

/* Inner pages */
.page { padding: 48px 0 32px; }
.page h1 { font-family: var(--head); font-weight: 600; font-size: 24px; line-height: 1.3; margin: 0 0 16px; }
.page h2 { font-size: 18px; margin-top: 32px; }
.page p, .page li { color: var(--text-2); }

/* Form */
form.signup { margin-top: 28px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }
.field input:focus { border-color: var(--blue); }
.hp { position: absolute; left: -5000px; }
.note { font-size: 14px; background: var(--blue-soft); border-radius: 10px; padding: 14px 16px; color: var(--ink); margin: 0; }
.form-msg { border-radius: 10px; padding: 16px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--blue-soft); color: var(--ink); }
.form-msg.err { display: block; background: #FDECEF; color: #8A1C33; }
form.signup .btn { width: 100%; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .nav { display: flex; }
  .sticky-cta { display: none; }
  footer { padding-bottom: 40px; }
  .hero { padding: 88px 0 96px; }
  .hero .name { font-size: 36px; }
  .hero h1 { font-size: 26px; }
  h2 { font-size: 30px; }
  section.band { padding: 96px 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 56px 48px; }
  .card { max-width: 400px; }
  .card h2 { font-size: 22px; }
  .about { flex-direction: row; align-items: flex-start; gap: 40px; }
  .page h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
