/* AI Custom Tech: one stylesheet for every page. */
:root {
  --ink: #141a17;
  --muted: #4f5752;
  --line: #e3e1d9;
  --ground: #ffffff;
  --soft: #f6f5f1;
  --brand: #1e6b57;
  --brand-dark: #14503f;
  --brand-soft: #e3f0ea;
  --bubble: #eeede8;
  --radius: 16px;
  --max: 1140px;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin-top: 18px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: #cfccc2; color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; letter-spacing: -.02em; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.site-header .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (max-width: 900px) { .nav { display: none; } }

/* hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 21px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.founding { display: inline-block; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* phone chat illustration */
.phone {
  width: 100%; max-width: 360px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 32px; padding: 18px 14px 22px;
  box-shadow: 0 24px 60px -30px rgba(20, 26, 23, .35);
}
.phone-head { text-align: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.phone-head strong { display: block; font-size: 15px; }
.phone-head small { color: var(--muted); font-size: 12px; }
.chat { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 16px; }
.msg.them { align-self: flex-start; background: var(--bubble); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat .event { align-self: center; font-size: 12px; color: #9a2c1c; font-weight: 600; }
.chat .time { align-self: center; font-size: 12px; color: var(--muted); }

/* problem cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* what it does */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.office { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); background: #fff; }
.office .tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.office.front .tag { background: var(--brand-soft); color: var(--brand-dark); }
.office.back .tag { background: #e7eaf6; color: #2e3d86; }
.office ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.office li { padding-left: 30px; position: relative; }
.office li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%231e6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.owner { margin-top: 20px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; }
.owner .eyebrow { color: #8fd3bd; }
.owner p { color: #c9d1cd; margin-top: 14px; font-size: 18px; }
.owner .examples { margin-top: 20px; display: grid; gap: 8px; }
.owner .examples span { display: block; background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 14px; font-size: 15px; color: #fff; }
.owner .phone { box-shadow: none; color: var(--ink); }
@media (max-width: 860px) { .offices, .owner { grid-template-columns: 1fr; } .owner { padding: 28px 22px; } }

/* steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; font-size: 19px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* industries */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.industry h3 { font-size: 19px; margin-bottom: 10px; }
.industry p { color: var(--muted); font-size: 15.5px; }
.note { margin-top: 24px; color: var(--muted); }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* comparison */
.compare-box { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare thead th:last-child { color: var(--brand); }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { font-weight: 600; color: var(--brand-dark); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--brand); }
.plan .price { font: 700 40px/1 var(--display); }
.plan .price small { font: 500 16px var(--body); color: var(--muted); }
.plan .setup { color: var(--muted); font-size: 15px; }
.plan ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; flex: 1; }
.plan .btn { margin-top: 8px; }
.guarantee { margin-top: 28px; display: flex; gap: 18px; align-items: center; background: var(--brand-soft); border-radius: var(--radius); padding: 24px 28px; }
.guarantee strong { font-family: var(--display); font-size: 20px; color: var(--brand-dark); }
.guarantee p { color: var(--ink); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .guarantee { flex-direction: column; align-items: flex-start; } }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* contact */
.contact { background: var(--brand); color: #fff; border-radius: 24px; padding: 64px 40px; text-align: center; }
.contact h2 { color: #fff; }
.contact .lead { color: #dcefe7; margin-left: auto; margin-right: auto; }
.contact .btn-row { justify-content: center; }
.contact .btn-primary { background: #fff; color: var(--brand-dark); }
.contact .btn-primary:hover { background: var(--brand-soft); color: var(--brand-dark); }
.contact .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.contact .btn-ghost:hover { border-color: #fff; color: #fff; }
.contact .small { margin-top: 18px; font-size: 15px; color: #dcefe7; }
.contact .small a { color: #fff; }

/* footer */
.site-footer { padding: 40px 0; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2f3532; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
