/* ------------------------------------------------------
   Manage Your Life - brand layer over Gatsby "App Showcase" (home_v4)
   Loaded after css/style.css. Gatsby's own sky blue (#28abe3) and
   charcoal (#2c3035) were already swapped in style.css for brand blue
   (#244a63) and ink (#273e4c); this file handles the rest.
------------------------------------------------------ */

:root{
	--paper: #f6f3ed;
	--card: #fffefa;
	--ink: #273e4c;
	--blue: #244a63;
	--blue-deep: #1b384b;
	--muted: #69756f;
	--gold: #b58b50;
	--gold-soft: #e9dcc6;
	--soft: #edf0e8;
	--rule: #d9d3c6;
	--serif: 'Crimson Text', Georgia, 'Times New Roman', serif;
	--sans: 'Raleway', 'Segoe UI', Arial, sans-serif;
}

html, body{ overflow-x: hidden; }

/* Gatsby sets serif body + sans headings; we swap the roles:
   serif display headings, clean sans body. Labels, nav, buttons stay Raleway caps (Gatsby signature). */
body{
	font: 400 17px/28px var(--sans);
	color: var(--muted);
	background-color: var(--paper);
}
.gt-wide-layout-type{ background-color: var(--paper); }

h1, h2, h3,
.gt-title-underline{
	font-family: var(--serif);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0;
}
h2.gt-title-underline{ font-size: 46px; line-height: 1.1; }
.gt-sub-title{ font-size: 18px; line-height: 30px; color: var(--muted); }
h6{ color: var(--ink); letter-spacing: 1.5px; }

.gt-title-underline::after,
.gt-counters-holder.gt-type-1 .gt-counter::after{ background-color: var(--gold); }

a{ color: var(--blue); }

/* ---------- option tag ---------- */
.mylife-option-tag{
	position: fixed; z-index: 9999; left: 12px; bottom: 12px;
	display: flex; align-items: center; gap: 10px;
	padding: 6px 8px 6px 12px;
	font: 700 11px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase;
	color: #fff; background: var(--gold); border-radius: 20px;
	box-shadow: 0 4px 14px rgba(39, 62, 76, .25);
}
.mylife-option-tag button{
	border: 0; background: rgba(255,255,255,.25); color: #fff; cursor: pointer;
	width: 20px; height: 20px; border-radius: 50%; font: 700 12px/20px var(--sans); padding: 0;
}

/* ---------- header (Gatsby header style 3, transparent + sticky) ---------- */
.mylife-wordmark{
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 24px/1 var(--serif); color: var(--ink) !important; white-space: nowrap;
}
.mylife-wordmark .mark{
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--blue); color: #fff; display: inline-grid; place-items: center;
	font: 700 13px/1 var(--sans); letter-spacing: .5px;
	box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 4px var(--gold);
}
.gt-header.gt-type-3.gt-transparent .gt-navigation > li > a{ color: var(--ink); }
.gt-header .gt-navigation > li > a{ font-size: 13px; letter-spacing: 1px; }
.gt-header .gt-navigation > li.gt-current > a,
.gt-header .gt-navigation > li > a:hover{ color: var(--gold) !important; }
.gt-header.gt-type-3.gt-transparent.gt-over .gt-sticked,
.gt-sticked{ background-color: rgba(246, 243, 237, .97) !important; box-shadow: 0 1px 0 var(--rule); }
.gt-header .gt-btn-3.gt-small{ padding: 9px 22px 8px; font-size: 12px; white-space: nowrap; }
.gt-nav-btn::before{ content: '\f0c9'; font-family: 'FontAwesome'; font-size: 26px; }
.gt-nav-btn{ color: var(--ink); }
.gt-toggle-nav{ color: var(--ink); }

