/* gpt.dad-look.com - DadGPT: a dark chat app with a warm amber accent */
body { margin: 0; background: #1b1b1f; color: #ececf1; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #f0b75a; outline-offset: 2px; }
.gp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.gp-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #b06a12; }

/* App shell: sidebar and chat */
.gp-app { display: grid; grid-template-columns: 260px minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 560px; }
.gp-side { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; background: #121215; overflow-y: auto; }
.gp-new { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 1px solid #34343b; border-radius: 10px; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.gp-new span { font-size: 20px; }
.gp-new:hover, .gp-past:hover { background: #222228; }
.gp-side-label { margin: 16px 12px 4px; font-size: 12px; font-weight: 700; color: #8e8ea0; }
.gp-history { margin: 0; padding: 0; list-style: none; }
.gp-past { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: #d6d6de; font: inherit; font-size: 14px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.gp-past.is-active { background: #26262d; color: #ffffff; }
.gp-plan { margin-top: auto; padding: 14px; border-radius: 12px; background: #1d1d22; font-size: 13px; line-height: 1.45; }
.gp-plan p { margin: 0 0 6px; color: #b4b4c2; }
.gp-plan b { color: #ececf1; }
.gp-plan a { display: inline-block; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: #f0b75a; color: #1b1b1f; font-weight: 800; text-decoration: none; }

.gp-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 16px; }
.gp-menu { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: inherit; font-size: 20px; cursor: pointer; }
.gp-model { min-width: 0; max-width: 100%; }
.gp-model select { max-width: 100%; padding: 8px 12px; border: 0; border-radius: 10px; background: #26262d; color: #ececf1; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.gp-model-note { flex: 1 1 260px; min-width: 0; margin: 0; font-size: 13px; color: #f0b75a; }
.gp-model-note:empty { display: none; }

.gp-chat { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px; }
.gp-welcome { max-width: 720px; margin: 0 auto; padding: 12vh 0 30px; text-align: center; }
.gp-logo { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #f0b75a; color: #1b1b1f; }
.gp-welcome h1 { margin: 18px 0 6px; font-size: clamp(24px, 4vw, 32px); font-weight: 700; }
.gp-sub { margin: 0; color: #a5a5b4; }
.gp-chips { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gp-chip { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #34343b; border-radius: 14px; background: none; color: #d6d6de; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.gp-chip:hover { background: #222228; }

.gp-messages { max-width: 760px; margin: 0 auto; padding: 16px 0 24px; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.gp-user { align-self: flex-end; max-width: 80%; padding: 10px 16px; border-radius: 18px; background: #2e2e36; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.gp-bot { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; }
.gp-avatar { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f0b75a; color: #1b1b1f; }
.gp-avatar svg { width: 20px; height: 20px; }
.gp-thought { margin: 4px 0 6px; font-size: 13px; color: #8e8ea0; }
.gp-text { margin: 0; font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.gp-cursor { display: inline-block; width: 9px; height: 16px; margin-left: 2px; vertical-align: -2px; background: #ececf1; }
.gp-tools { display: flex; gap: 4px; margin-top: 8px; }
.gp-tool { min-width: 34px; height: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: #8e8ea0; font: inherit; font-size: 13px; cursor: pointer; }
.gp-tool:hover { background: #26262d; color: #ececf1; }
.gp-tool[aria-pressed="true"] { color: #f0b75a; }
.gp-feedback { margin: 6px 0 0; font-size: 13px; color: #f0b75a; }
.gp-feedback:empty { display: none; }

.gp-composer { display: flex; align-items: flex-end; gap: 10px; width: calc(100% - 32px); max-width: 760px; margin: 0 auto; padding: 10px 10px 10px 18px; box-sizing: border-box; border-radius: 26px; background: #2a2a31; }
.gp-composer textarea { flex: 1; min-height: 28px; max-height: 160px; padding: 6px 0; border: 0; background: none; color: #ececf1; font: inherit; font-size: 16px; line-height: 1.5; resize: none; }
.gp-composer textarea:focus { outline: none; }
.gp-send { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ececf1; color: #1b1b1f; cursor: pointer; }
.gp-send:disabled { background: #4a4a54; color: #8e8ea0; cursor: default; }
.gp-disclaimer { margin: 8px 16px 12px; font-size: 12px; color: #8e8ea0; text-align: center; }

/* Bottom, below the app */
.gp-bottom { max-width: 1000px; margin: 0 auto; padding: 56px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.gp-cta { padding: 44px 24px; border-radius: 22px; background: #f6f3ec; color: #1b1b1f; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gp-cta h2 { margin: 0; font-size: 40px; }
.gp-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; }
.gp-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.gp-cta-button:hover { background: #d95450; }
.gp-cta-arrow { display: inline-block; }
.gp-share { min-height: 48px; padding: 0 22px; border: 2px solid #1b1b1f; border-radius: 999px; background: none; color: #1b1b1f; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.gp-share:hover { background: #1b1b1f; color: #ffffff; }
.gp-status { margin: 0; font-size: 14px; font-weight: 700; color: #2e7d32; }
.gp-status:empty { display: none; }
.gp-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #8e8ea0; border-top: 1px solid #34343b; padding-top: 14px; }

@media (max-width: 800px) {
	.gp-app { grid-template-columns: minmax(0, 1fr); }
	.gp-side { position: fixed; inset: 0 auto 0 0; z-index: 10; width: 270px; transform: translateX(-100%); transition: transform 0.25s ease; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); }
	.gp-side.is-open { transform: none; }
	.gp-menu { display: inline-flex; align-items: center; justify-content: center; }
	.gp-model { flex: 1; }
	.gp-model-note { flex-basis: 100%; }
	.gp-model select { width: 100%; text-overflow: ellipsis; }
	.gp-chips { grid-template-columns: minmax(0, 1fr); }
	.gp-welcome { padding-top: 6vh; }
	.gp-user { max-width: 88%; }
	.gp-bottom { padding: 44px 16px 40px; }
	.gp-cta h2 { font-size: 32px; }
	.gp-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.gp-cursor { animation: gp-blink 0.9s steps(2) infinite; }
	.gp-thought.is-thinking { animation: gp-pulse 1.4s ease-in-out infinite; }
	.gp-user, .gp-bot { animation: gp-in 0.3s ease both; }
	.js .gp-welcome > * { animation: gp-in 0.5s ease both; }
	.js .gp-welcome > *:nth-child(2) { animation-delay: 0.08s; }
	.js .gp-welcome > *:nth-child(3) { animation-delay: 0.16s; }
	.js .gp-welcome > *:nth-child(4) { animation-delay: 0.24s; }
	.gp-cta-button { animation: gp-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.gp-cta-button:hover { transform: scale(1.02); }
	.gp-cta-arrow { animation: gp-nudge 1.1s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
	.gp-side { transition: none; }
}

@keyframes gp-blink { to { visibility: hidden; } }
@keyframes gp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes gp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes gp-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes gp-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
