:root {
  --blue: #0066FF;
  --blue-hover: #0052CC;
  --blue-soft: rgba(0, 102, 255, 0.08);
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --muted-2: #86868B;
  --bg-alt: #F5F5F7;
  --line: rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; width: 0; height: 0; background: transparent; }
body { font-family: var(--font); background: var(--bg-alt); color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
/* Mobile: no grey/blue tap box around links and buttons, and no leftover focus ring after a tap */
* { -webkit-tap-highlight-color: transparent; }
a, button { -webkit-touch-callout: none; touch-action: manipulation; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
::selection { background: rgba(0, 102, 255, 0.16); }

.m-page { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
.m-page::before { content: ''; position: absolute; left: 50%; top: -280px; width: 1200px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 102, 255, 0.14), rgba(0, 102, 255, 0.03) 60%, transparent 80%); pointer-events: none; }

.m-top { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: clamp(14px, 2.6vh, 22px) 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.company-name { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.company-name img { height: 26px; width: auto; display: block; }
.company-name .n { color: var(--blue); }

.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14); animation: dotPulse 2.2s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 7px rgba(0, 102, 255, 0.04); } }

.m-main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: clamp(16px, 4vh, 48px) 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.main-title { font-size: clamp(2.4rem, min(6.4vw, 9vh), 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; margin: 22px 0 18px; max-width: 900px; }
.description { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.55; max-width: 620px; }

.grad {
  background: linear-gradient(90deg, #0066FF 0%, #3D8BFF 20%, #8CB9FF 38%, #0066FF 55%, #0052CC 75%, #0066FF 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: textFlow 7s linear infinite;
  padding-bottom: 0.06em;
}
@keyframes textFlow { from { background-position: 0% 50%; } to { background-position: -250% 50%; } }

.m-cards { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; width: 100%; max-width: 860px; margin-top: clamp(28px, 5.5vh, 56px); text-align: left; }
.m-card { background: #fff; border-radius: 24px; padding: clamp(22px, 3.4vh, 30px) 28px; display: flex; flex-direction: column; }
.m-card-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.m-label { font-size: 0.85rem; font-weight: 600; color: var(--muted-2); margin-bottom: 14px; }
.contact-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.contact-text { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.contact-link { color: var(--blue); font-weight: 500; word-break: break-word; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.progress-bar { position: relative; height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.progress-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: linear-gradient(90deg, #0066FF, #4D94FF); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; box-shadow: 0 8px 22px rgba(0, 102, 255, 0.26); transition: background 0.25s ease, transform 0.25s ease; }
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.98); }

.footer { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: clamp(14px, 2.4vh, 22px) 28px clamp(16px, 3vh, 28px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-text { font-size: 0.82rem; color: var(--muted-2); }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-2); font-weight: 500; }
.footer-brand svg { color: var(--blue); flex-shrink: 0; }
.footer-time { font-weight: 500; color: var(--ink); white-space: nowrap; }

.hero-in { animation: heroBlurIn 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes heroBlurIn { from { opacity: 0; filter: blur(14px); transform: translateY(14px); } to { opacity: 1; filter: none; transform: none; } }

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 760px) {
  .m-cards { grid-template-columns: 1fr; max-width: 480px; }
  .m-top { padding: 14px 20px; }
  .m-main { padding: 12px 20px 24px; }
  .footer { padding: 14px 20px 18px; flex-direction: column; text-align: center; justify-content: center; }
  .m-top .status-badge { padding: 5px 11px; font-size: 0.75rem; gap: 6px; }
  .company-name { font-size: 1rem; }
  .company-name img { height: 24px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .footer-text { display: none; }
  .footer { padding-top: 12px; padding-bottom: 14px; }
  .main-title { font-size: 2.1rem; margin: 14px 0 12px; }
  .description { font-size: 0.98rem; }
  .m-cards { margin-top: 20px; gap: 12px; }
  .m-card { padding: 18px 20px; }
  .m-card-icon { display: none; }
}
/* ── Bold typographic layout (maintenance + 404) ──
   White page, giant light-grey word with the logo's blue dot floating beside it. */
.c-page { background: #fff; }
.c-page::before { display: none; }
.c-main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: clamp(16px, 4vh, 48px) 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.giant { position: relative; display: inline-block; font-weight: 700; letter-spacing: -0.07em; line-height: 0.86; white-space: nowrap; user-select: none;
  color: #EEF0F3;
  /* a soft light passes across the word */
  background: linear-gradient(100deg, #EEF0F3 0%, #EEF0F3 40%, #F9FAFB 50%, #EEF0F3 60%, #EEF0F3 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: giantShine 4.5s ease-in-out infinite; padding-right: 0.06em; }
@keyframes giantShine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.giant-dot { position: absolute; top: 0.02em; right: -0.2em; width: 0.15em; height: 0.15em; border-radius: 50%; background: var(--blue); box-shadow: 0 0.08em 0.22em rgba(0, 102, 255, 0.35); animation: dotFloat 3.2s ease-in-out infinite; }
.giant-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: dotRipple 3.2s ease-out infinite; }
@keyframes dotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.09em); } }
@keyframes dotRipple { 0% { transform: scale(1); opacity: 0.35; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.c-title { font-size: clamp(1.8rem, min(4vw, 6vh), 2.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin-top: clamp(22px, 4.5vh, 40px); }
.c-text { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); line-height: 1.55; max-width: 620px; margin: 12px auto 0; }
.c-actions { display: flex; align-items: center; justify-content: center; gap: 14px 24px; flex-wrap: wrap; margin-top: clamp(22px, 4vh, 32px); }
.c-note { font-size: 0.92rem; color: var(--muted-2); }
.c-note a { color: var(--blue); font-weight: 500; }
.c-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Tablets and phones: everything grows with the screen so the page is filled, not bunched in the middle */
@media (max-width: 1024px) {
  .c-main { padding: clamp(12px, 3vh, 40px) 24px clamp(20px, 4vh, 48px); }
  .c-title { font-size: clamp(1.9rem, min(7.4vw, 5.2vh), 3.5rem); margin-top: clamp(24px, 6vh, 84px); }
  .c-text { font-size: clamp(1.02rem, min(2.3vh, 2.8vw), 1.4rem); max-width: 620px; margin-top: clamp(10px, 1.8vh, 22px); }
  .c-actions { flex-direction: column; gap: clamp(12px, 2vh, 20px); margin-top: clamp(28px, 6.5vh, 90px); width: 100%; }
  .c-actions .btn { font-size: clamp(1.02rem, 2vh, 1.15rem); }
  .c-actions .btn { width: 100%; max-width: 420px; padding: clamp(13px, 2vh, 17px) 26px; font-size: 1.05rem; }
  .c-note { font-size: clamp(0.88rem, 1.9vh, 1.05rem); }
}
/* Short phones (e.g. 360x640): tighten so it still fits one screen */
@media (max-width: 1024px) and (max-height: 700px) {
  .c-title { margin-top: 3.5vh; }
  .c-actions { margin-top: 4.5vh; }
}
@media (max-width: 760px) {
  .c-main { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in, .grad, .status-dot, .progress-fill, .ring-fg, .giant, .giant-dot, .giant-dot::after, .m-status-dots i, .r-dot, .r-fill { animation: none !important; }
}

/* ── Light / dark theme ──
   Light mode is unchanged. Dark mode is set on <html data-theme="dark"> by the
   script in <head> (saved choice) and by the toggle (public/assets/js/theme.js). */
.m-top-right { display: inline-flex; align-items: center; gap: 8px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -2px 0; padding: 0; border: none; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.theme-toggle:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun, html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.wm-for-dark { display: none !important; }
html[data-theme="dark"] .wm-for-light { display: none !important; }
html[data-theme="dark"] .wm-for-dark { display: block !important; }

html[data-theme="dark"] {
  color-scheme: dark;
  --blue: #2B7FFF;
  --blue-hover: #1F6FE8;
  --blue-soft: rgba(43, 127, 255, 0.16);
  --ink: #F5F5F7;
  --ink-2: #D2D2D7;
  --muted: #A1A1A6;
  --muted-2: #8E8E93;
  --bg-alt: #1C1C1E;
  --line: rgba(255, 255, 255, 0.1);
  background: #000;
}
html[data-theme="dark"] body, html[data-theme="dark"] .c-page { background: #000; }
html[data-theme="dark"] .status-badge, html[data-theme="dark"] .m-card { background: #1C1C1E; }
html[data-theme="dark"] .theme-toggle:hover { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .btn { box-shadow: none; }
html[data-theme="dark"] ::selection { background: rgba(43, 127, 255, 0.35); }
html[data-theme="dark"] .giant {
  color: #1C1C1E;
  background-image: linear-gradient(100deg, #1C1C1E 0%, #1C1C1E 40%, #2C2C2E 50%, #1C1C1E 60%, #1C1C1E 100%);
}
