/* TheNoCompany LLC — corporate site
   Design: restrained software-studio. Negative space is the signature.
   Monochrome paper/ink + one indigo accent used sparingly.
   Display: Space Grotesk · Body: Inter · Labels/data: JetBrains Mono */

:root {
  --paper:   #F6F5F1;
  --paper-2: #FFFFFF;
  --ink:     #16161A;
  --muted:   #6E6E73;
  --line:    #E4E2DB;
  --accent:  #3A2BFF;
  --maxw:    1080px;
  --gut:     clamp(20px, 5vw, 64px);
  --step:    clamp(64px, 9vw, 132px);
  --r:       10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* mono utility label — software vernacular, used for eyebrows */
.label {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- top bar --- */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand .dot { color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; color: var(--muted); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }

/* --- hero --- */
.hero { padding: clamp(72px, 14vw, 168px) 0 var(--step); }
.hero h1 { font-size: clamp(40px, 7.5vw, 88px); max-width: 16ch; }
.hero .lead { font-size: clamp(18px, 2.4vw, 23px); color: var(--muted); max-width: 56ch; margin-top: 28px; }
.hero .label { margin-bottom: 26px; display: inline-block; }

/* --- generic section --- */
section { padding: var(--step) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head h2 { font-size: clamp(28px, 4.5vw, 46px); max-width: 18ch; }
.sec-head .sub { color: var(--muted); max-width: 54ch; }

/* products as a quiet typed list, not flashy cards */
.products { display: grid; gap: 0; }
.product { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product .row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.product h3 { font-size: 24px; }
.product .meta { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.product p { color: var(--muted); max-width: 60ch; margin: 6px 0 0; }

/* sectors — bordered grid, hairline gaps (studio look) */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }
.sector { background: var(--paper); padding: 34px 30px; min-height: 178px; display: flex; flex-direction: column; gap: 10px; transition: background 0.2s; }
.sector:hover { background: var(--paper-2); }
.sector .tag { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sector h3 { font-size: 21px; }
.sector p { color: var(--muted); font-size: 15px; margin: 0; }

/* about / two-column prose */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.cols p { color: var(--muted); }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }

/* fact list */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .k { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts .v { text-align: right; }

/* contact / CTA */
.contact a.mail { font-family: "Space Grotesk", sans-serif; font-size: clamp(24px, 4vw, 40px); font-weight: 600; letter-spacing: -0.02em; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.contact a.mail:hover, .contact a.mail:focus-visible { color: var(--accent); }
.note { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* legal / long-form pages */
.legal { padding: clamp(56px,10vw,120px) 0 var(--step); }
.legal h1 { font-size: clamp(32px,5vw,52px); margin-bottom: 12px; }
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 68ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: var(--step) 0 56px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; gap: 28px; } }
.foot .brand { font-size: 20px; margin-bottom: 12px; display: block; }
.foot p, .foot a { font-size: 14px; color: var(--muted); }
.foot a { display: block; padding: 4px 0; }
.foot a:hover, .foot a:focus-visible { color: var(--ink); }
.foot h4 { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 400; }
.legalbar { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
