/* PracticeKit — Marketing Website */
/* Design: Clean, Apple-inspired, minimal color, generous white space */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0071e3;
  --blue-dark:  #0051a2;
  --navy:       #1a2942;
  --text:       #1d1d1f;
  --secondary:  #424245;
  --muted:      #86868b;
  --rule:       #d2d2d7;
  --bg:         #ffffff;
  --bg-alt:     #f5f5f7;
  --bg-dark:    #1a2942;
  --green:      #30a46c;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
p  { color: var(--secondary); }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: .9rem; color: var(--secondary); }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 7px 18px; border-radius: 980px;
  font-size: .875rem; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-dark); text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 112px 0 96px;
  background: linear-gradient(180deg, #f0f6ff 0%, #fff 100%);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
}
.hero h1 { max-width: 720px; margin: 0 auto 24px; }
.hero p.lead {
  font-size: 1.25rem; max-width: 580px; margin: 0 auto 40px;
  color: var(--secondary); line-height: 1.5;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 980px;
  font-size: 1rem; font-weight: 500;
  transition: background .2s;
}
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--blue);
  padding: 13px 27px; border-radius: 980px;
  border: 1.5px solid var(--blue);
  font-size: 1rem; font-weight: 500;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--blue); color: #fff; text-decoration: none; }
.hero-disclaimer {
  margin-top: 20px; font-size: .8rem; color: var(--muted);
}

/* ── Trust strip ── */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-items {
  display: flex; gap: 40px; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; color: var(--secondary);
}
.trust-item .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item .check::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px); display: block;
}

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .95rem; }
.feature-card ul {
  margin-top: 14px; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.feature-card li {
  font-size: .875rem; color: var(--secondary);
  padding-left: 18px; position: relative;
}
.feature-card li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--blue); font-size: .75rem; top: 2px;
}

/* icon bg colours */
.icon-blue   { background: #e8f1fd; }
.icon-green  { background: #e8f6ef; }
.icon-orange { background: #fff3e8; }
.icon-purple { background: #f0ebfd; }
.icon-teal   { background: #e8f6f6; }

/* ── Compliance section ── */
.compliance-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.compliance-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.compliance-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.compliance-badge {
  flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 12px; background: var(--bg);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.compliance-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.compliance-item p  { font-size: .875rem; }

/* ── Privacy panel ── */
.privacy-panels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.privacy-panel {
  background: var(--bg);
  border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--rule);
}
.privacy-panel .icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.privacy-panel h3   { font-size: 1rem; margin-bottom: 8px; }
.privacy-panel p    { font-size: .875rem; }

/* ── Who it's for ── */
.audience-box {
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.audience-box h2 { margin-bottom: 16px; }
.audience-box p  { font-size: 1.05rem; margin-bottom: 20px; }
.not-for {
  margin-top: 28px; padding: 16px 24px;
  background: #fff8e8; border-radius: 10px;
  border: 1px solid #fde68a;
  font-size: .875rem; color: #78490a;
}

/* ── CTA band ── */
.cta-band {
  background: var(--bg-dark);
  padding: 80px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p  { color: #a8b8cc; font-size: 1.1rem; margin-bottom: 36px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: #e0e8f0; }
.cta-band .btn-secondary { border-color: #a8b8cc; color: #a8b8cc; }
.cta-band .btn-secondary:hover { background: #a8b8cc; color: var(--navy); }

/* ── Founder story ── */
.founder-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start;
}
.founder-text h2 { margin-bottom: 24px; }
.founder-text p  { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.7; }
.founder-text p:last-of-type { margin-bottom: 28px; }

blockquote.inline-quote, .founder-text p:nth-of-type(3) {
  font-style: italic; color: var(--navy);
  border-left: 3px solid var(--blue);
  padding-left: 20px; margin-left: 0;
}

.founder-credentials {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
.credential {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-alt); border: 1px solid var(--rule);
  border-radius: 980px; padding: 6px 14px;
  font-size: .85rem; font-weight: 500; color: var(--secondary);
}
.cred-icon { color: var(--green); font-weight: 700; }

.founder-card {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow); text-align: center;
  position: sticky; top: 72px;
}
.founder-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #0051a2 100%);
  color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; letter-spacing: .02em;
}
.founder-name  { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.founder-title { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.founder-location { font-size: .85rem; color: var(--secondary); margin-bottom: 20px; }
.founder-quote {
  font-style: italic; font-size: .9rem; color: var(--secondary);
  border-left: 3px solid var(--blue); padding-left: 14px;
  text-align: left; margin-bottom: 20px; line-height: 1.6;
}
.founder-link {
  display: inline-block; font-size: .875rem; font-weight: 500;
  color: var(--blue); border-bottom: 1px solid currentColor;
}
.founder-link:hover { text-decoration: none; opacity: .75; }

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-card { position: static; }
}

/* ── Disclaimer bar ── */
.disclaimer-bar {
  padding: 20px 0; background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.disclaimer-bar p { font-size: .8rem; color: var(--muted); }

/* ── Footer ── */
footer {
  background: var(--navy); padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: .875rem; color: #8899aa; margin-top: 10px; max-width: 280px; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-logo span { color: #6ab0f5; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: .875rem; color: #8899aa; }
.footer-col li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid #2a3d58;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .8rem; color: #55667a; }

/* ── Responsive ── */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .audience-box { padding: 32px 24px; }
}
