/* Apples & Oranges — .ai sister site
   Palette pulled from applesoranges.ca:
   apple green #81C12A, deep green #0A6D45, orange/gold #F5BB06 */

:root {
  --apple: #81C12A;
  --apple-dark: #6aa31f;
  --green: #0A6D45;
  --green-deep: #063d27;
  --orange: #F5BB06;
  --orange-soft: #ffd34d;
  --ink: #14201a;
  --ink-soft: #3f4d47;
  --paper: #ffffff;
  --cream: #f6f8f1;
  --line: #e3e8dc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(6, 61, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 61, 39, 0.14);
  --maxw: 1140px;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #eef5ee;
}
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }

.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}
.section--green .eyebrow { color: var(--orange); }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section--green .lead { color: #d9e8dd; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px rgba(245,187,6,.35); }
.btn--primary:hover { background: var(--orange-soft); }
.btn--green { background: var(--apple); color: #0d2b12; }
.btn--green:hover { background: var(--apple-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.section--green .btn--ghost { color: #fff; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--orange); }
.brand .tld { color: var(--green); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--apple), var(--orange));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--head); font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--head); font-weight: 500; font-size: .96rem; color: var(--ink); }
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-links a.active { color: var(--green); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(245,187,6,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(129,193,42,.15), transparent 55%),
    var(--cream);
  padding: 96px 0 84px;
}
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 8px; margin-bottom: 28px; }
.pill {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  color: var(--green); font-family: var(--head); font-weight: 600;
  font-size: .82rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: rgba(129,193,42,.15);
}
.card .icon.orange { background: rgba(245,187,6,.18); }

.tag {
  display: inline-block; font-family: var(--head); font-weight: 600;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green); background: rgba(10,109,69,.08);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Steps */
.step { position: relative; padding-left: 0; }
.step .num {
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius); min-height: 320px;
  background: linear-gradient(135deg, var(--apple) 0%, var(--green) 100%);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 32px;
}

/* Checklist */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
.section--green .check li::before { color: var(--orange); }

/* Stat / callout strip */
.strip { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; }
.strip .item { text-align: center; }
.strip .item .big { font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--green); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* Team */
.team-member { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--apple), var(--orange));
  color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.team-member .role { color: var(--ink-soft); font-size: .92rem; }
.team-member h3 { margin-bottom: 2px; font-size: 1.05rem; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-family: var(--head); font-weight: 500; font-size: .92rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--body); font-size: 1rem; margin-top: 6px;
  background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--apple); border-color: var(--apple); }

/* JD article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article .meta { color: var(--ink-soft); font-family: var(--head); font-weight: 500; margin-bottom: 24px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: #cfe0d3;
  padding: 60px 0 28px;
}
.site-footer a { color: #eaf3ec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.sister {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 12px 18px; border-radius: var(--radius-sm); margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #a9c2b1;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { padding-top: 16px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body { font-size: 16px; }
}
