:root {
  color-scheme: light;
  --ink: #29443d;
  --muted: #70857f;
  --paper: rgba(255, 255, 255, 0.9);
  --mint: #58c98d;
  --amber: #f6bd60;
  --coral: #ef6f6c;
  --line: rgba(52, 83, 75, 0.12);
  font-family: Inter, ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #ffe0c5 0 11%, transparent 35%),
    radial-gradient(circle at 92% 85%, #ccece1 0 10%, transparent 35%),
    linear-gradient(145deg, #fff8f1, #eff9f6);
}

button, a { font: inherit; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 64px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.brand { font-size: .82rem; font-weight: 900; letter-spacing: .18em; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; background: rgba(255,255,255,.66); font-size: .82rem; font-weight: 750; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px color-mix(in srgb, var(--muted) 16%, transparent); }
.dot.up { background: var(--mint); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint) 18%, transparent); }
.dot.degraded { background: var(--amber); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 20%, transparent); }
.dot.down { background: var(--coral); box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 18%, transparent); }
.hero, .card { border: 1px solid rgba(255,255,255,.8); background: var(--paper); box-shadow: 0 24px 70px rgba(54, 86, 78, .12); backdrop-filter: blur(18px); }
.hero { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(28px, 6vw, 68px); }
.hero::after { content: "✦"; position: absolute; right: 5%; top: 12%; color: #ffb579; font-size: clamp(56px, 10vw, 120px); opacity: .55; transform: rotate(12deg); }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.4rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.8; }
.meta { margin-top: 28px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-top: 20px; }
.card { border-radius: 26px; padding: 24px; }
.card h2 { margin: 0 0 18px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.checks { display: grid; gap: 2px; }
.check { display: grid; grid-template-columns: 15px 1fr auto; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check-name { font-weight: 760; text-transform: capitalize; }
.advisory-badge { display: inline-flex; margin-left: 9px; padding: 3px 7px; border-radius: 99px; color: #6f7f7a; background: #edf2f0; font-size: .62rem; font-weight: 800; vertical-align: 2px; }
.check-meta { color: var(--muted); font: 700 .78rem ui-monospace, monospace; }
.timeline { display: grid; grid-template-columns: repeat(30, minmax(4px, 1fr)); gap: 4px; height: 56px; align-items: end; }
.tick { height: 38px; border-radius: 99px; background: #dce7e3; }
.tick.operational { background: var(--mint); }
.tick.degraded { background: var(--amber); }
.tick.outage { background: var(--coral); }
.event-list { display: grid; gap: 12px; }
.event { border-left: 3px solid var(--line); padding-left: 12px; }
.event strong { display: block; font-size: .88rem; }
.event time { color: var(--muted); font-size: .76rem; }
.empty { color: var(--muted); line-height: 1.7; }

.client-body {
  color: #263b35;
  background:
    radial-gradient(circle at 14% 16%, rgba(238, 167, 107, .3), transparent 28%),
    radial-gradient(circle at 86% 84%, rgba(119, 184, 160, .26), transparent 30%),
    #f8eee2;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
.client-body::before,
.client-body::after { content: ""; position: fixed; z-index: -1; border: 1px solid rgba(38, 59, 53, .1); border-radius: 50%; }
.client-body::before { width: 48vw; height: 48vw; left: -20vw; top: -27vw; }
.client-body::after { width: 42vw; height: 42vw; right: -17vw; bottom: -26vw; }
.client-shell { width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; padding: 28px 0 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; }
.client-brand { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 0 4px; }
.client-wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; letter-spacing: -.04em; }
.client-brand-note { color: #75837e; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.client-panel { align-self: center; display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(700px, calc(100vh - 150px)); overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 44px; background: rgba(255, 253, 249, .86); box-shadow: 0 40px 100px rgba(69, 54, 40, .14); backdrop-filter: blur(22px); }
.client-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 8vw, 96px); }
.client-kicker { margin: 0 0 26px; color: #b76f3f; font-size: .78rem; font-weight: 900; letter-spacing: .2em; }
.client-copy h1 { max-width: 620px; color: #263b35; font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(3rem, 6vw, 6.3rem); font-weight: 500; line-height: 1.04; letter-spacing: -.065em; }
.client-copy h1 em { color: #c8733d; font-style: normal; }
.client-lead { max-width: 560px; margin: 34px 0 0; color: #687a74; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 2; }
.client-progress { display: inline-flex; align-items: center; gap: 15px; width: fit-content; margin-top: 38px; color: #536760; font-size: .9rem; font-weight: 800; }
.progress-dots { display: inline-flex; align-items: center; gap: 5px; height: 18px; }
.progress-dots i { width: 7px; height: 7px; border-radius: 50%; background: #6aaa92; animation: gentle-wave 1.8s ease-in-out infinite; }
.progress-dots i:nth-child(2) { animation-delay: .18s; }
.progress-dots i:nth-child(3) { animation-delay: .36s; }
.client-button { width: fit-content; margin-top: 22px; padding: 11px 18px; border: 1px solid rgba(38,59,53,.14); border-radius: 99px; color: #50635c; background: transparent; cursor: pointer; font-size: .82rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.client-button:hover { background: rgba(106, 170, 146, .1); transform: translateY(-1px); }
.client-button:disabled { cursor: default; opacity: .55; transform: none; }
.client-visual { position: relative; display: grid; place-items: center; min-height: 520px; overflow: hidden; background: linear-gradient(155deg, #efaa73, #d98451); }
.client-visual::before { content: ""; position: absolute; width: 160%; height: 65%; left: -32%; bottom: -34%; border-radius: 50%; background: #7bb69f; transform: rotate(-8deg); }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; right: -115px; top: -115px; }
.orbit-two { width: 210px; height: 210px; left: -55px; bottom: 35px; }
.tomori-frame { position: relative; z-index: 2; width: min(64%, 330px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 44% 56% 48% 52%; background: rgba(255,255,255,.94); box-shadow: 0 36px 70px rgba(78, 47, 27, .22); animation: gentle-float 4.8s ease-in-out infinite; }
.tomori-frame img { width: 75%; height: 75%; object-fit: contain; }
.tomori-note { position: absolute; z-index: 3; right: 9%; bottom: 9%; margin: 0; padding: 15px 20px; border-radius: 20px 20px 5px 20px; color: #39534a; background: rgba(255,255,255,.92); box-shadow: 0 18px 35px rgba(66,45,29,.14); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: .95rem; line-height: 1.65; }
.client-footer { display: flex; justify-content: space-between; gap: 20px; padding: 0 4px; color: #7b8883; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
@keyframes gentle-wave { 0%, 55%, 100% { transform: translateY(0); opacity: .45; } 25% { transform: translateY(-5px); opacity: 1; } }
@keyframes gentle-float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .nav { margin-bottom: 24px; } .hero::after { top: 5%; } }
@media (max-width: 820px) {
  .client-shell { width: min(100% - 24px, 680px); padding: 18px 0; gap: 16px; }
  .client-brand-note { display: none; }
  .client-panel { grid-template-columns: 1fr; min-height: auto; border-radius: 30px; }
  .client-copy { padding: 42px 30px 36px; }
  .client-copy h1 { font-size: clamp(2.6rem, 14vw, 4.6rem); }
  .client-lead { margin-top: 24px; line-height: 1.85; }
  .client-progress { margin-top: 28px; }
  .client-visual { min-height: 320px; }
  .tomori-frame { width: min(52%, 220px); }
  .tomori-note { right: 7%; bottom: 7%; font-size: .82rem; }
  .client-footer span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
