:root {
      --bg: #f4f8ff;
      --bg-2: #eef5ff;
      --surface: rgba(255, 255, 255, 0.92);
      --surface-strong: #ffffff;
      --text: #122033;
      --muted: #62728a;
      --line: #dbe6f4;
      --primary: #2563eb;
      --primary-2: #0f172a;
      --primary-soft: #e9f1ff;
      --accent: #00a7c4;
      --accent-soft: #e8fbff;
      --success: #13795b;
      --success-soft: #e8f7f1;
      --danger: #c2413b;
      --danger-soft: #fdeceb;
      --shadow: 0 10px 30px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(15, 23, 42, 0.07);
      --radius: 28px;
      --radius-sm: 18px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(37,99,235,0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(0,167,196,0.10), transparent 26%),
        linear-gradient(180deg, var(--bg) 0%, #f7faff 45%, var(--bg-2) 100%);
      display: grid;
      place-items: center;
      padding: 24px;
    }

    .page {
      width: 100%;
      max-width: 1240px;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 24px;
      align-items: stretch;
    }

    .brand-panel,
    .register-panel {
      background: var(--surface);
      border: 1px solid rgba(219,230,244,0.95);
      border-radius: 34px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(16px);
    }

    .brand-panel {
      position: relative;
      overflow: hidden;
      padding: 34px;
      background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 55%, #eefaff 100%);
    }

    .brand-panel::after {
      content: "";
      position: absolute;
      right: -90px;
      top: -70px;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(37,99,235,0.16), transparent 65%);
      pointer-events: none;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 28px;
    }

    .brand-mark {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      font-weight: 900;
      font-size: 30px;
      box-shadow: 0 12px 28px rgba(37,99,235,0.22);
    }

    .brand h1 {
      font-size: 21px;
      line-height: 1.1;
      margin: 0 0 4px;
    }

    .brand p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 999px;
      padding: 8px 12px;
      margin-bottom: 18px;
    }

    .free-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 800;
      color: var(--success);
      background: var(--success-soft);
      border-radius: 999px;
      padding: 8px 12px;
      margin-bottom: 16px;
    }

    .brand-panel h2 {
      margin: 0 0 16px;
      font-size: clamp(42px, 4vw, 64px);
      line-height: 0.95;
      letter-spacing: -0.04em;
      max-width: 700px;
    }

    .lead {
      margin: 0;
      max-width: 620px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.75;
    }

    .pricing-link {
      margin-top: 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
    }

    .pricing-link:hover {
      text-decoration: underline;
    }

    .feature-grid {
      margin-top: 34px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .feature-card,
    .assurance {
      border-radius: 24px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.72);
    }

    .feature-card {
      padding: 18px;
      min-height: 160px;
    }

    .feature-card strong {
      display: block;
      font-size: 21px;
      line-height: 1.15;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }

    .feature-card p,
    .assurance p {
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
      font-size: 15px;
    }

    .assurance {
      margin-top: 20px;
      padding: 18px 18px 20px;
    }

    .assurance h3 {
      margin: 0 0 8px;
      font-size: 16px;
    }

    .register-panel {
      padding: 34px 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .register-header h3 {
      margin: 0 0 10px;
      font-size: 28px;
      letter-spacing: -0.03em;
    }

    .register-header p {
      margin: 0 0 14px;
      color: var(--muted);
      line-height: 1.7;
      font-size: 15px;
    }

    .register-header .sub-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
      margin-bottom: 24px;
    }

    .register-header .sub-link:hover {
      text-decoration: underline;
    }

    .mode-switch {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 22px;
      background: #f4f8ff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 8px;
    }

    .mode-btn {
      border: 0;
      border-radius: 14px;
      padding: 14px 16px;
      font-size: 15px;
      font-weight: 800;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .mode-btn.active {
      background: linear-gradient(135deg, var(--primary), #3d86ff);
      color: white;
      box-shadow: 0 10px 20px rgba(37,99,235,0.18);
    }

    form {
      display: grid;
      gap: 14px;
    }

    .field {
      display: grid;
      gap: 8px;
    }

    .field label {
      font-size: 14px;
      font-weight: 700;
      color: #23324a;
    }

    .field input,
    .field select {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 14px 16px;
      font-size: 15px;
      outline: none;
      background: #f4f8ff;
      color: var(--text);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .field input:focus,
    .field select:focus {
      border-color: rgba(37,99,235,0.45);
      box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
      background: #ffffff;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .help-text {
      margin-top: -2px;
      color: var(--primary-2);
      font-size: 11px;
      line-height: 1.5;
    }

    .checkbox {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
      margin-top: 2px;
    }

    .checkbox input {
      margin-top: 2px;
      width: 16px;
      height: 16px;
      accent-color: var(--primary);
    }

    .actions {
      display: grid;
      gap: 10px;
      margin-top: 8px;
    }

    .primary,
    .secondary {
      width: 100%;
      border: 0;
      border-radius: 999px;
      padding: 15px 18px;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .primary {
      color: white;
      background: linear-gradient(135deg, var(--primary), #3d86ff);
      box-shadow: 0 10px 20px rgba(37,99,235,0.18);
    }

    .secondary {
      background: transparent;
      color: var(--primary-2);
      border: 1px solid var(--line);
    }

    .primary:hover,
    .secondary:hover,
    .mode-btn:hover {
      transform: translateY(-1px);
    }

    .status {
      min-height: 22px;
      padding: 0 2px;
      font-size: 14px;
      font-weight: 700;
    }

    .status.ok { color: var(--success); }
    .status.error { color: var(--danger); }

    .footer-note {
      margin-top: 22px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.7;
      border: 1px solid var(--line);
      background: rgba(244,248,255,0.8);
      border-radius: 18px;
      padding: 16px 18px;
    }

    .cookie-banner {
      position: fixed;
      left: 24px;
      right: 24px;
      bottom: 24px;
      display: none;
      z-index: 50;
    }

    .cookie-banner.show {
      display: block;
    }

    .cookie-banner-inner {
      max-width: 1180px;
      margin: 0 auto;
      background: rgba(15,23,42,0.96);
      color: #f8fbff;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 24px;
      box-shadow: 0 18px 40px rgba(2, 8, 23, 0.32);
      display: flex;
      gap: 18px;
      align-items: center;
      justify-content: space-between;
      padding: 18px;
    }

    .cookie-copy {
      min-width: 0;
    }

    .cookie-title {
      margin: 0 0 6px;
      font-weight: 800;
      font-size: 14px;
    }

    .cookie-copy p {
      margin: 0;
      color: rgba(248,251,255,0.88);
      font-size: 14px;
      line-height: 1.7;
    }

    .cookie-copy a {
      color: #8fdcff;
      font-weight: 700;
    }

    .cookie-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }

    .cookie-btn {
      border: 0;
      border-radius: 999px;
      padding: 12px 16px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
    }

    .cookie-btn-primary {
      background: linear-gradient(135deg, var(--primary), #3d86ff);
      color: white;
      box-shadow: 0 10px 20px rgba(37,99,235,0.18);
    }

    .cookie-btn-secondary {
      background: rgba(255,255,255,0.08);
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.16);
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 1024px) {
      .page {
        grid-template-columns: 1fr;
      }

      .brand-panel h2 {
        font-size: clamp(34px, 6vw, 52px);
      }
    }

    @media (max-width: 720px) {
      body {
        padding: 16px;
      }

      .brand-panel,
      .register-panel {
        border-radius: 26px;
      }

      .brand-panel,
      .register-panel {
        padding: 22px;
      }

      .feature-grid,
      .grid-2,
      .mode-switch {
        grid-template-columns: 1fr;
      }

      .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
      }

      .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
      }

      .cookie-actions {
        width: 100%;
      }

      .cookie-btn {
        flex: 1;
      }
    }

    .field select {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 16px;
  border: 1px solid rgba(219, 230, 244, 0.95);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select:hover {
  border-color: #c9d8ee;
}

.field select:focus {
  border-color: #7aa7ff;
  box-shadow: 0 0 0 4px rgba(58, 120, 255, 0.12);
}

.field select:disabled {
  background: #f5f7fb;
  color: var(--muted);
  cursor: not-allowed;
}