/* all.dad-look.com - everything built to sell one book */
body { margin: 0; background: #111111; }
a { color: #ec6e6a; }
a:hover { color: #f39a96; }
a:focus-visible { outline: 3px solid #6e9cf4; outline-offset: 3px; }

.al-page { box-sizing: border-box; color: #ffffff; font-family: Helvetica, Arial, sans-serif; padding: 40px 24px 64px; }
.al-wrap { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.al-page h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #b5b5b5; }

/* Header */
.al-header { display: flex; flex-direction: column; gap: 14px; }
.al-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #b5b5b5; }
.al-header h1 { margin: 0; font-size: 76px; line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.al-header h1 span { color: #ec6e6a; }
.al-intro { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.45; color: #d0d0d0; }

/* Totals */
.al-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.al-total { background: #1c1c1c; border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.al-total-value { font-size: 44px; font-weight: 800; line-height: 1; }
.al-total-value small { font-size: 20px; color: #8c8c8c; }
.al-total-label { font-size: 14px; color: #b5b5b5; }

/* Site tiles, each in its own site's colours */
.al-sites { display: flex; flex-direction: column; gap: 16px; }
.al-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.al-site { position: relative; background: var(--bg); color: var(--fg); border: 1px solid #2a2a2a; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.al-site-for { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.al-site h3 { margin: 0; font-size: 26px; line-height: 1.1; }
.al-site h3 a { color: inherit; text-decoration: none; }
.al-site h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.al-site p { margin: 0; font-size: 15px; line-height: 1.4; opacity: 0.85; }
.al-site-stats { margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.al-site-stats div { display: flex; flex-direction: column; gap: 2px; }
.al-site-stats dt { font-size: 12px; opacity: 0.8; }
.al-site-stats dd { margin: 0; font-size: 22px; font-weight: 800; color: var(--accent); }
.al-site-url { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; opacity: 0.85; }

/* Call to action */
.al-cta { background: #ec6e6a; color: #1c1c1c; border-radius: 18px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.al-page .al-cta h2 { font-size: 34px; line-height: 1.05; letter-spacing: 0; color: #1c1c1c; }
.al-cta p { margin: 0; font-size: 17px; font-weight: 700; }
.al-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; box-sizing: border-box; width: 100%; max-width: 620px; min-height: 84px; padding: 22px 32px; background: #1c1c1c; color: #ffffff; font-size: 28px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.al-cta-button:hover { color: #ffffff; background: #000000; }
.al-cta-button:focus-visible { outline-color: #1c1c1c; outline-offset: 4px; }
.al-cta-arrow { display: inline-block; }

/* Footer */
.al-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #b5b5b5; }

@media (max-width: 600px) {
	.al-page { padding: 28px 16px 48px; }
	.al-header h1 { font-size: 48px; }
	.al-total-value { font-size: 36px; }
	.al-grid { grid-template-columns: 1fr; }
	.al-page .al-cta h2 { font-size: 26px; }
	.al-cta-button { font-size: 20px; min-height: 72px; padding: 18px 20px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .al-header > * { animation: al-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .al-header > *:nth-child(2) { animation-delay: 0.1s; }
	.js .al-header > *:nth-child(3) { animation-delay: 0.25s; }
	.js .al-total { animation: al-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .al-total:nth-child(1) { animation-delay: 0.3s; }
	.js .al-total:nth-child(2) { animation-delay: 0.38s; }
	.js .al-total:nth-child(3) { animation-delay: 0.46s; }
	.js .al-total:nth-child(4) { animation-delay: 0.54s; }

	.js .reveal { opacity: 0; transform: translateY(30px) rotate(-1deg); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .al-site.is-in:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45); transition-delay: 0s; }

	.al-cta-button { animation: al-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease, background-color 0.2s ease; }
	.al-cta-button:hover { transform: scale(1.03); }
	.al-cta-arrow { animation: al-nudge 1.1s ease-in-out infinite; }
}

@keyframes al-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes al-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(28, 28, 28, 0.45); } 50% { box-shadow: 0 0 0 12px rgba(28, 28, 28, 0); } }
@keyframes al-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