/* ---------- buttons ---------- */
.gt-btn-3.gt-gold{ background-color: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }
.gt-btn-3.gt-gold:hover{ background-color: transparent !important; color: var(--gold) !important; }
.gt-btn-3.gt-reverse.gt-ink{ border-color: var(--ink); color: var(--ink) !important; }
.gt-btn-3.gt-reverse.gt-ink:hover{ background: var(--ink) !important; color: #fff !important; }

/* ---------- hero: recreates the slide_08 composition (light field + diagonal colour block + devices) ---------- */
.mylife-hero{
	position: relative; overflow: hidden;
	background: var(--paper);
	padding: 150px 0 110px;
	min-height: 760px;
}
.mylife-hero::before{
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
	clip-path: polygon(100% 0, 100% 100%, 30% 100%);
}
.mylife-hero::after{
	content: ""; position: absolute; inset: 0;
	background: var(--gold);
	clip-path: polygon(100% 0, 100% 7%, 36% 100%, 30% 100%);
	opacity: .9;
}
.mylife-hero .container{ position: relative; z-index: 2; }
.mylife-hero .hero-row{ display: flex; align-items: center; gap: 40px; }
.mylife-hero .hero-copy{ flex: 0 0 42%; }
.mylife-hero .hero-visual{ flex: 1 1 auto; position: relative; }
.mylife-eyebrow{
	display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase;
	color: var(--gold); margin-bottom: 22px;
}
.mylife-hero h1{
	font-size: 62px; line-height: 1.02; margin-bottom: 26px; color: var(--ink);
}
.mylife-hero h1 em{ font-style: italic; color: var(--blue); }
.mylife-hero .lead{ font-size: 19px; line-height: 31px; color: var(--muted); margin-bottom: 36px; }
.mylife-hero .gt-hr-btns-set .gt-btn-3.gt-large{ padding-left: 38px; padding-right: 38px; }
.mylife-hero .tagline{ margin-top: 30px; font: italic 20px/1.4 var(--serif); color: var(--ink); }

/* laptop / device frame for the real Planner Studio screenshot */
.mylife-device{ position: relative; margin: 0 auto; max-width: 760px; }
.mylife-device .screen{
	background: #16232c; border-radius: 16px 16px 0 0; padding: 12px 12px 14px;
	box-shadow: 0 30px 60px rgba(10, 25, 35, .35);
}
.mylife-device .screen .bar{ display: flex; gap: 6px; padding: 0 0 9px 4px; }
.mylife-device .screen .bar i{ width: 8px; height: 8px; border-radius: 50%; background: #3b4e5b; display: block; }
.mylife-device .screen .bar span{
	margin-left: 10px; flex: 1; max-width: 260px; height: 9px; border-radius: 5px; background: #2b3b46;
	font: 600 8px/9px var(--sans); color: #8aa0ad; padding-left: 8px; letter-spacing: .5px;
}
.mylife-device img{ display: block; width: 100%; height: auto; border-radius: 3px; }
.mylife-device .base{
	height: 16px; margin: 0 -7%; border-radius: 0 0 14px 14px;
	background: linear-gradient(#cfd4d6, #9aa3a8); position: relative;
}
.mylife-device .base::before{
	content: ""; position: absolute; left: 50%; top: 0; width: 16%; margin-left: -8%; height: 6px;
	border-radius: 0 0 8px 8px; background: #8a9398;
}

/* small paper card floating over the hero device (like the stacked devices in the original slide) */
.mylife-float-log{
	position: absolute; left: -46px; bottom: -40px; width: 190px; z-index: 3;
	background: var(--card); border-radius: 4px; padding: 14px 14px 12px;
	box-shadow: 0 18px 40px rgba(10, 25, 35, .3); transform: rotate(-5deg);
}
.mylife-float-log b{ display: block; font: 700 9px/1 var(--sans); letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; }
.mylife-float-log strong{ display: block; font: 600 17px/1.2 var(--serif); color: var(--ink); margin: 5px 0 8px; }
.mylife-float-log span{ display: block; height: 11px; border-bottom: 1px solid var(--rule); }
.mylife-float-log span:nth-child(odd){ background: rgba(237, 240, 232, .6); }

/* ---------- sections ---------- */
.mylife-page .gt-section{ padding-top: 110px; padding-bottom: 110px; }
.gt-bg-color2 .gt-bg-element{ background-color: var(--blue); }
.gt-bg-soft .gt-bg-element{ background-color: var(--soft); }
.gt-bg-card .gt-bg-element{ background-color: var(--card); }
.gt-bg-color2 .gt-title-underline, .gt-bg-color2 h2, .gt-bg-color2 h3{ color: #fff; }
.gt-bg-color2 .gt-sub-title, .gt-bg-color2 p{ color: rgba(255,255,255,.8); }

/* icon boxes (style 4) */
.gt-icon-box.gt-type-4 .gt-icon-wrap{ background-color: var(--blue); box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 5px rgba(181, 139, 80, .9); font-size: 44px; }
.gt-icon-box.gt-type-4 p{ font-size: 16px; line-height: 26px; }
.mylife-page .gt-content-element + .gt-content-element{ margin-top: 30px; }
.mylife-page .gt-icon-box{ margin-bottom: 20px; }

/* counters band */
.gt-bg-color2 .gt-counter{ color: rgba(255,255,255,.85); font-size: 14px; }
.gt-bg-color2 .gt-counter::before{ color: #fff; font-family: var(--serif); font-weight: 600; }
.mylife-counter-note{ text-align: center; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.65) !important; }

/* tabs (style 1, product-features) */
.gt-tabs-holder.gt-type-1 .gt-tabs-nav > li > a{ font-size: 13px; letter-spacing: 1.5px; }
.gt-tabs-holder.gt-type-1 .gt-tabs-nav > li > a{ padding-left: 34px; padding-right: 34px; }
.gt-list.gt-type-3 > li::before{ background-color: var(--gold); }
.gt-list.gt-type-3 > li{ font-size: 17px; line-height: 28px; color: var(--ink); }
.gt-list.gt-type-3 > li strong{ font-weight: 700; }
.gt-features-list h3{ font-size: 32px; margin-bottom: 8px; }
.gt-features-list > p{ margin-bottom: 26px; }
.gt-features-list .gt-btn-3{ margin-top: 30px; }
.gt-product-features .mylife-device{ max-width: 560px; }

/* logbook page stack (Mileage Logs tab) */
.mylife-page-stack{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 520px; margin: 0 auto; }
.mylife-mini-page{
	background: var(--card); border: 1px solid var(--rule); border-radius: 3px; aspect-ratio: 6 / 9;
	padding: 12px 10px; box-shadow: 0 8px 22px rgba(39, 62, 76, .12); position: relative; overflow: hidden;
}
.mylife-mini-page b{ display: block; font: 700 8px/1.2 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.mylife-mini-page i{ display: block; height: 7px; border-bottom: 1px solid var(--rule); }
.mylife-mini-page i.hd{ background: var(--soft); border-bottom-color: var(--ink); }
.mylife-mini-page .grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mylife-mini-page .grid em{ display: block; height: 22px; border: 1px solid var(--rule); background: var(--paper); }
.mylife-mini-page .big{ font: 600 20px/1 var(--serif); color: var(--ink); margin: 10px 0 6px; }
.mylife-mini-page.cover{ background: var(--blue); border-color: var(--blue); }
.mylife-mini-page.cover b{ color: var(--gold-soft); }
.mylife-mini-page.cover .big{ color: #fff; font-size: 18px; line-height: 1.1; }
.mylife-mini-page.cover i{ border-color: rgba(255,255,255,.25); }

/* call-out style 4: mileage log books */
.gt-call-out.gt-type-4 .gt-text-section h2{ font-size: 46px; line-height: 1.08; margin-bottom: 18px; }
.gt-call-out.gt-type-4 .gt-text-section p{ font-size: 17px; line-height: 28px; }
.mylife-badge{
	display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: 1.5px; text-transform: uppercase;
	color: #fff; background: var(--gold); padding: 7px 12px; border-radius: 14px; margin-bottom: 18px;
}
.mylife-mini-list{ list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.mylife-mini-list li{ font-size: 15px; line-height: 22px; color: var(--ink); padding-left: 20px; position: relative; }
.mylife-mini-list li::before{ content: "\f00c"; font-family: 'FontAwesome'; color: var(--gold); position: absolute; left: 0; font-size: 12px; }
.mylife-fineprint{ font-size: 13px !important; line-height: 20px !important; color: var(--muted); font-style: italic; }

/* printed mileage log page (HTML/CSS mock) */
.mylife-log{
	background: var(--card); color: var(--ink); border-radius: 3px; padding: 28px 28px 22px;
	box-shadow: 0 1px 0 var(--rule), 0 24px 50px rgba(39, 62, 76, .18);
	position: relative; transform: rotate(1.2deg); max-width: 580px; margin-left: auto;
	background-image: linear-gradient(90deg, transparent 0 22px, rgba(181, 139, 80, .25) 22px 23px, transparent 23px);
}
.mylife-log::after{ /* page underneath */
	content: ""; position: absolute; inset: 8px -8px -8px 8px; background: #f1ede4; z-index: -1; border-radius: 3px;
	box-shadow: 0 10px 30px rgba(39, 62, 76, .12);
}
.mylife-log header{ display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 10px; }
.mylife-log header h4{ font: 600 26px/1 var(--serif); margin: 0; color: var(--ink); text-transform: none; letter-spacing: 0; }
.mylife-log header small{ font: 700 10px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); text-align: right; }
.mylife-log .meta{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.mylife-log .meta div{ font: 700 9px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 5px; }
.mylife-log .meta div span{ font: 400 16px/1 'Caveat', cursive; letter-spacing: 0; text-transform: none; color: var(--blue); margin-left: 6px; }
.mylife-log table{ width: 100%; border-collapse: collapse; table-layout: fixed; }
.mylife-log th{
	font: 700 8.5px/1.2 var(--sans); letter-spacing: .6px; text-transform: uppercase; color: #fff;
	background: var(--blue); padding: 6px 5px; text-align: left; vertical-align: bottom;
}
.mylife-log td{
	height: 26px; border-bottom: 1px solid var(--rule); border-right: 1px solid #ebe6db; padding: 0 5px;
	font: 400 16px/1 'Caveat', cursive; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mylife-log td:last-child{ border-right: 0; }
.mylife-log tbody tr:nth-child(even) td{ background: rgba(237, 240, 232, .55); }
.mylife-log tfoot td{ font: 700 9px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); background: var(--soft); }
.mylife-log tfoot td.num{ font: 400 17px/1 'Caveat', cursive; color: var(--blue); letter-spacing: 0; text-transform: none; }
.mylife-log .foot{ display: flex; justify-content: space-between; margin-top: 10px; font: 600 9px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.mylife-log th.c-date{ width: 11%; } .mylife-log th.c-odo{ width: 12%; } .mylife-log th.c-mi{ width: 9%; }
.mylife-log th.c-dest{ width: 20%; } .mylife-log th.c-purp{ width: 24%; } .mylife-log th.c-toll{ width: 12%; }

/* samples gallery: CSS book covers */
.mylife-covers{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.mylife-cover-item{ text-align: center; }
.mylife-book{
	position: relative; aspect-ratio: 6 / 9; border-radius: 2px 6px 6px 2px; padding: 24px 20px 20px 30px;
	display: flex; flex-direction: column; justify-content: space-between; text-align: left;
	box-shadow: inset 8px 0 0 rgba(0,0,0,.12), inset 10px 0 0 rgba(255,255,255,.12), 0 16px 30px rgba(39, 62, 76, .22);
	transition: transform .3s ease, box-shadow .3s ease;
	color: #fff; overflow: hidden;
}
.mylife-book:hover{ transform: translateY(-6px); box-shadow: inset 8px 0 0 rgba(0,0,0,.12), inset 10px 0 0 rgba(255,255,255,.12), 0 24px 40px rgba(39, 62, 76, .28); }
.mylife-book .yr{ font: 700 11px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; opacity: .85; }
.mylife-book .ttl{ font: 600 30px/1.02 var(--serif); }
.mylife-book .rule{ width: 36px; height: 3px; background: currentColor; opacity: .7; margin-top: 12px; }
.mylife-book .brand{ font: 600 9px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; opacity: .7; }
.mylife-book.b1{ background: var(--blue); }
.mylife-book.b2{ background: #f3ece0; color: var(--ink); box-shadow: inset 8px 0 0 rgba(0,0,0,.06), 0 16px 30px rgba(39, 62, 76, .18); }
.mylife-book.b2 .rule{ background: var(--gold); opacity: 1; }
.mylife-book.b3{ background: var(--ink); }
.mylife-book.b3 .ttl{ font-size: 44px; }
.mylife-book.b4{ background: #7d8f74; }
.mylife-book.b5{ background: var(--gold); }
.mylife-book.b6{ background: var(--soft); color: var(--ink); box-shadow: inset 8px 0 0 rgba(0,0,0,.05), 0 16px 30px rgba(39, 62, 76, .16); }
.mylife-book.b6::after{ content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(181, 139, 80, .35); }
.mylife-book.b7{ background: #1d2b35; }
.mylife-book.b7::before{
	content: ""; position: absolute; left: 30px; right: 20px; top: 46%; height: 34px;
	background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px); height: 3px; opacity: .8;
}
.mylife-book.b8{ background: transparent; border: 2px dashed var(--rule); box-shadow: none; color: var(--muted); align-items: center; justify-content: center; text-align: center; }
.mylife-book.b8:hover{ box-shadow: none; }
.mylife-book.b8 .ttl{ font-size: 24px; color: var(--ink); }
.mylife-cover-item h6{ margin-top: 20px; margin-bottom: 4px; font-size: 13px; }
.mylife-cover-item p{ font-size: 14px; line-height: 20px; }

/* how it works (icon box style 5, numbered) */
.gt-icon-box.gt-type-5{ text-align: center; }
.gt-icon-box.gt-type-5 .gt-icon-wrap{
	width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; border: 2px solid var(--gold);
	font: 600 44px/92px var(--serif); color: var(--blue);
}
.mylife-steps{ position: relative; }
.mylife-steps::before{
	content: ""; position: absolute; top: 48px; left: 22%; right: 22%; border-top: 2px dotted var(--gold); opacity: .6;
}
.mylife-steps .gt-icon-box .gt-icon-wrap{ background: var(--paper); position: relative; }

/* closing CTA (Gatsby "Get the app now" social area) */
.gt-social-area .gt-title{ font-size: 50px; line-height: 1.1; margin-bottom: 18px; }
.mylife-cta-sub{ font: italic 22px/1.4 var(--serif) !important; color: var(--ink) !important; margin-bottom: 34px !important; }
.mylife-cta-note{ margin-top: 26px; font-size: 14px; }

/* footer (Gatsby footer style 3) */
.gt-footer.gt-type-3{ background: var(--ink) !important; }
.gt-footer .mylife-wordmark{ color: #fff !important; }
.gt-footer .gt-sub-nav > li > a{ color: rgba(255,255,255,.8); }
.gt-footer .gt-sub-nav > li > a:hover{ color: var(--gold); }
.gt-footer .mylife-sister{ text-align: right; font-size: 13px; line-height: 22px; color: rgba(255,255,255,.6); }
.gt-footer .mylife-sister a{ color: #fff; font-weight: 600; }
.gt-footer .mylife-sister a:hover{ color: var(--gold); }
.gt-footer .gt-copyright{ color: rgba(255,255,255,.55); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px){
	.mylife-hero h1{ font-size: 52px; }
	.gt-header .gt-navigation > li{ margin-left: 10px !important; margin-right: 10px !important; }
}
@media (max-width: 991px){
	.mylife-hero{ padding: 130px 0 90px; min-height: 0; }
	.mylife-hero .hero-row{ flex-direction: column; align-items: stretch; }
	.mylife-hero .hero-copy{ flex: none; }
	.mylife-hero::before{ clip-path: polygon(100% 38%, 100% 100%, 0 100%, 0 72%); }
	.mylife-hero::after{ clip-path: polygon(100% 34%, 100% 38%, 0 72%, 0 68%); }
	.mylife-hero .hero-visual{ margin-top: 30px; padding: 0 20px; }
	.mylife-float-log{ left: 0; }
	.mylife-covers{ grid-template-columns: repeat(3, 1fr); }
	.mylife-log{ margin: 40px auto 0; }
	.mylife-steps::before{ display: none; }
	.gt-footer .mylife-sister{ text-align: center; margin-top: 20px; }
}
@media (max-width: 767px){
	.mylife-page .gt-section{ padding-top: 70px; padding-bottom: 70px; }
	h2.gt-title-underline, .gt-call-out.gt-type-4 .gt-text-section h2, .gt-social-area .gt-title{ font-size: 36px; }
	.gt-title-underline:not(:last-child){ margin-bottom: 50px; }
	.gt-sub-title{ padding-left: 0; padding-right: 0; }
	.gt-title-underline + .gt-sub-title{ margin-top: -28px; }
	.mylife-hero{ padding: 110px 0 70px; }
	.mylife-hero h1{ font-size: 40px; }
	.mylife-hero .lead{ font-size: 17px; line-height: 28px; }
	.mylife-hero .gt-hr-btns-set .gt-btn-3.gt-large{ display: block; text-align: center; padding-left: 20px; padding-right: 20px; }
	.mylife-float-log{ width: 130px; bottom: -34px; padding: 10px; }
	.mylife-float-log strong{ font-size: 14px; }
	.mylife-device .screen{ padding: 7px 7px 8px; border-radius: 10px 10px 0 0; }
	.mylife-device .base{ height: 10px; }
	.mylife-covers{ grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
	.mylife-book{ padding: 16px 12px 14px 20px; }
	.mylife-book .ttl{ font-size: 22px; }
	.mylife-book.b3 .ttl{ font-size: 30px; }
	.mylife-mini-list{ grid-template-columns: 1fr; }
	.mylife-log{ padding: 18px 14px 14px; transform: none; }
	.mylife-log header h4{ font-size: 20px; }
	.mylife-log .meta{ grid-template-columns: 1fr 1fr; }
	.mylife-log .meta div:first-child{ grid-column: 1 / -1; }
	.mylife-log .hide-sm{ display: none; }
	.mylife-log th.c-dest{ width: 30%; } .mylife-log th.c-purp{ width: 34%; }
	.mylife-log td{ font-size: 14px; }
	.mylife-page-stack{ gap: 10px; }
	.mylife-mini-page{ padding: 8px 6px; }
	.gt-tabs-holder.gt-type-1 .gt-tabs-nav > li > a{ padding-left: 16px; padding-right: 16px; }
	.gt-features-list{ margin-top: 30px; }
	.mylife-option-tag{ font-size: 9px; }
}

/* ---------- fixes after first preview ---------- */
/* option tag: top of page, hanging tab */
.mylife-option-tag{ top: 0; bottom: auto; left: 50%; transform: translateX(-50%); border-radius: 0 0 12px 12px; padding: 5px 6px 6px 12px; }

/* header: keep nav on one line; the v4 reveal toggle is dropped in favour of an always-visible nav */
.gt-header .gt-toggle-nav{ display: none !important; }
@media (min-width: 992px){
	.gt-header .gt-t-row-md > .col-lg-3:first-child{ width: 22%; }
	.gt-header .gt-t-row-md > .col-lg-6{ width: 56%; }
	.gt-header .gt-t-row-md > .col-lg-3:last-child{ width: 22%; }
	.gt-header .gt-navigation{ white-space: nowrap; }
	.gt-header .gt-navigation > li{ margin-left: 14px !important; margin-right: 14px !important; }
}
@media (min-width: 992px) and (max-width: 1200px){
	.gt-header .gt-navigation > li{ margin-left: 8px !important; margin-right: 8px !important; }
	.gt-header .gt-navigation > li > a{ font-size: 11px; }
	.mylife-wordmark{ font-size: 20px; }
}

/* call-out style 4 on a light card background: ink text instead of Gatsby's white */
.gt-call-out.gt-bg-card{ color: var(--muted); font-size: 17px; line-height: 28px; }
.gt-call-out.gt-bg-card h2, .gt-call-out.gt-bg-card h4{ color: var(--ink); }
.gt-call-out [class*="gt-btn"]{ min-width: 0; }

/* social-area paragraphs are uppercase in Gatsby; keep our italic serif line */
.gt-social-area p.mylife-cta-sub{ text-transform: none; }
.gt-social-area p.mylife-cta-note{ text-transform: none; font: 400 15px/1.5 var(--sans); color: var(--muted); }

/* contact form under the closing CTA */
.mylife-contact{ max-width: 560px; margin: 30px auto 0; text-align: left; }
.mylife-contact label{ display: block; margin-bottom: 6px; font: 600 14px/1.4 var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; }
.mylife-contact input, .mylife-contact textarea{
	display: block; width: 100%; margin-bottom: 18px; padding: 12px 14px;
	border: 1px solid var(--rule); border-radius: 4px; background: var(--card);
	font: 400 16px/1.5 var(--sans); color: var(--ink);
}
.mylife-contact input:focus, .mylife-contact textarea:focus{ outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.mylife-contact textarea{ min-height: 150px; resize: vertical; }
.mylife-contact button[disabled]{ opacity: .6; cursor: wait; }
.mylife-hp{ position: absolute; left: -9999px; top: -9999px; }
.gt-social-area p.mylife-contact-status{ min-height: 24px; margin-top: 16px; text-transform: none; font: 600 15px/1.5 var(--sans); }
.mylife-contact-status.is-ok{ color: var(--blue); }
.mylife-contact-status.is-error{ color: #a3342b; }

/* mileage cover: road dashes below the title */
.mylife-book.b7::before{ top: auto; bottom: 22%; }
.mylife-log::after{ display: none; }
.mylife-log{ box-shadow: 9px 9px 0 -1px #efe9dd, 9px 9px 0 0 var(--rule), 0 24px 50px rgba(39, 62, 76, .18); }
.mylife-hero .gt-hr-btns-set .gt-btn-3.gt-large{ padding-left: 30px; padding-right: 30px; }
.gt-footer::before{ background-color: transparent; }
.gt-header.gt-transparent.gt-over{ background: var(--paper) !important; color: var(--ink); }
.gt-social-area .gt-title{ margin-bottom: 14px !important; }

@media (max-width: 991px){
	.gt-header .gt-hs-medium{ padding-top: 14px; padding-bottom: 14px; padding-left: 16px !important; padding-right: 16px !important; }
	.gt-header .gt-t-row-md{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.gt-header .gt-t-row-md > [class*="col-"]{ width: auto; float: none; padding: 0; text-align: left; }
	.gt-header .gt-t-row-md > .col-lg-6{ order: 3; flex: 0 0 auto; }
	.gt-header .gt-t-row-md > .col-lg-3:last-child{ order: 2; margin-left: auto; margin-right: 12px; }
	.gt-header .gt-nav-btn{ display: block; }
	.mylife-hero::before{ clip-path: polygon(100% 64%, 100% 100%, 0 100%, 0 84%); }
	.mylife-hero::after{ clip-path: polygon(100% 61%, 100% 64%, 0 84%, 0 81%); }
}
@media (max-width: 767px){
	.gt-header .gt-t-row-md > .col-lg-3:last-child{ display: none; }
	.mylife-wordmark{ font-size: 20px; }
	.mylife-device .base{ margin: 0 -3%; }
	.gt-counters-holder.gt-type-1{ display: flex; flex-wrap: wrap; }
	.gt-counters-holder.gt-type-1 .gt-counter{ width: 50% !important; flex: 0 0 50%; margin-top: 90px; }
	.gt-call-out.gt-bg-card .mylife-mini-list{ text-align: left; max-width: 300px; margin-left: auto; margin-right: auto; }
	.mylife-log th.c-date{ width: 16%; } .mylife-log th.c-mi{ width: 12%; }
	.mylife-log th.c-dest{ width: 32%; } .mylife-log th.c-purp{ width: 40%; }
}
.mylife-log{ text-align: left; }
@media (max-width: 991px){
	.gt-header, .gt-header .gt-hs-medium, .gt-header .gt-sticky{ background-color: rgba(246, 243, 237, .97) !important; box-shadow: 0 1px 0 var(--rule); }
}
@media (max-width: 767px){
	.gt-flexbox .gt-page-content-wrap.gt-no-sidebar .gt-counters-holder[class*="gt-cols-"] .gt-counter{ flex: 0 0 50% !important; max-width: 50%; -webkit-flex-basis: 50% !important; }
}
.mylife-option-tag{ white-space: nowrap; }
@media (max-width: 991px){
	.gt-header .gt-hs-medium{ position: relative; }
	.gt-header .gt-t-row-md > .col-lg-6, .gt-header .gt-t-row-md > .col-lg-6 *:not(.gt-navigation):not(li):not(a){ position: static !important; }
	.gt-header .gt-t-row-md > .col-lg-6{ order: 3; }
	.gt-header .gt-navigation{
		position: absolute !important; left: 0; right: 0; top: 100%;
		background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 10px 20px rgba(39, 62, 76, .12);
		text-align: center; padding: 8px 0 14px;
	}
	.gt-header .gt-nav-btn.gt-active{ color: var(--gold); }
}
@media (max-width: 480px){
	.mylife-option-tag{ font-size: 9px; letter-spacing: .5px; padding: 4px 5px 5px 10px; }
	.mylife-option-tag button{ width: 16px; height: 16px; line-height: 16px; }
}
@media (max-width: 767px){ .gt-counters-holder.gt-type-1 .gt-counter{ margin-top: 120px !important; } .gt-counters-holder.gt-type-1{ margin-top: -40px; } }
.gt-footer .gt-sub-nav{ white-space: nowrap; } .gt-footer .gt-sub-nav > li{ margin-left: 10px !important; margin-right: 10px !important; } .gt-footer .gt-sub-nav > li > a{ font-size: 13px; }
@media (max-width: 767px){ .gt-footer .gt-sub-nav{ white-space: normal; } }

/* ---------- mileage log book shelf (cards built by js/books.js) ---------- */
.mylife-shelf{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 26px; }
.mylife-shelf-item{ display: flex; flex-direction: column; text-align: center; }
.mylife-shelf-item .mylife-book .ttl{ font-size: 24px; }
.mylife-shelf-item h6{ margin: 20px 0 4px; font-size: 13px; }
.mylife-shelf-item p{ font-size: 14px; line-height: 20px; }
.mylife-shelf-meta{ color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.mylife-shelf-actions{ margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mylife-soon{ background: transparent !important; border-color: var(--rule) !important; color: var(--muted) !important; cursor: default; }
.mylife-shelf-look{ font-size: 13px; font-weight: 600; text-decoration: underline; }
.mylife-shelf-note{ text-align: center; margin-top: 30px; }
@media (max-width: 1199px){ .mylife-shelf{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px){
	.mylife-shelf{ grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
	.mylife-shelf-item .mylife-book .ttl{ font-size: 20px; }
}
.mylife-shelf-actions .gt-btn-3{ padding-left: 16px; padding-right: 16px; }
@media (max-width: 767px){ .mylife-shelf-actions .gt-btn-3{ font-size: 11px; padding: 10px 10px; } }
