/* Limelight — shared stylesheet */

:root{
  /* Cream and yellow. This is a marketing product - it should feel like
     daylight, not a trading terminal. */
  --cream:#FDF8EC;        /* page */
  --cream-2:#FFFFFF;      /* raised cards */
  --cream-3:#F6EFDD;      /* inputs, quiet bands */
  --ink:#201D1D;          /* primary text, from the brand */
  --ink-2:#5A524D;        /* body */
  --ink-3:#756A62;        /* muted */
  --beam:#FFC220;         /* brand fill: buttons, bars, highlights */
  --beam-soft:#FFD053;    /* the logo yellow, for washes and hovers */
  --beam-tint:#FFF4D6;    /* faintest wash */
  /* Yellow as TEXT is 1.5:1 on cream. Anything written in the brand colour
     uses this instead - same hue, 6:1. */
  --beam-ink:#7A5606;
  --on-beam:#201D1D;
  --rule:#E2D5B8;
  --rule-2:#EDE3CE;
  --good:#2F6E4C;
  --crit:#A8452F;
  --maxw:1080px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"Archivo", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-size:17.5px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
a{color:inherit}

.shell{max-width:var(--maxw); margin:0 auto; padding:0 28px}
.mono{font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, monospace}

/* ---------- masthead ---------- */
.topbar{border-bottom:1px solid var(--rule)}
.topbar .shell{display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:20px; padding-bottom:20px}
.wordmark{
  display:inline-flex; align-items:center; gap:9px;
  font-size:18.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  color:var(--ink); text-decoration:none; white-space:nowrap;
}
.wordmark .lmark{width:26px; height:26px; flex:none; display:block}
.topnav{display:flex; gap:22px; font-size:15.5px}
.topnav a{color:var(--ink-2); text-decoration:none}
.topnav a:hover{color:var(--ink)}
.topnav a:focus-visible, .wordmark:focus-visible{outline:2px solid var(--beam); outline-offset:3px; border-radius:2px}

/* ---------- hero ---------- */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--rule)}
.hero::before{
  content:""; position:absolute; inset:-30% 0 auto 50%; width:1100px; height:820px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse 52% 46% at 50% 22%, rgba(255,194,32,.30), rgba(255,194,32,.10) 44%, transparent 70%);
  pointer-events:none;
}
.hero .shell{position:relative; padding-top:86px; padding-bottom:78px}
.kicker{
  font-family:"IBM Plex Mono", monospace; font-size:13px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--beam-ink); margin:0 0 22px;
}
h1{
  font-family:"Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight:400; font-size:clamp(45.5px,7.4vw,83.5px); line-height:1.02;
  letter-spacing:-.018em; margin:0 0 24px; max-width:16ch; text-wrap:balance;
}
/* A highlighter, not yellow text - yellow type on cream cannot be read. */
h1 em{font-style:italic; background-image:linear-gradient(var(--beam-soft),var(--beam-soft));background-size:100% .36em;background-position:0 .78em;background-repeat:no-repeat;padding:0 .06em}
.lede{margin:0; max-width:56ch; font-size:19.5px; color:var(--ink-2)}
.lede strong{color:var(--ink); font-weight:500}

/* ---------- waitlist ---------- */
.signup{margin:38px 0 0; max-width:560px}
.field-row{display:flex; gap:10px; flex-wrap:wrap}
.field-row input[type=email]{flex:1 1 240px; min-width:0}
input[type=email], select{
  font:inherit; font-size:16.5px; color:var(--ink);
  background:var(--cream-2); border:1px solid var(--rule);
  border-radius:6px; padding:13px 14px; width:100%;
}
select{color:var(--ink-2)}
input::placeholder{color:var(--ink-3)}
input:focus, select:focus{outline:2px solid var(--beam); outline-offset:1px; border-color:transparent}
.btn{
  font:inherit; font-weight:600; font-size:16.5px; cursor:pointer; white-space:nowrap;
  background:var(--beam); color:var(--on-beam); border:1px solid var(--beam);
  border-radius:6px; padding:13px 24px;
}
.btn:hover{background:var(--beam-soft)}
.btn:focus-visible{outline:2px solid var(--ink); outline-offset:2px}
/* Secondary action. Every .btn used to render solid, which was survivable in
   teal and is not in yellow - two identical buttons say neither is the point. */
