/* EmpBreak website. Colours follow the app: night blue, crystal gold, timeline teal. */
:root {
  --ink: #0f1020; --panel: #181a2e; --raised: #212440; --line: #2f3357;
  --fg: #eceefb; --mute: #a2a7c6; --gold: #f5b041; --gold-deep: #c9781f; --teal: #4fc3c7; --danger: #ef6461; --ok: #6fcf97;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
a:hover { color: #7fe0e3; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #14152a; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(460px, 100% - 40px); padding-block: 48px; }
.muted, .hint { color: var(--mute); }
.hint { font-size: .9rem; }

/* header */
.top { border-bottom: 1px solid var(--line); background: rgba(15, 16, 32, .9); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.top nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top nav a:not(.btn) { color: var(--mute); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none;
  background: var(--gold); color: #14152a; padding: 11px 20px; border-radius: 10px; transition: filter .15s; }
.btn:hover { filter: brightness(1.1); color: #14152a; }
.btn-small { padding: 7px 14px; }
.btn-big { padding: 15px 28px; font-size: 1.08rem; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--raised); color: var(--fg); filter: none; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.btn-danger:hover { background: var(--danger); color: #14152a; filter: none; }

/* hero: the copy sits left, the editor screenshot leans out of the page on the right */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 60px); overflow: hidden;
  background: radial-gradient(900px 480px at 78% 30%, rgba(245, 176, 65, .16), transparent 60%), radial-gradient(700px 500px at 10% 0%, rgba(79, 195, 199, .10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lead { font-size: 1.15rem; color: #cfd3ee; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.6em 0 .8em; }
.shot { margin: 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03); width: 118%; max-width: none; }

.section { padding-block: clamp(40px, 6vw, 80px); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.4em; }
.features article { background: var(--panel); padding: 26px 24px; }
.features h3 { color: var(--gold); }
.features p { color: var(--mute); margin: 0; }

.steps { list-style: none; counter-reset: step; margin: 1.4em 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #14152a; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--mute); margin: 0; }

/* forms */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.card h1 { font-size: 1.7rem; }
.card h2 { font-size: 1.2rem; }
form { display: grid; gap: 6px; margin: 1em 0; }
label { font-weight: 600; margin-top: 8px; }
input[type=email], input[type=password] { font: inherit; color: var(--fg); background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; }
input[type=email]:focus, input[type=password]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(245, 176, 65, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { margin-top: 5px; accent-color: var(--gold); width: 16px; height: 16px; }
form .btn { margin-top: 12px; justify-self: start; }
.errors { margin: 0 0 1em; padding: 12px 14px 12px 32px; background: rgba(239, 100, 97, .12); border: 1px solid rgba(239, 100, 97, .5); border-radius: 8px; }
.flash { padding: 12px 14px; border-radius: 8px; margin: 20px 0 0; }
.flash-ok { background: rgba(111, 207, 151, .12); border: 1px solid rgba(111, 207, 151, .5); }
.flash-error { background: rgba(239, 100, 97, .12); border: 1px solid rgba(239, 100, 97, .5); }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.prose { width: min(680px, 100% - 40px); }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }

.foot { border-top: 1px solid var(--line); color: var(--mute); font-size: .9rem; padding: 24px 0; margin-top: 40px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shot img { width: 100%; }
  .features, .steps { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
  .top nav a[href*="#"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
