/* BGW Diary — the page before you have a journal.
   Site tokens throughout, so this belongs to the site rather than looking like an app
   that wandered in. Buttons follow the house rule: rectangular, radius 8, never pills. */

.bgwdl {
	font-family: 'Inter', -apple-system, sans-serif;
	color: var(--text, #1a1714);
	margin: 0 0 10px;
}
.bgwdl h1, .bgwdl h2, .bgwdl h3 {
	font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--text, #1a1714);
	margin: 0;
}
.bgwdl p { margin: 0; }

.bgwdl-eyebrow {
	font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--accent, #9b2f2c); margin: 0 0 14px !important;
}

/* ---------- hero ---------- */
.bgwdl-hero {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(30px, 5vw, 70px); align-items: center;
	padding: clamp(30px, 6vw, 78px) 0 clamp(40px, 6vw, 84px);
}
.bgwdl-hero h1 {
	font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.015em;
	margin: 0 0 20px;
}
.bgwdl-lead {
	font-size: 17px; line-height: 1.65; color: var(--text2, #4a443d); max-width: 34em;
}
.bgwdl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.bgwdl-cta .bgwd-btn { padding: 13px 26px; font-size: 15px; text-decoration: none; }
.bgwdl-fine { font-size: 13px; color: var(--text2, #4a443d); opacity: .8; }

/* Small facts under the buttons, in place of the review counts we have not earned. */

.bgwdl-shotwrap { margin-right: 8px; }

/* kept for the old drawn card, still used nowhere but harmless to leave defined */
.bgwdl-shot {
	background: var(--bg, #faf7f2); border: 1px solid var(--line2, rgba(26,23,20,.14));
	border-radius: 16px; overflow: hidden;
	/* Soft, and almost entirely downward. The page is clipped at the edge of the content
	   column, so a wide shadow gets sliced off at the right no matter where the card
	   sits. Little sideways spill, plus room to spare, means it cannot happen. */
	box-shadow: 0 14px 30px rgba(26,23,20,.09);
	transform: rotate(-1.1deg);
	margin-right: 52px;
}
.bgwdl-shot-bar {
	display: flex; gap: 6px; padding: 12px 15px;
	border-bottom: 1px solid var(--line2, rgba(26,23,20,.1));
	background: var(--surface, rgba(26,23,20,.04));
}
.bgwdl-shot-bar span {
	width: 9px; height: 9px; border-radius: 50%;
	background: color-mix(in srgb, currentColor 18%, transparent);
}
.bgwdl-shot-body { padding: 24px 26px 20px; }
.bgwdl-shot-date {
	font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--text2, #4a443d); margin: 0 0 8px !important;
}
.bgwdl-shot-title {
	font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600;
	line-height: 1.25; margin: 0 0 18px !important; color: var(--text, #1a1714);
}
.bgwdl-lines { display: flex; flex-direction: column; gap: 10px; }
.bgwdl-lines span {
	display: block; height: 9px; border-radius: 5px;
	background: color-mix(in srgb, currentColor 15%, transparent);
}
/* A photograph, a photograph and a recording, the way an entry actually looks. */
.bgwdl-shot-media { display: flex; gap: 8px; margin: 16px 0; }
.bgwdl-pic {
	flex: 1 1 0; height: 62px; border-radius: 8px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #9b2f2c) 42%, transparent),
		color-mix(in srgb, currentColor 26%, transparent));
}
.bgwdl-pic:nth-child(2) {
	background: linear-gradient(135deg, color-mix(in srgb, currentColor 30%, transparent),
		color-mix(in srgb, var(--accent, #9b2f2c) 22%, transparent));
}
.bgwdl-wave {
	flex: 0 0 74px; height: 62px; border-radius: 8px;
	background: color-mix(in srgb, currentColor 8%, transparent);
	background-image: repeating-linear-gradient(90deg,
		color-mix(in srgb, currentColor 34%, transparent) 0 3px, transparent 3px 8px);
	background-size: 100% 26px; background-position: center; background-repeat: no-repeat;
}
.bgwdl-shot-foot {
	display: flex; align-items: center; gap: 8px; padding: 13px 26px 16px;
	border-top: 1px solid var(--line2, rgba(26,23,20,.1));
	font-size: 12.5px; font-weight: 600; color: var(--text2, #4a443d);
}
.bgwdl-lock {
	width: 11px; height: 13px; flex: 0 0 auto; background: currentColor;
	-webkit-mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10V7a5 5 0 0 1 10 0v3" fill="none" stroke="black" stroke-width="2.2"/><rect x="4" y="10" width="16" height="11" rx="2" fill="black"/></svg>');
	mask: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10V7a5 5 0 0 1 10 0v3" fill="none" stroke="black" stroke-width="2.2"/><rect x="4" y="10" width="16" height="11" rx="2" fill="black"/></svg>');
}

/* ---------- privacy, said once ---------- */
.bgwdl-dark {
	background: #1a1714; color: #f4efe6; border-radius: 18px;
	padding: clamp(34px, 5vw, 62px) clamp(24px, 4vw, 56px);
	margin: clamp(34px, 5vw, 62px) 0;
}
.bgwdl-dark h2 {
	color: #fff; font-size: clamp(25px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 14px;
}
.bgwdl-dark .bgwdl-eyebrow { color: #d98b7f; }
.bgwdl-dark-lead {
	font-size: 16px; line-height: 1.65; color: rgba(244,239,230,.76);
	margin: 0 0 30px !important;
	/* No column cap in here. It is one sentence, and capped at 46em it broke onto a
	   second line carrying two words. The picture below it sets the width. */
	max-width: none;
}
.bgwdl-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.bgwdl-row {
	padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.05);
	display: flex; align-items: center; gap: 9px;
}
.bgwdl-row b { font-size: 13.5px; line-height: 1.3; color: #fff; }

/* ---------- feature bands ---------- */
.bgwdl-band { padding: clamp(30px, 4.5vw, 56px) 0; }
.bgwdl-band:first-of-type { border-top: 1px solid var(--line2, rgba(26,23,20,.12)); }
.bgwdl-band h2 {
	font-size: clamp(25px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 30px; max-width: 20em;
}
.bgwdl-alt { border-top: 1px solid var(--line2, rgba(26,23,20,.12)); }
.bgwdl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.bgwdl-c {
	padding: 20px 22px; border-radius: 12px;
	background: var(--surface, rgba(26,23,20,.04));
	border: 1px solid var(--line2, rgba(26,23,20,.1));
	/* Icon beside the title, the words it belongs to lined up under the title
	   rather than under the icon. */
	display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px;
	align-content: start;
}
.bgwdl-c b {
	grid-column: 2; grid-row: 1;
	display: block; font-size: 15px; margin-bottom: 6px; color: var(--text, #1a1714);
}
.bgwdl-c i {
	font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; margin-left: 8px; padding: 2px 7px; border-radius: 5px;
	background: var(--accent, #9b2f2c); color: #fff; vertical-align: 2px;
}
/* A model reads these. Outlined rather than filled, so it marks the feature
   without competing with Paid, which is the one that costs something. */
.bgwdl-ai-t, .bgwdl-hero2-ail b .bgwdl-ai-t, .bgwdl-split h2 .bgwdl-ai-t {
	display: inline-block; font-style: normal; font-size: 9px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; line-height: 1;
	margin-left: 8px; padding: 3px 6px; border-radius: 5px; vertical-align: 3px;
	background: transparent; color: var(--accent, #9b2f2c);
	border: 1px solid color-mix(in srgb, var(--accent, #9b2f2c) 45%, transparent);
}
.bgwdl-split h2 .bgwdl-ai-t { font-size: 10px; vertical-align: 8px; margin-left: 10px; }
.bgwdl-row .bgwdl-ai-t { color: #e8a99e; border-color: rgba(232,169,158,.5); }

/* The shared sparkle, where this page puts it. The mark's own rules live in
   bgw-upgrade/assets/mark.css; these are only the places this page needs it a
   different size or a different colour, and the sparkle follows the colour on its
   own because it is drawn in currentColor. */
.bgwdl-split h2 .bgwu-ai { font-size: 10px; vertical-align: 6px; margin-left: 10px; }
.bgwdl-split h2 .bgwu-ai .bgwu-ai-s { width: 14px; height: 14px; }
.bgwdl-row .bgwu-ai,
.bgwdl-hero2-ail b .bgwu-ai {
	color: #e8a99e; border-color: rgba(232,169,158,.5);
}
.bgwdl-c span {
	grid-column: 2; grid-row: 2;
	display: block; font-size: 13.5px; line-height: 1.65; color: var(--text2, #4a443d);
}

/* The one thing people need told before they start, kept in plain sight. */
.bgwdl-catch {
	padding: 16px 18px; border-radius: 10px; margin-top: 18px !important;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	color: rgba(244,239,230,.86) !important;
	/* A boxed callout, not a column of prose, so it runs the full width of the
	   panel like the row of blocks under it. It was inheriting the lead's 46em. */
	max-width: none;
}
.bgwdl-catch b { color: #fff; }

/* ---------- closing ---------- */
.bgwdl-end { text-align: center; padding: clamp(44px, 6vw, 82px) 0 clamp(20px, 3vw, 34px); }
.bgwdl-end h2 { font-size: clamp(27px, 3.6vw, 40px); margin: 0 0 12px; }
.bgwdl-end p { font-size: 16px; color: var(--text2, #4a443d); margin: 0 0 26px !important; }
.bgwdl-end .bgwd-btn { padding: 14px 30px; font-size: 15px; text-decoration: none; }

@media (max-width: 860px) {
	.bgwdl-hero { grid-template-columns: 1fr; padding-top: 18px; }
	.bgwdl-shot { transform: none; order: 2; margin-right: 0; }
	.bgwdl-cta .bgwd-btn { flex: 1 1 auto; text-align: center; }
}
