:root {
  --accent: #ed4b01; --accent-dark: #c93f00; --accent-soft: #fff0e8; --accent-2: #ff8a4c;
  --ink: #111111; --muted: #5c5c5c; --line: #e6e6e6; --bg: #ffffff; --bg-alt: #f5f5f5; --dark: #000000;
  --radius: 14px; --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: "Sora", "Inter", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: 20px; max-width: 620px; }
.center .lead { margin: 0 auto 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after { content: ""; display: none; }
.eyebrow.light { color: #ffb088; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: .15s; cursor: pointer; font: inherit; font-weight: 700; }
.btn.small { padding: 10px 18px; font-size: 15px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(237,75,1,.28); }
.btn.primary:hover { box-shadow: 0 12px 28px rgba(237,75,1,.36); transform: translateY(-1px); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.light { background: #fff; color: #111; }
.grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.grid.two { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .grid, .grid.two { grid-template-columns: 1fr; } }

/* nav */
header.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand img { height: 36px; width: auto; display: block; }
footer .brand { color: var(--ink); }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); position: relative; flex: none; }
.brand .mark::after { content: ""; position: absolute; inset: 9px; border: 2px solid #fff; border-radius: 3px; }
nav.links { display: flex; align-items: center; gap: 22px; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
nav.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .2s; }
nav.links a:not(.btn):hover::after, nav.links a.active::after { right: 0; }
nav.links a:hover, nav.links a.active { color: var(--accent); }
.menu { display: none; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .menu { display: block; }
  nav.links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 14px; }
  body.nav-open nav.links { display: flex; }
}

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
section.page-head { padding: 64px 0 24px; }
section.wrap { padding-top: 24px; }
.hero { padding: 96px 0 72px; background: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fafafa, #fff 40%, #fff 80%, #faf7f5); }
.hero .blob { display: none;  position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; border-radius: 42% 58% 61% 39% / 45% 36% 64% 55%; background: linear-gradient(135deg, #ff9a5c, var(--accent)); opacity: .12; filter: blur(2px); animation: morph 18s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: 58% 42% 39% 61% / 55% 64% 36% 45%; transform: rotate(18deg) scale(1.08); } }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.hero-card::before { content: ""; position: absolute; inset: -18px; border: 1px dashed #f3c4a8; border-radius: 22px; }
.hero-card .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.hero-card .stat:nth-child(2), .hero-card .stat:nth-child(3) { background: #000; color: #fff; border-color: #000; }
.hero-card .stat:nth-child(2) span, .hero-card .stat:nth-child(3) span { color: #bdbdbd; }
.hero-card .stat b { display: block; font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.hero-card .stat span { color: var(--muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: var(--ink); transition: .15s; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); transition: width .25s; }
.card:hover::after { width: 100%; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: #000; color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card:hover .ico { background: var(--accent); }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.promo { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23333'/%3E%3C/svg%3E"); color: #fff; }
.promo h2 { font-size: clamp(32px, 4.5vw, 48px); }
.promo p { color: #bdbdbd; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { padding: 6px 0 6px 28px; position: relative; color: #ffe6d6; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.quote { background: #000; color: #fff; border-radius: var(--radius); padding: 32px; border-left: 6px solid var(--accent); }
.quote p { font-size: 22px; font-weight: 600; color: #fff; }
.quote .muted { color: #bdbdbd; }

/* mock search */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.18); overflow: hidden; color: var(--ink); }
.mock .bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock .bar .search { flex: 1; background: var(--bg-alt); border-radius: 8px; padding: 8px 12px; font-size: 14px; color: var(--muted); }
.mock .bar .search b { color: var(--ink); }
.mock .hit { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mock .hit .l1 { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.mock .hit .s { font-weight: 600; margin: 2px 0; }
.mock .hit mark { background: #ffd3b8; padding: 0 2px; border-radius: 2px; }
.mock .meta { padding: 10px 14px; font-size: 12px; color: var(--muted); }

/* services page */
.services { display: grid; gap: 0; padding-bottom: 72px; }
.svc { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc h2 { font-size: 26px; }
.svc p { color: var(--muted); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 8px; } }

/* about */
.team { display: grid; gap: 32px; padding-bottom: 72px; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.person .avatar { width: 96px; height: 96px; border-radius: 50%; background: #000; color: var(--accent-2); display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.person h2 { font-size: 24px; margin-bottom: 2px; }
.person p { margin-top: 10px; color: var(--muted); }

/* forms */
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact .card-form { border: 0; color: var(--ink); }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 4px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
form .btn { width: 100%; margin-top: 18px; border: 0; }
.hp { position: absolute; left: -9999px; }
.ok { background: #dcfce7; color: #166534; padding: 10px 12px; border-radius: 8px; margin: 0 0 6px; }
.err { background: #fee2e2; color: #991b1b; padding: 10px 12px; border-radius: 8px; margin: 0 0 6px; }

/* mail archive page pieces */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile .big { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 32px; }
.diagram svg { width: 100%; height: auto; display: block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.hot { background: #000; color: #fff; border-color: #000; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.plan.hot .price { color: var(--accent-2); }
.plan .name { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.plan.hot .name { color: #ffd3b8; }
.plan .price { font-size: 40px; font-weight: 800; line-height: 1; margin: 10px 0 2px; }
.plan .per { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan.hot .per { color: #ffd3b8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; border-top: 1px solid var(--line); }
.plan.hot li { border-top-color: rgba(255,255,255,.2); }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan.hot li::before { color: var(--accent-2); }
.plan .btn { text-align: center; }
.addons { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: 15px; }
.addons b { display: block; }
.addons span { color: var(--muted); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } .addons { grid-template-columns: 1fr 1fr; } }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trust .item { display: flex; gap: 14px; }
.trust .item .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.trust .item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; } }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; color: var(--accent); }
details[open] summary::after { content: "\2013"; }
details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 800px; margin: 0 auto; }
.contact { background: var(--dark); color: #fff; }
.contact p { color: #bdbdbd; }

/* legal prose */
.prose { max-width: 800px; padding-bottom: 72px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.2em; }
.prose p, .prose li { color: var(--muted); }

/* footer */
footer { padding: 48px 0 24px; border-top: 1px solid var(--line); font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer .cols a:not(.brand) { display: block; color: var(--muted); text-decoration: none; margin: 6px 0; }
footer .cols a:not(.brand):hover { color: var(--accent); }
footer .bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }

.contact form { color: var(--ink); }
.contact form label { color: var(--muted); }
.contact form p { color: inherit; }

/* ===== animations ===== */
body { opacity: 0; transition: opacity .35s ease; }
body.loaded { opacity: 1; }
body.leaving { opacity: 0; transition: opacity .25s ease; }
header.nav { transition: box-shadow .25s, background .25s; }
header.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
.tilt { transition: transform .25s ease, border-color .15s, box-shadow .25s; will-change: transform; }
.tilt:hover { box-shadow: 0 18px 40px rgba(237,75,1,.14); }
.btn { transition: transform .18s ease, background .15s, color .15s, border-color .15s; }
.hero { position: relative; overflow: hidden; }
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .hero-card, .hero .mock { transform: translateY(var(--py, 0)); }
.rotate { display: inline-block; color: var(--accent); position: relative; transition: opacity .3s, transform .3s; min-width: var(--rw, 0); white-space: nowrap; }
.rotate.out { opacity: 0; transform: translateY(10px); }
.rotate::after { content: ""; position: absolute; left: 0; width: var(--tw, 100%); bottom: 4px; height: 10px; transition: width .3s; background: #ffe6d6; z-index: -1; border-radius: 3px; }
.gradient-text { background: linear-gradient(90deg, #ed4b01, #ffa060, #ed4b01); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.mock .hit, .mock .meta { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.mock .hit.show, .mock .meta.show { opacity: 1; transform: none; }
.mock .search b::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.diagram svg path[marker-end] { transition: stroke-dashoffset 1.4s ease; }
.diagram svg rect { transform-origin: center; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; opacity: 0; transform: scale(.92); }
.diagram svg.draw rect { opacity: 1; transform: none; }
.diagram svg.draw path[marker-end] { stroke-dashoffset: 0 !important; }
.diagram svg.draw rect:nth-of-type(2) { transition-delay: .2s; } .diagram svg.draw rect:nth-of-type(3) { transition-delay: .5s; }
.diagram svg.draw rect:nth-of-type(n+4) { transition-delay: .8s; }
.diagram svg.draw path[marker-end]:nth-of-type(n+3) { transition-delay: .6s; }
.promo { position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(237,75,1,.35), transparent 65%); top: -200px; right: -150px; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.15); } }
.promo .wrap { position: relative; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; border: 2px solid var(--accent); border-radius: 12px; transform: translateX(-50%); opacity: .6; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } body { opacity: 1; } .gradient-text, .promo::before, .scroll-hint::after { animation: none; } }

/* ===== design pass additions ===== */
.strip { background: #000; color: #fff; padding: 28px 0; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.strip .item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #e5e5e5; }
.strip .item b { color: var(--accent-2); font-size: 22px; font-family: "Sora", sans-serif; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.svc { border-top: 1px solid var(--line); }
.svc .num { font-family: "Sora", sans-serif; font-size: 44px; font-weight: 800; color: #eee; line-height: 1; margin-bottom: 8px; }
.cta-band { background: linear-gradient(135deg, #000 0%, #1a1a1a 60%, #2a1a12 100%); color: #fff; border-radius: 24px; padding: 56px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(237,75,1,.55), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #bdbdbd; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } .cta-band .actions { justify-content: flex-start; } }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.testi::before { content: "\201C"; position: absolute; top: -18px; left: 22px; font-size: 80px; line-height: 1; color: var(--accent); font-family: Georgia, serif; }
.testi p { font-size: 17px; margin: 8px 0 14px; }
.testi .who { font-size: 14px; color: var(--muted); }
.page-head { background: linear-gradient(180deg, #faf9f8, #fff); border-bottom: 1px solid var(--line); }