.btn.ghost{background:var(--cream-2); color:var(--ink); border-color:var(--rule)}
.btn.ghost:hover{background:var(--cream-3); border-color:var(--ink-3)}
.role-row{margin-top:10px}
.consent{margin:12px 0 0; font-size:14px; color:var(--ink-3); max-width:52ch}
.consent a{color:var(--ink-2)}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.formnote{margin:14px 0 0; font-size:15.5px; min-height:1.2em}
.formnote[data-tone="ok"]{color:var(--beam-ink)}
.formnote[data-tone="err"]{color:var(--crit)}

/* ---------- light band ---------- */
.band{background:var(--cream-2); color:var(--ink)}
.band .shell{padding-top:72px; padding-bottom:72px}
.band h2, .band h3{color:var(--ink)}
.sec-label{
  font-family:"IBM Plex Mono", monospace; font-size:12.5px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-3); margin:0 0 16px;
}
h2{
  font-family:"Instrument Serif", Georgia, serif; font-weight:400;
  font-size:clamp(29.5px,4vw,41.5px); line-height:1.1; letter-spacing:-.015em;
  margin:0 0 16px; max-width:22ch; text-wrap:balance;
}
.band .intro{margin:0 0 42px; max-width:60ch; color:var(--ink-2); font-size:18.5px}

.trio{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule-2); border:1px solid var(--rule-2); border-radius:8px; overflow:hidden}
.cell{background:var(--cream-2); padding:26px 24px 28px}
.cell .n{
  font-family:"IBM Plex Mono", monospace; font-size:12.5px; font-weight:600;
  letter-spacing:.1em; color:var(--beam-ink); display:block; margin-bottom:12px;
}
.cell h3{font-family:"Archivo",sans-serif; font-size:18.5px; font-weight:600; letter-spacing:-.008em; margin:0 0 8px}
.cell p{margin:0; font-size:16px; color:var(--ink-2)}
.cell .egg{
  margin:14px 0 0; padding-top:12px; border-top:1px solid var(--rule-2);
  font-family:"IBM Plex Mono",monospace; font-size:14px; color:var(--ink-3);
}

.who{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:44px}
.who-card{background:var(--cream-3); border-radius:8px; padding:24px 26px}
.who-card h3{font-family:"Archivo",sans-serif; font-size:17.5px; font-weight:600; margin:0 0 10px}
.who-card p{margin:0; font-size:16px; color:var(--ink-2)}

/* ---------- plain document pages ---------- */
.doc .shell{padding-top:64px; padding-bottom:88px; max-width:760px}
.doc h1{
  font-size:clamp(33.5px,5vw,47.5px); max-width:20ch; margin-bottom:10px;
}
.doc .updated{font-family:"IBM Plex Mono",monospace; font-size:13.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); margin:0 0 40px}
.doc h2{font-family:"Archivo",sans-serif; font-size:20.5px; font-weight:600; letter-spacing:-.005em; color:var(--ink); margin:38px 0 12px; max-width:none}
.doc h3{font-family:"Archivo",sans-serif; font-size:17px; font-weight:600; color:var(--ink); margin:24px 0 8px}
.doc p, .doc li{color:var(--ink-2); font-size:17px}
.doc p{margin:0 0 14px; max-width:68ch}
.doc ul{margin:0 0 16px; padding-left:20px; max-width:68ch}
.doc li{margin-bottom:7px}
.doc strong{color:var(--ink); font-weight:600}
.doc a{color:var(--beam-ink)}
.callout{
  background:var(--beam-tint); border-left:3px solid var(--beam);
  border-radius:0 6px 6px 0; padding:16px 18px; margin:0 0 20px; max-width:68ch;
}
.callout p{margin:0; color:var(--ink); font-size:16.5px}
.doc table{border-collapse:collapse; width:100%; margin:0 0 20px; font-size:16px}
.doc th, .doc td{text-align:left; padding:10px 12px; border-bottom:1px solid var(--rule); vertical-align:top; color:var(--ink-2)}
.doc th{color:var(--ink); font-weight:600; font-size:14.5px; letter-spacing:.02em}
.tablewrap{overflow-x:auto; margin-bottom:20px}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--rule); background:var(--cream)}
footer .shell{padding-top:34px; padding-bottom:44px; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap}
/* 44ch was narrow enough to break "PRODESK PTY LTD" and "Queensland,
   Australia" across lines while the footer had room to spare. */
