/* Avadh LLC: one stylesheet, system fonts, no third-party requests. */

:root {
  --paper: #f8f5ef;
  --surface: #ffffff;
  --ink: #14202e;
  --ink-2: #39475a;
  --muted: #5d6b7c;
  --line: #e4ddd1;
  --accent: #b5622a;
  --accent-strong: #8f4a1d;
  --accent-soft: #f6e7da;
  --deep: #14202e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10161f;
    --surface: #17202c;
    --ink: #eef1f5;
    --ink-2: #c9d1dc;
    --muted: #9aa7b6;
    --line: #2a3644;
    --accent: #e08a4f;
    --accent-strong: #f0a673;
    --accent-soft: #2b2017;
    --deep: #0b1017;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.brand-name span { color: var(--accent-strong); }
.nav { display: flex; gap: 1.4rem; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .nav { gap: .8rem; font-size: .88rem; } .nav .hide-sm { display: none; } .brand-name { font-size: 1.15rem; } .brand-mark { width: 30px; height: 30px; } }

/* Hero */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent-strong); margin: 0 0 1rem; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6.2vw, 4.4rem); line-height: 1.05; margin: 0; max-width: 16ch; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--accent-strong); }
.hero p.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 58ch; margin: 1.5rem 0 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: min(460px, 42vw); opacity: .9; pointer-events: none; }
@media (max-width: 860px) { .hero-art { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { color: var(--paper); background: var(--ink-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-2); }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0; }
.section-head p { color: var(--muted); margin: .9rem 0 0; font-size: 1.1rem; }

/* Product */
.product { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); padding: clamp(1.5rem, 4vw, 2.75rem); }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.product h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: .6rem 0 0; font-weight: 600; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-strong); border-radius: 999px; padding: .3rem .75rem; }
.product p { color: var(--ink-2); margin: .9rem 0 0; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; color: var(--ink-2); }
.ticks svg { margin-top: .25rem; }
.product-visual { border-radius: 20px; background: var(--deep); color: #eef1f5; padding: 1.4rem; font-size: .92rem; box-shadow: 0 30px 60px -35px rgba(20, 32, 46, .55); }
.chat-line { border-radius: 14px; padding: .8rem 1rem; margin-top: .7rem; }
.chat-line:first-child { margin-top: 0; }
.chat-ai { background: rgba(255, 255, 255, .08); }
.chat-me { background: rgba(224, 138, 79, .18); margin-left: 2rem; }
.chat-label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: .2rem; }

/* Principles */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; }
.band .card { background: var(--paper); }
.card h3 { margin: .9rem 0 .35rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }

/* Company facts */
.facts { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } }
dl { margin: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.band dl { background: var(--paper); }
dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); }
dl div:first-child { border-top: 0; }
@media (max-width: 560px) { dl div { grid-template-columns: 1fr; gap: .15rem; } }
dt { color: var(--muted); font-size: .92rem; }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* Founder */
.founder { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.founder-mark { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: #f8f5ef; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; box-shadow: inset 0 0 0 3px var(--accent); }
.section-head .founder-role { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--accent-strong); }
.section-head .founder-name { color: var(--ink); margin: .15rem 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.section-head .founder-note { margin: .3rem 0 0; color: var(--muted); font-size: .98rem; }

/* Contact */
.contact { background: var(--deep); color: #eef1f5; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0; }
.contact p { margin: .6rem 0 0; color: #c9d1dc; max-width: 48ch; }
.contact .btn-primary { background: #f8f5ef; color: #14202e; }
.contact .btn-primary:hover { background: #ffffff; color: #14202e; }

/* Footer */
footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.75rem; }
footer a { color: var(--ink-2); }

/* Simple pages */
.page { padding: clamp(3rem, 8vw, 5rem) 0; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.page h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 2.2rem 0 .4rem; }
.page .prose { max-width: 68ch; }
.page .updated { color: var(--muted); margin-top: .6rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
