:root {
  --white: #FFFFFF;
  --off: #F7F7F5;
  --ink: #0D0D0D;
  --ink-2: #3A3A3A;
  --ink-3: #7A7A7A;
  --ink-4: #B8B8B8;
  --rule: #E5E5E3;
  --rule-2: #F0F0EE;
  --accent: #1A1AFF;
  --accent-2: #EBEBFF;
  --jakarta: 'Plus Jakarta Sans', sans-serif;
  --body: 'Inter', sans-serif;
  --max: 760px;
  --ease: cubic-bezier(.16,1,.3,1);
}

.diag-page *, .diag-page *::before, .diag-page *::after { margin: 0; padding: 0; box-sizing: border-box; }
.diag-page { background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.diag-page ::selection { background: var(--accent); color: var(--white); }
.diag-page a { color: inherit; text-decoration: none; }
.diag-page .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.diag-page .progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 100;
  transition: width .1s linear; width: 0%;
}

.diag-page .mini-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%); transition: transform .4s var(--ease);
}
.diag-page .mini-header.show { transform: none; }
.diag-page .mini-wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 20px; }
.diag-page .mini-title { font-family: var(--jakarta); font-weight: 700; font-size: 14px; letter-spacing: -.01em; color: var(--ink); }
.diag-page .mini-cta { font-family: var(--jakarta); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 18px; background: var(--accent); color: var(--white); border: none; cursor: pointer; transition: opacity .2s; white-space: nowrap; }
.diag-page .mini-cta:hover { opacity: .85; }

@keyframes diagFadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.diag-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.diag-page .reveal.in { opacity: 1; transform: none; }
.diag-page .d1{transition-delay:.08s} .diag-page .d2{transition-delay:.16s} .diag-page .d3{transition-delay:.24s} .diag-page .d4{transition-delay:.32s}

.diag-page .hero { padding: 96px 0 80px; border-bottom: 1px solid var(--rule); }
.diag-page .hero-label {
  font-family: var(--jakarta); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
  opacity: 0; animation: diagFadeUp .7s var(--ease) .1s forwards;
}
.diag-page .hero-label::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.diag-page .hero-h {
  font-family: var(--jakarta); font-weight: 800;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .96; letter-spacing: -.035em;
  margin-bottom: 28px;
}
.diag-page .hero-h .line { display: block; overflow: hidden; }
.diag-page .hero-h .line span { display: block; opacity: 0; transform: translateY(100%); animation: diagSlideUp .85s var(--ease) forwards; }
.diag-page .hero-h .line:nth-child(1) span { animation-delay: .18s; }
.diag-page .hero-h .line:nth-child(2) span { animation-delay: .28s; }
.diag-page .hero-h .line:nth-child(3) span { animation-delay: .38s; }
.diag-page .hero-h .line:nth-child(4) span { animation-delay: .48s; }
.diag-page .hero-h .blue { color: var(--accent); }
@keyframes diagSlideUp { to { opacity:1; transform:none; } }

.diag-page .hero-sub {
  font-size: 19px; line-height: 1.65; color: var(--ink-2);
  max-width: 46ch; margin-bottom: 36px;
  opacity: 0; animation: diagFadeUp .85s var(--ease) .56s forwards;
}
.diag-page .hero-sub strong { color: var(--ink); font-weight: 600; }

