/* DaviDAD homepage — visual style matched to the AI Tutor design:
   dark navy hero with teal accents, method cards, paths grid, about band. */

.davidad-home { color: #15283b; background: #ffffff; }
.davidad-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ---- Hero ---- */
.davidad-hero {
	position: relative;
	overflow: hidden;
	padding: 104px 0 88px;
	background: #071d35 url("images/hero-bg.png") center/cover no-repeat;
}
.davidad-hero::before { position: absolute; inset: 0; background: rgba(7, 29, 53, 0.9); content: ""; }
.davidad-hero__grid, .davidad-about__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
	gap: 72px;
	align-items: center;
}
.davidad-eyebrow { margin: 0 0 18px; color: #9dd8cd; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.davidad-eyebrow--blue { color: #136f76; }
.davidad-hero h1 { max-width: 650px; margin: 0; color: #ffffff; font-size: clamp(42px, 6vw, 68px); font-weight: 600; line-height: 1.06; }
.davidad-hero__lede { max-width: 590px; margin: 26px 0 0; color: #d8e6ef; font-size: 18px; line-height: 1.7; }
.davidad-language-welcome { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; color: #ffffff; font-size: 14px; }
.davidad-language-welcome span + span::before { margin-right: 18px; color: #9dd8cd; content: "/"; }
.davidad-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.davidad-hero-button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 12px 22px; border: 1px solid transparent;
	border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none;
	transition: transform 0.15s ease;
}
.davidad-hero-button--light { background: #ffffff; color: #0b5360; }
.davidad-hero-button--outline { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
.davidad-hero-button:hover { transform: translateY(-1px); }
.davidad-hero__method { display: grid; gap: 12px; position: relative; }
.davidad-method-card { padding: 22px 24px; border: 1px solid rgba(196, 228, 222, 0.2); border-radius: 6px; background: rgba(13, 50, 73, 0.78); color: #ffffff; }
.davidad-method-card__number { display: block; margin-bottom: 8px; color: #9dd8cd; font-size: 12px; font-weight: 600; }
.davidad-method-card strong { font-size: 21px; font-weight: 600; }
.davidad-method-card p { margin: 6px 0 0; color: #d2e2e8; font-size: 14px; line-height: 1.5; }

/* ---- Sections ---- */
.davidad-paths, .davidad-home__articles, .davidad-about { padding: 96px 0; }
.davidad-paths { background: #f3f8f7; }
.davidad-home h2 { max-width: 660px; margin: 0; color: #15283b; font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.15; }
.davidad-paths__grid, .davidad-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.davidad-path { display: flex; min-height: 278px; flex-direction: column; padding: 28px; border: 1px solid #d7e4e2; border-radius: 6px; background: #ffffff; color: #15283b; text-decoration: none; }
.davidad-path--featured { border-color: #176d75; background: #176d75; color: #ffffff; }
.davidad-path > span { color: #176d75; font-size: 13px; font-weight: 600; }
.davidad-path--featured > span { color: #ccebe4; }
.davidad-path h3 { margin: 34px 0 10px; font-size: 24px; font-weight: 600; }
.davidad-path p { margin: 0; color: #526576; font-size: 15px; line-height: 1.65; }
.davidad-path--featured p { color: #e2f1ef; }
.davidad-path strong { margin-top: auto; padding-top: 22px; color: #0b5360; font-size: 14px; }
.davidad-path--featured strong { color: #ffffff; }

/* ---- Articles ---- */
.davidad-home__articles { background: #ffffff; }
.davidad-home__articles-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.davidad-text-link { color: #0b5360; font-size: 15px; font-weight: 600; text-decoration: none; }
.davidad-text-link::after { margin-left: 8px; content: "→"; }
.davidad-article-card { overflow: hidden; border: 1px solid #dce5e9; border-radius: 6px; background: #ffffff; }
.davidad-article-card__image { display: grid; min-height: 170px; place-items: center; background: #e9f2ef; color: #176d75; font-size: 15px; font-weight: 600; text-decoration: none; }
.davidad-article-card__image img { width: 100%; height: 200px; object-fit: cover; }
.davidad-article-card__body { padding: 22px; }
.davidad-article-card__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #6a7b89; font-size: 13px; }
.davidad-article-card h3 { margin: 8px 0 18px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.davidad-article-card h3 a { color: #15283b; text-decoration: none; }
.davidad-empty-state { margin: 42px 0 0; color: #526576; }

/* ---- About ---- */
.davidad-about { background: #f7f9fb; }
.davidad-about__grid { grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1fr); }
.davidad-about__index { margin: 0; color: #176d75; font-size: clamp(48px, 7vw, 96px); font-weight: 600; line-height: 1; }
.davidad-about__grid h2 { margin-bottom: 22px; }
.davidad-about__grid div > p:not(.davidad-eyebrow) { max-width: 650px; margin: 0 0 24px; color: #526576; font-size: 17px; line-height: 1.75; }

@media screen and (max-width: 850px) {
	.davidad-hero { padding: 76px 0 64px; }
	.davidad-hero__grid, .davidad-about__grid { grid-template-columns: 1fr; gap: 42px; }
	.davidad-hero__method { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.davidad-method-card { padding: 18px; }
}
@media screen and (max-width: 680px) {
	.davidad-shell { width: min(100% - 32px, 1120px); }
	.davidad-hero h1 { font-size: 42px; }
	.davidad-hero__method, .davidad-paths__grid, .davidad-article-grid { grid-template-columns: 1fr; }
	.davidad-home__articles-head { align-items: start; flex-direction: column; }
	.davidad-paths, .davidad-home__articles, .davidad-about { padding: 64px 0; }
}
