:root {
  --ink: #101411;
  --ink-soft: #343a35;
  --paper: #f3f2eb;
  --paper-bright: #fbfaf5;
  --line: #d8d8cf;
  --muted: #70766f;
  --accent: #c7ff3d;
  --accent-deep: #5f7e0d;
  --navy: #152921;
  --danger: #b63f34;
  --success: #2c754b;
  --shadow: 0 22px 70px rgba(25, 31, 26, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.wordmark-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; color: var(--navy); background: var(--accent); font: 900 16px/1 Georgia, serif; transform: rotate(-3deg); }
.header-actions { display: flex; align-items: center; gap: 13px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.live-pill i { width: 7px; height: 7px; border-radius: 99px; background: #4ebc71; box-shadow: 0 0 0 4px rgba(78, 188, 113, 0.13); }
.live-pill.status-error i { background: #cc6a5f; box-shadow: 0 0 0 4px rgba(204, 106, 95, .13); }
.button { border: 0; border-radius: 9px; min-height: 43px; padding: 0 18px; cursor: pointer; font-size: 13px; font-weight: 750; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #295cff); outline-offset: 2px; }
.button-primary { color: #0d190f; background: var(--accent); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 25%, transparent); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 84%, white); }
.button-quiet { background: transparent; border: 1px solid var(--line); }
.button-full { width: 100%; }
.text-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-block: 7px 4px; }
.eyebrow { margin: 0 0 15px; color: var(--muted); font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }

.hero { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr); align-items: center; gap: 6vw; padding-block: 86px 110px; }
.hero-copy h1 { margin: 0; max-width: 720px; font: 500 clamp(62px, 7.4vw, 108px)/0.87 Georgia, "Times New Roman", serif; letter-spacing: -0.065em; }
.hero-copy h1 em { color: var(--accent-deep); font-weight: 500; }
.hero-summary { max-width: 570px; margin: 38px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; letter-spacing: -0.025em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero-system { position: relative; padding: 60px 0; }
.system-card { position: relative; z-index: 2; background: var(--navy); color: #f7f9f2; border-radius: 18px; box-shadow: 0 30px 80px rgba(17, 38, 29, 0.24); overflow: hidden; transform: rotate(1.3deg); }
.system-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 30%); }
.system-card-head { min-height: 70px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.system-card-head strong { color: var(--accent); font-size: 9px; }
.system-stack { padding: 8px; }
.system-stack > div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; min-height: 83px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.system-stack > div:last-child { border-bottom: 0; }
.system-stack > div > span { color: rgba(255,255,255,.4); font: 13px Georgia, serif; }
.system-stack p { margin: 0; display: grid; gap: 5px; }
.system-stack p strong { font-size: 14px; }
.system-stack p small { color: rgba(255,255,255,.55); font-size: 11px; }
.system-stack b { color: var(--accent); border: 1px solid rgba(199,255,61,.3); border-radius: 99px; padding: 6px 9px; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--accent-deep) 30%, transparent); border-radius: 999px; pointer-events: none; }
.orbit-one { width: 120%; aspect-ratio: 1; left: -10%; top: -11%; transform: rotate(42deg); }
.orbit-two { width: 92%; aspect-ratio: 1; left: 4%; top: 3%; border-style: dashed; }

.workspace-section { padding-block: 110px 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font: 500 clamp(38px, 4vw, 58px)/1 Georgia, serif; letter-spacing: -0.05em; }
.section-heading > p { width: min(430px, 42%); margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.auth-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-bright); box-shadow: var(--shadow); }
.auth-intro { padding: clamp(40px, 6vw, 80px); background: var(--navy); color: white; }
.number-chip { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 80px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: var(--accent); font: 13px Georgia, serif; }
.auth-intro h3 { margin: 0; font: 500 clamp(36px, 4vw, 56px)/1 Georgia, serif; letter-spacing: -.045em; }
.auth-intro > p { max-width: 490px; margin: 26px 0; color: rgba(255,255,255,.67); line-height: 1.65; }
.auth-intro ul { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 15px; color: rgba(255,255,255,.82); font-size: 13px; }
.auth-intro li::before { content: "✓"; color: var(--accent); margin-right: 11px; }
.auth-form-wrap { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 30px; background: #e8e8e0; border-radius: 10px; }
.segmented button { border: 0; border-radius: 7px; min-height: 39px; background: transparent; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 700; }
.segmented button.active { color: var(--ink); background: var(--paper-bright); box-shadow: 0 2px 8px rgba(20,25,21,.08); }
form label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--ink-soft); font-size: 11px; font-weight: 750; letter-spacing: .02em; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 12px 13px; font-size: 14px; transition: border 150ms ease, box-shadow 150ms ease; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); outline: none; }
textarea { min-height: 100px; resize: vertical; }
.form-message { min-height: 19px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }
.field-help { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.45; }