.diag-page .cta-block {
  border: 1px solid var(--rule); padding: 28px 28px 24px;
  opacity: 0; animation: diagFadeUp .85s var(--ease) .68s forwards;
}
.diag-page .cta-block-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.diag-page .cta-price { font-family: var(--jakarta); font-weight: 800; font-size: 38px; letter-spacing: -.03em; line-height: 1; }
.diag-page .cta-price-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.diag-page .cta-what { font-size: 14px; color: var(--ink-2); line-height: 1.5; max-width: 28ch; }
.diag-page .cta-btn {
  width: 100%; padding: 17px 24px; background: var(--accent); color: var(--white);
  font-family: var(--jakarta); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all .25s var(--ease);
}
.diag-page .cta-btn svg { transition: transform .25s; }
.diag-page .cta-btn:hover { background: #0F0FCC; }
.diag-page .cta-btn:hover svg { transform: translateX(5px); }
.diag-page .cta-guarantee { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.diag-page .cta-guarantee::before { content: '✓'; color: var(--accent); font-family: var(--jakarta); font-weight: 700; flex: none; }

.diag-page .pain-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.diag-page .section-label { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.diag-page .section-label::after { content: ''; flex: 1; height: 1px; background: var(--rule-2); }
.diag-page .pain-intro { font-size: 20px; line-height: 1.6; color: var(--ink-2); margin-bottom: 36px; }
.diag-page .pain-intro strong { color: var(--ink); font-weight: 600; }

.diag-page .pain-cards { display: flex; flex-direction: column; gap: 2px; margin-bottom: 40px; }
.diag-page .pain-card {
  background: var(--off); border: 1px solid var(--rule);
  padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .25s, background .25s;
}
.diag-page .pain-card:hover { border-color: var(--accent); background: var(--accent-2); }
.diag-page .pain-card .pc-check { width: 22px; height: 22px; border: 1.5px solid var(--rule); border-radius: 50%; flex: none; margin-top: 2px; transition: all .25s; }
.diag-page .pain-card:hover .pc-check { border-color: var(--accent); background: var(--accent); }
.diag-page .pain-card .pc-text { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.diag-page .pain-card .pc-text strong { color: var(--ink); font-weight: 600; }

.diag-page .pain-closer { font-size: 18px; line-height: 1.6; color: var(--ink-2); border-left: 3px solid var(--accent); padding: 16px 0 16px 22px; font-style: italic; }
.diag-page .pain-closer strong { color: var(--ink); font-style: normal; font-weight: 600; }

.diag-page .who-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.diag-page .who-layout { display: grid; grid-template-columns: 64px 1fr; gap: 28px; align-items: start; margin-bottom: 36px; }
.diag-page .who-avatar { width: 64px; height: 64px; background: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--jakarta); font-weight: 800; font-size: 22px; color: var(--white); flex: none; overflow: hidden; border-radius: 4px; }
.diag-page .who-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.diag-page .who-name { font-family: var(--jakarta); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.diag-page .who-title { font-size: 13px; color: var(--ink-3); }
.diag-page .who-body p { font-size: 17px; line-height: 1.72; color: var(--ink-2); margin-bottom: 18px; }
.diag-page .who-body p:last-child { margin-bottom: 0; }
.diag-page .who-body p strong { color: var(--ink); font-weight: 600; }
.diag-page .who-pull { font-family: var(--jakarta); font-weight: 700; font-size: 18px; letter-spacing: -.01em; line-height: 1.45; color: var(--ink); border-left: 3px solid var(--accent); padding: 14px 0 14px 22px; margin: 28px 0; }

.diag-page .cred-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); margin-top: 32px; }
.diag-page .cred-item { background: var(--white); padding: 18px 20px; }
.diag-page .cred-item .cn { font-family: var(--jakarta); font-weight: 800; font-size: 28px; letter-spacing: -.03em; line-height: 1; }
.diag-page .cred-item .cn em { font-style: normal; color: var(--accent); font-size: 16px; }
.diag-page .cred-item .cl { font-size: 12px; color: var(--ink-3); margin-top: 5px; line-height: 1.4; }

.diag-page .get-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.diag-page .get-heading { font-family: var(--jakarta); font-weight: 800; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 32px; }
.diag-page .get-items { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; border: 1px solid var(--rule); }
.diag-page .get-item { display: flex; gap: 0; border-bottom: 1px solid var(--rule); }
.diag-page .get-item:last-child { border-bottom: none; }
.diag-page .get-num { font-family: var(--jakarta); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent); padding: 20px 20px; background: var(--accent-2); border-right: 1px solid var(--rule); display: flex; align-items: flex-start; min-width: 52px; }
.diag-page .get-body { padding: 20px 22px; flex: 1; }
.diag-page .get-title { font-family: var(--jakarta); font-weight: 700; font-size: 15px; letter-spacing: -.01em; margin-bottom: 5px; }
.diag-page .get-desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

.diag-page .not-list-wrap { background: var(--off); border: 1px solid var(--rule); padding: 24px 26px; }
.diag-page .not-list-head { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px; }
.diag-page .not-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.diag-page .not-list li { font-size: 14px; color: var(--ink-3); padding: 9px 0; border-bottom: 1px solid var(--rule-2); display: flex; gap: 12px; align-items: baseline; }
.diag-page .not-list li:last-child { border-bottom: none; }
.diag-page .not-list li::before { content: '×'; color: var(--ink-4); font-family: var(--jakarta); font-weight: 700; flex: none; }

.diag-page .process-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.diag-page .process-steps { display: flex; flex-direction: column; gap: 0; }
.diag-page .process-step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule-2); align-items: flex-start; }
.diag-page .process-step:last-child { border-bottom: none; }
.diag-page .ps-num { font-family: var(--jakarta); font-weight: 800; font-size: 12px; letter-spacing: .06em; width: 34px; height: 34px; border: 1.5px solid var(--rule); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; color: var(--ink-4); }
.diag-page .ps-num.on { border-color: var(--accent); color: var(--accent); background: var(--accent-2); }
.diag-page .ps-title { font-family: var(--jakarta); font-weight: 700; font-size: 16px; letter-spacing: -.01em; margin-bottom: 5px; }
.diag-page .ps-desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.diag-page .ps-time { display: inline-block; margin-top: 8px; font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

.diag-page .fit-section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.diag-page .fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); }
.diag-page .fit-col { background: var(--white); padding: 30px 28px; }
.diag-page .fit-col-head { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.diag-page .fit-col-head.blue { color: var(--accent); border-bottom-color: var(--accent-2); }
.diag-page .fit-col-head.grey { color: var(--ink-4); }
.diag-page .fit-items { list-style: none; display: flex; flex-direction: column; }
.diag-page .fit-items li { font-size: 14px; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--rule-2); display: flex; gap: 11px; align-items: baseline; line-height: 1.5; }
.diag-page .fit-items li:last-child { border-bottom: none; }
.diag-page .fit-items.yes li::before { content: '✓'; color: var(--accent); font-family: var(--jakarta); font-weight: 700; flex: none; font-size: 12px; }
.diag-page .fit-items.no li::before { content: '×'; color: var(--ink-4); font-family: var(--jakarta); font-weight: 700; flex: none; }