.legal{font-size:14.5px; color:var(--ink-3); max-width:64ch; margin:0}
.legal .co{display:block; color:var(--ink-2); margin-bottom:4px}
/* Each of these is one thing; none should ever be split by a line break. */
.legal .nb{white-space:nowrap}
/* The footer is three deliberate lines, not a paragraph that happens to wrap. */
.legal .ln{display:block}
.footlinks{display:flex; gap:20px; font-size:15px}
.footlinks a{color:var(--ink-2); text-decoration:none}
.footlinks a:hover{color:var(--ink)}
.footlinks a:focus-visible{outline:2px solid var(--beam); outline-offset:3px; border-radius:2px}

@media (max-width:760px){
  .trio{grid-template-columns:1fr}
  .who{grid-template-columns:1fr}
  .hero .shell{padding-top:56px; padding-bottom:56px}
  .shell{padding:0 20px}
  .topnav{gap:16px}
}
/* The masthead is a single flex row, and at phone widths the wordmark plus
   four links no longer fit - it was pushing the page 6px wider than the
   viewport, which is a horizontal scrollbar on a marketing site. Let it wrap. */
@media (max-width:460px){
  .topbar .shell{flex-wrap:wrap; gap:10px}
  .topnav{gap:14px; font-size:14.5px; flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *{transition:none!important} }


/* ---------- motion ---------- */
/* The slogan is the first thing that moves: three words rising out of the
   baseline, then a rule drawing itself out to the right. */
.slogan{
  display:flex; gap:.34em; margin:0 0 22px; align-items:center;
  font-family:"IBM Plex Mono", monospace; font-size:13px; font-weight:600;
  letter-spacing:.3em; text-transform:uppercase; color:var(--beam-ink);
}
.slogan span{display:inline-block; flex:none; opacity:0; transform:translateY(100%);
  animation:slog .9s cubic-bezier(.16,1,.3,1) .15s forwards}
.slogan span:nth-child(2){animation-delay:.24s}
.slogan span:nth-child(3){animation-delay:.33s}
.slogan i{display:block; height:1px; flex:1; max-width:0; background:var(--rule);
  animation:draw 1.1s cubic-bezier(.16,1,.3,1) .6s forwards}
@keyframes slog{to{opacity:1; transform:none}}
@keyframes draw{to{max-width:240px}}

/* Hero copy follows the slogan in sequence rather than all at once. */
.rise{opacity:0; transform:translateY(16px);
  animation:rise .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:calc(.28s + var(--d,0) * .08s)}
@keyframes rise{to{opacity:1; transform:none}}

/* Sections below the fold arrive as they are reached. */
.inview{opacity:0; transform:translateY(22px);
  transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1)}
.inview.seen{opacity:1; transform:none}
.trio .cell{transition-delay:calc(var(--i,0) * .09s)}

.btn{transition:transform .22s cubic-bezier(.16,1,.3,1), background .22s ease, box-shadow .22s ease}
.btn:hover{transform:translateY(-2px); box-shadow:0 8px 20px -10px rgba(122,86,6,.5)}
.btn:active{transform:translateY(0)}
.cell, .who-card{transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease}
.cell:hover, .who-card:hover{transform:translateY(-3px); box-shadow:0 14px 30px -20px rgba(32,29,29,.35)}
.topnav a{transition:color .2s ease}

@media (max-width:680px){
  .slogan{letter-spacing:.2em; font-size:12px; gap:.3em}
  .slogan i{display:none}
}
@media (prefers-reduced-motion:reduce){
  .slogan span,.slogan i,.rise{animation:none; opacity:1; transform:none; max-width:240px}
  .inview{opacity:1; transform:none; transition:none}
  .btn:hover,.cell:hover,.who-card:hover{transform:none; box-shadow:none}
}
