:root {
  --bg: #f8fbff;
  --paper: #ffffff;
  --paper-soft: #f4f8ff;
  --ink: #09152d;
  --ink-2: #14223d;
  --muted: #61708f;
  --muted-2: #8795ad;
  --line: #d9e4f4;
  --line-strong: #c6d7ee;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --blue-soft: #eaf2ff;
  --green: #13a67b;
  --green-soft: #def7ee;
  --orange: #ff8a1f;
  --orange-soft: #fff0df;
  --purple: #7c3aed;
  --purple-soft: #efe7ff;
  --pink: #f43f7f;
  --pink-soft: #ffe5ef;
  --slate-soft: #eef4fb;
  --shadow: 0 22px 70px rgba(16, 43, 84, .10);
  --shadow-soft: 0 14px 36px rgba(16, 43, 84, .08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --section-x: clamp(24px, 6vw, 112px);
  --wide: 1460px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", "Recoleta", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.seido-static-home {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, rgba(37,99,235,.032) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 80% 8%, rgba(37,99,235,.12), transparent 30vw),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 60%, #eef5ff 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
a:focus-visible,
button:focus-visible { outline: 3px solid rgba(37,99,235,.24); outline-offset: 4px; }

.seido-page { overflow: hidden; }
.section-shell {
  width: min(var(--wide), calc(100% - var(--section-x) * 2));
  margin-inline: auto;
}

.site-header {
  width: 100%;
  min-height: 84px;
  padding: 18px var(--section-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  background:
    radial-gradient(circle at 35% 25%, #fff 0 5%, transparent 6%),
    linear-gradient(135deg, #6d5dfc, #2f63f4 48%, #1b2b6f);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 12px 30px rgba(37,99,235,.25);
}

.brand-copy strong {
  display: block;
  font-size: 17px;
  letter-spacing: .04em;
  line-height: 1;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .25em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #263958;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a { position: relative; padding: 12px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: .18s ease;
}

.site-nav a:is(:hover, .is-active)::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  color: white;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-color: rgba(37,99,235,.8);
  box-shadow: 0 16px 32px rgba(37,99,235,.26);
}
.button-ghost { background: rgba(255,255,255,.72); color: var(--ink); }
.button-soft { background: #fff; color: var(--ink); }
.button-lg { min-height: 48px; padding-inline: 24px; }

.hero-section {
  min-height: 780px;
  padding: clamp(80px, 9vw, 132px) 0 72px;
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(620px, 1.18fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-copy h1,
.section-heading h2,
.system-intro h2,
.library-heading h2,
.final-cta h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .91;
}

.hero-copy h1 {
  font-size: clamp(66px, 7.2vw, 128px);
  max-width: 760px;
}

.hero-copy h1 em {
  color: var(--blue);
  font-style: italic;
  letter-spacing: -.055em;
}

.hero-lede {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.8;
  margin: 28px 0 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-top: 30px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.blueprint-grid {
  position: absolute;
  inset: 4% 0 0 4%;
  border-radius: 34px;
  opacity: .75;
  background:
    linear-gradient(90deg, rgba(37,99,235,.10) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, rgba(37,99,235,.10) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(circle at 52% 45%, black, transparent 74%);
}

.panel {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-visual .panel { position: absolute; }
.code-window {
  left: 8%;
  top: 4%;
  width: 58%;
  min-height: 315px;
  overflow: hidden;
}

.code-window header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.code-window header strong { color: var(--ink); margin-left: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #bdd1ee; }
pre {
  margin: 0;
  padding: 22px 24px 32px;
  color: #2563eb;
  font-size: 14px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.terminal-card {
  right: 2%;
  top: 7%;
  width: 220px;
  padding: 16px;
  background: #07162d;
  color: #dbeafe;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 22px 48px rgba(2, 6, 23, .28);
}

.terminal-card header { font-weight: 900; margin-bottom: 10px; }
.terminal-card p { font-size: 12px; color: #a7f3d0; line-height: 1.65; }

.api-card { right: 12%; top: 35%; width: 230px; padding: 18px; }
.api-card strong { display: inline-block; margin: 10px 0; font-size: 14px; }
.api-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.status-ok { float: right; color: var(--green); font-weight: 900; font-size: 12px; }

.tokens-card { right: 16%; bottom: 16%; width: 215px; padding: 18px; }
.tokens-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.tokens-card li { display: flex; align-items: center; gap: 10px; }
.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.swatch-blue { background: var(--blue); }
.swatch-ink { background: var(--ink); }
.swatch-green { background: var(--green); }
.swatch-paper { background: #fff; }

.media-strip {
  left: 12%;
  bottom: 22%;
  width: 360px;
  min-height: 116px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.media-strip span {
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(9,21,45,.18), rgba(37,99,235,.08)),
    linear-gradient(145deg, #dcecff, #f9fbff 55%, #bdd7fb);
  display: grid;
  place-items: center;
}

.media-strip span:nth-child(2) { background: linear-gradient(145deg, #e8f8ff, #7db9ec 45%, #f8fbff); }
.media-strip span:nth-child(3) { background: linear-gradient(145deg, #e9eef6, #c8d5e8 55%, #fdfdfd); }
.media-strip img { width: 58px; height: 58px; object-fit: contain; }
.media-strip strong { color: var(--ink); font-size: 20px; font-weight: 900; }

.bundle-card { left: 3%; bottom: 3%; width: 330px; padding: 22px; }
.bundle-card h3 { font-size: 21px; margin: 14px 0 8px; }
.bundle-card p { color: var(--muted); line-height: 1.55; font-size: 14px; }

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tag-live { color: #047857; background: var(--green-soft); }
.tag-progress { color: #b45309; background: #ffedd5; }
.tag-system { color: var(--ink-2); background: #e7eef9; }
.tag-planned { color: #6d28d9; background: #f3e8ff; }
.tag-best { color: #fff; background: var(--blue); }

.mini-icons { display: flex; gap: 7px; margin-top: 18px; flex-wrap: wrap; }
.app-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  font-size: 13px;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.28), 0 12px 24px rgba(15,23,42,.12);
}
.app-logo {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
}
.app-logo img { width: 70%; height: 70%; object-fit: contain; }
.app-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.app-green { background: linear-gradient(135deg, #34d399, #047857); }
.app-purple { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.app-orange { background: linear-gradient(135deg, #fbbf24, #f97316); }
.app-pink { background: linear-gradient(135deg, #fb7185, #e11d48); }

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -24px;
}

.benefit-strip article {
  min-height: 120px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}
.benefit-strip article:last-child { border-right: 0; }
.line-icon { color: var(--blue); margin-right: 10px; }
.benefit-strip strong { display: block; font-size: 15px; margin-bottom: 10px; }
.benefit-strip p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.apps-section,
.bundle-section,
.system-section,
.library-section,
.admin-section { padding: clamp(72px, 8vw, 112px) 0 0; }
.section-heading,
.library-heading { margin-bottom: 30px; }
.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.system-intro h2,
.library-heading h2,
.final-cta h2 {
  font-size: clamp(44px, 4vw, 72px);
  max-width: 850px;
}

.section-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.app-showcase {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 20px;
}

.app-feature,
.app-module {
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-module-large { grid-row: span 2; min-height: 580px; }
.module-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-feature h3,
.app-module h3,
.offer-card h3,
.route-card h3,
.library-card h3,
.admin-card h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 22px 0 10px;
}

.app-feature p,
.app-module p,
.offer-card p,
.route-card p,
.system-intro p,
.library-card p,
.admin-card p {
  color: var(--muted);
  line-height: 1.65;
}

.app-feature a,
.app-module a,
.offer-card a,
.route-card a,
.library-card a,
.admin-card a {
  color: var(--blue);
  font-weight: 900;
  margin-top: auto;
}

.app-module::after,
.app-feature::after {
  content: "";
  width: 100%;
  height: 90px;
  margin-top: auto;
  border-radius: 18px;
  opacity: .75;
  background:
    linear-gradient(90deg, rgba(37,99,235,.14) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(37,99,235,.12) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.app-feature::after { height: 220px; }

.bundle-layout {
  display: grid;
  grid-template-columns: .95fr 1.25fr .95fr;
  gap: 20px;
}

.offer-card { padding: 30px; min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; }
.offer-card.is-featured { background: linear-gradient(145deg, #fff, #edf5ff); border-color: rgba(37,99,235,.35); }
.offer-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.offer-card strong { margin-top: 24px; font-size: 22px; }

.system-section {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 26px;
  align-items: stretch;
}

.system-intro { padding: 34px 0; }
.system-intro p { margin-top: 18px; }
.system-intro .section-link { display: inline-block; margin-top: 24px; }
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.system-card,
.route-card,
.library-card,
.admin-card {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.system-card > span,
.route-card > span,
.library-card > span,
.admin-card > span { font-weight: 900; }
.system-card p,
.route-card p,
.library-card p,
.admin-card p { font-size: 14px; line-height: 1.55; }

.route-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--slate-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.route-card h3,
.library-card h3,
.admin-card h3 {
  font-size: 26px;
  margin: 0;
}

.metric-list,
.library-list,
.admin-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.metric-list li,
.library-list li,
.admin-links li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.metric-list li:first-child,
.library-list li:first-child,
.admin-links li:first-child { border-top: 0; }
.metric-list strong,
.library-list strong,
.admin-links strong { font-size: 14px; }
.metric-list span,
.library-list span,
.admin-links span { color: var(--muted); font-size: 13px; }

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.library-card {
  min-height: 100%;
}

.library-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.library-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.library-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.library-item-copy {
  display: grid;
  gap: 4px;
}

.library-item-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.library-list .tag { justify-self: end; }

.app-chip {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.app-chip img { width: 70%; height: 70%; object-fit: contain; }
.app-chip strong { font-size: 12px; color: var(--ink); }

.admin-section {
  margin-bottom: clamp(72px, 8vw, 112px);
}

.final-cta {
  padding: 32px clamp(28px, 4vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, #0b2347, #0f3c83);
  box-shadow: 0 28px 70px rgba(15, 60, 131, .25);
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p,
.final-cta strong,
.final-cta span,
.final-cta a { color: #fff; }
.final-cta h2 { font-size: clamp(36px, 3.2vw, 56px); }
.final-cta p { margin-top: 8px; color: rgba(255,255,255,.78); }
.admin-shortcuts {
  display: grid;
  gap: 12px;
  min-width: min(420px, 100%);
}

.admin-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 800;
}

.site-footer {
  padding: 60px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  color: var(--muted);
}

.site-footer p { max-width: 330px; margin-top: 18px; line-height: 1.6; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink); font-weight: 800; }

@media (max-width: 1280px) {
  .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr; justify-items: center; }
  .brand { justify-self: center; }
  .header-actions { justify-self: center; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 620px; }
  .benefit-strip { grid-template-columns: 1fr 1fr; }
  .app-showcase, .bundle-layout, .library-grid { grid-template-columns: 1fr 1fr; }
  .app-module-large { grid-row: auto; }
  .system-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --section-x: 20px; }
  .site-header { position: static; padding-block: 18px; }
  .site-nav, .header-actions { flex-wrap: wrap; gap: 12px; }
  .hero-copy h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero-section { padding-top: 56px; }
  .hero-visual { min-height: 820px; }
  .hero-visual .panel { position: relative; inset: auto; width: 100%; margin-bottom: 14px; }
  .blueprint-grid { display: none; }
  .benefit-strip, .system-grid, .app-showcase, .bundle-layout, .library-grid { grid-template-columns: 1fr; }
  .benefit-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading, .library-heading, .final-cta, .site-footer { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .system-intro h2, .library-heading h2 { font-size: 42px; }
  .library-list a { grid-template-columns: auto minmax(0, 1fr); }
  .library-list .tag { grid-column: 2; justify-self: start; }
}