*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

  :root {
    --bg: #0a0a0c;
    --surface: #111114;
    --border: rgba(255,255,255,0.06);
    --text: #e8e6e1;
    --text-dim: #6b6a67;
    --accent: #c4f540;
    --warm: #f5a623;
  }

  html { scroll-behavior: smooth }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
  }

  #bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 9999;
  }

  .page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  nav {
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeDown 1s ease both;
  }
  @keyframes fadeDown {
    from { opacity:0; transform: translateY(-16px) }
    to { opacity:1; transform: translateY(0) }
  }
  .logo-mark {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .logo-mark img {
    height: 24px;
    width: auto;
  }
  .logo-text {
    font-family: 'Instrument Serif', serif;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: var(--text);
  }
  .nav-status {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-status::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.5s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(196,245,64,0.4) }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(196,245,64,0) }
  }

  .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 100px;
    text-align: center;
  }

  .hero h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 7.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    animation: heroUp 1s 0.3s ease both;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }
  @keyframes heroUp {
    from { opacity:0; transform: translateY(32px) }
    to { opacity:1; transform: translateY(0) }
  }

  .hero .sub {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 20px;
    animation: heroUp 1s 0.5s ease both;
    line-height: 1.7;
  }

  .hero .sub-highlight {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text);
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 56px;
    animation: heroUp 1s 0.6s ease both;
  }

  .notify-form {
    display: flex;
    gap: 0;
    animation: heroUp 1s 0.75s ease both;
    width: 100%;
    max-width: 440px;
  }
  .notify-form input {
    flex: 1;
    padding: 15px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
  }
  .notify-form input::placeholder { color: var(--text-dim) }
  .notify-form input:focus {
    border-color: rgba(196,245,64,0.3);
    background: rgba(255,255,255,0.03);
  }
  .notify-form button {
    padding: 15px 28px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 0 8px 8px 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, transform 0.15s;
  }
  .notify-form button:hover {
    background: #d4ff55;
    transform: translateY(-1px);
  }
  .notify-form button:active { transform: translateY(0) }
  .notify-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .form-note {
    font-size: 0.73rem;
    color: var(--text-dim);
    margin-top: 14px;
    animation: heroUp 1s 0.9s ease both;
  }
  .form-error {
    font-size: 0.78rem;
    color: #e85454;
    margin-top: 10px;
    min-height: 1.2em;
  }

  .divider {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

  footer {
    padding: 28px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s 1.1s ease both;
  }
  @keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
  footer span {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
  }

  @media (max-width: 600px) {
    nav, footer { padding: 20px 24px }
    .hero { padding: 40px 24px 60px }
    .notify-form { flex-direction: column; gap: 10px }
    .notify-form input { border-radius: 8px; border-right: 1px solid var(--border) }
    .notify-form button { border-radius: 8px; padding: 16px }
    footer { flex-direction: column; gap: 16px; text-align: center }
  }

  .toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.88rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 100;
  }
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }