/* MUSE onboarding — styles
   Palette: warm paper, ink black, a single terracotta accent. */

:root {
  --paper: #f5f2ec;
  --paper-2: #ece8e0;
  --card: #fbf9f5;
  --ink: #121212;
  --ink-2: #4a4741;
  --ink-3: #8a867e;
  --line: #d9d4ca;
  --line-strong: #b9b3a7;
  --accent: #d95d2a;
  --accent-ink: #b34818;
  --accent-soft: #f7e5db;
  --ok: #2f7d4f;
  --err: #b3261e;
  --err-soft: #fbe6e3;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rail-w: 280px;
  --content-w: 640px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
kbd {
  font-family: var(--sans); font-size: 11px; padding: 2px 6px; border: 1px solid var(--line-strong);
  border-bottom-width: 2px; border-radius: 6px; background: var(--card); color: var(--ink-2);
}
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Layout ------------------------------------------------------------------ */
.app {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  grid-template-rows: 1fr auto;
  min-height: 100dvh;
}
.rail {
  grid-row: 1 / span 2;
  position: sticky; top: 0; height: 100dvh;
  display: flex; flex-direction: column;
  padding: 36px 28px 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.rail-top { margin-bottom: 40px; }
.logo { height: 22px; width: auto; }
.rail-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.rail-item {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 10px; margin: 0 -10px; border-radius: 10px;
  color: var(--ink-3); font-size: 14px; text-align: left; border: 0; background: transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.rail-item:hover:not(:disabled) { background: rgba(0,0,0,.04); color: var(--ink-2); }
.rail-item:disabled { cursor: default; }
.rail-item .idx {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong);
  font-size: 11px; display: grid; place-items: center; color: var(--ink-3); font-variant-numeric: tabular-nums;
  transition: all .25s var(--ease);
}
.rail-item.is-active { color: var(--ink); font-weight: 500; }
.rail-item.is-active .idx { border-color: var(--ink); color: var(--ink); }
.rail-item.is-done .idx { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rail-item .mins { font-size: 12px; color: var(--ink-3); }
.rail-bottom { margin-top: 24px; }
.save-state { font-size: 12px; color: var(--ink-3); min-height: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.save-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.save-state.is-saved::before { background: var(--ok); }
.rail-meter, .topbar-meter { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-meter span, .topbar-meter span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }
.rail-pct { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-variant-numeric: tabular-nums; }

.topbar { display: none; }

.main { grid-column: 2; padding: 64px 40px 40px; }
.stage { max-width: var(--content-w); margin: 0 auto; }

.actions {
  grid-column: 2; position: sticky; bottom: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 40px calc(16px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.actions > * { }
.actions-hint { margin-left: auto; margin-right: 4px; font-size: 12px; color: var(--ink-3); }
.actions[hidden] { display: none; }

/* Type --------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ""; flex: 0 0 28px; height: 1px; background: var(--line-strong); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(34px, 4.6vw, 46px); margin-top: 12px; }
h1 em, h2 em, .lead em { font-style: italic; }
.lead { font-size: 17px; color: var(--ink-2); margin: 14px 0 0; max-width: 52ch; }

/* Welcome: full-screen sky + floating card ------------------------------- */
.sky {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #3f8fd0 0%, #6fb1e2 30%, #a9d1ec 58%, #dfeef6 78%, #eef4ef 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
body.is-welcome .sky { opacity: 1; }
.sky-sun {
  position: absolute; top: -12vh; right: -10vw; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,247,222,.85) 0%, rgba(255,240,200,.35) 22%, rgba(255,255,255,0) 55%);
}
.sky-clouds { position: absolute; left: -10%; width: 120%; height: 100%; top: 0; will-change: transform; }
.sky-clouds-far { opacity: .9; animation: driftFar 48s ease-in-out infinite alternate; }
.sky-clouds-near { animation: driftNear 34s ease-in-out infinite alternate-reverse; }
.sky-sun { animation: sunPulse 9s ease-in-out infinite alternate; }
@keyframes driftFar  { from { transform: translate3d(-4%, 0, 0) scale(1.02); } to { transform: translate3d(4%, 1.5%, 0) scale(1.02); } }
@keyframes driftNear { from { transform: translate3d(-6%, 1%, 0) scale(1.04); } to { transform: translate3d(6%, -1.5%, 0) scale(1.04); } }
@keyframes sunPulse  { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.sky-meadow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22vh;
  background:
    radial-gradient(60% 80% at 20% 100%, rgba(122,166,84,.9) 0%, rgba(122,166,84,0) 70%),
    radial-gradient(70% 90% at 80% 100%, rgba(96,146,70,.9) 0%, rgba(96,146,70,0) 70%),
    linear-gradient(180deg, rgba(150,190,120,0) 0%, rgba(140,182,110,.85) 60%, #6f9f56 100%);
}

body.is-welcome .rail, body.is-welcome .topbar { display: none; }
body.is-welcome .app { grid-template-columns: 1fr; position: relative; z-index: 1; }
body.is-welcome .main { grid-column: 1; padding: 0; display: flex; align-items: center; justify-content: center; min-height: 100dvh; }
body.is-welcome .stage { max-width: none; width: 100%; min-width: 0; overflow: hidden; margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100dvh; }

.welcome { width: 100%; min-width: 0; display: flex; justify-content: center; align-items: center; padding: 40px 20px; }
.welcome-card {
  width: 100%; min-width: 0; max-width: 520px; background: rgba(251,249,245,.94);
  border-radius: 32px; padding: 36px 36px 32px; text-align: center;
  box-shadow: 0 30px 80px rgba(20,40,60,.25), 0 2px 0 rgba(255,255,255,.6) inset;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: cardIn .8s var(--ease) both;
}
.welcome-logo { height: 20px; width: auto; margin: 0 auto 30px; }
.welcome-body h1 { font-size: 46px; margin-top: 14px; white-space: nowrap; overflow: hidden; min-width: 0; width: 100%; }
.welcome-body .lead { margin: 16px auto 0; font-size: 16.5px; max-width: 40ch; text-wrap: balance; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { display: none; }
.welcome-facts {
  list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.welcome-facts li { padding: 14px 6px; font-size: 12.5px; color: var(--ink-3); display: grid; gap: 2px; }
.welcome-facts li + li { border-left: 1px solid var(--line); }
.welcome-facts strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); line-height: 1; }
.welcome-cta { margin-top: 26px; display: grid; gap: 14px; justify-items: center; }
.btn-block { width: 100%; }
.welcome-note { font-size: 13px; color: var(--ink-3); }
@keyframes cardIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }

/* Leaving the welcome: card sinks, clouds part, sky clears to paper; then the form rises in. */
body.is-leaving-welcome .welcome-card { animation: cardOut .5s var(--ease) forwards; }
@keyframes cardOut { to { opacity: 0; transform: translateY(40px) scale(.97); } }
body.is-leaving-welcome .sky { transition: opacity .9s var(--ease) .15s; opacity: 0; }
body.is-leaving-welcome .sky-clouds-near { animation: none; transition: transform 1s var(--ease), opacity .8s var(--ease); transform: translate3d(0, 6%, 0) scale(1.25); opacity: 0; }
body.is-leaving-welcome .sky-clouds-far { animation: none; transition: transform 1s var(--ease), opacity .8s var(--ease); transform: translate3d(0, -4%, 0) scale(1.15); opacity: 0; }
body.is-leaving-welcome .sky-meadow { transition: transform 1s var(--ease), opacity .6s var(--ease); transform: translateY(40%); opacity: 0; }
body.is-entering-form .rail { animation: railIn .7s var(--ease) .1s backwards; }
body.is-entering-form .topbar { animation: railIn .6s var(--ease) backwards; }
.section.is-first { animation: rise .7s var(--ease) .2s backwards; }
.section.is-settled, .welcome.is-settled, .success.is-settled { animation: none !important; opacity: 1 !important; transform: none !important; }
body.is-entering-form .actions { animation: rise .6s var(--ease) .4s backwards; }
@keyframes railIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .welcome { padding: 24px 16px; }
  .welcome-card { padding: 30px 24px 28px; border-radius: 28px; }
  .welcome-body h1 { font-size: 40px; }
}

/* Section ------------------------------------------------------------------ */
.section { animation: rise .45s var(--ease) backwards; }
.section.is-leaving { animation: fall .25s var(--ease) both; }
.section-head { margin-bottom: 40px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 34px; }
.field { grid-column: 1 / -1; }
.field.is-half { grid-column: span 1; }
.field.is-hidden { display: none; }
.field label.q, .field .q {
  display: block; font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.35; letter-spacing: -.005em;
}
.field .q .opt { color: var(--ink-3); font-weight: 400; font-size: 13px; margin-left: 8px; }
.field .hint { font-size: 14px; color: var(--ink-3); margin: 6px 0 0; }
.field .control { margin-top: 12px; }
.field .msg { font-size: 13px; color: var(--err); margin-top: 8px; display: none; }
.field.is-invalid .msg { display: block; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--err); background: var(--err-soft); }
.field.is-invalid { animation: shake .35s var(--ease); }

.input, .textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--card); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: #b5b0a6; }
.input:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,18,18,.06); background: #fff; }
.textarea { resize: none; min-height: 96px; line-height: 1.55; overflow: hidden; }

.money { position: relative; }
.money .cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.money .input { padding-left: 32px; }

.list { display: grid; gap: 10px; }
.list .row { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 10px; }
.list .n { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card);
  cursor: pointer; font-size: 15px; transition: all .18s var(--ease); user-select: none;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips-other { margin-top: 10px; }

.yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); gap: 10px; }
.yesno .chip { text-align: center; padding: 12px 16px; }

