@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --ink: #111116;
    --muted: #676774;
    --line: #e9e9ee;
    --soft: #f7f7fa;
    --purple: #635bff;
    --purple-deep: #4b42da;
    --coral: #ff8b87;
    --pink: #f6b2dc;
    --max: 1240px;
    --radius-lg: 30px;
    --shadow-soft: 0 20px 70px rgba(32, 28, 77, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header { position: relative; z-index: 20; width: min(100% - 48px, var(--max)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #111116 0%, #3b3b47 58%, var(--coral) 100%); position: relative; box-shadow: 0 6px 18px rgba(17,17,22,.18); }
.brand-mark:after { content: ''; position: absolute; width: 12px; height: 4px; border-radius: 3px; background: #fff; left: 8px; top: 12px; transform: rotate(-28deg); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 13px; color: #454550; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--purple); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 19px; font-size: 13px; font-weight: 600; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.nav-cta { background: var(--ink); color: white; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,17,22,.16); }
.button-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(99,91,255,.2); }
.button-secondary { border: 1px solid #d9d9e1; background: #fff; }
.button-secondary:hover { border-color: var(--purple); color: var(--purple); }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-size: 13px; }

.hero-wrap { overflow: hidden; }
.hero { width: min(100% - 48px, var(--max)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(470px, 1.05fr); align-items: center; gap: 68px; padding: 68px 0 56px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.kicker:before { content: ''; width: 26px; height: 1px; background: currentColor; }
.metric-line { display: inline-flex; align-items: center; gap: 11px; padding: 8px 12px; border: 1px solid #e7e6f2; border-radius: 8px; color: #53525f; background: #fbfbff; font-size: 11px; letter-spacing: .03em; margin-bottom: 22px; }
.metric-line strong { color: var(--ink); font-size: 12px; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.075em; margin: 0; }
h1 { max-width: 680px; font-size: clamp(58px, 7vw, 96px); line-height: .94; font-weight: 500; }
.highlight { color: var(--purple); }
.hero-sub { max-width: 500px; color: var(--muted); font-size: 17px; line-height: 1.55; margin: 28px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; color: #898994; font-size: 12px; }

.mesh-stage { min-height: 490px; position: relative; display: grid; place-items: center; }
.mesh-stage:before { content: ''; position: absolute; width: 510px; height: 510px; right: 12px; top: 4px; border-radius: 46% 54% 62% 38% / 42% 38% 62% 58%; background: radial-gradient(circle at 23% 23%, rgba(255,255,255,.75) 0 9%, transparent 10%), radial-gradient(circle at 70% 30%, rgba(255,255,255,.3), transparent 26%), linear-gradient(135deg, #7068ff 4%, #a59cff 32%, #ffaaa1 66%, #f6c2e1 100%); transform: rotate(-10deg); box-shadow: 20px 30px 90px rgba(99,91,255,.22); }
.mesh-stage:after { content: ''; position: absolute; width: 430px; height: 430px; right: 62px; top: 42px; border-radius: 50%; background: repeating-linear-gradient(110deg, rgba(255,255,255,.24) 0 1px, transparent 1px 11px); mix-blend-mode: overlay; opacity: .6; transform: rotate(12deg); }
.mesh-card { position: relative; z-index: 2; width: min(86%, 390px); border: 1px solid rgba(255,255,255,.6); border-radius: 24px; padding: 22px; background: rgba(255,255,255,.38); box-shadow: var(--shadow-soft); transform: rotate(5deg); }
.mesh-card-top { display: flex; justify-content: space-between; color: rgba(17,17,22,.66); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.mesh-card-graph { height: 185px; margin: 38px 0 24px; position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(99,91,255,.12)); }
.mesh-card-graph:before { content: ''; position: absolute; inset: 38px -20px 28px; border-top: 2px solid rgba(255,255,255,.82); border-radius: 50%; transform: rotate(-15deg); box-shadow: 0 -25px 0 rgba(255,255,255,.3), 0 26px 0 rgba(255,255,255,.18); }
.mesh-card-graph:after { content: ''; position: absolute; width: 100px; height: 100px; right: 30px; bottom: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.mesh-card-bottom { display: flex; align-items: end; justify-content: space-between; }
.mesh-card-bottom strong { font: 500 42px/1 'Space Grotesk', sans-serif; letter-spacing: -.08em; }
.mesh-card-bottom span { color: rgba(17,17,22,.62); font-size: 11px; }

.logo-cloud { width: min(100% - 48px, var(--max)); margin: 0 auto; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 0 34px; color: #b4b4bd; }
.logo-cloud-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.logo-list { width: 100%; display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.04em; filter: grayscale(1); }

.section { width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 130px 0; }
.section-soft { width: 100%; background: var(--soft); padding-left: max(24px, calc((100% - var(--max)) / 2)); padding-right: max(24px, calc((100% - var(--max)) / 2)); }
.section-label { color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.section-heading { max-width: 760px; font-size: clamp(42px, 5vw, 68px); line-height: .98; font-weight: 500; }
.section-intro { max-width: 580px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.feature { min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,20,30,.08); }
.feature-index { color: var(--purple); font-size: 12px; font-weight: 700; }
.feature h3 { margin-top: 68px; font-size: 26px; line-height: 1.05; font-weight: 500; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 14px 0 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.quote { padding: 34px; border-left: 2px solid var(--purple); background: #fff; font: 500 clamp(25px, 3vw, 40px)/1.08 'Space Grotesk', sans-serif; letter-spacing: -.06em; }
.quote small { display: block; margin-top: 24px; color: var(--muted); font: 12px/1.5 'DM Sans', sans-serif; letter-spacing: 0; }
.faq-list { border-top: 1px solid var(--line); margin-top: 44px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -.04em; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; color: var(--purple); font-size: 24px; }
details[open] summary:after { content: '−'; }
details p { max-width: 640px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; }
.cta-band { width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 96px 0 120px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.cta-band h2 { max-width: 670px; font-size: clamp(48px, 6vw, 82px); line-height: .94; font-weight: 500; }
.cta-band p { max-width: 330px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.site-footer { border-top: 1px solid var(--line); width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 28px 0 38px; display: flex; justify-content: space-between; gap: 24px; color: #858590; font-size: 12px; }
.footer-links { display: flex; gap: 20px; }

.page-hero { width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 90px 0 110px; }
.page-hero h1 { max-width: 900px; }
.page-hero .hero-sub { max-width: 620px; }
.work-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 60px; }
.work-card { min-height: 280px; border-radius: 24px; padding: 28px; background: linear-gradient(135deg, #f0efff, #fff2ef); position: relative; overflow: hidden; }
.work-card:nth-child(2) { background: linear-gradient(135deg, #fff2f2, #f5edff); }
.work-card:nth-child(3) { background: linear-gradient(135deg, #f5f5f8, #eae8ff); }
.work-card:after { content: ''; position: absolute; width: 210px; height: 210px; right: -32px; bottom: -62px; border-radius: 48% 52% 36% 64%; background: linear-gradient(135deg, rgba(99,91,255,.8), rgba(255,157,147,.7)); transform: rotate(-24deg); }
.work-card span { color: var(--purple); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.work-card h3 { position: absolute; z-index: 1; left: 28px; bottom: 28px; max-width: 300px; font-size: 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 55px; }
.contact-panel { min-height: 260px; border-radius: 24px; padding: 30px; background: var(--soft); }
.contact-panel.purple { background: var(--purple); color: #fff; }
.contact-panel h3 { font-size: 30px; }
.contact-panel p { max-width: 360px; line-height: 1.6; color: var(--muted); }
.contact-panel.purple p { color: rgba(255,255,255,.76); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 860px) {
    .site-header, .hero, .section, .logo-cloud, .page-hero, .cta-band, .site-footer { width: min(100% - 32px, var(--max)); }
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); flex-direction: column; align-items: flex-start; gap: 18px; }
    .nav-links.is-open { display: flex; }
    .menu-toggle { display: block; }
    .site-header { flex-wrap: wrap; }
    .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 50px; }
    h1 { font-size: clamp(54px, 14vw, 82px); }
    .mesh-stage { min-height: 420px; }
    .mesh-stage:before { width: 420px; height: 420px; right: 50%; transform: translateX(50%) rotate(-10deg); }
    .mesh-stage:after { right: 50%; transform: translateX(50%) rotate(12deg); }
    .feature-grid, .split, .contact-grid, .work-grid { grid-template-columns: 1fr; }
    .feature h3 { margin-top: 48px; }
    .logo-cloud, .cta-band, .site-footer { align-items: flex-start; flex-direction: column; }
    .logo-list { justify-content: flex-start; }
    .section { padding: 88px 0; }
    .section-soft { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; } }
