/* The Column Space — public site.
   Design language from the sticker tool-doc set (assets/tooldoc-style.html):
   Inter type, teal/indigo accents on white with soft blue panels. */
:root {
  --ink: #0C1424;
  --ink2: #2B3A57;
  --muted: #66748F;
  --faint: #8A97AE;
  --paper: #ffffff;
  --panel: #F4F8FC;
  --panel2: #EEF4FB;
  --rule: #D9E3F0;
  --teal: #0FA9BE;
  --teal-d: #0B7E8E;
  --indigo: #5B54E6;
  --indigo-d: #3F38C9;
  --amber: #E0912B;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Inter Display", "Inter", sans-serif; letter-spacing: -.015em; }
a { color: var(--teal-d); text-decoration: none; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 2rem; border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand svg { display: block; }
.site-header nav a { margin-left: 1.1rem; color: var(--ink2); font-size: .92rem; font-weight: 500; }
.site-header nav a.cta {
  background: var(--teal); color: #fff; padding: .45rem .95rem; border-radius: 8px;
}
.site-header nav a.cta:hover { background: var(--teal-d); }

main { max-width: 980px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.hero { padding: 4rem 0 1.5rem; }
.kicker { text-transform: uppercase; letter-spacing: .28em; font-size: .72rem;
  color: var(--teal-d); font-weight: 600; }
.hero h1 { font-size: 2.7rem; line-height: 1.1; margin: .5rem 0 1rem; font-weight: 700; max-width: 24ch; }
.lede { font-size: 1.12rem; color: var(--ink2); max-width: 62ch; }

.button {
  display: inline-block; background: var(--teal); color: #fff !important;
  padding: .65rem 1.3rem; border-radius: 8px; text-decoration: none;
  border: none; font-size: .95rem; font-weight: 600; cursor: pointer;
  font-family: "Inter", sans-serif;
}
.button:hover { background: var(--teal-d); }
.button.ghost { background: transparent; color: var(--indigo-d) !important; border: 1px solid var(--indigo); }

.triptych { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; padding: 2rem 0; }
.triptych > div { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 1.3rem 1.4rem; }
.triptych h3 { margin-top: 0; font-size: 1.05rem; }
.triptych p { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }

.strip { background: linear-gradient(180deg, #F2FBFC, #EFF3FE);
  border: 1px solid var(--rule); border-left: 3px solid var(--teal);
  border-radius: 10px; padding: 1.2rem 1.6rem; margin: 2rem 0; }

.fig-panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 14px 10px 8px; margin: 1.4rem 0; overflow-x: auto; }
.fig-panel svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 6px; }
figure { margin: 0; }

.cta-band { text-align: center; padding: 3rem 0 1rem; }

.page-head { padding: 3rem 0 .6rem; }
.page-head h1 { font-size: 2.1rem; margin-bottom: .4rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; font-size: 1.25rem; border-bottom: 2px solid var(--ink);
  padding-bottom: .4rem; }
ul.bigs li { margin-bottom: .8rem; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; padding: 2rem 0; }
.tier { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem 1.5rem; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--indigo); box-shadow: 0 4px 18px rgba(91, 84, 230, .12); }
.tier h3 { margin: 0; font-size: 1.3rem; }
.tier .tagline { color: var(--muted); margin: .2rem 0 0; font-size: .92rem; }
.tier .price { font-size: 1.55rem; font-weight: 700; margin: .8rem 0; color: var(--indigo-d); }
.tier ul { padding-left: 1.2rem; flex: 1; }
.tier li { margin-bottom: .5rem; font-size: .92rem; color: var(--ink2); }
.tier .button { text-align: center; }

.form-wrap { max-width: 34rem; }
.form-wrap label { display: block; margin-bottom: 1rem; font-size: .88rem; font-weight: 500; }
.form-wrap input, .form-wrap select, .form-wrap textarea {
  display: block; width: 100%; padding: .6rem; margin-top: .25rem;
  border: 1px solid var(--rule); border-radius: 8px; font-size: .95rem; font-family: inherit;
  background: #fff;
}

.notice { border-radius: 10px; padding: .8rem 1.2rem; margin: 1rem 0; border: 1px solid var(--rule); }
.notice.ok  { background: #E6F7F9; border-left: 3px solid var(--teal); }
.notice.err { background: #ECEAFE; border-left: 3px solid var(--indigo); }

table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 10px 0; }
thead th { text-align: left; background: var(--ink); color: #fff; font-weight: 600;
  padding: 7px 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
tbody td { padding: 6px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--panel); }

.site-footer { border-top: 1px solid var(--rule); background: var(--panel); padding: 2rem; margin-top: 2rem; }
.site-footer .cols { display: flex; gap: 4rem; flex-wrap: wrap; max-width: 980px; margin: 0 auto; }
.site-footer a { color: var(--muted); }
.fine { color: var(--muted); font-size: .82rem; max-width: 980px; margin: 1.2rem auto 0; }

@media (max-width: 700px) {
  .site-header { flex-direction: column; gap: .8rem; }
  .hero h1 { font-size: 2rem; }
}
