/* =========================================================
   deftsuite.com — shared styles for product pages, nav and footer.
   The home page carries its own section styles inline and
   shares the tokens, nav and footer defined here.
   ========================================================= */
:root {
  --field: #0C2547; --soft: rgba(255,255,255,.66); --hair: rgba(255,255,255,.16);
  --paper: #FFFFFF; --ink: #111418; --body: #33373E; --muted: #5C6168; --rule: #E4E6EA;
  --stack: #D9441C; --deft: #1E5BCB; --amber: #F5C542; --tint: #F3F5F8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Schibsted Grotesk', -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---------- nav ---------- */
.top { background: var(--field); color: #fff; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 40px; max-width: 1440px; margin: 0 auto; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.links { display: flex; gap: 28px; color: var(--soft); font-weight: 500; }
.links a:hover { color: #fff; }
.btn { display: inline-block; padding: 12px 20px; background: #fff; color: var(--field); font-weight: 700; border-radius: 4px; white-space: nowrap; }
.btn:hover { background: #E8EEFA; }
.ghost { font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.ghost:hover { border-color: #fff; }

/* ---------- product hero ---------- */
.phero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 28px 40px 80px; max-width: 1440px; margin: 0 auto; }
.crumbs { font-size: .74rem; color: var(--soft); }
.crumbs a:hover { color: #fff; }
.phero h1 { margin: 22px 0 0; font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
.sub { margin: 22px 0 0; font-size: 1.2rem; line-height: 1.45; color: var(--soft); max-width: 40ch; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.note { margin: 22px 0 0; font-size: .92rem; line-height: 1.5; color: var(--soft); max-width: 52ch; }
.pill { display: inline-block; font-size: .7rem; padding: 3px 8px; border: 1px solid currentColor; margin-right: 6px; vertical-align: 1px; }
.pill.is-live { color: #8FE3B0; } .pill.is-early { color: var(--amber); } .pill.is-build { color: rgba(255,255,255,.7); }

.console { background: #111418; border: 1px solid rgba(255,255,255,.14); padding: 0 0 14px; display: grid; gap: 10px; }
.console__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .72rem; color: rgba(255,255,255,.6); }
.preview-tag { color: var(--amber); }
.ask { margin: 4px 16px 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); font-size: .95rem; line-height: 1.45; }
.ask .who { display: block; font-size: .68rem; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.call { margin: 0 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 14px; border: 1px solid rgba(143,180,255,.35); background: rgba(30,91,203,.12); font-size: .76rem; color: rgba(255,255,255,.85); }
.call span:first-child { overflow-wrap: anywhere; }
.call .st { color: #8FB4FF; white-space: nowrap; }
.call .st.wait { color: #FF8A66; }

/* ---------- product sections ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
.story, .short, .with, .price { padding: 80px 0; border-top: 1px solid var(--rule); }
.story { border-top: 0; }
.short { background: var(--tint); }
h2 { margin: 0; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.story__body p { margin: 0 0 1.1em; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.short__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.short__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid #D5D9DF; font-size: 1.12rem; line-height: 1.45; }
.short__list .n { font-size: .78rem; color: var(--stack); padding-top: 4px; }
.link-row { display: grid; grid-template-columns: 9rem 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.link-row:first-child { border-top: 1px solid var(--ink); }
.link-row .mono { font-size: .85rem; font-weight: 500; color: var(--deft); }
.link-row .arrow { color: var(--muted); }
.link-row:hover .arrow { color: var(--ink); }
.ptable { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); }
.ptable th, .ptable td { padding: 14px 16px; border-bottom: 1px solid var(--rule); text-align: left; }
.ptable thead th { border-bottom: 1px solid var(--ink); font-weight: 700; }
.ptable tbody th { font-weight: 500; color: var(--muted); }
.ptable td { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.aside { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.aside a { color: var(--deft); border-bottom: 1px solid currentColor; }

/* ---------- footer ---------- */
.foot { background: #0A1A33; color: rgba(255,255,255,.75); }
.foot__inner { max-width: 1240px; margin: 0 auto; padding: 64px 40px 40px; display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; }
.fcol h4 { margin: 0 0 12px; font-size: .8rem; font-weight: 700; color: #fff; }
.fcol a { display: block; padding: 4px 0; font-size: .92rem; }
.fcol a:hover { color: #fff; }
.fcol p { margin: 10px 0 0; font-size: .92rem; line-height: 1.45; max-width: 24ch; }
.brand--ink { color: #fff; }
.foot__base { max-width: 1240px; margin: 0 auto; padding: 18px 40px 28px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: .74rem; }

@media (max-width: 980px) {
  .phero, .split { grid-template-columns: 1fr; gap: 28px; }
  .links { display: none; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav, .phero, .wrap, .foot__inner, .foot__base { padding-left: 16px; padding-right: 16px; }
  .nav .btn { padding: 10px 12px; font-size: .85rem; }
  .link-row { grid-template-columns: 1fr auto; }
  .link-row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .ptable th, .ptable td { padding: 10px 8px; }
  .ptable td { font-size: 1.15rem; }
}
