.chatgpt-page { background: #fffdfb; }
.chatgpt-page [id] { scroll-margin-top: 110px; }
.chatgpt-page :focus-visible { outline: 3px solid #7960e8; outline-offset: 5px; }
.chatgpt-page p { line-height: 1.65; }
.chatgpt-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.setup-skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px; background: #fff; transform: translateY(-160%); }
.setup-skip:focus { transform: none; }
.connect-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 88px; padding-block: 160px 84px; }
.connect-intro h1 { margin: 20px 0; font-size: clamp(44px, 4.8vw, 66px); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
.chatgpt-page h1 em, .chatgpt-page h2 em { color: var(--purple); font-family: "DM Serif Display", serif; font-weight: 400; }
.connect-lead { max-width: 470px; font-size: 20px; color: #655d74; margin-bottom: 26px; }
.plan-note { border-left: 3px solid #7960e8; margin-top: 28px; padding-left: 16px; max-width: 465px; }
.plan-note strong { font-size: 15px; }
.plan-note p { color: #6c6379; font-size: 14px; margin-top: 4px; }
.conversation-preview { position: relative; padding: 32px; border-radius: 32px 32px 10px 32px; color: #fff; background: radial-gradient(ellipse at 100% 0, #7254c7 0, transparent 70%), #29164c; box-shadow: 0 30px 65px #56339526; transform: rotate(2deg); animation: conversation-arrive .65s ease-out both; }
.conversation-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 28px; border-bottom: 1px solid #ffffff26; }
.conversation-heading img { border-radius: 13px; }
.conversation-heading strong, .conversation-heading span { display: block; }
.conversation-heading strong { font-size: 21px; }
.conversation-heading span { font-size: 14px; color: #dfd5f5; margin-top: 4px; }
.conversation-message { margin: 30px 0 22px 22px; padding: 22px; background: #fff; color: #2d2045; border-radius: 20px 20px 5px 20px; }
.conversation-message span { color: #643ce0; font-size: 15px; font-weight: 600; }
.conversation-message p { font-size: 23px; line-height: 1.4; margin-top: 8px; }
.context-thread { display: flex; align-items: center; gap: 20px; margin: 12px 0 24px 26px; color: #e0d7f5; font-size: 16px; }
.thread-dot { width: 1px; height: 76px; background: linear-gradient(#a286e3, #a286e300); position: relative; }
.thread-dot::before { content: ''; display: block; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: #c6b0ff; }
.conversation-result { display: flex; align-items: center; gap: 18px; font-size: 20px; }
.conversation-result > span { font-size: 32px; color: #cbb6ff; }
.conversation-result strong { font-weight: 500; }
.preview-caption { color: #c7b9df; font-size: 12px; margin-top: 28px; }
.connection-steps { display: grid; grid-template-columns: .75fr 1.5fr; gap: 80px; padding-block: 70px 100px; border-top: 1px solid #e8e0f1; }
.setup-heading { align-self: start; position: sticky; top: 126px; }
.chatgpt-page h2 { font-size: clamp(32px, 3.5vw, 46px); letter-spacing: -.04em; line-height: 1.12; margin-top: 18px; }
.setup-heading > p:last-child { color: #746a80; font-size: 17px; margin-top: 22px; }
.setup-step { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 20px; padding-bottom: 46px; margin-bottom: 36px; border-bottom: 1px solid #e8e0f1; }
.setup-step:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.step-number { color: #7952d2; font-family: "Caveat", cursive; font-weight: 700; font-size: 35px; line-height: 1; }
.step-content h3 { font-size: 25px; font-weight: 600; letter-spacing: -.025em; margin: 0 0 12px; }
.step-content > p { color: #6c627b; font-size: 17px; margin-bottom: 14px; }
.step-content strong { color: #37264e; }
.external-action { display: inline-flex; align-items: center; gap: 16px; color: #5934bf; border-bottom: 1px solid #bca8e4; padding-block: 7px; font-weight: 600; font-size: 17px; }
.setup-help { margin-top: 24px; font-size: 15px; }
.setup-help summary { cursor: pointer; color: #62458f; font-weight: 600; padding-block: 6px; }
.setup-help p { color: #6c627b; margin: 10px 0; }
.setup-help a, .consent-note a { color: #5934bf; text-decoration: underline; text-underline-offset: 4px; }
.config-sheet { padding: 26px; margin-top: 25px; background: #fff; border: 1px solid #e3d9f3; border-radius: 24px 24px 8px 24px; box-shadow: 0 14px 50px #57379408; }
.icon-download { display: flex; gap: 18px; align-items: center; }
.icon-download img { border-radius: 16px; flex-shrink: 0; }
.icon-download strong, .icon-download span { display: block; }
.icon-download strong { font-size: 18px; }
.icon-download span { font-size: 13px; color: #736781; margin-top: 3px; }
.icon-download a { display: inline-block; margin-top: 6px; font-size: 15px; color: #623aca; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.icon-download a span { display: inline; color: inherit; }
.field-hint { font-size: 13px; color: #776a83; margin-top: 14px; }
.setup-field { padding-top: 23px; }
.field-label { display: block; font-size: 14px; font-weight: 600; color: #625373; margin-bottom: 8px; }
.field-label small { font-size: 12px; font-weight: 400; margin-left: 6px; }
.copy-row { display: flex; align-items: center; gap: 14px; background: #f8f6fc; border: 1px solid #ede7f6; border-radius: 10px; padding: 14px; }
.copy-row code, .copy-row p { min-width: 0; flex: 1; overflow-wrap: anywhere; user-select: all; font-size: 15px; color: #3a2d4e; }
.copy-row code { font-family: "Outfit", sans-serif; line-height: 1.5; }
.copy-row button, .prompt-card button { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #dcd0f0; border-radius: 8px; color: #5934bf; background: #fff; font: 600 13px "Outfit", sans-serif; cursor: pointer; }
.copy-row button:hover, .prompt-card button:hover { background: #eee7fb; }
.server-field .copy-row { background: #f1eafd; border-color: #d8c7f6; }
.auth-setting { display: flex; justify-content: space-between; align-items: center; padding-block: 23px 20px; }
.auth-setting .field-label { margin: 0; }
.consent-note { padding: 20px 0 0 18px; border-left: 2px solid #bba3e6; margin-top: 22px; }
.consent-note p { color: #736580; font-size: 15px; margin: 8px 0; }
.consent-note a { font-size: 14px; }
.try-section { padding-block: 76px; background: radial-gradient(ellipse at 0 0, #e8ddfc, transparent 50%), #f5f1fb; border-block: 1px solid #e6ddf1; }
.try-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 50px; margin-bottom: 35px; }
.try-heading > p { font-size: 18px; color: #6a5d79; }
.try-heading h2 em { font-family: "Caveat", cursive; font-weight: 700; font-style: normal; }
.prompt-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.prompt-card { display: flex; flex-direction: column; align-items: start; padding: 28px; background: #fff; border: 1px solid #e5daef; border-radius: 16px; }
.prompt-category { color: #806397; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }
.prompt-card p { margin-block: 14px 22px; font-size: 21px; color: #352249; line-height: 1.45; }
.prompt-card button { margin-top: auto; }
.prompt-footnote { color: #776984; font-size: 14px; max-width: 900px; margin-top: 20px; }
.ready-action { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.ready-action p { color: #776984; font-size: 13px; }
.connect-footer { padding-block: 44px 30px; }
.connect-footer > p { font-size: 20px; font-weight: 500; }
.connect-footer small { display: block; max-width: 760px; margin-block: 12px 30px; color: #7a7085; font-size: 14px; line-height: 1.6; }
.connect-footer > div { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; color: #74667f; }
.connect-footer > div span { margin-right: auto; }
.copy-status { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 110; max-width: calc(100% - 32px); padding: 12px 22px; border-radius: 12px; background: #302043; color: #fff; font-size: 15px; box-shadow: 0 10px 30px #29154833; }
.copy-status:empty { display: none; }
@keyframes conversation-arrive { from { opacity: 0; transform: translateY(15px) rotate(0); } to { opacity: 1; transform: translateY(0) rotate(2deg); } }
@media (max-width: 1000px) {
  .connect-hero { gap: 40px; padding-top: 125px; }
  .conversation-preview { padding: 24px; }
  .conversation-message p { font-size: 20px; }
  .connection-steps { grid-template-columns: .65fr 1.5fr; gap: 35px; }
}
@media (max-width: 760px) {
  .connect-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 54px; }
  .connect-intro h1 { font-size: clamp(42px, 8vw, 60px); }
  .connect-lead { font-size: 18px; }
  .conversation-preview { max-width: 470px; width: calc(100% - 12px); margin-inline: auto; }
  .connection-steps { display: block; padding-block: 48px; }
  .setup-heading { position: static; margin-bottom: 38px; }
  .setup-heading h2 br { display: none; }
  .setup-step { grid-template-columns: 28px minmax(0,1fr); gap: 12px; }
  .step-number { font-size: 29px; }
  .step-content h3 { font-size: 23px; }
  .step-content > p { font-size: 16px; }
  .config-sheet { padding: 16px; margin-left: -40px; }
  .copy-row { gap: 8px; padding: 10px; }
  .try-section { padding-block: 46px; }
  .try-heading { display: block; }
  .try-heading > p { font-size: 17px; margin-top: 18px; }
  .prompt-grid { grid-template-columns: 1fr; }
  .prompt-card { padding: 22px; }
  .prompt-card p { font-size: 20px; }
  .ready-action { align-items: start; flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .chatgpt-page { scroll-behavior: auto; }
  html:has(.chatgpt-page) { scroll-behavior: auto; }
  .conversation-preview { animation: none; transform: none; }
  .chatgpt-page .button { transition: none; }
}
