/* Sigma Octantis — sigmaoctantis.dev
   Palette and metrics from the Claude Design handoff (31/07/2026). */

:root{
  --accent:#A87B14;
  --gold:#F8D775;
  --ink:#1A1D26;
  --ink2:#5C6070;
  --line:#E8E8E4;
  --tint:#FAFAF8;
  --navy:#242A3D;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:#fff;color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;
  min-height:100vh;display:flex;flex-direction:column;
}
a{color:var(--accent);text-decoration:none}
a:hover{color:#8a6410;text-decoration:underline;text-underline-offset:3px}
button{font:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.shell{max-width:1100px;margin:0 auto;padding:0 24px}

/* header / footer */
header.site{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line)}
header.site .shell{height:60px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{display:flex;align-items:center;gap:9px;color:var(--ink)}
.wordmark:hover{color:var(--ink);text-decoration:none}
.wordmark .star{color:var(--gold);font-size:15px;line-height:1;text-shadow:0 0 1px rgba(168,123,20,.5)}
.wordmark .name{font-size:15px;font-weight:600;letter-spacing:-0.015em}
header.site nav{display:flex;align-items:center;gap:26px;font-size:14px}
header.site nav a{color:var(--ink2)}

main{flex:1}

footer.site{border-top:1px solid var(--line)}
footer.site .shell{padding-top:40px;padding-bottom:56px;display:flex;flex-wrap:wrap;
  gap:20px 40px;align-items:center;justify-content:space-between;font-size:14px;color:var(--ink2)}
footer.site .mark{display:flex;align-items:center;gap:10px}
footer.site .star{color:var(--gold);width:14px;display:inline-flex;justify-content:center}
@media (max-width:700px){footer.site nav{margin-left:24px}}
footer.site nav{display:flex;gap:24px}
footer.site nav a{color:var(--ink2)}

/* home */
.hero{padding-top:120px;padding-bottom:96px}
.hero h1{margin:0;font-size:clamp(36px,6vw,60px);line-height:1.06;letter-spacing:-0.03em;font-weight:600;max-width:14ch}
.hero p{margin:28px 0 0;font-size:18px;line-height:1.6;color:var(--ink2);max-width:52ch}

.band{border-top:1px solid var(--line);background:var(--tint)}
.apps{padding-top:72px;padding-bottom:96px}
.apps h2{margin:0 0 32px;font-size:13px;font-weight:600;letter-spacing:0.06em;color:var(--ink2)}
.apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.app-card{display:flex;gap:20px;align-items:flex-start;padding:26px;background:#fff;
  border:1px solid var(--line);border-radius:14px;color:var(--ink);
  transition:box-shadow .18s ease,transform .18s ease}
.app-card:hover{color:var(--ink);text-decoration:none;box-shadow:0 8px 40px rgba(26,29,38,0.10);transform:translateY(-2px)}
.app-card .t{font-size:17px;font-weight:600;letter-spacing:-0.01em}
.app-card p{margin:6px 0 12px;font-size:14.5px;line-height:1.55;color:var(--ink2)}
.app-card .go{font-size:14px;color:var(--accent)}

/* the CSS-drawn quadrant mark */
.qicon{flex:none;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;
  background:var(--navy);box-shadow:0 2px 10px rgba(26,29,38,.16)}
.qicon div{background:#5C6488}
.qicon div:last-child{background:var(--gold)}
.qicon.s64{width:64px;height:64px;border-radius:15px;gap:3.4px;padding:13px}
.qicon.s64 div{border-radius:1.5px}
.qicon.s56{width:56px;height:56px;border-radius:13px;gap:3px;padding:11.3px}
.qicon.s56 div{border-radius:1.3px}

/* numera product page */
.product-hero{padding-top:96px;padding-bottom:24px}
.product-hero .cols{display:flex;flex-wrap:wrap;gap:64px;align-items:center;justify-content:space-between}
.product-hero .copy{flex:1 1 380px;max-width:560px}
.product-hero .titlerow{display:flex;align-items:center;gap:16px}
.product-hero h1{margin:0;font-size:clamp(32px,5vw,46px);letter-spacing:-0.03em;font-weight:600;line-height:1}
.product-hero .pitch{margin:28px 0 0;font-size:19px;line-height:1.55;color:var(--ink);max-width:44ch}
.product-hero .sub{margin:16px 0 0;font-size:16px;line-height:1.6;color:var(--ink2);max-width:52ch}
.badge-row{margin-top:32px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.badge-row .req{font-size:13px;color:var(--ink2)}
.appstore-badge{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 18px;
  background:#000;color:#fff;border-radius:9px}
.appstore-badge:hover{color:#fff;text-decoration:none;opacity:.86}
.appstore-badge svg{width:20px;height:24px;fill:#fff}
.appstore-badge .lines{display:flex;flex-direction:column;line-height:1.1}
.appstore-badge .small{font-size:9.5px;letter-spacing:.02em}
.appstore-badge .big{font-size:17px;font-weight:500;letter-spacing:-0.01em}

/* framed screenshots */
.frame{background:var(--navy);box-shadow:0 8px 40px rgba(26,29,38,0.12)}
.frame img{display:block;width:100%}
.frame.w250{width:250px;padding:10px;border-radius:42px}
.frame.w250 img{border-radius:33px}
.frame.w230{width:230px;padding:9px;border-radius:39px}
.frame.w230 img{border-radius:31px}
.frame.w190{width:190px;padding:8px;border-radius:33px}
.frame.w190 img{border-radius:26px}
.product-hero .shot{flex:0 0 auto;padding:24px}

.star-divider{text-align:center;color:var(--gold);font-size:14px;padding:56px 0 8px}

.features{padding-top:24px;padding-bottom:96px}
.features .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:44px 56px}
.features h3{margin:0 0 8px;font-size:17px;font-weight:600;letter-spacing:-0.01em}
.features p{margin:0;font-size:15.5px;line-height:1.6;color:var(--ink2)}

.gallery{padding-top:88px;padding-bottom:88px}
.gallery .row{display:flex;flex-wrap:wrap;gap:56px;justify-content:center}
.gallery figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:16px}
.gallery figcaption{font-size:13.5px;color:var(--ink2);max-width:24ch;text-align:center}

.more-links{padding-top:72px;padding-bottom:96px;display:flex;gap:40px;flex-wrap:wrap}
.more-links a{font-size:16px}

/* article pages (guide, faq, privacy, terms, contact) */
.page{padding-top:80px;padding-bottom:96px}
.page .narrow{max-width:65ch}
.page .form-narrow{max-width:52ch}
.page h1{margin:0 0 12px;font-size:36px;letter-spacing:-0.03em;font-weight:600}
.page .lede{margin:0 0 48px;font-size:17px;line-height:1.6;color:var(--ink2)}
.page .dateline{margin:0 0 48px;font-size:15px;color:var(--ink2)}
.page h2{margin:0 0 12px;font-size:22px;letter-spacing:-0.02em;font-weight:600;scroll-margin-top:80px}
.page h2.q{font-size:19px;letter-spacing:-0.015em;margin-bottom:10px}
.page p{margin:0 0 16px;font-size:17px;line-height:1.65}
.page p.gap{margin-bottom:40px}
.page p.qgap{margin-bottom:36px}
.page p:last-child{margin-bottom:0}
code.k{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15.5px;
  background:var(--tint);border:1px solid var(--line);border-radius:4px;padding:1px 5px}

/* guide layout */
.guide-cols{display:flex;gap:64px;align-items:flex-start;flex-wrap:wrap}
.toc{flex:0 0 200px;font-size:14px;line-height:2}
@media (min-width:900px){.toc{position:sticky;top:92px}}
.toc .h{font-weight:600;font-size:12.5px;letter-spacing:.06em;color:var(--ink2);margin-bottom:6px}
.toc div.links{display:flex;flex-direction:column}
.guide-cols article{flex:1 1 480px;max-width:65ch}
.guide-shot{margin:0 0 40px;display:flex;gap:24px;flex-wrap:wrap}

/* contact form */
form.contact{display:flex;flex-direction:column;gap:22px}
form.contact label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500}
form.contact input,form.contact textarea{font:16px/1.4 inherit;color:var(--ink);
  padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fff}
form.contact textarea{line-height:1.55;resize:vertical}
form.contact button{height:46px;padding:0 24px;border:0;border-radius:8px;background:var(--ink);
  color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:opacity .15s ease}
form.contact button:hover{opacity:.86}
.page p.form-note{margin:44px 0 0;font-size:13.5px;line-height:1.6;color:var(--ink2)}
.hp{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;overflow:hidden}

/* the name, hidden behind the footer star */
footer.site button.star{appearance:none;-webkit-appearance:none;border:0;background:none;
  padding:0;margin:0;font:inherit;color:var(--gold);cursor:pointer;line-height:1}
footer.site button.star:hover{color:#e9c14f}
@keyframes starturn{from{transform:rotate(0)}to{transform:rotate(360deg)}}
button.star.spin{display:inline-block;animation:starturn 7s cubic-bezier(.4,0,.2,1)}
/* Two animations, deliberately: the opacity gets its own long, even ramp while
   the movement eases out on a shorter one. Sharing a curve front-loaded the fade,
   so it was over in a fraction of the duration however long that duration was. */
@keyframes starfade{from{opacity:0}to{opacity:1}}
@keyframes starrise{from{transform:translateY(86px)}to{transform:translateY(0)}}
/* The note always occupies its space, so revealing it cannot reflow the page —
   display:none made the document grow on tap, which shunted the footer about.
   visibility keeps it out of the accessibility tree while it is hidden. */
.starnote{visibility:hidden;opacity:0;margin:-44px 0 44px;padding-left:24px;text-indent:-24px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px;line-height:1.85;letter-spacing:-0.01em;color:var(--ink2);max-width:120ch}
.starnote.on{visibility:visible;
  animation:starfade 6s linear both, starrise 3.4s cubic-bezier(.16,.84,.3,1) both}
.starnote .sigil{color:var(--gold);display:inline-block;width:14px;text-align:center;
  margin-right:10px;text-indent:0;font-family:-apple-system,BlinkMacSystemFont,sans-serif}
