:root {
  --plum: #481552;
  --deep-plum: #260b32;
  --berry: #a62b67;
  --coral: #f45d65;
  --peach: #ffb179;
  --sun: #ffd874;
  --cream: #fff5e8;
  --pink: #f8d8df;
  --ink: #35133e;
  --muted: #785f7c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; color: white; background: var(--plum); }
.skip-link:focus { top: 1rem; }

.top-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; min-height: 82px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: center; color: white; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: max-content; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand > span { position: relative; width: 1.8rem; height: 1.2rem; display: block; overflow: hidden; }
.brand > span::before, .brand > span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.3rem; border: 3px solid currentColor; border-bottom: 0; border-radius: 50% 50% 0 0; }
.brand > span::after { left: .5rem; right: .5rem; top: .35rem; border-color: var(--sun); }
.employer-link { font-size: .75rem; font-weight: 800; text-decoration: none; }
.floating-nav { position: fixed; z-index: 30; left: 50%; bottom: 1.2rem; width: min(760px, calc(100% - 2rem)); padding: .55rem; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .2rem; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; background: rgba(38,11,50,.9); box-shadow: 0 18px 45px rgba(38,11,50,.28); backdrop-filter: blur(12px); }
.floating-nav a { padding: .75rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
.floating-nav a:hover { background: rgba(255,255,255,.1); }
.floating-nav span { color: var(--peach); }
.floating-nav .nav-cta { color: var(--plum); background: var(--sun); }

.sunrise-hero { min-height: 900px; padding: 9rem max(1.25rem, calc((100vw - 1300px)/2)) 7rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 78% 42%, rgba(255,216,116,.8), transparent 16%), linear-gradient(155deg, var(--deep-plum) 5%, var(--plum) 40%, var(--berry) 67%, var(--coral)); }
.pill-label, .section-label { margin: 0 0 1.4rem; color: var(--sun); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.pill-label { width: max-content; max-width: 100%; padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.sunrise-hero h1 { max-width: 790px; margin: 0; font-size: clamp(4.6rem, 8.4vw, 9.4rem); line-height: .84; letter-spacing: -.08em; }
.sunrise-hero h1 em { color: var(--sun); font-style: normal; }
.hero-copy > p:not(.pill-label) { max-width: 650px; margin: 2rem 0; color: #f0dce9; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-actions a { font-size: .82rem; font-weight: 800; text-decoration: none; }
.main-button { padding: .95rem 1.25rem; border-radius: 999px; color: var(--plum); background: var(--sun); }
.crest-art { position: relative; width: min(100%, 620px); aspect-ratio: 1; margin: auto; }
.sun { position: absolute; left: 50%; top: 22%; width: 36%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2rem rgba(255,216,116,.1), 0 0 0 4rem rgba(255,216,116,.06); }
.wave { position: absolute; left: -10%; right: -10%; height: 46%; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.03)); backdrop-filter: blur(3px); }
.wave-one { bottom: 10%; transform: rotate(3deg); }.wave-two { bottom: -3%; transform: rotate(-4deg); background: rgba(166,43,103,.65); }.wave-three { bottom: -18%; background: var(--deep-plum); }
.crest-art p { position: absolute; z-index: 3; left: 50%; top: 44%; margin: 0; transform: translateX(-50%); font-size: clamp(2rem, 4vw, 4rem); line-height: .9; text-align: center; text-transform: uppercase; }

.promise-strip { padding: 1.2rem clamp(1.25rem, 5vw, 5rem); display: flex; justify-content: center; align-items: center; gap: 2rem; color: var(--plum); background: var(--sun); white-space: nowrap; overflow: hidden; }
.promise-strip p { margin: 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.promise-strip span { color: var(--coral); }

.how-section { padding: 9rem max(1.25rem, calc((100vw - 1280px)/2)); background: var(--cream); }
.how-section .section-label, .pay-cycle-section .section-label, .employee-section .section-label, .contact-section .section-label { color: var(--berry); }
.how-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: end; }
.how-heading h2, .cycle-intro h2, .employee-quote blockquote, .employer-copy h2, .contact-section h2 { margin: 0; font-size: clamp(3.2rem, 6vw, 6.4rem); line-height: .94; letter-spacing: -.065em; }
.rise-steps { margin-top: 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rise-steps article { padding-top: 1.5rem; border-top: 1px solid rgba(72,21,82,.2); }
.rise-steps h3 { margin: 1.5rem 0 .5rem; font-size: 1.3rem; }
.rise-steps p { color: var(--muted); }
.step-shape { height: 250px; display: grid; place-items: center; overflow: hidden; }
.step-shape span { width: 5rem; height: 5rem; display: grid; place-items: center; border-radius: 50%; background: var(--cream); box-shadow: 0 10px 30px rgba(72,21,82,.15); font: .75rem Consolas, monospace; }
.shape-one { border-radius: 50% 50% 2rem 2rem; background: var(--pink); }.shape-two { border-radius: 2rem 2rem 50% 50%; background: var(--peach); }.shape-three { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--berry); }.shape-three span { margin-top: 4rem; }

.pay-cycle-section { padding: 8rem max(1.25rem, calc((100vw - 1280px)/2)); background: var(--pink); }
.cycle-intro { max-width: 950px; }
.cycle-intro > p:last-child { max-width: 650px; color: var(--muted); }
.cycle-demo { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.cycle-dial { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: auto; border: 1px solid rgba(72,21,82,.2); border-radius: 50%; background: conic-gradient(var(--berry) 0 var(--progress, 40%), rgba(255,255,255,.45) var(--progress, 40%) 100%); box-shadow: inset 0 0 0 2.5rem var(--pink); }
.cycle-dial::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: var(--cream); box-shadow: 0 20px 60px rgba(72,21,82,.16); }
.dial-centre { position: absolute; z-index: 2; inset: 24%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.dial-centre span { color: var(--berry); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.dial-centre output { font-size: clamp(2.3rem, 5vw, 4.3rem); letter-spacing: -.06em; }
.dial-centre small { color: var(--muted); }
.dial-payday, .dial-start { position: absolute; z-index: 3; padding: .5rem .7rem; border-radius: 999px; color: white; background: var(--plum); font-size: .6rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.dial-payday { right: 5%; top: 18%; }.dial-start { left: 0; bottom: 20%; background: var(--coral); }
.cycle-controls { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 2.5rem; background: var(--cream); }
.cycle-controls > label { display: flex; justify-content: space-between; gap: 1rem; color: var(--berry); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.cycle-controls input { width: 100%; margin: 2rem 0 .6rem; accent-color: var(--berry); }
.cycle-numbers { display: flex; justify-content: space-between; color: var(--muted); font: .62rem Consolas, monospace; }
.pay-breakdown { margin: 2rem 0; }
.pay-breakdown p { margin: 0; padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(72,21,82,.14); }
.pay-breakdown span { color: var(--muted); font-size: .78rem; }
.pay-breakdown strong { text-align: right; }
.cycle-controls button { width: 100%; min-height: 52px; padding: .8rem 1rem; display: flex; justify-content: space-between; border: 0; border-radius: 999px; color: white; background: var(--plum); font-weight: 800; cursor: pointer; }
#cycle-status { min-height: 1.4rem; color: var(--berry); font-size: .78rem; }

.employee-section { display: grid; grid-template-columns: 1.2fr .8fr; color: white; background: var(--deep-plum); }
.employee-quote { min-height: 680px; padding: clamp(3rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 20%, var(--coral), transparent 28%), linear-gradient(145deg, var(--berry), var(--plum)); }
.employee-quote blockquote { font-weight: 800; }
.clarity-list { padding: clamp(3rem, 6vw, 6rem); align-self: center; }
.clarity-list article { padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.clarity-list span { color: var(--peach); font-size: .65rem; text-transform: uppercase; }
.clarity-list h3 { margin: .6rem 0 0; font-size: 1.35rem; }

.employer-section { padding: 8rem max(1.25rem, calc((100vw - 1280px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; background: var(--cream); }
.employer-copy .section-label { color: var(--berry); }
.employer-copy p { color: var(--muted); }
.employer-copy a { display: inline-block; margin-top: 1rem; color: var(--berry); font-weight: 800; text-decoration: none; }
.employer-board { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(72,21,82,.15); border-radius: 2rem; background: white; box-shadow: 1rem 1rem 0 var(--sun); }
.board-head { padding-bottom: 2rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; }
.board-head strong { color: var(--berry); }
.board-row { padding: 1.2rem 0; display: grid; grid-template-columns: 1fr auto 1rem; gap: .7rem; border-top: 1px solid rgba(72,21,82,.14); font-size: .8rem; }
.board-row i { width: .7rem; height: .7rem; align-self: center; border-radius: 50%; background: var(--berry); }
.employer-board > p { color: var(--muted); font-size: .68rem; }

.contact-section { padding: 9rem max(1.25rem, calc((100vw - 1100px)/2)); background: var(--coral); text-align: center; }
.contact-section h2 { max-width: 1000px; margin: 0 auto 3rem; }
.contact-section form { max-width: 780px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.contact-section label { font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.contact-section input, .contact-section select { width: 100%; min-height: 52px; margin-top: .35rem; padding: .75rem; border: 1px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.3); }
.contact-section button { grid-column: 1 / -1; min-height: 52px; border: 0; border-radius: 999px; color: white; background: var(--plum); font-weight: 800; cursor: pointer; }
#contact-status { grid-column: 1 / -1; min-height: 1.4rem; margin: 0; color: var(--plum); text-align: center; }
.site-footer { padding: 2rem max(1.25rem, calc((100vw - 1280px)/2)) 13rem; display: grid; grid-template-columns: 1fr .7fr 1.2fr auto; gap: 3rem; color: #ddcae0; background: var(--deep-plum); font-size: .78rem; }
.site-footer p, .site-footer address { margin: 0; font-style: normal; }
.site-footer p:nth-child(2) { display: grid; gap: .4rem; }
.site-footer p:nth-child(2) strong { color: var(--peach); }
.site-footer p a { text-decoration: none; }
.site-footer address strong { color: var(--sun); font-size: .62rem; text-transform: uppercase; }
.site-footer > a { color: var(--sun); text-decoration: none; }

@media (max-width: 900px) {
  .sunrise-hero, .cycle-demo, .employee-section, .employer-section { grid-template-columns: 1fr; }
  .crest-art { width: min(90vw, 600px); }
  .how-heading { grid-template-columns: 1fr; }
  .rise-steps { grid-template-columns: 1fr; }
  .rise-steps article { display: grid; grid-template-columns: .7fr 1fr; gap: 0 2rem; align-items: center; }
  .rise-steps .step-shape { grid-row: 1 / 3; }
  .employee-quote { min-height: 520px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .employer-link { font-size: .65rem; }
  .floating-nav { grid-template-columns: repeat(4, 1fr); }
  .floating-nav a { padding: .7rem .25rem; font-size: .58rem; }
  .floating-nav span { display: none; }
  .sunrise-hero { min-height: auto; padding-top: 8rem; }
  .sunrise-hero h1 { font-size: 4.2rem; }
  .pill-label { font-size: .58rem; }
  .promise-strip { justify-content: flex-start; animation: marquee 12s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .how-section, .pay-cycle-section, .employer-section, .contact-section { padding-left: 1rem; padding-right: 1rem; }
  .rise-steps article { grid-template-columns: 1fr; }
  .rise-steps .step-shape { grid-row: auto; }
  .cycle-controls { border-radius: 1.5rem; }
  .pay-breakdown p { display: grid; }
  .pay-breakdown strong { text-align: left; }
  .employer-board { box-shadow: .5rem .5rem 0 var(--sun); }
  .contact-section form { grid-template-columns: 1fr; }
  .contact-section button, #contact-status { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
