@font-face {
    font-family: Inter;
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url('/fonts/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700 900;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.62 Inter, system-ui, sans-serif; }
body, button, input, textarea { font-family: Inter, system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; font-weight: 700; letter-spacing: -.038em; }
a { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #1974ed; outline-offset: 5px; }
[aria-current="page"] { font-weight: 700; }
.studio-actions { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.section-kicker { color: var(--blue-deep); font-weight: 700; font-size: 12px; letter-spacing: .095em; line-height: 1.4; text-transform: uppercase; }
.with-dot { display: flex; align-items: center; gap: 9px; }
.with-dot::before { content: ''; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #2874ec; box-shadow: 0 0 0 4px #2874ec22; }
.studio-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-deep); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.studio-text-link span { display: inline-block; text-decoration: none; }
.studio-text-link:hover { color: var(--blue); }

.studio-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 90% 46%, #dceeff 0, transparent 57%), linear-gradient(105deg, #f9fbff 8%, #eff6ff 100%); border-bottom: 1px solid #dce8f5; }
.studio-hero-grid { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: 50px; align-items: center; padding-block: 88px 84px; }
.studio-hero h1 { margin-top: 20px; font-size: clamp(42px, 4.45vw, 65px); line-height: 1.035; letter-spacing: -.07em; }
.studio-hero h1 span, .studio-hero h1 em { display: block; }
.studio-hero h1 em { color: var(--blue); font-style: normal; white-space: nowrap; }
.hero-description { margin-top: 26px; max-width: 510px; color: #40566d; font-size: clamp(16px, 1.46vw, 20px); line-height: 1.55; }
.studio-hero .studio-actions { margin-top: 27px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.studio-check { display: inline-grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; color: #0952b9; background: #dcecff; font-size: 12px; font-weight: 700; }
.hero-figure { min-width: 0; padding-top: 16px; }
.hero-figure figcaption { margin-top: 14px; color: #465f7a; font-size: 12px; text-align: center; }
.app-preview { position: relative; border: 1px solid #ffffffa1; border-radius: 26px; padding: 21px; background: linear-gradient(145deg, #fafeffd9, #b9d6fd); box-shadow: 0 18px 64px #2765ba1c; }
.app-window { background: #fff; border: 1px solid #b9cce1; border-radius: 13px; overflow: hidden; box-shadow: 0 22px 39px #173c6d32; }
.app-window-bar { position: relative; display: grid; place-items: center; min-height: 34px; padding: 5px; color: #506683; background: #f9fbff; border-bottom: 1px solid #dce7f4; font-size: 10px; font-weight: 600; }
.app-window-dots { display: flex; position: absolute; left: 11px; gap: 5px; }
.app-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9d9ed; }
.app-window-dots i:first-child { background: #8fb5ec; }
.app-window-grid { display: grid; grid-template-columns: minmax(104px, 24%) minmax(0, 1fr); }
.app-sidebar { background: #14315e; color: #c9ddf8; padding: 20px 9px 13px; }
.app-sidebar-brand { display: flex; align-items: center; gap: 6px; margin: 0 3px 23px; color: white; font-weight: 700; font-size: 10px; white-space: nowrap; }
.app-sidebar-brand span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: white; background: #2d73e1; font-size: 12px; }
.app-sidebar-nav { display: flex; align-items: center; gap: 6px; margin-block: 3px; padding: 8px 6px; border-radius: 5px; white-space: nowrap; font-size: 9px; }
.app-sidebar-current { color: white; background: #25487d; }
.mini-icon { flex: 0 0 10px; height: 10px; border: 1px solid #aac9f0; border-radius: 2px; }
.mini-icon-list { border-inline: 0; border-radius: 0; }
.mini-icon-users { border-radius: 50%; }
.mini-icon-chart { border: 0; border-left: 1px solid #aac9f0; border-bottom: 1px solid #aac9f0; }
.app-content { min-width: 0; padding: 21px 16px 22px; background: #f5f9ff; }
.app-heading { display: flex; justify-content: space-between; align-items: end; gap: 7px; }
.app-breadcrumb { color: #586f88; font-size: 9px; }
.app-title { margin-top: 3px; color: #163052; font-size: clamp(15px, 2vw, 23px); line-height: 1.15; letter-spacing: -.045em; font-weight: 700; }
.app-action { display: inline-block; padding: 5px 8px; color: white; background: #1b5dcb; border-radius: 5px; font-size: 9px; white-space: nowrap; }
.app-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 16px; }
.app-metrics div { padding: 8px 8px 7px; background: white; border: 1px solid #e1eafa; border-radius: 7px; }
.app-metrics span { display: block; color: #506683; font-size: 8px; }
.app-metrics strong { display: block; margin-top: 2px; color: #1a3761; font-size: 21px; line-height: 1.08; font-weight: 700; }
.app-metrics div:nth-child(2) strong { color: #0b56c8; }
.app-invoices { margin-top: 12px; border: 1px solid #e1eafa; border-radius: 7px; background: white; }
.app-invoices p { padding: 8px 8px 7px; color: #1a3761; font-size: 10px; font-weight: 700; }
.app-invoice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 6px; align-items: center; padding: 6px 7px; border-top: 1px solid #edf2f8; color: #243c58; font-size: 8px; }
.app-invoice-number, .app-invoice-amount { color: #526d88; white-space: nowrap; }
.app-status { display: inline-block; justify-self: end; padding: 2px 5px; border-radius: 12px; white-space: nowrap; font-weight: 600; }
.app-status--draft { color: #164d9c; background: #e7f0ff; }
.app-status--fiscalized { color: #236448; background: #dff6e9; }

.studio-section { padding-block: 82px; }
.studio-section-heading { max-width: 720px; margin-bottom: 31px; }
.studio-section-heading h2, .studio-cta-card h2 { margin-top: 11px; font-size: clamp(35px, 4vw, 54px); letter-spacing: -.06em; }
.studio-section-heading > p:last-of-type:not(.section-kicker) { margin-top: 15px; color: var(--muted); max-width: 620px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.work-card-visual { padding: 24px 32px 0; display: flex; justify-content: center; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, #e9f4ff, #cce2fe); }
.work-card-visual--confirmation { background: linear-gradient(130deg, #edf3ff, #d9e5fd); }
.work-invoice { width: min(100%, 340px); padding: 13px 16px 5px; border: 1px solid #d3e1f2; border-bottom: 0; border-radius: 11px 11px 0 0; background: white; color: #284366; box-shadow: 0 8px 36px #1b5aab26; font-size: 12px; }
.work-invoice > span { display: grid; grid-template-columns: 7px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #ecf1f7; color: #405774; font-size: 10px; }
.work-invoice > span:last-child { border-bottom: 0; }
.work-invoice i { width: 6px; height: 6px; background: #407be4; border-radius: 50%; }
.work-invoice b { color: #2b628d; background: #eef7ff; border-radius: 8px; padding: 2px 6px; font-size: 9px; }
.work-invoice .work-invoice-confirmed { color: #236448; background: #dff6e9; }
.work-card-body { padding: 25px 31px; flex: 1; }
.work-card h3 { font-size: clamp(22px, 2.3vw, 31px); }
.work-card-body p { margin-top: 10px; color: var(--muted); }
.work-example-link { margin-top: 20px; }

.services-section { background: #f4f8fe; border-block: 1px solid #e4edf8; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services-grid article { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.services-grid h3 { margin-top: 17px; font-size: 23px; }
.services-grid p { margin-top: 9px; color: var(--muted); }
.service-icon { width: 43px; height: 43px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--blue-deep); background: #e8f1ff; }
.service-icon i { position: relative; display: block; width: 17px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.service-icon--app i::after { content: ''; position: absolute; inset: 4px 0 auto; border-top: 1.5px solid currentColor; }
.service-icon--flow i { transform: rotate(45deg); width: 12px; height: 12px; border-radius: 2px; }
.service-icon--flow i::before, .service-icon--flow i::after { content: ''; position: absolute; height: 4px; width: 4px; border-radius: 50%; background: currentColor; }
.service-icon--flow i::before { top: -5px; left: -5px; }
.service-icon--flow i::after { bottom: -5px; right: -5px; }
.service-icon--link i { transform: rotate(-35deg); width: 13px; height: 8px; border-radius: 6px; margin-right: 6px; }
.service-icon--link i::after { content: ''; position: absolute; top: -1.5px; left: 5px; width: 13px; height: 8px; border: 1.5px solid currentColor; border-radius: inherit; }

/* Products — our own products as proof of the work we do for clients */
.products-section { background: white; }
.products-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.product-card { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #f7faff; }
.product-card h3 { margin-top: 8px; font-size: 27px; letter-spacing: -.035em; }
.product-card p:not(.product-card-label) { margin-top: 9px; color: var(--muted); }
.product-card-label { color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; color: var(--blue-deep); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.product-card-link:hover { color: var(--blue); }
.product-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.product-card-actions .product-card-link { margin-top: 0; padding-top: 0; }
.product-card--featured { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 28px; border-color: #1e3f73; color: white; background: radial-gradient(ellipse at 110% 0%, #1d5fd0, transparent 60%), #0f2a52; }
.product-card--featured .product-card-label { color: #a9cbff; }
.product-card--featured p:not(.product-card-label) { color: #d4e4fb; }
.product-card--featured .product-card-link { color: #cfe2ff; }
.product-card--featured .product-card-link:hover { color: white; }
.product-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.product-chips li { padding: 4px 11px; border: 1px solid #ffffff33; border-radius: 999px; background: #ffffff12; color: #e3eeff; font-size: 12px; font-weight: 600; }
.product-terminal { margin: 0; padding: 18px 20px; border: 1px solid #2b4b78; border-radius: 12px; background: #081a36; color: #cfe3ff; font: 600 13px/1.9 ui-monospace, Consolas, monospace; white-space: pre; overflow-x: auto; }
.product-terminal span { color: #7f9cc9; }
.product-status { margin: 16px 0 0; padding: 0; list-style: none; }
.product-status li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.product-status b { color: var(--muted); font-weight: 600; }
.product-status i { width: 9px; height: 9px; border-radius: 50%; }
.product-status .is-ok { background: #1f9d55; }
.product-status .is-warn { background: #d98e04; }
.product-card--game { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 22px; overflow: hidden; }
.product-phone { width: 150px; height: auto; border: 6px solid #0b1020; border-radius: 26px; box-shadow: 0 14px 30px #0d214033; background: #0b1020; }
.products-more { margin-top: 22px; }
@media (max-width: 1200px) {
    .product-card--featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.process-section { color: white; background: radial-gradient(ellipse at 91% 10%, #203e74, transparent 66%), #102748; }
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 75px; }
.process-section .studio-section-heading { margin-bottom: 0; }
.process-section .section-kicker { color: #b8d7ff; }
.process-section .studio-section-heading > p:last-of-type:not(.section-kicker) { color: #d9e7f7; }
.process-section .button { margin-top: 23px; }
.process-steps { padding: 0; margin: 0; list-style: none; }
.process-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid #8bbaf349; }
.process-steps li:first-child { padding-top: 0; }
.process-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.process-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid #a2caff72; color: #e0edff; background: #274b80; font-weight: 700; }
.process-steps h3 { margin-top: 3px; font-size: 20px; }
.process-steps p { margin-top: 6px; color: #d6e5f6; font-size: 15px; }

.framework-section { background: white; }
.foundation-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 66px; }
.foundation-grid .studio-section-heading { margin-bottom: 0; }
.foundation-links { display: flex; flex-wrap: wrap; gap: 13px 26px; margin-top: 19px; }
.foundation-visual { min-width: 0; padding: 37px 24px; border: 1px solid #dce9fa; border-radius: var(--radius); background: linear-gradient(140deg, #f6faff, #e8f2ff); }
.foundation-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.foundation-apps span { display: grid; place-items: center; min-height: 52px; padding: 5px; text-align: center; border: 1px solid #c9dcf4; border-radius: 8px; color: #1d4271; background: white; font-size: 13px; font-weight: 700; }
.foundation-connector { display: grid; grid-template-columns: repeat(3, 1fr); height: 22px; justify-items: center; }
.foundation-connector i { border-left: 1px solid #7ba6e3; }
.foundation-core { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 15px 10px; border: 1px solid #214377; border-radius: 10px; background: #173662; color: white; }
.foundation-core strong { display: block; font-size: 15px; }
.foundation-core small { display: block; color: #c2d9f6; font-size: 11px; }
.studio-cta-section { padding-top: 0; }
.studio-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 34px 39px; border: 1px solid #d3e4fb; border-radius: var(--radius); background: #eef6ff; }
.studio-cta-card h2 { font-size: clamp(29px, 3.7vw, 43px); margin: 0; }
.studio-cta-card p { margin-top: 7px; color: var(--muted); }

.studio-page h1 { font-size: clamp(43px, 6vw, 75px); letter-spacing: -.07em; }
.studio-page-hero { padding-block: 81px 76px; border-bottom: 1px solid #e1eafa; background: radial-gradient(ellipse at 90% 35%, #dcecff, transparent 60%), #f5f9ff; }
.studio-page-hero h1 { margin-top: 15px; }
.studio-page-hero .page-lead { max-width: 680px; margin-top: 19px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.studio-page-hero .studio-actions { margin-top: 24px; }
.studio-inner-columns { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: 46px; align-items: start; }
.studio-prose { max-width: 720px; }
.studio-prose > p { margin-top: 13px; color: var(--muted); }
.studio-prose h2 { font-size: clamp(28px, 4vw, 44px); }
.studio-prose h3 { margin-top: 17px; font-size: 21px; }
.studio-info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #f5f9ff; }
.studio-info-card h2 { font-size: 25px; }
.studio-info-card p { margin-top: 10px; color: var(--muted); }
.studio-info-card .studio-text-link { margin-top: 17px; }
.framework-proof { margin-top: 25px; }
.about-built { padding-top: 0; }
.about-built-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.about-built-list a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #f7faff; color: var(--ink); text-decoration: none; transition: border-color .16s, background-color .16s; }
.about-built-list a:hover { border-color: #9cc0f0; background: #eef5ff; }
.about-built-list strong { font-size: 19px; letter-spacing: -.02em; }
.about-built-list span { color: var(--muted); font-size: 15px; }
.framework-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.framework-flow li { min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: #f5f9ff; }
.framework-flow li::before { content: counter(list-item); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 13px; border-radius: 8px; color: var(--blue-deep); background: #e4efff; font-weight: 700; }
.framework-flow h3 { font-size: clamp(19px, 2vw, 24px); }
.framework-flow p { margin-top: 8px; color: var(--muted); }

@media (min-width: 1250px) {
    .app-window-bar { min-height: 41px; }
    .app-sidebar { padding: 22px 12px 18px; }
    .app-sidebar-nav, .app-sidebar-brand { font-size: 11px; }
    .app-content { padding: 25px 20px 24px; }
    .app-breadcrumb, .app-action { font-size: 10px; }
    .app-metrics div { padding: 10px; }
    .app-metrics span, .app-invoice { font-size: 9px; }
    .app-invoice { padding: 7px 9px; }
    .app-invoices { margin-top: 15px; }
}

@media (max-width: 1030px) {
    .studio-hero-grid { gap: 24px; padding-block: 78px 74px; }
    .app-preview { padding: 13px; }
    .app-invoice { grid-template-columns: auto minmax(0, 1fr) auto; }
    .app-invoice-amount { display: none; }
    .studio-section { padding-block: 65px; }
    .studio-cta-section { padding-top: 0; }
    .foundation-grid, .process-grid { gap: 38px; }
    .product-card--featured, .product-card { grid-column: span 6; }
    .product-card--game { grid-column: span 3; grid-template-columns: minmax(0, 1fr); }
    .product-card--game .product-phone { display: none; }
}

@media (max-width: 800px) {
    .studio-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 31px; padding-block: 62px 52px; }
    .studio-hero h1 { max-width: 670px; font-size: clamp(48px, 8.6vw, 69px); }
    .hero-figure { max-width: 600px; padding-top: 0; }
    .app-invoice { grid-template-columns: auto minmax(0, 1fr) auto auto; }
    .app-invoice-amount { display: inline; }
    .studio-section { padding-block: 56px; }
    .studio-cta-section { padding-top: 0; }
    .services-grid article { padding: 20px; }
    .studio-page-hero { padding-block: 61px; }
    .product-card--featured { grid-template-columns: minmax(0, 1fr); }
    .product-card--game { grid-column: span 6; grid-template-columns: minmax(0, 1fr) 120px; }
    .product-card--game .product-phone { display: block; width: 120px; border-width: 5px; border-radius: 22px; }
}

@media (max-width: 590px) {
    .studio-hero-grid { padding-block: 48px 43px; }
    .studio-hero h1 { margin-top: 17px; font-size: clamp(39px, 10vw, 56px); }
    .hero-description { margin-top: 18px; }
    .studio-hero .studio-actions { margin-top: 22px; }
    .studio-actions { gap: 8px; }
    .hero-note { margin-top: 15px; font-size: 12px; }
    .app-preview { padding: 9px; border-radius: 16px; }
    .app-window { border-radius: 9px; }
    .app-window-bar { min-height: 27px; }
    .app-window-grid { grid-template-columns: minmax(0, 1fr); }
    .app-sidebar { display: none; }
    .app-content { padding: 12px 11px 13px; }
    .app-metrics { margin-top: 10px; }
    .app-invoices { margin-top: 8px; }
    .app-invoices p { padding-block: 5px; }
    .app-invoice { padding-block: 4px; }
    .hero-figure figcaption { margin-top: 8px; font-size: 11px; }
    .studio-section { padding-block: 44px; }
    .studio-cta-section { padding-top: 0; }
    .studio-section-heading { margin-bottom: 21px; }
    .studio-section-heading h2 { font-size: clamp(31px, 8vw, 44px); }
    .work-grid, .services-grid, .foundation-grid, .process-grid, .studio-inner-columns, .framework-flow { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .foundation-grid, .process-grid, .studio-inner-columns { gap: 26px; }
    .work-card-body { padding: 22px; }
    .work-card-visual { padding: 16px 20px 0; }
    .foundation-visual { padding: 21px 15px; }
    .studio-cta-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 23px; }
    .studio-page-hero { padding-block: 45px; }
    .product-card { padding: 22px; }
    .product-card--game { grid-template-columns: minmax(0, 1fr); }
    .product-card--game .product-phone { display: none; }
    .product-terminal { font-size: 12px; padding: 14px 16px; }
}

@media (max-width: 350px) {
    .app-invoice { grid-template-columns: auto minmax(0, 1fr) auto; }
    .app-invoice-amount { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