.swatch { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.swatch .well {
  width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); overflow: hidden; position: relative;
  background: repeating-conic-gradient(#e9e5dd 0 25%, #fbf9f5 0 50%) 0 0 / 12px 12px;
}
.swatch .well input[type="color"] { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; opacity: 0; z-index: 2; }
.swatch .well::before { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 22px; font-weight: 300; }
.swatch .well.has-value::before { display: none; }
.swatch .well.has-value::after { content: ""; position: absolute; inset: 0; background: var(--c); pointer-events: none; }
.swatch .input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 500; font-size: 15px;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost:disabled { opacity: .35; cursor: default; }
.btn-link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .label { opacity: .6; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }

/* Review ------------------------------------------------------------------- */
.review-group { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.review-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.review-group-head h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; }
.review-row { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }
.review-row .rq { font-size: 13px; color: var(--ink-3); }
.review-row .ra { white-space: pre-wrap; color: var(--ink); }
.review-row .ra.is-empty { color: var(--err); font-size: 14px; }
.review-row .ra .dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; border: 1px solid var(--line-strong); }
.consent { margin-top: 36px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.submit-err { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--err-soft); color: var(--err); font-size: 14px; display: none; }
.submit-err.is-on { display: block; }

/* Success ------------------------------------------------------------------ */
.success { padding-top: 6vh; animation: rise .6s var(--ease) backwards; }
.success .mark {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin-bottom: 26px;
  animation: pop .6s var(--ease) both;
}
.next-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next-steps .when { font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.1; }
.next-steps strong { display: block; font-weight: 500; }
.next-steps span { color: var(--ink-2); font-size: 15px; }
.success-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Motion ------------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fall { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .rail { display: none; }
  .topbar {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px;
    position: sticky; top: 0; z-index: 5; padding: 14px 16px 12px;
    background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .topbar .logo { height: 18px; }
  .topbar-meta { text-align: right; font-size: 12px; color: var(--ink-3); }
  .topbar-meter { grid-column: 1 / -1; margin-top: 4px; }
  .main { grid-column: 1; padding: 36px 16px 32px; }
  .actions { grid-column: 1; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .actions-hint { display: none; }
  .fields { grid-template-columns: 1fr; row-gap: 28px; }
  .field.is-half { grid-column: 1 / -1; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  h2 { font-size: clamp(30px, 8.5vw, 40px); }
}

/* Account manager presence ------------------------------------------------- */
.am-card { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.am-card.is-compact { padding: 14px 14px; margin-top: 18px; }
.am-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; overflow: hidden; position: relative; }
.am-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-quote { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--ink); }
.am-card.is-compact .am-quote { font-size: 15.5px; }
.am-name { margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.am-name span { font-weight: 400; color: var(--ink-3); }
.review-group:first-of-type { margin-top: 28px; }

/* Chapter covers ------------------------------------------------------------ */
body.is-cover .sky { opacity: 1; }
.cover { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; cursor: pointer; background: linear-gradient(180deg, rgba(20,40,60,.25), rgba(20,40,60,.05)); animation: coverIn .5s var(--ease) backwards; }
.cover.is-out { animation: coverOut .45s var(--ease) forwards; }
.cover-inner { text-align: center; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); max-width: 640px; animation: rise .7s var(--ease) .1s backwards; }
.cover-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cover-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 96px); line-height: 1; margin: 12px 0 8px; color: #fff; }
.cover-sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 32px); margin: 0; opacity: .95; }
.cover-why { font-size: 16px; margin: 14px auto 0; max-width: 40ch; opacity: .9; }
.cover-hint { margin-top: 34px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
@keyframes coverIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes coverOut { to { opacity: 0; transform: scale(1.02); } }

/* Live email preview -------------------------------------------------------- */
.identity-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.identity-layout .fields { min-width: 0; }
.ep { position: sticky; top: 28px; }
.ep-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; display: flex; justify-content: space-between; }
.ep-label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ep-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(20,20,20,.08); }
.ep-chrome { display: grid; gap: 2px; padding: 10px 14px; background: #f3f1ec; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }
.ep-subject { color: var(--ink); font-weight: 500; }
.ep-mail { --p: #e9e4da; --p-ink: #121212; --s: #2b2b2b; --s-ink: #fff; --b: #121212; --b-ink: #fff; --fh: Georgia, serif; --fs: Inter, sans-serif; --fb: Inter, sans-serif; font-family: var(--fb); }
.ep-brand { text-align: center; padding: 14px; font-family: var(--fh); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--s); }
.ep-hero { background: var(--p); color: var(--p-ink); padding: 34px 18px; text-align: center; transition: background .3s; }
.ep-h1 { font-family: var(--fh); font-size: 24px; line-height: 1.1; }
.ep-h2 { font-family: var(--fs); font-size: 12px; margin-top: 8px; opacity: .85; }
.ep-body { padding: 18px 18px 22px; text-align: center; }
.ep-p { font-family: var(--fb); font-size: 12px; line-height: 1.6; color: #333; margin: 0 0 16px; }
.ep-btn { display: inline-block; background: var(--b); color: var(--b-ink); padding: 10px 20px; border-radius: 999px; font-family: var(--fs); font-size: 12px; font-weight: 600; transition: background .3s; }
.ep-foot { background: var(--s); color: var(--s-ink); padding: 12px 14px; font-size: 10px; display: flex; justify-content: space-between; opacity: .95; transition: background .3s; }
@media (max-width: 1100px) { .identity-layout { grid-template-columns: 1fr; } .ep { position: static; order: -1; max-width: 360px; } }
@media (max-width: 900px) { .cover-hint { display: none; } }