.diag-page .obj-section { padding: 80px 0; border-bottom: 1px solid var(--rule); background: var(--off); margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.diag-page .obj-items { display: flex; flex-direction: column; gap: 0; }
.diag-page .obj-item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.diag-page .obj-item:last-child { border-bottom: none; }
.diag-page .obj-q { font-family: var(--jakarta); font-weight: 700; font-size: 16px; letter-spacing: -.01em; margin-bottom: 12px; display: flex; gap: 14px; align-items: baseline; }
.diag-page .obj-q::before { content: 'Q'; font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--accent); flex: none; padding-top: 3px; }
.diag-page .obj-a { font-size: 15px; color: var(--ink-2); line-height: 1.68; padding-left: 26px; }
.diag-page .obj-a strong { color: var(--ink); font-weight: 600; }

.diag-page .final-cta { padding: 100px 0; text-align: center; }
.diag-page .final-cta .fc-label { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.diag-page .final-cta h2 { font-family: var(--jakarta); font-weight: 800; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.02; margin-bottom: 16px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.diag-page .final-cta p { font-size: 17px; color: var(--ink-3); line-height: 1.6; max-width: 40ch; margin: 0 auto 36px; }

.diag-page .final-cta-card { border: 1px solid var(--rule); padding: 36px 32px 30px; max-width: 480px; margin: 0 auto; text-align: left; }
.diag-page .fcc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.diag-page .fcc-price { font-family: var(--jakarta); font-weight: 800; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.diag-page .fcc-what { font-size: 13px; color: var(--ink-3); max-width: 20ch; line-height: 1.4; }
.diag-page .fcc-includes { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.diag-page .fcc-line { display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; color: var(--ink-2); align-items: baseline; }
.diag-page .fcc-line:last-child { border-bottom: none; }
.diag-page .fcc-line::before { content: '✓'; color: var(--accent); font-family: var(--jakarta); font-weight: 700; flex: none; font-size: 12px; }
.diag-page .fcc-btn {
  width: 100%; padding: 17px; background: var(--ink); color: var(--white);
  font-family: var(--jakarta); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all .25s var(--ease); margin-bottom: 12px;
}
.diag-page .fcc-btn svg { transition: transform .25s; }
.diag-page .fcc-btn:hover { background: var(--accent); }
.diag-page .fcc-btn:hover svg { transform: translateX(5px); }
.diag-page .fcc-sub { text-align: center; font-size: 12px; color: var(--ink-4); line-height: 1.5; }
.diag-page .fcc-sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.diag-page .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 500; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 20px; }
.diag-page .modal-overlay.open { display: flex; }
.diag-page .modal { background: var(--white); width: 100%; max-width: 520px; margin: auto; }
.diag-page .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--rule); gap: 12px; }
.diag-page .modal-h { font-family: var(--jakarta); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.diag-page .modal-price { font-family: var(--jakarta); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--accent); margin-left: auto; }
.diag-page .modal-close { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--ink-3); cursor: pointer; transition: color .2s; border: none; background: none; }
.diag-page .modal-close:hover { color: var(--ink); }
.diag-page .modal-subhead { padding: 16px 26px; font-size: 14px; color: var(--ink-3); border-bottom: 1px solid var(--rule); line-height: 1.5; }
.diag-page .modal-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.diag-page .mf { display: flex; flex-direction: column; gap: 7px; }
.diag-page .mf label { font-family: var(--jakarta); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.diag-page .mf input, .diag-page .mf select, .diag-page .mf textarea {
  background: var(--off); border: 1px solid var(--rule); padding: 12px 14px;
  color: var(--ink); font-family: var(--body); font-size: 15px; transition: all .2s; width: 100%;
}
.diag-page .mf textarea { resize: vertical; min-height: 80px; }
.diag-page .mf input:focus, .diag-page .mf select:focus, .diag-page .mf textarea:focus { outline: none; border-color: var(--accent); background: var(--accent-2); }
.diag-page .mf input::placeholder, .diag-page .mf textarea::placeholder { color: var(--ink-4); }
.diag-page .mf select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A7A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-color: var(--off);
}
.diag-page .mf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.diag-page .m-ack { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; line-height: 1.55; }
.diag-page .m-ack .box { width: 16px; height: 16px; border: 1.5px solid var(--ink-4); flex: none; margin-top: 2px; position: relative; transition: all .2s; }
.diag-page .m-ack.on .box { background: var(--accent); border-color: var(--accent); }
.diag-page .m-ack.on .box::after { content: ''; position: absolute; left:3px; top:0; width:5px; height:9px; border:solid white; border-width:0 2px 2px 0; transform:rotate(45deg); }
.diag-page .modal-foot { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.diag-page .m-submit {
  width: 100%; padding: 16px; background: var(--accent); color: var(--white);
  font-family: var(--jakarta); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; transition: all .25s;
}
.diag-page .m-submit svg { transition: transform .25s; }
.diag-page .m-submit:hover { background: #0F0FCC; }
.diag-page .m-submit:hover svg { transform: translateX(4px); }
.diag-page .m-submit:disabled { opacity: .4; cursor: not-allowed; }
.diag-page .m-note { text-align: center; font-size: 12px; color: var(--ink-4); line-height: 1.5; }
.diag-page .form-error-banner {
  margin: 0 26px 16px; padding: 12px 14px; background: #fff5f5; border: 1px solid #fecaca;
  color: #991b1b; font-size: 13px; line-height: 1.5;
}
.diag-page .form-success { display: none; padding: 40px 26px; text-align: center; }
.diag-page .form-success.show { display: block; }
.diag-page .fs-icon { font-size: 36px; margin-bottom: 16px; color: var(--accent); font-family: var(--jakarta); font-weight: 800; }
.diag-page .fs-title { font-family: var(--jakarta); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.diag-page .fs-body { font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.diag-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.diag-page .page-foot { border-top: 1px solid var(--rule); padding: 32px 0; }
.diag-page .foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.diag-page .foot-brand { font-family: var(--jakarta); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; color: var(--ink-3); }
.diag-page .foot-brand .dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.diag-page .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.diag-page .foot-links a { font-size: 12px; color: var(--ink-4); transition: color .2s; }
.diag-page .foot-links a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .diag-page .wrap { padding: 0 22px; }
  .diag-page .fit-grid { grid-template-columns: 1fr; }
  .diag-page .cred-strip { grid-template-columns: 1fr 1fr; }
  .diag-page .mf-row2 { grid-template-columns: 1fr; }
  .diag-page .cta-block-top { flex-direction: column; gap: 12px; }
  .diag-page .obj-section { margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
}
