/* saas.diagnostack.cloud gateway. System fonts only, no JavaScript, no third-party requests. */
:root {
  --ink: #101820; --ink-2: #26323d; --paper: #F4F6F3; --card: #fff; --line: #D8DED8; --muted: #5A6670;
  --mint: #7FD1AE; --mint-d: #1F7A57; --amber: #F2B84B;
  --serif: "Iowan Old Style", Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); }
a { color: var(--mint-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(1.2rem, env(safe-area-inset-right)) 0 max(1.2rem, env(safe-area-inset-left)); }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6rem; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 600 1.02rem var(--mono); }
.brand .dim { color: var(--muted); font-weight: 400; }
.toplink { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; }

.hero { padding: 3.5rem 0 2.5rem; }
.kicker { font: 500 .9rem var(--mono); color: var(--mint-d); margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); max-width: 20ch; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin: 0; }

.products { padding: 1rem 0 3rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } .card-next { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h2 { font-size: 1.6rem; }
.card p { margin: 0 0 .9rem; }
.card ul { margin: 0 0 1.4rem; padding-left: 1.1rem; flex: 1; }
.card li { margin-bottom: .25rem; }
.for { color: var(--muted); font-size: .95rem; }
.status { display: inline-flex; align-items: center; gap: .45rem; font: 600 .82rem var(--mono); color: var(--mint-d); }
.status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(127, 209, 174, .3); }
.status.next { color: var(--muted); }
.btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem 1.2rem; border-radius: 8px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.btn span { font: 400 .85rem var(--mono); color: var(--mint); }
.btn:hover { background: var(--ink-2); color: #fff; }
.card-next { background: transparent; border-style: dashed; }

/* Each product gets a small drawn motif instead of a stock screenshot. */
.motif { height: 92px; background: var(--ink); display: grid; gap: 6px; padding: 16px 1.5rem; }
.motif span { border-radius: 5px; }
.motif-keys { grid-template-columns: repeat(4, 1fr); }
.motif-keys span { background: #1d2a35; border-top: 4px solid var(--mint); }
.motif-keys span:nth-child(2) { border-top-color: var(--amber); }
.motif-keys span:nth-child(4) { border-top-color: #3a4a57; }
.motif-slots { grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; }
.motif-slots span { background: #1d2a35; }
.motif-slots span:nth-child(1) { background: var(--mint); grid-row: span 2; }
.motif-slots span:nth-child(3) { background: var(--amber); }
.motif-slots span:nth-child(5) { background: repeating-linear-gradient(135deg, #1d2a35 0 5px, #3a4a57 5px 10px); grid-row: span 2; }

.standard { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.standard h2 { font-size: 1.6rem; }
.facts { display: grid; gap: 1.25rem 2rem; grid-template-columns: 1fr; margin: 1.2rem 0 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts dt { font: 600 .9rem var(--mono); color: var(--mint-d); margin-bottom: .3rem; }
.facts dd { margin: 0; color: var(--ink-2); }

.contact { background: var(--ink); color: #e6ece8; padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom)); }
.contact h2 { font-size: 1.7rem; color: #fff; }
.contact p { max-width: 62ch; font-size: 1.08rem; margin: 0 0 1rem; }
.contact a { color: var(--mint); font-weight: 600; word-break: break-word; }
.contact a:hover { color: #fff; }
.contact .fine { font-size: .88rem; color: #9aa7a1; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.motif-ops { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
.motif-ops span { background: #1d2a35; border-left: 4px solid var(--mint); }
.motif-ops span:nth-child(2) { border-left-color: var(--amber); }
.motif-ops span:nth-child(3) { border-left-color: #3a4a57; }
.motif-util { grid-template-columns: repeat(4, 1fr); }
.motif-util span { background: #1d2a35; }
.motif-util span:nth-child(1) { background: #FF5A1F; }
.motif-util span:nth-child(2) { border-top: 4px solid var(--mint); }
.motif-util span:nth-child(3) { border-top: 4px solid var(--amber); }
.motif-rsvp { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr 1fr; }
.motif-rsvp span { background: #1d2a35; position: relative; }
.motif-rsvp span:nth-child(1), .motif-rsvp span:nth-child(2), .motif-rsvp span:nth-child(4), .motif-rsvp span:nth-child(6), .motif-rsvp span:nth-child(7), .motif-rsvp span:nth-child(9) { background: var(--mint); }
.motif-rsvp span:nth-child(3), .motif-rsvp span:nth-child(8) { background: var(--amber); }
.motif-rsvp span:nth-child(5) { background: repeating-linear-gradient(135deg, #1d2a35 0 5px, #3a4a57 5px 10px); }
.motif-rsvp span:nth-child(1)::after, .motif-rsvp span:nth-child(2)::after, .motif-rsvp span:nth-child(4)::after, .motif-rsvp span:nth-child(6)::after, .motif-rsvp span:nth-child(7)::after, .motif-rsvp span:nth-child(9)::after {
  content: ''; position: absolute; left: 50%; top: 45%; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(45deg); }
