/* Nous app palette: nous-app src/lib/theme.ts + icon background #090D24 */
:root {
  --bg: #0b0e1a;
  --surface: #141617;
  --raised: #1b1d1f;
  --border: #343638;
  --text: #f4efe5;
  --muted: #a9aeb4;
  --accent: #61d2c3;
  --blue: #67d9f5;
  --violet: #5b8cff;
  --warning: #efc56c;
  --radius: 16px;
  --max: 72rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #062420; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgb(11 14 26 / .85); backdrop-filter: blur(10px); border-bottom: 1px solid rgb(52 54 56 / .6); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 36px; height: auto; }
.site-head nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-head nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-head nav a:hover { color: var(--text); }
.site-head nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.site-head nav { margin-left: auto; }
.btn.small { padding: .45rem .9rem; font-size: .92rem; border-radius: 10px; }
@media (max-width: 60rem) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; }
  .site-head nav { order: 3; width: 100%; margin: 0 0 .5rem; overflow-x: auto; }
  .site-head nav ul { gap: 1.1rem; white-space: nowrap; padding: .25rem 0 .35rem; }
  .site-head .btn.small { margin-left: auto; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero-art img { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 60% at 55% 50%, #000 60%, transparent 100%); }
@media (max-width: 56rem) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d6cf; max-width: 38rem; }
.status { display: inline-flex; gap: .5rem; align-items: center; border: 1px solid rgb(239 197 108 / .45); background: rgb(239 197 108 / .08); color: var(--warning); padding: .4rem .8rem; border-radius: 12px; font-size: .9rem; margin: .4rem 0 1.4rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-block; padding: .8rem 1.25rem; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); color: var(--text); background: var(--raised); }
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #062420; }
.btn.primary:hover { background: #7fe0d3; color: #062420; }

/* sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.alt { background: #0f1220; border-block: 1px solid rgb(52 54 56 / .5); }
.section-intro { max-width: 44rem; color: var(--muted); margin-bottom: 2.2rem; }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem .4rem; }
.card h3 { color: var(--text); }
.card p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { padding-left: 1.6rem; position: relative; color: #d9d6cf; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 3px; background: var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 52rem) { .two { grid-template-columns: 1fr; } }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--raised); padding: .1em .35em; border-radius: 6px; }

/* plans */
.plans { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.plan.featured { border-color: var(--accent); }
.plan .tag { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plan .when { color: var(--warning); font-size: .92rem; }
.note { color: var(--muted); font-size: .95rem; margin-top: 1.4rem; }

/* faq */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .8rem 0 .2rem; }

/* footer */
.site-foot { border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .93rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }

/* inner pages */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 50rem; }
.narrow { width: min(100% - 2.5rem, 50rem); }
.tag { font-size: .8rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.card .tag { color: var(--accent); }
.two-cards { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.card h2 { font-size: 1.35rem; }

/* screenshots */
.shots { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-bottom: 2rem; }
.shots figure { margin: 0; }
.shots img, .split > img { border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgb(0 0 0 / .45); }
.shots img { width: 100%; max-width: 20rem; margin-inline: auto; }
figcaption { color: var(--muted); margin-top: 1rem; font-size: .97rem; }
figcaption strong { color: var(--text); }
.split { display: grid; grid-template-columns: 20rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > img { width: 100%; max-width: 20rem; }
.split.rev > img { order: 2; }
.split p { color: #d9d6cf; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } .split.rev > img { order: 0; } .split > img { margin-inline: auto; max-width: 17rem; } }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.steps > li { counter-increment: step; position: relative; padding-left: 3.2rem; color: #d9d6cf; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: rgb(97 210 195 / .15); color: var(--accent); font-weight: 700; }
.steps h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.steps .ticks { margin-bottom: 1em; }

/* plans */
.price { font-size: 1.5rem; font-weight: 700; margin: .2rem 0 1rem; }
.plan h2 { font-size: 1.35rem; }
.plan .tag { color: var(--muted); }

/* company details and prose */
dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0 0 1rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
dl.card { padding: 1.4rem; }
.person .role { color: var(--muted); }
@media (max-width: 36rem) { dl { grid-template-columns: 1fr; } dt { margin-top: .5rem; } }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose p, .prose li { color: #d9d6cf; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; margin: 0 0 1em; }

/* footer columns */
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.foot-cols h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .8rem; }
.site-foot .foot-cols ul { flex-direction: column; gap: .5rem; margin: 0; }
.foot-cols .brand { margin-bottom: .8rem; }
@media (max-width: 48rem) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }
