@layer reset, base, layout, components, utilities, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    min-width: 320px;
    color-scheme: dark;
    background: #03070c;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ul,
  ol {
    margin: 0;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  button {
    border: 0;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

  [hidden] {
    display: none !important;
  }
}

@layer base {
  :root {
    --page-width: 1200px;
    --reading-width: 800px;
    --bg: #03070c;
    --bg-soft: #060d16;
    --surface: #08131f;
    --surface-raised: #0b1927;
    --surface-strong: #102235;
    --surface-highlight: #133049;
    --ink: #f7fbff;
    --ink-soft: #d8e4ee;
    --muted: #9fb1c2;
    --muted-strong: #b9c7d5;
    --accent: #6ef2d4;
    --accent-strong: #25d6b4;
    --accent-blue: #6ea8ff;
    --accent-violet: #a78bfa;
    --warning: #ffd58a;
    --line: rgba(157, 190, 220, 0.14);
    --line-strong: rgba(110, 242, 212, 0.30);
    --line-blue: rgba(110, 168, 255, 0.25);
    --shadow-soft: 0 18px 52px rgba(0, 0, 0, 0.24);
    --shadow-large: 0 34px 90px rgba(0, 0, 0, 0.42);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --focus-ring: 0 0 0 4px rgba(110, 242, 212, 0.28);
  }

  body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background:
      radial-gradient(circle at 14% -6%, rgba(71, 132, 224, 0.18), transparent 31rem),
      radial-gradient(circle at 93% 4%, rgba(52, 220, 192, 0.11), transparent 30rem),
      linear-gradient(180deg, #050b13 0%, var(--bg) 38%, #02050a 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    opacity: 0.34;
    background-image:
      linear-gradient(rgba(164, 197, 225, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(164, 197, 225, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
  }

  body::after {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(3, 7, 12, 0.52), transparent 16%, transparent 84%, rgba(3, 7, 12, 0.52));
  }

  ::selection {
    color: #00150f;
    background: var(--accent);
  }

  :focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
  }

  h1,
  h2,
  h3,
  strong {
    color: var(--ink);
  }

  h1,
  h2,
  h3 {
    line-height: 1.12;
    text-wrap: balance;
  }

  p,
  li {
    color: var(--muted-strong);
    text-wrap: pretty;
  }

  small {
    font-size: 18px;
  }

  button {
    color: inherit;
  }

}

@layer layout {
  .page-shell {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
    padding-block: 28px 36px;
  }

  .site-header {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    gap: 44px;
    align-items: stretch;
    min-height: 470px;
    overflow: hidden;
    padding: 46px;
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    background:
      linear-gradient(128deg, rgba(15, 38, 61, 0.97), rgba(6, 15, 25, 0.98) 62%, rgba(4, 12, 20, 0.99)) padding-box,
      linear-gradient(135deg, rgba(110, 242, 212, 0.43), rgba(110, 168, 255, 0.20) 42%, rgba(167, 139, 250, 0.11) 75%, rgba(110, 242, 212, 0.25)) border-box;
    box-shadow: var(--shadow-large), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .site-header::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background:
      radial-gradient(circle at 5% 0%, rgba(100, 169, 255, 0.22), transparent 34%),
      radial-gradient(circle at 92% 4%, rgba(94, 240, 210, 0.15), transparent 31%),
      linear-gradient(118deg, transparent 0 61%, rgba(89, 178, 228, 0.035) 61% 62%, transparent 62% 100%);
  }

  .site-header::after {
    position: absolute;
    top: -190px;
    right: -125px;
    z-index: -1;
    width: 480px;
    height: 480px;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(110, 242, 212, 0.10);
    border-radius: 50%;
    box-shadow:
      0 0 0 46px rgba(110, 242, 212, 0.025),
      0 0 0 94px rgba(110, 168, 255, 0.022),
      0 0 0 142px rgba(167, 139, 250, 0.018);
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
  }

  .hero-system {
    position: relative;
    z-index: 1;
    align-self: center;
    min-width: 0;
  }

  .faq-page {
    margin-top: 16px;
  }

  .learning-accordion {
    display: grid;
    gap: 10px;
  }

  .content-grid,
  .risk-grid,
  .about-grid,
  .notice-stack {
    display: grid;
    gap: 14px;
    max-width: 1040px;
  }

  .content-grid.two-column,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid.three-column,
  .risk-grid,
  .notice-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
    gap: 28px;
    align-items: stretch;
  }
}

@layer components {
  .brand-lockup {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 30px;
  }

  .brand-mark,
  .footer-mark {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    color: #062119;
    background: linear-gradient(145deg, #d5fff6 0%, var(--accent) 48%, #49cfe7 100%);
    font-weight: 900;
    box-shadow:
      0 12px 30px rgba(63, 228, 196, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      inset 0 -10px 18px rgba(0, 93, 85, 0.12);
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 24px;
  }

  .brand-mark::after,
  .footer-mark::after {
    position: absolute;
    inset: 2px;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: inherit;
  }

  .brand-identity {
    display: grid;
    gap: 1px;
  }

  .brand-name {
    color: var(--ink);
    font-size: 25px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.17em;
  }

  .brand-kicker {
    color: var(--accent);
    font-size: 18px;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-title {
    max-width: 760px;
    font-size: clamp(48px, 5vw, 67px);
    font-weight: 860;
    letter-spacing: -0.052em;
  }

  .brand-title {
    background: linear-gradient(104deg, #ffffff 0%, #f4fbff 52%, #cde9ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }

  .site-description {
    max-width: 760px;
    margin-top: 22px;
    color: #bdccda;
    font-size: 20px;
    line-height: 1.72;
  }

  .trust-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }

  .trust-notes span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid rgba(138, 178, 211, 0.18);
    border-radius: 999px;
    color: #e0eaf2;
    background: rgba(3, 11, 19, 0.52);
    font-size: 18px;
    font-weight: 720;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .trust-notes span::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    content: "";
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(110, 242, 212, 0.075), 0 0 14px rgba(110, 242, 212, 0.65);
  }

  .hero-system {
    padding: 20px;
    border: 1px solid rgba(110, 242, 212, 0.25);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(13, 31, 48, 0.96), rgba(5, 14, 24, 0.98)) padding-box,
      linear-gradient(135deg, rgba(110, 242, 212, 0.38), rgba(110, 168, 255, 0.11)) border-box;
    box-shadow:
      0 24px 54px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .hero-system::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    border-radius: inherit;
    background:
      linear-gradient(rgba(124, 183, 218, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124, 183, 218, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
  }

  .hero-system-head {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(145, 180, 208, 0.12);
    color: #dfe9f1;
    font-size: 18px;
    font-weight: 790;
  }

  .hero-system-head strong {
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid rgba(110, 242, 212, 0.18);
    border-radius: 9px;
    color: var(--accent);
    background: rgba(110, 242, 212, 0.08);
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .system-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(110, 242, 212, 0.08), 0 0 16px rgba(110, 242, 212, 0.65);
  }

  .system-path {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    margin-top: 18px;
  }

  .system-node {
    display: grid;
    min-height: 126px;
    align-content: center;
    justify-items: center;
    padding: 14px 10px;
    border: 1px solid rgba(151, 185, 212, 0.13);
    border-radius: 16px;
    background: rgba(2, 9, 16, 0.72);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028);
  }

  .system-node.featured {
    border-color: rgba(110, 242, 212, 0.34);
    background: linear-gradient(180deg, rgba(34, 80, 96, 0.62), rgba(8, 29, 40, 0.88));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .system-node > span {
    color: #8fa5b7;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .system-node strong {
    margin-top: 4px;
    font-size: 19px;
    line-height: 1.2;
  }

  .system-node small {
    margin-top: 3px;
    color: #91a5b6;
    line-height: 1.35;
  }

  .system-connector {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, rgba(110, 242, 212, 0.1), var(--accent), rgba(110, 242, 212, 0.1));
  }

  .system-connector::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    content: "";
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
  }

  .plugin-counter {
    position: relative;
    margin-top: 12px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(110, 242, 212, 0.22);
    border-radius: 17px;
    background:
      radial-gradient(circle at 84% 12%, rgba(96, 165, 250, 0.18), transparent 36%),
      linear-gradient(135deg, rgba(16, 55, 65, 0.90), rgba(4, 16, 27, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 14px 34px rgba(0, 0, 0, 0.20);
    isolation: isolate;
  }

  .plugin-counter::after {
    position: absolute;
    right: -54px;
    bottom: -74px;
    z-index: -1;
    width: 180px;
    height: 180px;
    content: "";
    border-radius: 50%;
    background: rgba(110, 242, 212, 0.075);
    filter: blur(4px);
  }

  .counter-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #b9cfdd;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: 0.02em;
  }

  .counter-live-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(110, 242, 212, 0.08), 0 0 18px rgba(110, 242, 212, 0.62);
    animation: counter-pulse 2.2s ease-in-out infinite;
  }

  .counter-preview-badge {
    margin-left: auto;
    padding: 4px 9px;
    border: 1px solid rgba(255, 203, 107, 0.30);
    border-radius: 999px;
    color: #ffe1a5;
    background: rgba(118, 75, 13, 0.28);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .counter-value-wrap {
    display: flex;
    align-items: baseline;
    margin-top: 12px;
    line-height: 1;
  }

  .counter-value {
    color: #f2fffc;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums lining-nums;
    text-shadow: 0 0 30px rgba(110, 242, 212, 0.16);
    transform-origin: left center;
  }

  .counter-value.is-ticking {
    animation: counter-tick 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .counter-value.is-loading,
  .counter-value.is-unavailable {
    display: flex;
    min-height: 52px;
    align-items: center;
    color: #b9cfdd;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.35;
    text-shadow: none;
  }

  .plugin-counter.is-loading .counter-plus,
  .plugin-counter.is-unavailable .counter-plus {
    display: none;
  }

  .plugin-counter.is-loading .counter-live-dot,
  .plugin-counter.is-unavailable .counter-live-dot {
    animation: none;
  }

  .plugin-counter.is-loading .counter-live-dot {
    background: #91a5b6;
    box-shadow: 0 0 0 6px rgba(145, 165, 182, 0.08);
  }

  .plugin-counter.is-loading .counter-preview-badge {
    color: #c9d8e2;
    border-color: rgba(145, 165, 182, 0.25);
    background: rgba(50, 67, 80, 0.35);
  }

  .plugin-counter.is-unavailable .counter-live-dot {
    background: #ffcb6b;
    box-shadow: 0 0 0 6px rgba(255, 203, 107, 0.08);
  }

  .counter-plus {
    margin-left: 6px;
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
  }

  .counter-label {
    margin-top: 10px;
    color: #d8e8ee;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.4;
  }

  .plugin-counter.is-live .counter-preview-badge {
    display: none;
  }

  @keyframes counter-pulse {
    0%, 100% {
      opacity: 0.70;
      transform: scale(0.90);
    }
    50% {
      opacity: 1;
      transform: scale(1.10);
    }
  }

  @keyframes counter-tick {
    0% { opacity: 0.82; transform: translateY(2px) scale(0.99); }
    55% { opacity: 1; transform: translateY(-1px) scale(1.018); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  .accordion-item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(132, 171, 204, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(10, 25, 39, 0.96), rgba(6, 17, 28, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.025);
    contain: paint;
    transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
  }

  .accordion-item::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 3px;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, var(--accent), var(--accent-blue));
    opacity: 0;
    transition: opacity 180ms var(--ease);
  }

  .accordion-item:hover {
    border-color: rgba(110, 242, 212, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .accordion-item.is-open {
    border-color: rgba(110, 242, 212, 0.30);
    background: linear-gradient(180deg, rgba(12, 31, 48, 0.99), rgba(6, 17, 28, 0.99));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .accordion-item.is-open::before {
    opacity: 1;
  }

  .accordion-heading {
    position: relative;
    z-index: 2;
  }

  .accordion-trigger,
  .accordion-static-heading {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 44px;
    gap: 14px;
    align-items: center;
    padding: 12px 14px 12px 12px;
    text-align: left;
  }

  .accordion-trigger {
    cursor: pointer;
    background: transparent;
  }

  .accordion-trigger:hover .accordion-title {
    color: #ffffff;
  }

  .accordion-number {
    display: grid;
    width: 46px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(110, 242, 212, 0.23);
    border-radius: 12px;
    color: var(--accent);
    background: linear-gradient(145deg, rgba(35, 94, 104, 0.42), rgba(14, 41, 60, 0.58));
    font-size: 18px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .accordion-title {
    min-width: 0;
    overflow: hidden;
    color: #ecf5fb;
    font-size: 20px;
    font-weight: 780;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 180ms var(--ease);
  }

  .title-compact,
  .email-title-compact {
    display: none;
  }

  .accordion-icon {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    border: 1px solid rgba(139, 178, 207, 0.17);
    border-radius: 13px;
    background: rgba(2, 10, 18, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
  }

  .accordion-icon::before,
  .accordion-icon::after {
    position: absolute;
    width: 16px;
    height: 2px;
    content: "";
    border-radius: 2px;
    background: var(--accent);
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  }

  .accordion-icon::after {
    transform: rotate(90deg);
  }

  .accordion-trigger[aria-expanded="true"] .accordion-icon {
    border-color: rgba(110, 242, 212, 0.35);
    background: rgba(110, 242, 212, 0.08);
    transform: rotate(180deg);
  }

  .accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    opacity: 0;
    transform: rotate(0);
  }

  .accordion-panel {
    position: relative;
    z-index: 1;
    padding: 34px 40px 40px;
    border-top: 1px solid rgba(146, 181, 208, 0.11);
    background:
      linear-gradient(180deg, rgba(13, 31, 47, 0.58), rgba(5, 14, 23, 0.18)),
      radial-gradient(circle at 100% 0%, rgba(110, 242, 212, 0.055), transparent 31rem);
  }

  .js-ready .accordion-panel:not([hidden]) {
    animation: panel-reveal 240ms var(--ease) both;
  }

  @keyframes panel-reveal {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .accordion-panel > :first-child {
    margin-top: 0;
  }

  .accordion-panel > :last-child {
    margin-bottom: 0;
  }

  .answer-lead {
    max-width: var(--reading-width);
    padding-left: 18px;
    border-left: 3px solid var(--accent);
    color: #d8e6f0;
    font-size: 20px;
    line-height: 1.7;
  }

  .accordion-panel h3 {
    max-width: 920px;
    margin-top: 28px;
    color: #f5fbff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.018em;
  }

  .accordion-panel p {
    max-width: var(--reading-width);
    margin-top: 10px;
    color: #b7c6d3;
    font-size: 18px;
    line-height: 1.72;
  }

  .process-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1040px;
    margin-top: 22px;
  }

  .process-line span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 14px;
    border: 1px solid rgba(110, 242, 212, 0.16);
    border-radius: 999px;
    color: #dce9f2;
    background: rgba(8, 27, 38, 0.7);
    font-size: 18px;
    font-weight: 700;
  }

  .process-line span:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -8px;
    color: var(--accent);
    content: "›";
    transform: translate(50%, -50%);
  }

  .content-grid,
  .risk-grid,
  .about-grid,
  .notice-stack,
  .simple-flow,
  .step-list,
  .timeline,
  .explain-block,
  .takeaway,
  .check-list {
    margin-top: 22px;
  }

  .plain-card,
  .risk-grid article,
  .about-grid article,
  .notice-box,
  .explain-block {
    position: relative;
    overflow: hidden;
    padding: 21px;
    border: 1px solid rgba(146, 180, 207, 0.13);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(16, 38, 57, 0.74), rgba(5, 17, 28, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .plain-card::after,
  .risk-grid article::after,
  .about-grid article::after,
  .notice-box::after,
  .explain-block::after {
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(110, 242, 212, 0.23), transparent);
  }

  .plain-card h3,
  .risk-grid article h3,
  .about-grid article h3,
  .notice-box h3,
  .explain-block h3 {
    margin-top: 0;
    font-size: 20px;
  }

  .plain-card p,
  .risk-grid article p,
  .about-grid article p,
  .notice-box p,
  .explain-block p {
    max-width: none;
    margin-top: 8px;
  }

  .simple-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1040px;
  }

  .simple-flow > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 82px;
    padding: 16px;
    border: 1px solid rgba(145, 182, 211, 0.12);
    border-radius: 15px;
    background: rgba(4, 16, 27, 0.64);
  }

  .simple-flow strong,
  .step-list > article > span,
  .timeline > article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(110, 242, 212, 0.25);
    border-radius: 12px;
    color: var(--accent);
    background: rgba(34, 104, 111, 0.2);
    font-size: 18px;
    font-weight: 850;
  }

  .simple-flow span {
    color: #d8e6ef;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }

  .step-list,
  .timeline {
    display: grid;
    gap: 10px;
    max-width: 1040px;
  }

  .step-list article,
  .timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid rgba(142, 178, 206, 0.12);
    border-radius: 15px;
    background: rgba(5, 17, 28, 0.62);
  }

  .step-list article:not(:last-child)::after,
  .timeline article:not(:last-child)::after {
    position: absolute;
    bottom: -11px;
    left: 40px;
    z-index: 2;
    width: 1px;
    height: 10px;
    content: "";
    background: linear-gradient(var(--accent), transparent);
  }

  .step-list h3,
  .timeline h3 {
    margin-top: 1px;
    font-size: 20px;
  }

  .step-list p,
  .timeline p {
    max-width: 850px;
    margin-top: 6px;
  }

  .check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    max-width: 1040px;
    padding: 0;
    list-style: none;
  }

  .check-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-list li {
    position: relative;
    min-height: 48px;
    padding: 10px 12px 10px 43px;
    border: 1px solid rgba(143, 178, 205, 0.10);
    border-radius: 13px;
    background: rgba(5, 17, 28, 0.52);
    line-height: 1.5;
  }

  .check-list li::before {
    position: absolute;
    top: 13px;
    left: 13px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(110, 242, 212, 0.25);
    border-radius: 7px;
    color: var(--accent);
    content: "✓";
    background: rgba(110, 242, 212, 0.07);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
  }

  .takeaway {
    max-width: 1040px !important;
    padding: 17px 19px 17px 54px;
    border: 1px solid rgba(110, 242, 212, 0.21);
    border-radius: 15px;
    background:
      linear-gradient(90deg, rgba(110, 242, 212, 0.10), rgba(110, 168, 255, 0.045)),
      rgba(5, 19, 29, 0.68);
    color: #c9d8e3 !important;
  }

  .takeaway strong {
    color: var(--accent);
  }

  .notice-box {
    background: linear-gradient(145deg, rgba(18, 37, 55, 0.86), rgba(8, 20, 32, 0.86));
  }

  .performance-note {
    max-width: 1040px;
    border-color: rgba(255, 213, 138, 0.22);
    background: linear-gradient(145deg, rgba(58, 47, 27, 0.34), rgba(13, 23, 32, 0.82));
  }

  .performance-note::after {
    background: linear-gradient(90deg, transparent, rgba(255, 213, 138, 0.38), transparent);
  }

  .performance-note h3 {
    color: var(--warning);
  }

  .accordion-static-heading {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 80px;
    padding-right: 20px;
    background: linear-gradient(90deg, rgba(110, 242, 212, 0.095), rgba(110, 168, 255, 0.095) 62%, transparent);
  }

  .course-section {
    margin-top: 4px;
    border-color: transparent;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(9, 26, 41, 0.99), rgba(4, 14, 24, 0.99)) padding-box,
      linear-gradient(135deg, rgba(110, 242, 212, 0.65), rgba(110, 168, 255, 0.32) 46%, rgba(167, 139, 250, 0.22) 72%, rgba(110, 242, 212, 0.28)) border-box;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .course-section::before {
    width: 4px;
    opacity: 1;
  }

  .course-section .static-panel {
    padding: 34px 40px 40px;
    background:
      radial-gradient(circle at 12% 18%, rgba(110, 242, 212, 0.06), transparent 26rem),
      radial-gradient(circle at 95% 8%, rgba(110, 168, 255, 0.07), transparent 30rem),
      linear-gradient(180deg, rgba(12, 31, 47, 0.70), rgba(4, 14, 24, 0.28));
  }

  .course-overview {
    align-self: center;
    padding: 10px 0 10px 8px;
  }

  .course-overview > h3 {
    max-width: 580px;
    margin-top: 0;
    font-size: clamp(34px, 3.4vw, 46px);
    letter-spacing: -0.04em;
  }

  .course-overview > p {
    max-width: 590px;
    margin-top: 16px;
    color: #b9cad8;
    font-size: 19px;
  }

  .course-overview .takeaway {
    margin-top: 24px;
    padding-left: 20px;
    border-color: rgba(110, 242, 212, 0.26);
    background: linear-gradient(135deg, rgba(69, 220, 193, 0.12), rgba(92, 157, 235, 0.08));
  }

  .course-email-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 26px;
    border: 1px solid transparent;
    border-radius: 21px;
    background:
      linear-gradient(152deg, rgba(17, 43, 65, 0.98), rgba(5, 18, 30, 0.99)) padding-box,
      linear-gradient(135deg, rgba(110, 242, 212, 0.42), rgba(110, 168, 255, 0.20) 56%, rgba(110, 242, 212, 0.10)) border-box;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .course-email-card::before {
    position: absolute;
    top: -150px;
    right: -150px;
    z-index: -1;
    width: 360px;
    height: 360px;
    pointer-events: none;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 242, 212, 0.13), transparent 66%);
  }

  .form-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 5px 11px;
    border: 1px solid rgba(110, 242, 212, 0.25);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(110, 242, 212, 0.075);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.07em;
  }

  .form-badge::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
  }

  .course-email-card > h3 {
    max-width: none;
    margin-top: 18px;
    font-size: clamp(22px, 1.85vw, 26px);
    letter-spacing: -0.035em;
  }

  .email-title-full {
    white-space: nowrap;
  }

  .course-email-card > p {
    max-width: none;
    margin-top: 11px;
  }

  .course-email-label {
    display: block;
    margin-top: 21px;
    color: #aebfce;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .course-email-address {
    display: grid;
    min-height: 62px;
    place-items: center;
    margin-top: 9px !important;
    padding: 10px 14px;
    border: 1px solid rgba(110, 242, 212, 0.34);
    border-radius: 14px;
    color: #baffef !important;
    background: rgba(2, 14, 23, 0.74);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(20px, 2vw, 25px) !important;
    font-weight: 850;
    letter-spacing: -0.025em;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 12px 28px rgba(0, 0, 0, 0.15);
  }

  .request-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 11px;
  }

  .copy-button {
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid rgba(145, 180, 207, 0.14);
    border-radius: 13px;
    color: #edf5fb;
    background: rgba(2, 11, 19, 0.73);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
  }

  .copy-button:hover {
    border-color: rgba(110, 242, 212, 0.33);
    background: rgba(9, 31, 42, 0.9);
    transform: translateY(-1px);
  }

  .copy-button.primary {
    border-color: transparent;
    color: #042219;
    background: linear-gradient(135deg, #b3fff0, var(--accent) 58%, #5edee2);
    box-shadow: 0 14px 28px rgba(43, 216, 183, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  .copy-button.primary:hover {
    background: linear-gradient(135deg, #d0fff6, #7bf7dd 58%, #70e8ea);
    box-shadow: 0 18px 34px rgba(43, 216, 183, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  .copy-button:active {
    transform: translateY(0);
  }

  .copy-button:disabled {
    cursor: default;
    opacity: 0.78;
    transform: none;
  }

  .copy-status {
    min-height: 29px;
    margin-top: 7px !important;
    color: var(--accent) !important;
    font-weight: 750;
  }

  .course-email-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 13px;
  }

  .course-email-steps p {
    min-height: 92px;
    margin: 0;
    padding: 13px;
    border: 1px solid rgba(143, 178, 205, 0.11);
    border-radius: 13px;
    background: rgba(2, 11, 19, 0.62);
    line-height: 1.48;
  }

  .course-email-steps strong {
    display: block;
    margin-bottom: 2px;
    color: #eaf4fa;
    font-size: 18px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .form-note {
    margin-top: 15px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(145, 180, 207, 0.11);
    color: #91a7b9 !important;
    line-height: 1.55 !important;
  }

  .site-footer {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 14px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 176, 204, 0.13);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 21, 33, 0.96), rgba(3, 11, 19, 0.98));
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  }

  .site-footer::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(110, 242, 212, 0.24), transparent);
  }

  .footer-brand {
    display: flex;
    gap: 11px;
    align-items: center;
  }

  .footer-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 18px;
  }

  .footer-brand div {
    display: grid;
    gap: 1px;
  }

  .footer-brand strong {
    font-size: 18px;
    letter-spacing: 0.13em;
  }

  .footer-brand span {
    color: #9db0c1;
    font-size: 18px;
  }

  .site-footer p {
    color: #96aabd;
    font-size: 18px;
    line-height: 1.55;
  }

  .site-footer p:last-child {
    white-space: nowrap;
    text-align: right;
  }

  .copy-helper {
    position: fixed;
    top: -1000px;
    left: -1000px;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
}

@layer utilities {
  .accordion-trigger:focus-visible,
  .copy-button:focus-visible {
    position: relative;
    z-index: 5;
  }
}

@layer responsive {
  @media (max-width: 1040px) {
    .page-shell {
      width: min(calc(100% - 28px), var(--page-width));
    }

    .site-header {
      grid-template-columns: 1fr;
      min-height: 0;
      gap: 32px;
      padding: 38px;
    }

    .site-title,
    .site-description {
      max-width: 850px;
    }

    .hero-system {
      width: 100%;
    }

    .course-layout {
      grid-template-columns: 1fr;
    }

    .course-overview {
      padding-inline: 0;
    }

    .site-footer {
      grid-template-columns: 1fr 1fr;
    }

    .site-footer > p:first-of-type {
      grid-column: 1 / -1;
      grid-row: 2;
    }
  }

  @media (max-width: 820px) {
    .page-shell {
      padding-block: 18px 26px;
    }

    .site-header {
      padding: 30px;
      border-radius: 26px;
    }

    .site-title {
      font-size: clamp(43px, 7.2vw, 58px);
    }

    .content-grid.three-column,
    .risk-grid,
    .notice-stack {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accordion-panel,
    .course-section .static-panel {
      padding: 30px;
    }

    .course-email-card {
      padding: 24px;
    }
  }

  @media (max-width: 640px) {
    .page-shell {
      width: min(calc(100% - 20px), var(--page-width));
      padding-block: 10px 18px;
    }

    .site-header {
      gap: 26px;
      padding: 24px 20px;
      border-radius: 22px;
    }

    .brand-lockup {
      margin-bottom: 22px;
    }

    .brand-mark {
      width: 46px;
      height: 46px;
      border-radius: 13px;
      font-size: 21px;
    }

    .brand-name {
      font-size: 22px;
    }

    .brand-kicker {
      font-size: 18px;
      letter-spacing: 0.055em;
    }

    .site-title {
      font-size: clamp(38px, 11.5vw, 50px);
      letter-spacing: -0.048em;
    }

    .site-description {
      margin-top: 18px;
      font-size: 18px;
      line-height: 1.68;
    }

    .trust-notes {
      display: grid;
      grid-template-columns: 1fr;
      width: 100%;
      margin-top: 22px;
    }

    .trust-notes span {
      min-height: 44px;
    }

    .hero-system {
      padding: 17px;
      border-radius: 19px;
    }

    .system-path {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .system-connector {
      display: none;
    }

    .system-node {
      min-height: 118px;
      padding: 12px 7px;
      border-radius: 14px;
    }

    .system-node small {
      display: none;
    }

    .learning-accordion {
      gap: 8px;
    }

    .accordion-item {
      border-radius: 15px;
    }

    .accordion-trigger,
    .accordion-static-heading {
      min-height: 66px;
      grid-template-columns: 40px minmax(0, 1fr) 40px;
      gap: 10px;
      padding: 10px;
    }

    .accordion-static-heading {
      grid-template-columns: 40px minmax(0, 1fr);
    }

    .accordion-number {
      width: 40px;
      height: 40px;
      border-radius: 11px;
    }

    .accordion-title {
      font-size: 18px;
    }

    .accordion-icon {
      width: 40px;
      height: 40px;
      border-radius: 11px;
    }

    .title-full,
    .email-title-full {
      display: none;
    }

    .title-compact,
    .email-title-compact {
      display: inline;
    }

    .accordion-panel,
    .course-section .static-panel {
      padding: 24px 18px 26px;
    }

    .answer-lead {
      padding-left: 14px;
      font-size: 19px;
    }

    .content-grid.two-column,
    .content-grid.three-column,
    .risk-grid,
    .about-grid,
    .notice-stack,
    .simple-flow,
    .check-list,
    .check-list.compact {
      grid-template-columns: 1fr;
    }

    .plain-card,
    .risk-grid article,
    .about-grid article,
    .notice-box,
    .explain-block {
      padding: 18px;
    }

    .process-line {
      display: grid;
      grid-template-columns: 1fr;
    }

    .process-line span:not(:last-child)::after {
      display: none;
    }

    .step-list article,
    .timeline article {
      grid-template-columns: 42px minmax(0, 1fr);
      padding: 17px;
    }

    .course-section {
      border-radius: 19px;
    }

    .course-overview > h3 {
      font-size: clamp(32px, 9vw, 40px);
    }

    .course-overview > p {
      font-size: 18px;
    }

    .course-email-card {
      padding: 20px;
      border-radius: 18px;
    }

    .course-email-card > h3 {
      font-size: 24px;
    }

    .course-email-address {
      font-size: 20px !important;
    }

    .request-actions,
    .course-email-steps {
      grid-template-columns: 1fr;
    }

    .course-email-steps p {
      min-height: 0;
    }

    .site-footer {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 20px;
    }

    .site-footer > p:first-of-type {
      grid-column: auto;
      grid-row: auto;
    }

    .site-footer p:last-child {
      white-space: normal;
      text-align: left;
    }
  }

  @media (max-width: 370px) {
    .page-shell {
      width: min(calc(100% - 14px), var(--page-width));
    }

    .site-header {
      padding-inline: 16px;
    }

    .brand-name {
      font-size: 21px;
      letter-spacing: 0.11em;
    }

    .brand-kicker {
      letter-spacing: 0.035em;
    }

    .site-title {
      font-size: 36px;
    }

    .system-path {
      grid-template-columns: 1fr;
    }

    .system-node {
      min-height: 82px;
      grid-template-columns: 34px minmax(0, 1fr);
      justify-items: start;
      gap: 8px;
      text-align: left;
    }

    .system-node > span,
    .system-node strong {
      margin: 0;
    }

    .accordion-trigger,
    .accordion-static-heading {
      grid-template-columns: 38px minmax(0, 1fr) 38px;
      gap: 8px;
      padding: 9px;
    }

    .accordion-static-heading {
      grid-template-columns: 38px minmax(0, 1fr);
    }

    .accordion-number,
    .accordion-icon {
      width: 38px;
      height: 38px;
    }
  }

  @media (max-width: 640px) {
    .plugin-counter {
      padding: 16px;
    }

    .counter-value {
      font-size: 38px;
    }

    .counter-preview-badge {
      padding-inline: 7px;
    }
  }

  @media (prefers-reduced-data: reduce) {
    body::before,
    body::after,
    .site-header::after,
    .course-section::after {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .counter-live-dot,
    .counter-value.is-ticking { animation: none !important; }

    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
  }

  @media (prefers-contrast: more) {
    :root {
      --line: rgba(255, 255, 255, 0.35);
      --line-strong: rgba(110, 242, 212, 0.75);
      --muted: #d2dde6;
      --muted-strong: #e0e8ef;
    }

    .accordion-item,
    .plain-card,
    .notice-box,
    .course-email-card,
    .site-footer {
      border-color: rgba(255, 255, 255, 0.38);
    }
  }

  @media (forced-colors: active) {
    .brand-title {
      color: CanvasText;
      background: none;
    }

    .brand-mark,
    .footer-mark,
    .copy-button.primary {
      color: ButtonText;
      background: ButtonFace;
    }

    .accordion-item::before,
    .plain-card::after,
    .notice-box::after,
    .site-footer::before {
      display: none;
    }
  }

  @media print {
    html,
    body {
      color: #000;
      background: #fff;
    }

    body::before,
    body::after,
    .hero-system,
    .trust-notes,
    .accordion-icon,
    .request-actions,
    .copy-status {
      display: none !important;
    }

    .page-shell {
      width: 100%;
      max-width: none;
      padding: 0;
    }

    .site-header,
    .accordion-item,
    .course-email-card,
    .site-footer,
    .plain-card,
    .notice-box,
    .risk-grid article,
    .about-grid article,
    .explain-block {
      break-inside: avoid;
      color: #000;
      background: #fff;
      border: 1px solid #bbb;
      box-shadow: none;
    }

    .site-header {
      grid-template-columns: 1fr;
      min-height: 0;
    }

    .brand-title,
    h1,
    h2,
    h3,
    strong,
    p,
    li,
    span {
      color: #000 !important;
      background: none !important;
    }

    [hidden] {
      display: block !important;
    }

    .accordion-panel {
      display: block !important;
    }
  }
}

@layer components {
  .error-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
  }

  .error-card {
    width: min(100%, 760px);
    padding: 48px;
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    background:
      linear-gradient(145deg, rgba(14, 34, 53, 0.98), rgba(4, 13, 22, 0.99)) padding-box,
      linear-gradient(135deg, rgba(110, 242, 212, 0.45), rgba(110, 168, 255, 0.18)) border-box;
    box-shadow: var(--shadow-large);
    text-align: center;
  }

  .error-code {
    display: block;
    color: var(--accent);
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
  }

  .error-card h1 {
    margin-top: 24px;
    font-size: clamp(34px, 6vw, 52px);
  }

  .error-card p {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--muted-strong);
    font-size: 19px;
  }
}

@layer responsive {
  @media (max-width: 640px) {
    .error-page {
      padding: 10px;
    }

    .error-card {
      padding: 34px 20px;
      border-radius: 22px;
    }
  }
}
