/* Falir website prototype. Colors from Brand Identity v1.0 (Figma Branding Kit).
   Website typography is not defined in the kit: Nunito (headings) + Inter (body) is a proposal. */
:root {
  --atlantic-forest: #123B35;
  --irish-emerald: #006B54;
  --sea-glass: #83B9A4;   /* decorative only, never small text on white */
  --coastal-mist: #E8F4EE;
  --white: #FFFFFF;
  --text: #123B35;
  --muted: #4A5F5B;
  --border: #D6E6DE;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; font-size: 17px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--irish-emerald); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

.proto-banner { background: var(--atlantic-forest); color: var(--white); font-size: 13px; text-align: center; padding: 6px 12px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand img { height: 35px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--atlantic-forest); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--irish-emerald); }

.btn { display: inline-block; border-radius: 999px; padding: 13px 24px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font: 600 16px/1 var(--font-body); cursor: pointer; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--irish-emerald); color: var(--white); }
.btn-primary:hover { background: var(--atlantic-forest); }
.btn-ghost { border-color: var(--irish-emerald); color: var(--irish-emerald); }
.btn-light { background: var(--white); color: var(--atlantic-forest); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sea-glass); outline-offset: 2px; }

.hero { padding: 96px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--irish-emerald); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(360px, 80%); border-radius: 22%; box-shadow: -3px 5px 16px rgba(18,59,53,.08); }

.section { padding: 88px 0; }
.section-mist { background: var(--coastal-mist); }
.section-forest { background: var(--atlantic-forest); color: var(--white); }
.section-forest p { color: rgba(255,255,255,.88); }

.cards { display: grid; gap: 24px; margin-top: 32px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.tag { display: inline-block; background: var(--coastal-mist); color: var(--atlantic-forest); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.checklist { list-style: none; padding: 28px; margin: 0; background: var(--coastal-mist); border-radius: var(--radius); }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 9px; border-left: 3px solid var(--irish-emerald); border-bottom: 3px solid var(--irish-emerald); transform: rotate(-45deg); }

.person .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--coastal-mist); color: var(--atlantic-forest); display: grid; place-items: center; font: 700 22px var(--font-display); margin-bottom: 14px; }
.person.hiring { border-style: dashed; }

.form { display: grid; gap: 14px; background: rgba(255,255,255,.06); padding: 28px; border-radius: var(--radius); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: var(--white); color: var(--atlantic-forest); }
.form-note { font-size: 13px; margin: 0; }

.site-footer { background: var(--atlantic-forest); border-top: 1px solid rgba(255,255,255,.12); color: var(--white); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-inner p { margin: 0; }
.footer-inner img { height: 30px; width: auto; }
.muted-light { color: rgba(255,255,255,.7); font-size: 14px; margin-left: auto !important; }
.muted-light a { color: rgba(255,255,255,.85); }

/* ---------- Multi-page additions ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav a[aria-current="page"]:not(.btn) { color: var(--irish-emerald); box-shadow: inset 0 -2px 0 var(--irish-emerald); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--atlantic-forest); content: ""; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }

.page-hero { padding: 80px 0 56px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }

.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card.loss { border-top: 4px solid var(--sea-glass); }
.pillar { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.pillar:hover { border-color: var(--irish-emerald); transform: translateY(-2px); }
.pillar-label { display: inline-block; font: 700 13px var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--irish-emerald); margin-bottom: 10px; }
.tag-row { margin-top: 28px; color: var(--muted); }
.tag-row .tag { margin: 0 8px 0 0; }
.text-link { font-weight: 600; text-decoration: none; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--irish-emerald); color: var(--white); display: grid; place-items: center; font: 700 15px var(--font-display); }
.steps strong { display: block; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; }

.team-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 56px; margin-top: 40px; }
.team-member { margin: 0; text-align: center; }
.team-member img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin: 0 auto; border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(18,59,53,.10); }
.team-member figcaption { font: 600 1.05rem var(--font-display); margin-top: 14px; }
@media (max-width: 560px) { .team-grid { gap: 28px; } .team-member img { width: 128px; height: 128px; } }
.pronounce { font: 600 1.1rem var(--font-display); margin-top: -.4em; }
.placeholder { border: 2px dashed var(--sea-glass); border-radius: var(--radius); padding: 24px; background: var(--white); color: var(--muted); }

.faq { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--irish-emerald); }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-tag { margin: 14px 0 4px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-contact p { margin: 0 0 14px; font-size: 15px; }
.footer-base { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .muted-light { margin: 0 !important; }

/* Laptop first: the full nav and multi-column layouts hold down to 700px wide.
   Only phones (under 700px) get the stacked layout and menu button. */
@media (max-width: 1000px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14px; }
  .hero-grid { gap: 32px; }
  .split { gap: 36px; }
}

@media (max-width: 820px) {
  .brand img { height: 30px; }
  .nav { gap: 14px; }
  .nav .btn-sm { padding: 9px 14px; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hero-grid, .split, .cards.three, .cards.two, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .page-hero { padding: 56px 0 40px; }
  .hero-art { order: -1; }
  .hero-art img { width: 180px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; }
  .nav .btn { margin-top: 14px; text-align: center; }
  .header-inner { position: relative; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .cards.four { grid-template-columns: 1fr; }
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Form additions */
.form-hint { font-size: 13px; margin: -6px 0 0; color: rgba(255,255,255,.85); }
.form-note a, .site-footer .footer-base a { color: rgba(255,255,255,.9); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Legal page */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.draft-note { background: #FFF7E6; border: 1px solid #F0D9A8; border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.pt-0 { padding-top: 0; }