.product-card { min-height: 610px; display: grid; grid-template-columns: 245px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.product-sidebar { padding: 27px 18px 20px; background: var(--navy); color: white; display: flex; flex-direction: column; }
.mini-brand { padding: 0 10px 34px; }
.mini-brand span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--navy); font: 800 17px Georgia, serif; }
.product-sidebar nav { display: grid; gap: 6px; }
.product-sidebar nav button { border: 0; background: transparent; color: rgba(255,255,255,.57); padding: 12px; display: flex; gap: 11px; align-items: center; border-radius: 8px; text-align: left; font-size: 12px; font-weight: 650; }
.product-sidebar nav button.active { background: rgba(255,255,255,.1); color: white; }
.product-profile { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 9px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--accent); font-weight: 800; font-size: 12px; }
.product-profile p { margin: 0; min-width: 0; display: grid; gap: 3px; }
.product-profile strong, .product-profile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-profile strong { font-size: 11px; }.product-profile small { color: rgba(255,255,255,.48); font-size: 9px; }
.product-profile button { border: 0; background: transparent; color: rgba(255,255,255,.65); cursor: pointer; }
.product-main { padding: clamp(28px, 5vw, 56px); background: #f8f8f4; }
.product-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.product-head h3 { margin: 0; font: 500 37px/1 Georgia, serif; letter-spacing: -.04em; }
.project-form { margin-bottom: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.project-form > div { display: flex; gap: 10px; }
.project-list { display: grid; }
.project-row { display: grid; grid-template-columns: 40px 1fr auto 64px 28px; gap: 16px; align-items: center; min-height: 82px; padding: 13px 8px; border-bottom: 1px solid var(--line); }
.project-glyph { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: var(--navy); color: var(--accent); font: 700 15px Georgia, serif; }
.project-row > div:nth-child(2) { min-width: 0; }.project-row strong { font-size: 13px; }.project-row p { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.project-row time { color: var(--muted); font-size: 10px; }
.row-menu { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.empty-state { padding: 90px 20px; text-align: center; color: var(--muted); }
.empty-state span { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; }
.empty-state h4 { margin: 20px 0 7px; color: var(--ink); font: 500 25px Georgia, serif; }.empty-state p { margin: 0; font-size: 12px; }

.foundation { padding-block: 110px 140px; border-top: 1px solid var(--line); }
.foundation-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.foundation-grid article { min-height: 265px; padding: 25px 24px; border-right: 1px solid var(--line); }
.foundation-grid article:last-child { border-right: 0; }
.foundation-grid span { color: var(--muted); font: 13px Georgia, serif; }.foundation-grid h3 { margin: 80px 0 14px; font: 500 28px Georgia, serif; }.foundation-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.site-footer { min-height: 90px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Management plane */
.admin-page { min-height: 100vh; background: #eeeee7; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px 22px; display: flex; flex-direction: column; background: var(--navy); color: white; }
.wordmark-inverse { padding-inline: 8px; }.admin-context { display: grid; gap: 5px; margin: 48px 8px 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }.admin-context span { color: rgba(255,255,255,.4); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }.admin-context strong { font: 500 18px Georgia, serif; }
.admin-nav { display: grid; gap: 5px; }.admin-nav button { min-height: 43px; padding: 0 11px; display: grid; grid-template-columns: 28px 1fr; align-items: center; border: 0; border-radius: 7px; color: rgba(255,255,255,.57); background: transparent; cursor: pointer; text-align: left; font-size: 12px; font-weight: 650; }.admin-nav button span { color: rgba(255,255,255,.25); font: 10px Georgia, serif; }.admin-nav button.active { color: white; background: rgba(255,255,255,.09); }.admin-nav button.active span { color: var(--accent); }
.admin-sidebar-note { display: flex; gap: 12px; margin-top: auto; padding: 15px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; }.admin-sidebar-note i { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: var(--accent); }.admin-sidebar-note p { margin: 0; display: grid; gap: 5px; }.admin-sidebar-note strong { font-size: 10px; }.admin-sidebar-note span { color: rgba(255,255,255,.45); font-size: 9px; line-height: 1.45; }.back-link { margin: 18px 8px 0; color: rgba(255,255,255,.55); font-size: 10px; }
.admin-main { min-width: 0; padding: 0 clamp(24px, 4vw, 60px) 70px; }
.admin-topbar { min-height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 36px; }.admin-topbar .eyebrow { margin-bottom: 8px; }.admin-topbar h1 { margin: 0; font: 500 clamp(28px, 3vw, 42px)/1 Georgia, serif; letter-spacing: -.04em; }.admin-status { display: flex; align-items: center; gap: 18px; }.icon-button { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; font-size: 17px; }
.admin-alert { margin-bottom: 25px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); border-radius: 8px; color: var(--danger); background: color-mix(in srgb, var(--danger) 5%, white); font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; }.metric-grid article { min-height: 150px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: #f8f8f4; }.metric-grid span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }.metric-grid strong { margin-top: auto; font: 500 clamp(27px, 3vw, 42px) Georgia, serif; letter-spacing: -.04em; }.metric-grid small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.admin-two-column, .settings-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.admin-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #f8f8f4; overflow: hidden; }.admin-card > header { min-height: 80px; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.admin-card h2 { margin: 4px 0 0; font: 500 24px Georgia, serif; letter-spacing: -.025em; }.card-kicker { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }.text-button { border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.blueprint-card { background: var(--navy); color: white; border-color: var(--navy); }.blueprint-card > header { border-color: rgba(255,255,255,.13); }.blueprint-card .card-kicker { color: var(--accent); }.blueprint-list { padding: 15px 22px; }.blueprint-list div { min-height: 49px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; }.blueprint-list b { color: var(--accent); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }.blueprint-card > p { margin: 0; padding: 0 22px 24px; color: rgba(255,255,255,.53); font-size: 10px; line-height: 1.6; }
.activity-list { padding: 6px 22px; }.activity-row { min-height: 68px; display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }.activity-row:last-child { border-bottom: 0; }.event-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }.event-register, .event-project_created { background: #559f71; }.event-login { background: #6a82d8; }.event-project_deleted, .event-user_suspended { background: #cc6a5f; }.activity-row div { min-width: 0; }.activity-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.activity-row p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }.activity-row time { color: var(--muted); font-size: 9px; }.activity-list-full .activity-row { min-height: 74px; }
.search-input { width: min(240px, 45%); height: 36px; font-size: 11px; }.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th { height: 42px; padding: 0 17px; color: var(--muted); background: #f0f0e9; text-align: left; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }td { height: 68px; padding: 10px 17px; border-top: 1px solid var(--line); font-size: 11px; }td > strong { display: block; }.table-person { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; }.table-person > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--accent); font: 700 12px Georgia, serif; }.table-person p { display: grid; gap: 4px; margin: 0; }.table-person small, .table-description { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }.role-pill, .status { display: inline-flex; width: fit-content; align-items: center; border-radius: 99px; padding: 5px 8px; background: #e5e6df; color: var(--ink-soft); font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.status-active { background: #dcecdf; color: #2f6841; }.status-archived, .status-suspended { background: #ece1df; color: #895048; }.table-action { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }.empty-row { padding: 45px 10px; color: var(--muted); text-align: center; font-size: 11px; }
.view-badge { border: 1px solid var(--line); border-radius: 99px; padding: 6px 9px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.settings-grid { grid-template-columns: 1fr 1fr; }.settings-form { padding: 24px; }.readiness-list { padding: 10px 22px; }.readiness-list > div { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); text-transform: capitalize; font-size: 11px; }.readiness-list strong { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }.readiness-list .ready { color: var(--success); }.readiness-list .not-ready { color: var(--danger); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }.hero-copy { max-width: 800px; }.hero-system { width: min(620px, 100%); }.foundation-grid { grid-template-columns: 1fr 1fr; }.foundation-grid article:nth-child(2) { border-right: 0; }.foundation-grid article { border-bottom: 1px solid var(--line); }
  .metric-grid { grid-template-columns: 1fr 1fr; }.admin-two-column { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .shell { width: min(100% - 28px, 1240px); }.site-header { height: 72px; }.live-pill { display: none; }
  .hero { min-height: auto; padding-block: 68px 80px; }.hero-copy h1 { font-size: clamp(52px, 17vw, 80px); }.hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }.hero-system { padding-block: 30px; }.system-card { transform: none; }.orbit { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }.section-heading > p { width: 100%; }.auth-card { grid-template-columns: 1fr; }.number-chip { margin-bottom: 40px; }.product-card { grid-template-columns: 1fr; }.product-sidebar { min-height: 120px; }.product-sidebar nav { display: none; }.mini-brand { padding-bottom: 22px; }.product-profile { margin-top: 0; }.project-row { grid-template-columns: 40px 1fr auto; }.project-row .status, .project-row time { display: none; }.foundation-grid { grid-template-columns: 1fr; }.foundation-grid article { border-right: 0; min-height: 230px; }.foundation-grid h3 { margin-top: 55px; }.site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .admin-shell { display: block; }.admin-sidebar { position: static; width: 100%; height: auto; padding: 18px 14px; }.admin-context, .admin-sidebar-note, .back-link { display: none; }.admin-nav { display: flex; margin-top: 16px; overflow-x: auto; }.admin-nav button { flex: 0 0 auto; grid-template-columns: auto; padding-inline: 14px; }.admin-nav button span { display: none; }.admin-main { padding-inline: 14px; }.admin-topbar { min-height: 94px; }.admin-topbar .live-pill { display: none; }.metric-grid, .settings-grid { grid-template-columns: 1fr; }.admin-card > header { align-items: flex-start; flex-direction: column; gap: 12px; }.search-input { width: 100%; }.table-card > header { padding-bottom: 16px; }
}
@media (max-width: 480px) {
  .hero-copy h1 { font-size: 49px; }.hero-summary { font-size: 16px; }.system-stack > div { grid-template-columns: 28px 1fr; }.system-stack b { display: none; }.auth-intro, .auth-form-wrap { padding: 35px 25px; }.workspace-section, .foundation { padding-block: 80px; }.product-main { padding: 26px 18px; }.product-head { align-items: flex-start; flex-direction: column; gap: 18px; }.project-row { gap: 10px; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-grid article { min-height: 125px; padding: 17px; }
}
