/* ReallyGood Custom Programming — site styles */
:root {
  --ink: #101216;
  --ink-2: #181B21;
  --ink-3: #1F232A;
  --line-dark: #262A32;
  --line: #E3E5E9;
  --paper: #F4F3EF;
  --paper-line: #DCDAD3;
  --white: #FFFFFF;
  --text: #101216;
  --text-2: #3A3F48;
  --muted: #4F5560;
  --muted-2: #5B616B;
  --on-dark: #B9BFC9;
  --on-dark-2: #8C93A0;
  --accent: #FF6A2B;
  --burgundy: #7A222E;
  --poker: #06231B;
  --poker-gold: #D9A93D;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--text-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-sm { padding: 88px 0; }
.dark { background: var(--ink); color: var(--white); }
.dark-2 { background: var(--ink-2); color: var(--white); }
.paper { background: var(--paper); }
.white { background: var(--white); }

/* Type */
.eyebrow { margin: 0 0 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.dark .eyebrow, .eyebrow.accent { color: var(--accent); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
.h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.h2-sm { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.04; letter-spacing: -0.02em; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.accent-text { color: var(--accent); }
.lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 36rem; }
.dark .lead { color: var(--on-dark); font-size: 19px; }
.mono-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.dark .mono-label { color: var(--on-dark-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; font-family: inherit; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost { border: 1px solid #3A3F48; color: var(--white); }
.btn-ghost:hover { color: var(--white); border-color: #5B616B; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { color: var(--white); background: #262A32; }
.btn-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

/* Header */
.site-header { background: var(--ink); color: var(--white); border-bottom: 1px solid #22262E; }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 500; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.05; }
.brand-name small { display: block; font-weight: 500; font-size: 15px; color: var(--on-dark); letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; }
.nav a { color: #C9CED6; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 600; }
.nav .nav-cta:hover { color: var(--ink); }
.site-header { position: relative; z-index: 50; }
.menu-btn { display: none; }

/* Phones & screenshots */
.phone { border-radius: 38px; background: #050608; padding: 9px; flex-shrink: 0; }
.phone img { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; object-position: center top; display: block; }
.phone-peek { border-radius: 38px 38px 0 0; padding-bottom: 0; }
.phone-peek img { border-radius: 30px 30px 0 0; }
.shadow { box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.shadow-soft { box-shadow: 0 30px 60px rgba(16,18,22,0.25); }
.screen { border-radius: 18px; background: #050608; padding: 10px; box-shadow: 0 24px 48px rgba(16,18,22,0.18); }
.screen img { width: 100%; display: block; border-radius: 10px; }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--muted-2); }

/* Hero */
.hero { overflow: hidden; }
.hero .wrap { padding-top: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; }
.hero-copy { flex: 1 1 520px; min-width: 0; padding-bottom: 96px; }
.hero-copy .lead { max-width: 35rem; margin-top: 28px; }
.hero-phones { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; height: 570px; }
.hero-phones .side { width: 250px; height: 490px; }
.hero-phones .left { margin-right: -50px; transform: rotate(-6deg) translateY(44px); }
.hero-phones .right { margin-left: -50px; transform: rotate(6deg) translateY(44px); }
.hero-phones .center { width: 280px; height: 540px; position: relative; z-index: 2; border-radius: 40px; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.hero-phones .center img { border-radius: 32px; }

/* Strip */
.strip .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.strip .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }
.strip .wrap { gap: 10px 10px; }
.strip .label { margin-right: 10px; }
.strip .item { font-weight: 600; font-size: 16px; padding: 8px 16px; border: 1px solid #3A3F48; border-radius: 999px; }
.strip .more { font-size: 16px; color: var(--on-dark); padding: 8px 4px; }

/* Split header */
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.split-head > .h2, .split-head > div:first-child { flex: 1 1 560px; min-width: 0; }
.split-head > p { margin: 0; flex: 1 1 320px; min-width: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Product cards */
.product { margin-top: 24px; border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; }
.product:first-of-type { margin-top: 56px; }
.product-copy { flex: 1 1 440px; min-width: 0; padding: 48px; }
.product-logo { display: flex; align-items: center; gap: 12px; }
.product-logo .icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-logo .name { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.05; }
.product h3 { margin: 28px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.product p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; max-width: 32rem; }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.product-scheduler { background: var(--white); }
.product-scheduler p { color: var(--text-2); }
.product-scheduler .visual { flex: 1 1 440px; min-width: 0; background: var(--burgundy); display: flex; justify-content: center; align-items: flex-end; gap: 20px; padding: 48px 24px 0; overflow: hidden; min-height: 520px; }
.product-scheduler .visual .phone { width: 250px; height: 500px; }
.product-scheduler .visual .phone + .phone { height: 440px; }
.product-poker { background: var(--poker); color: var(--white); flex-wrap: wrap-reverse; }
.product-poker p { color: #C5D3CC; }
.product-poker .visual { flex: 1 1 520px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.product-poker .visual .screen { box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.product-poker .thumbs { display: flex; gap: 16px; }
.product-poker .thumbs img { height: 200px; object-fit: cover; border-radius: 14px; display: block; min-width: 0; }
.product-poker .thumbs img:first-child { flex: 1 1 0; }
.product-poker .thumbs img:last-child { flex: 0 0 150px; object-position: center top; }
.price-tag { margin: 20px 0 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--poker-gold); }
.btn-poker { background: var(--poker-gold); color: var(--poker); }
.btn-poker:hover { color: var(--poker); filter: brightness(1.05); }

/* Feature (two columns, text + visual) */
.feature .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.feature-copy { flex: 1 1 520px; min-width: 0; }
.feature-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; gap: 20px; }
.feature-visual .phone { width: 240px; height: 500px; }
.feature-visual .phone.offset { margin-top: 60px; }

.module-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: 16px; overflow: hidden; }
.module-grid > div { background: var(--white); padding: 20px; }
.module-grid .t { font-weight: 600; font-size: 16px; }
.module-grid .d { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.module-grid .cta { background: var(--ink); display: flex; align-items: center; }
.module-grid .cta a { color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none; display: flex; align-items: center; min-height: 44px; }

/* Work cards (dark) */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.work-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.work-card .visual { height: 340px; overflow: hidden; display: flex; justify-content: center; gap: 16px; padding-top: 36px; background: var(--ink-3); }
.work-card .visual .phone { width: 210px; height: 420px; border-radius: 34px; padding: 8px; }
.work-card .visual .phone img { border-radius: 27px; }
.work-card .visual .phone:not(:only-child) { width: min(190px, 44%); height: 400px; }
.work-card .visual .phone:not(:only-child) img { object-position: left top; }
.work-card .body { padding: 28px; }
.work-card .h3 { margin-top: 10px; }
.work-card p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--on-dark); }

/* Mock league phone (no screenshot yet) */
.mock-league { width: 100%; height: 100%; border-radius: 27px; background: #F3F4F6; overflow: hidden; color: var(--ink); }
.mock-league .top { background: #0E3A66; color: var(--white); padding: 28px 16px 14px; }
.mock-league .top small { display: block; font-size: 11px; color: #C4D3E3; }
.mock-league .top strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.mock-league .alert { margin: 12px; background: var(--ink); color: var(--white); border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.4; }
.mock-league .alert b { color: var(--accent); }
.mock-league .list { margin: 0 12px; background: var(--white); border-radius: 12px; padding: 4px 12px; font-size: 13px; }
.mock-league .list div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #EEF0F2; }
.mock-league .list div:last-child { border-bottom: 0; }

/* Capabilities */
.caps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.caps > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.caps .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.caps .t { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 10px; }
.caps .d { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { background: var(--white); border-radius: 18px; padding: 28px; }
.steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.steps .t { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 20px; }
.steps .d { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo { flex: 0 1 360px; min-width: 0; }
.photo-placeholder { aspect-ratio: 4 / 5; width: 100%; border-radius: 22px; background: var(--ink-3); border: 1px dashed #3A3F48; display: flex; align-items: center; justify-content: center; color: var(--on-dark-2); font-family: var(--font-mono); font-size: 13px; }
.about-photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 22px; display: block; }
.about-copy { flex: 1 1 480px; min-width: 0; }
.about-copy p { margin: 24px 0 0; font-size: 19px; line-height: 1.6; color: #C9CED6; max-width: 38rem; }
.about-copy p + p { margin-top: 18px; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 420px; min-width: 0; }
.contact-copy .h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.price-note { margin-top: 28px; max-width: 30rem; background: var(--paper); border-radius: 18px; padding: 22px 24px; }
.price-note p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.contact-lines { margin-top: 28px; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.contact-lines a { font-weight: 600; }
.form { flex: 1 1 480px; min-width: 0; background: var(--paper); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form .row { display: flex; flex-wrap: wrap; gap: 18px; }
.form .field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 48px; border-radius: 12px; border: 1px solid #CFCDC6; background: var(--white); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.form textarea { padding: 12px 14px; resize: vertical; }
.form button { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form-status.ok { background: #E3F2E8; color: #17502E; }
.form-status.err { background: #FBE6E3; color: #8A2318; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.site-footer .name { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 16px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }

/* Case study */
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.stats > div { background: var(--ink-2); padding: 24px; }
.stats .v { font-family: var(--font-display); font-weight: 800; font-size: 40px; }
.stats .l { font-size: 14px; color: #9AA1AC; margin-top: 4px; }
.ba { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.ba-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ba-row > div { flex: 1 1 300px; border-radius: 16px; padding: 22px; }
.ba-row .before { background: var(--white); color: var(--muted); }
.ba-row .after { background: var(--ink); color: var(--white); }
.ba-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: #6B7079; }
.ba-row .after .k { color: var(--accent); }
.ba-row .v { font-size: 17px; margin-top: 6px; line-height: 1.45; }
.bullets { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.bullets li { display: flex; gap: 12px; }
.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.numbered { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.numbered li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; counter-increment: n; }
.numbered li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; background: var(--burgundy); color: var(--white); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: -4px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.mini-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.mini-card .visual { background: var(--burgundy); height: 260px; overflow: hidden; display: flex; justify-content: center; gap: 12px; padding: 24px 12px 0; }
.mini-card .visual { align-items: flex-start; }
.mini-card .visual img { width: 46%; height: auto; border-radius: 16px 16px 0 0; display: block; }
.mini-card .visual img.wide { width: 100%; }
.mini-card .body { padding: 26px; }
.mini-card h3 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.mini-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.figs { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.figs figure:first-child { flex: 1 1 560px; min-width: 0; }
.figs figure:last-child { flex: 1 1 380px; min-width: 0; }
.figs figure:only-child { flex: 1 1 100%; max-width: 980px; margin: 0 auto; }
.reports-fig { margin: 40px auto 0; max-width: 980px; }
.reports-fig figcaption strong { color: var(--ink); }
.swatches { flex: 1 1 360px; min-width: 0; display: flex; gap: 12px; }
.swatches span { flex: 1; height: 120px; border-radius: 16px; }
.cta-band { background: var(--accent); }
.cta-band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band .h2 { flex: 1 1 520px; min-width: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }

/* Blog */
.post-list { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--white); }
.post-card:hover { color: var(--ink); border-color: #C9CED6; }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.post-card .body { padding: 24px; }
.post-card h2 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.post-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; padding: 72px 24px 112px; }
.article .meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted-2); text-transform: uppercase; }
.article h1 { margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.article .dek { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: var(--text-2); }
.article .content { margin-top: 40px; font-size: 18px; line-height: 1.7; color: #262A32; }
.article .content h2 { margin: 48px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.15; color: var(--ink); }
.article .content p { margin: 18px 0 0; }
.article .content ul { margin: 18px 0 0; padding-left: 22px; }
.article .content li { margin-top: 8px; }
.article .content figure { margin: 36px 0 0; }
.article .phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.article .phones .phone { width: 240px; height: 460px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted-2); }

/* Services */
.services { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.service { background: var(--paper); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.service .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.service .t { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.15; margin-top: 22px; }
.service .d { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 10px; }
.service .tag { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); text-transform: uppercase; }
.integrations { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 15px; color: var(--text-2); }
.integrations .chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 500; }

/* Why custom */
.why { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px; }
.why > div { border-top: 3px solid var(--accent); padding-top: 22px; }
.why .t { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.why .d { font-size: 16px; line-height: 1.6; color: var(--on-dark); margin-top: 10px; }

/* Project cards with a wide screenshot */
.work-card .visual.photo { padding: 0; }
.work-card .visual.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.work-card .more { margin-top: 14px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--accent); }
.work-card .more:hover { color: var(--white); }

/* Ready-made products band */
.ready { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; margin-top: 40px; }
.ready a { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--ink); border: 1px solid var(--paper-line); }
.ready a:hover { color: var(--ink); border-color: #B9B6AC; }
.ready .icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ready .name { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; }
.ready .d { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.ready .arrow { margin-left: auto; font-weight: 600; font-size: 20px; }

/* Phone menu */
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid #3A3F48; border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
  .menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
  .site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #22262E; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 24px; box-shadow: 0 24px 40px rgba(0,0,0,0.4); }
  .site-header.open .nav { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; color: var(--white); border-bottom: 1px solid #22262E; }
  .nav .nav-cta { margin-top: 20px; min-height: 52px; justify-content: center; border-bottom: 0; }
}

/* Small screens */
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero .wrap { padding-top: 64px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-phones { height: 480px; }
  .hero-phones .side { display: none; }
  .product-copy { padding: 32px 24px; }
  .product-poker .visual { padding: 24px; }
  .product-scheduler .visual .phone + .phone { display: none; }
  .feature-visual .phone.offset { display: none; }
  .form { padding: 24px; }
  .strip .wrap { gap: 10px 8px; padding-top: 22px; padding-bottom: 24px; }
  .strip .label { width: 100%; margin-bottom: 4px; }
  .strip .item, .strip .more { font-size: 14px; }
  .strip .item { padding: 7px 12px; }
  .brand-name { font-size: 18px; }
}
