@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #faf7f2; --paper-2: #f2ece2; --ink: #16181d; --ink-2: #3d414b; --muted: #6c707a; --line: #e3dccf;
  --accent: #e2553b; --accent-ink: #b8391f; --deep: #1d4a55; --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(22, 24, 29, .28);
}
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
h1, h2, h3 { font-family: 'Bricolage', 'Inter', sans-serif; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.prose { font-size: 1.12rem; color: var(--ink-2); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin: 0 0 1rem; }
.todo { background: #fff3bf; color: #8a5a00; padding: 0 .3em; border-radius: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 70px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: .65rem; font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; letter-spacing: -.01em; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 1.1rem; box-shadow: 4px 4px 0 var(--accent); }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--accent-ink); }

.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.proofs { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .95rem; }
.proofs li::before { content: '✓'; color: var(--deep); font-weight: 700; margin-right: .45rem; }

.hero-visual { position: relative; height: 520px; }
.browser { position: absolute; inset: 0 60px 40px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); transform: rotate(-1.5deg); }
.bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8cfbf; }
.bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; }
.viewport { position: relative; height: calc(100% - 34px); overflow: hidden; }
.viewport iframe { width: 1280px; height: 1600px; border: 0; transform: scale(.44); transform-origin: 0 0; pointer-events: none; }
.phone { position: absolute; right: 0; bottom: 0; width: 190px; height: 380px; border-radius: 30px; background: var(--ink); padding: 10px; box-shadow: var(--shadow); transform: rotate(3deg); }
.phone .viewport { height: 100%; border-radius: 22px; background: #fff; }
.phone iframe { width: 390px; height: 800px; transform: scale(.438); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--paper-2); }

.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 1.2rem; }
.steps p { margin: 0; color: var(--ink-2); }

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; position: relative; }
.offer.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.offer.featured h3 { color: #fff; }
.offer.featured .sub, .offer.featured li { color: #d9d4ca; }
.ribbon { position: absolute; top: -13px; right: 1.5rem; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.price { font-family: 'Bricolage', sans-serif; font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: .2rem 0 .3rem; line-height: 1; }
.price span { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0; opacity: .7; }
.offer .sub { font-size: .92rem; color: var(--muted); margin: 0 0 1.2rem; }
.offer ul { padding: 0; list-style: none; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.offer li::before { content: '→'; margin-right: .6rem; color: var(--accent); }
.excl { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 0; }

.included { margin-top: 2.5rem; }
.included ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.included li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .92rem; }
.modules { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; margin-top: 3rem; align-items: start; }
.light { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.light li { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; }
.premium { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.premium th, .premium td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.premium thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); }
.premium tbody th { font-weight: 600; }
.premium td { white-space: nowrap; font-weight: 600; }
.premium .sub { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.vat { font-size: .9rem; color: var(--muted); margin-top: 1.5rem; }

.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.work { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot { height: 220px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.shot iframe { width: 1280px; height: 900px; border: 0; transform: scale(.28); transform-origin: 0 0; pointer-events: none; }
.work-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.work-body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.work.project { background: var(--deep); color: #fff; border-color: var(--deep); }
.work.project h3 { color: #fff; font-size: 1.6rem; }
.work.project p, .work.project .kicker { color: #d5e3e6; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.link { margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--accent-ink); }
.work.project .link { color: #ffb4a4; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .6rem 0 0; }
.tags li { font-size: .82rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .15rem .7rem; }

.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }

.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: .8rem 0 0; color: var(--ink-2); }

.contact { background: var(--ink); color: var(--paper); }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #ffb4a4; }
.contact .prose { color: #d9d4ca; }
.contact a { color: #ffb4a4; }
.contact-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink-2); }
.form .consent input { margin-top: .3rem; }
.form .consent a { color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0; padding: .8rem 1rem; border-radius: 10px; font-weight: 500; }
.notice.ok { background: #e6f4ea; color: #1e6b34; }
.notice.err { background: #fde8e4; color: #a3321c; }

.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; max-width: none; }
.legal p, .legal li { color: var(--ink-2); }

.foot { background: #0f1115; color: #b9b5ad; padding: 3rem 0; font-size: .92rem; }
.foot strong { color: #fff; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot nav { display: flex; flex-direction: column; gap: .4rem; }
.foot a { color: #e8e4dc; }
.foot .muted { color: #7d7a74; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-in, .about, .contact-in, .modules { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; }
  .steps, .offers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero-visual { display: none; }
  .form .two { grid-template-columns: 1fr; }
  .premium td { white-space: normal; }
  .top-in { gap: .6rem; }
  .brand { font-size: .98rem; gap: .5rem; }
  .mark { width: 28px; height: 28px; font-size: .95rem; box-shadow: 3px 3px 0 var(--accent); }
  .top .btn-sm { padding: .45rem .75rem; font-size: .8rem; }
}
