/* My Bainisteoir landing */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); }
:root {
	--pitch: #145c38;
	--pitch-deep: #0d3f26;
	--chalk: #eef1ea;
	--white: #ffffff;
	--ink: #13201a;
	--muted: #4f5e55;
	--gold: #f2c230;
	--rule: #d5dcd3;
	--cond: 'Archivo', 'Arial', sans-serif;
	--body: 'Archivo', system-ui, sans-serif;
	--disp-stretch: 125%;
	--disp-track: -.025em;
	--wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pitch); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Calls to action: a full-width block with the action on the left and what to expect on the right. Secondary actions are plain links. */
.btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 460px; min-height: 64px; padding: 14px 22px; border: 0; border-radius: 0; font: 800 1.08rem/1.2 var(--cond); text-align: left; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn small { font: 400 .9rem/1.3 var(--body); font-stretch: 100%; opacity: .78; text-align: right; }
.btn-light { background: var(--white); color: var(--pitch-deep); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-green { background: var(--pitch); color: var(--white); }
.btn-green:hover { background: var(--pitch-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--white); }
button.btn { max-width: 280px; }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link-light { color: var(--white); text-decoration-color: var(--gold); }
.link-light:hover { text-decoration-thickness: 3px; }
.nav-login a { font-weight: 600; }

/* Header */
.top { position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid var(--rule); }
.top.on-pitch { position: absolute; left: 0; right: 0; top: 0; background: transparent; border: 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.3rem/1 var(--cond); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.on-pitch .brand { color: var(--white); }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-pitch .nav a { color: var(--white); }
.on-pitch .nav-login a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.on-pitch .nav-toggle { color: var(--white); }

/* Hero: the pitch */
.hero { position: relative; z-index: 2; background: radial-gradient(120% 90% at 20% 30%, #1a6b42 0%, var(--pitch) 45%, var(--pitch-deep) 100%); color: var(--white); padding: 150px 0 0; }
.pitch-clip { position: absolute; inset: 0; overflow: hidden; }
.pitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.pitch-lines { opacity: .26; }
.pitch-lines > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pitch-nums { opacity: .38; font: 700 2.6px var(--body); text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
	.pitch-lines > * { stroke-dashoffset: 1; animation: chalk 1.4s cubic-bezier(.6,0,.3,1) forwards; }
	.pitch-lines > :nth-child(2) { animation-delay: .25s; animation-duration: 1.8s; }
	.pitch-lines > :nth-child(n+3) { animation-delay: .7s; }
	.pitch-nums { opacity: 0; animation: nums .6s 1.4s forwards; }
}
@keyframes chalk { to { stroke-dashoffset: 0; } }
@keyframes nums { to { opacity: .38; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 72px; }
.hero h1 { text-wrap: balance; font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: .98; }
.lede { margin-top: 24px; font-size: 1.2rem; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 34ch; }
.cta { margin-top: 36px; }
.note { margin-top: 14px; font-size: .95rem; color: rgba(255,255,255,.7); }
.hero-shots { position: relative; margin-bottom: -88px; padding-left: 56px; }
.screen { margin: 0; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.08); }
.screen-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e4e8e2; border-bottom: 1px solid #d3d9d1; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3cac1; }
.screen-bar span { margin-left: 12px; font-size: .78rem; color: #6b776f; background: #f5f7f4; border-radius: 6px; padding: 2px 12px; }
.phone { margin: 0; width: 34%; max-width: 230px; border: 7px solid #0b1510; border-radius: 30px; overflow: hidden; background: #0b1510; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); }
.hero-shots .phone { position: absolute; left: 0; bottom: -36px; width: 27%; }
.phone img { border-radius: 23px; }

/* Codes strip */
.codes { background: var(--white); border-bottom: 1px solid var(--rule); padding: 136px 0 44px; }
.codes-in p { max-width: 60ch; font-size: 1.15rem; color: var(--muted); }

/* Features */
.feat { padding: 96px 0; }
.feat.alt { background: var(--white); }
.feat-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feat.alt .feat-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.alt .feat-copy { order: 2; }
.feat-copy h2 { max-width: 15ch; }
.feat-copy > p { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 48ch; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--pitch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23f2c230' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.feat-media .screen.flat { box-shadow: 0 18px 40px -22px rgba(19,32,26,.45), 0 0 0 1px var(--rule); border-radius: 14px; }
.feat-media.pair { display: flex; align-items: flex-start; justify-content: center; gap: 28px; }
.feat-media.pair .phone { width: 42%; max-width: 260px; }
.poster { margin: 48px 0 0; width: 50%; max-width: 330px; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(13,63,38,.6); }

/* Steps (a real sequence) */
.steps { padding: 96px 0; background: var(--chalk); border-top: 1px solid var(--rule); }
.step-list { list-style: none; counter-reset: step; margin: 40px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-list li { counter-increment: step; border-top: 3px solid var(--pitch); padding-top: 18px; }
.step-list li::before { content: counter(step); display: block; font: 800 3.4rem/1 var(--cond); color: var(--pitch); margin-bottom: 10px; }
.step-list p { margin-top: 10px; color: var(--muted); max-width: 32ch; }

/* Pricing */
.pricing { background: var(--pitch); color: var(--white); padding: 80px 0; }
.pricing-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.pricing p { margin-top: 16px; font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 52ch; }
.price-actions { display: grid; gap: 10px; justify-items: end; }
.price-actions .btn { max-width: 420px; }

/* FAQ */
.faq { padding: 96px 0; background: var(--white); }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.15rem/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 700 1.8rem/1 var(--cond); color: var(--pitch); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* Contact */
.contact { padding: 96px 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-in > div > p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; max-width: 40ch; }
.form { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; font-weight: 400; width: 100%; padding: 12px 14px; border: 1.5px solid #c4ccc2; border-radius: 10px; background: #fbfcfa; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--pitch); outline-offset: 1px; }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.msg.ok { background: #e3f1e7; color: #0f5130; }
.msg.bad { background: #fbe7e4; color: #8f2216; }

/* Plain pages */
.page { padding: 64px 0 96px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 24px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; max-width: 68ch; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }

/* Footer */
.foot { background: var(--pitch-deep); color: rgba(255,255,255,.82); padding: 48px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.foot-brand { font: 800 1.2rem/1 var(--cond); color: var(--white); }
.foot-small { font-size: .92rem; margin-top: 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--white); }

/* Tablet */
@media (max-width: 980px) {
	.hero { padding-top: 120px; }
	.hero-in, .feat-in, .contact-in, .pricing-in { grid-template-columns: 1fr; }
	.hero-copy { padding-bottom: 8px; }
	.hero h1 { max-width: 11ch; }
	.hero-shots { padding-left: 0; margin: 24px 0 -72px; }
	.hero-shots .screen { margin-left: 18%; }
	.hero-shots .phone { width: 26%; }
	.feat { padding: 72px 0; }
	.feat-in { gap: 36px; }
	.feat.alt .feat-copy { order: 0; }
	.feat.alt .feat-in { grid-template-columns: 1fr; }
	.price-actions { justify-items: start; }
	.step-list { grid-template-columns: 1fr; gap: 24px; }
}
/* Phone */
@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px 24px 16px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
	.nav ul.open { display: flex; }
	.nav ul a, .on-pitch .nav ul a { color: var(--ink); display: block; padding: 12px 0; }
	.nav .nav-login { padding-top: 8px; }
	.wrap { padding: 0 16px; }
	.hero h1 { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
	.lede { font-size: 1.08rem; }
	.pitch-nums { display: none; }
	.hero-shots { margin: 8px 0 -150px; display: flex; justify-content: center; }
	.hero-shots .screen { display: none; }
	.hero-shots .phone { position: relative; left: auto; bottom: auto; width: 64%; max-width: 260px; border-width: 6px; border-radius: 28px; }
	.hero-shots .phone img { border-radius: 22px; }
	.codes { padding-top: 186px; }
	.feat, .steps, .faq, .contact { padding: 60px 0; }
	.feat-media.pair { gap: 14px; }
	.poster { margin-top: 32px; }
	.row2 { grid-template-columns: 1fr; }
	.form { padding: 20px; }
	.btn { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 14px 20px; }
	.btn small { text-align: left; }
}

/* Display face settings */
h1, h2, h3, .brand, .btn, .foot-brand, .step-list li::before, .faq summary::after { font-stretch: var(--disp-stretch); }
h1, h2, h3 { letter-spacing: var(--disp-track); }
