/* Kezie Consulting — shared styles.
   Palette and type follow the Lovable site, with the accent swapped for Kezie orange. */
:root{
  --background:oklch(97.7% .008 85);
  --foreground:oklch(18.5% .01 40);
  --muted-foreground:oklch(44% .02 45);
  --border:oklch(86% .015 70);
  /* Kezie orange: used for the wordmark dot, arrows, quote marks and rules */
  --accent:#E8740C;
  /* Same hue, darkened just enough for WCAG AA text contrast on the cream background:
     large text (24px+) needs 3:1, small text needs 4.5:1 */
  --accent-large:#D96A08;
  --accent-text:#B05606;
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--background);color:var(--foreground);font-family:var(--sans);font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}
::selection{background:#F6D3B0}

.skip{position:absolute;left:-9999px;top:0;background:var(--foreground);color:var(--background);padding:8px 12px;font-size:14px;z-index:10}
.skip:focus{left:16px;top:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.page{max-width:768px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding:56px 40px}
.brand{font-family:var(--serif);font-size:30px;line-height:36px;font-weight:500;letter-spacing:-.75px}
.brand .dot{color:var(--accent)}
.brand .sub{color:var(--muted-foreground)}

main{display:flex;flex-direction:column;gap:128px;padding-top:128px}
section{scroll-margin-top:32px}
h1{font-family:var(--serif);font-weight:500;font-size:48px;line-height:1.15;letter-spacing:-1.2px}
h1 .accent{color:var(--accent-large)}
.lede{margin-top:32px;max-width:576px;font-size:18px;line-height:29.25px;color:var(--muted-foreground)}

.btn{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--foreground);border-radius:0;padding:12px 20px;font-size:14px;line-height:20px;font-weight:500;letter-spacing:.35px;background:transparent;color:var(--foreground);font-family:var(--sans);cursor:pointer;transition:background-color .15s,color .15s}
.btn .arr{color:var(--accent);transition:transform .15s}
.btn:hover{background:var(--foreground);color:var(--background)}
.btn:hover .arr{transform:translateX(3px)}
.btn[disabled]{opacity:.6;cursor:progress}

.links{margin-top:40px;display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.textlink{font-size:14px;line-height:20px;font-weight:500;letter-spacing:.35px;border-bottom:1px solid var(--accent);padding-bottom:2px}
.textlink:hover{color:var(--accent-text)}
.byline{margin-top:28px;font-size:14px;color:var(--muted-foreground)}

h2{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-foreground)}
.list{margin-top:32px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.list li{padding:28px 0;border-bottom:1px solid var(--border)}
.list li:last-child{border-bottom:0}
h3{font-family:var(--serif);font-size:20px;line-height:28px;font-weight:500;letter-spacing:-.4px}
.list p{margin-top:6px;color:var(--muted-foreground);font-size:16px;line-height:26px;max-width:576px}

/* numbered rows */
.num li{display:grid;grid-template-columns:56px 1fr}
.num .n{font-family:var(--serif);font-size:20px;line-height:28px;color:var(--accent-text)}

/* proof rows */
.proof li{display:grid;grid-template-columns:220px 1fr;align-items:baseline}
.proof .fig{font-family:var(--serif);font-size:40px;line-height:44px;font-weight:500;letter-spacing:-1px;color:var(--accent-large)}

.body{margin-top:32px;max-width:576px;font-size:18px;line-height:29.25px;color:var(--muted-foreground)}
.subhead{margin-top:32px;font-family:var(--serif);font-size:24px;line-height:32px;letter-spacing:-.4px;font-weight:500}
figure{margin-top:32px}
blockquote{font-family:var(--serif);font-size:24px;line-height:36px;letter-spacing:-.3px;max-width:680px}
blockquote .q{color:var(--accent)}
figcaption{margin-top:20px;font-size:14px;color:var(--muted-foreground)}
figcaption b{color:var(--foreground);font-weight:500}
.note{margin-top:20px;font-size:14px;line-height:22px;color:var(--muted-foreground)}

/* dated rows */
.exp li{display:grid;grid-template-columns:140px 1fr}
.exp .when{font-size:14px;line-height:28px;color:var(--muted-foreground)}

/* placeholders: visible on purpose until replaced */
.ph{-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#FCE7D4;color:#7A3A04;font-family:var(--sans);font-size:13px;line-height:20px;padding:1px 6px;letter-spacing:0;font-weight:400}

/* contact */
.contact{margin-top:32px;display:grid;grid-template-columns:minmax(0,20rem) 1fr;gap:64px}
.contact .lead{font-family:var(--serif);font-size:24px;line-height:32px;font-weight:500}
.contact .small{margin-top:12px;font-size:14px;line-height:20px;color:var(--muted-foreground)}
.direct{margin-top:32px;display:flex;flex-direction:column;gap:14px;font-size:14px;line-height:20px}
.direct dt{font-size:12px;line-height:16px;font-weight:500;letter-spacing:1.68px;text-transform:uppercase;color:var(--muted-foreground);margin-bottom:2px}
.direct a{border-bottom:1px solid transparent}
.direct a:hover{border-bottom-color:var(--accent)}
form{display:flex;flex-direction:column;gap:20px}
label{display:block;font-size:12px;line-height:16px;font-weight:500;letter-spacing:1.68px;text-transform:uppercase;color:var(--muted-foreground)}
.field{display:block;width:100%;margin-top:8px;padding:8px 0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;font:inherit;font-size:16px;color:var(--foreground);height:41px;-webkit-appearance:none;appearance:none}
.field:focus{outline:none;border-bottom-color:var(--accent)}
.field:focus-visible{outline:none;box-shadow:0 1px 0 0 var(--accent)}
textarea.field{height:128px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.status{font-size:14px;line-height:22px;color:var(--muted-foreground);min-height:22px}
.status a{border-bottom:1px solid var(--accent)}

/* legal pages */
.legalpage h1{font-size:40px}
.prose{margin-top:32px;max-width:640px;color:var(--muted-foreground);font-size:16px;line-height:26px}
.prose h2{margin-top:48px;font-family:var(--serif);font-size:20px;line-height:28px;font-weight:500;letter-spacing:-.4px;text-transform:none;color:var(--foreground)}
.prose p,.prose ul{margin-top:12px}
.prose ul{list-style:disc;padding-left:20px}
.prose li{margin-top:6px}
.prose a{color:var(--foreground);border-bottom:1px solid var(--accent)}
.legalpage main{gap:0}

footer{margin-top:128px;border-top:1px solid var(--border);padding-top:32px;display:flex;flex-direction:column;gap:24px;font-size:12px;line-height:19.5px;color:var(--muted-foreground)}
footer .fbrand{font-family:var(--serif);font-size:16px;line-height:24px;color:var(--foreground)}
footer .fbrand .dot{color:var(--accent)}
footer .legal{max-width:576px}
footer nav{display:flex;gap:16px}
footer nav a:hover{color:var(--foreground)}

@media (max-width:767px){
  .page{padding:40px 24px}
  .brand{font-size:24px;line-height:32px}
  main{gap:96px;padding-top:72px}
  h1{font-size:34px;letter-spacing:-.9px}
  .legalpage h1{font-size:32px}
  .lede,.body{font-size:16px;line-height:26px}
  .lede{margin-top:24px}
  .links{margin-top:32px;gap:20px}
  .list li{padding:24px 0}
  h3{font-size:18px;line-height:26px}
  .proof li{grid-template-columns:1fr;gap:4px}
  .proof .fig{font-size:32px;line-height:36px}
  .exp li{grid-template-columns:1fr}
  blockquote{font-size:20px;line-height:30px}
  .contact{grid-template-columns:1fr;gap:40px}
  .contact .lead{font-size:22px;line-height:30px}
  footer{margin-top:96px}
}
