@font-face { font-family: LoomaFraunces; src: url('/assets/fraunces.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: LoomaBricolage; src: url('/assets/bricolage.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Outfit; src: url('/assets/outfit-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --navy: #101C44;
  --blue: #2670FF;
  --mist: #F4F7FC;
  --muted: #58657E;
  --line: #DCE2ED;
  --heading: Outfit, sans-serif;
  --body: Inter, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: white; color: var(--navy); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #D5E3FF; color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 5px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; left: -999px; z-index: 50; background: white; padding: 12px 18px; }
.skip-link:focus { left: 20px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.small-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

/* Header and hero */
.site-header { width: min(1328px, calc(100% - 64px)); min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { width: 208px; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-header nav>a { padding-block: 10px; }
.site-header nav>a:hover { color: #174FBC; }
.site-header .nav-contact { border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.nav-contact span { font-size: 20px; }
.hero { padding: 76px 0 100px; text-align: center; }
.hero h1 { font-size: clamp(68px,7.5vw,108px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { color: var(--blue); }
.hero-lead { font-size: 19px; color: var(--muted); line-height: 1.65; margin: 28px auto; max-width: 40em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 50px; padding: 12px 24px; background: var(--navy); color: white; border-radius: 999px; font-size: 15px; font-weight: 500; }
.button:hover { background: #233B75; }
.button>span { font-size: 22px; line-height: 1; }
.hero-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* Hero illustration */
.hero-scene { position: relative; height: 360px; margin: 52px auto 0; border-radius: 26px; background: #F1F5FC; overflow: hidden; text-align: left; }
.scene-art { position: relative; width: 1100px; height: 360px; left: 50%; transform: translateX(-50%); }
.scene-connections { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-plan { position: absolute; top: 60px; left: 54px; width: 250px; padding: 23px; background: #F1EBFA; border: 1px solid #E1D8EF; border-radius: 15px; transform: rotate(-5deg); box-shadow: 0 12px 24px #101C440A; }
.scene-kicker { font-size: 9px; color: #74608D; }
.scene-plan>p { font: 500 27px/1.13 var(--heading); margin: 13px 0 18px; }
.plan-lines { display: flex; flex-direction: column; gap: 8px; font-size: 10px; }
.plan-lines span { display: flex; align-items: center; gap: 9px; }
.plan-lines i { width: 9px; height: 9px; border: 1px solid #B3A2CA; border-radius: 3px; }
.plan-note { display: block; font-size: 9px; color: #74608D; margin-top: 19px; }
.scene-build { position: absolute; width: 414px; left: 342px; top: 32px; border: 1px solid #D2DEEF; border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 20px 36px #101C4417; transform: rotate(-1deg); }
.scene-toolbar { display: flex; align-items: center; justify-content: space-between; background: #F9FBFE; border-bottom: 1px solid #E2E9F3; padding: 13px 16px; color: #73829A; font-size: 9px; }
.scene-toolbar>div { display: flex; gap: 4px; }
.scene-toolbar i { width: 5px; height: 5px; background: #CBD7E9; border-radius: 50%; }
.build-canvas { padding: 22px 26px 24px; text-align: center; }
.build-symbol { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #EAF1FF; color: var(--blue); margin: 0 auto 13px; }
.build-symbol svg { width: 43px; height: 43px; }
.build-canvas>p { font: 400 31px/1.15 var(--heading); }
.build-canvas strong { font-weight: 500; }
.build-chips { display: flex; justify-content: center; gap: 7px; margin-top: 21px; font-size: 9px; color: #5C6F8C; }
.build-chips span { padding: 5px 9px; background: #F4F7FC; border: 1px solid #E3EAF5; border-radius: 999px; }
.scene-run { position: absolute; width: 230px; left: 814px; top: 77px; padding: 22px; background: #E6F1EC; border: 1px solid #D0E4DA; border-radius: 16px; transform: rotate(5deg); box-shadow: 0 12px 24px #101C440A; }
.run-cloud { position: relative; width: 100px; height: 70px; margin: 0 auto 10px; }
.run-cloud svg { width: 100%; height: 100%; }
.run-dot { position: absolute; right: 7px; bottom: 6px; width: 15px; height: 15px; border-radius: 50%; border: 4px solid #E6F1EC; background: #2670FF; }
.scene-run>p { font: 500 24px/1.15 var(--heading); text-align: center; margin-bottom: 16px; }
.run-line { display: flex; justify-content: space-between; align-items: center; font-size: 9px; border-top: 1px solid #CCDFD5; padding-top: 8px; margin-top: 8px; color: #517361; }
.run-line i { width: 14px; height: 3px; border-radius: 2px; background: #AECBBC; }

/* Services and their illustrations */
.expertise { padding-block: 36px 100px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(36px,4vw,56px); line-height: 1.1; }
.section-heading>p { max-width: 28em; font-size: 17px; color: var(--muted); padding-bottom: 3px; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.service-card { min-width: 0; }
.service-card .service-label { margin-top: 24px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.service-card h3 { font-size: 27px; line-height: 1.16; margin: 10px 0 14px; max-width: 13ch; }
.service-card>p:last-child { font-size: 14px; color: var(--muted); line-height: 1.8; }
.service-visual { height: 252px; border-radius: 22px; padding: 24px 18px; display: grid; place-items: center; overflow: hidden; }
.service-visual svg { width: 24px; height: 24px; flex: none; }
.visual-ai { background: #F0ECFA; }
.visual-software { background: #FCEEE7; }
.visual-cloud { background: #E8F1FC; }
.visual-care { background: #E7F2ED; }
.ai-flow { display: flex; flex-direction: column; align-items: center; width: 100%; }
.document-chip, .answer-chip { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 11px; border: 1px solid #DED8EC; border-radius: 10px; background: white; font-size: 10px; }
.document-chip svg { width: 18px; height: 18px; color: #72628D; }
.flow-line { width: 1px; height: 19px; background: #C3B5DE; }
.ai-core { display: grid; place-items: center; background: white; width: 60px; height: 60px; border-radius: 18px; box-shadow: 0 6px 14px #4B356514; color: #72628D; }
.ai-core svg { width: 32px; height: 32px; }
.answer-dot { width: 6px; height: 6px; border-radius: 50%; background: #72628D; }
.software-scene { width: 100%; }
.software-window { background: white; border-radius: 12px; border: 1px solid #EAD8CD; box-shadow: 0 6px 18px #6F40200C; overflow: hidden; }
.window-bar { display: flex; gap: 4px; border-bottom: 1px solid #F3E5DE; padding: 10px; }
.window-bar i { width: 4px; height: 4px; background: #DFC8BA; border-radius: 50%; }
.window-content { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 19px 8px; font-size: 11px; }
.window-content svg { width: 34px; height: 34px; color: #9C674B; }
.connection { display: flex; align-items: center; justify-content: center; margin: 18px auto 0; width: 90%; }
.connection span { display: grid; place-items: center; background: #FFFAF7; border: 1px solid #EAD8CD; width: 36px; height: 36px; border-radius: 10px; }
.connection svg { width: 18px; height: 18px; color: #9C674B; }
.connection i { width: 18px; height: 1px; background: #D3B9A9; }
.cloud-scene { width: 100%; text-align: center; }
.cloud-symbol { display: grid; place-items: center; width: 100px; height: 76px; margin: auto; border: 1px solid #D5E4F6; border-radius: 22px; background: white; box-shadow: 0 6px 18px #123D7810; }
.cloud-symbol svg { width: 54px; height: 54px; color: #4475B2; stroke-width: 1.2; }
.cloud-branches { height: 30px; display: flex; justify-content: space-around; margin: 0 23px; border-top: 1px solid #BDD1EB; transform: translateY(14px); }
.cloud-branches i { width: 1px; height: 16px; background: #BDD1EB; }
.cloud-branches i:nth-child(2) { height: 30px; transform: translateY(-14px); }
.cloud-nodes { display: flex; justify-content: space-between; gap: 7px; }
.cloud-nodes span { flex: 1; padding: 9px 4px; border-radius: 8px; background: white; border: 1px solid #D5E4F6; font-size: 10px; }
.cloud-scene p { margin-top: 19px; font-size: 11px; color: #42658F; }
.care-panel { width: 100%; background: white; border: 1px solid #D3E5DC; border-radius: 14px; padding: 17px 14px; box-shadow: 0 6px 18px #214C3A0C; }
.care-panel>p { font: 500 14px var(--heading); margin-bottom: 14px; }
.care-panel>div { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid #EEF3F0; font-size: 11px; }
.care-panel svg { width: 18px; height: 18px; color: #567C68; }
.care-panel i { margin-left: auto; width: 16px; height: 4px; background: #C7DED1; border-radius: 9px; }

/* Looma product */
.product-section { padding-block: 12px 100px; }
.product-panel { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: center; background: #E7DCF6; border-radius: 28px; padding: 52px; overflow: hidden; }
.product-logo { width: 128px; height: auto; margin: 0 0 28px; }
.product-copy .eyebrow { color: #695D73; font-size: 12px; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.product-copy h2 { color: #30243E; font-family: LoomaFraunces, Georgia, serif; font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 72; font-weight: 600; font-size: clamp(36px,3.5vw,48px); line-height: 1.08; letter-spacing: -.025em; }
.product-copy>p:not(.eyebrow) { margin-top: 20px; color: #695D73; font-size: 15px; }
.product-points { padding: 0; margin: 22px 0 26px; list-style: none; font-size: 13px; color: #30243E; }
.product-points li { position: relative; padding-left: 18px; margin-block: 9px; }
.product-points li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #6A4697; position: absolute; left: 0; top: .65em; }
.product-copy .button { background: #30243E; }
.product-copy .button:hover { background: #493553; }
.product-visual { margin: 0; min-width: 0; }

.product-visual figcaption { margin-top: 18px; font-size: 11px; color: #695D73; }

.looma-preview { font-family: LoomaBricolage, sans-serif; background: #FAF7F0; color: #30243E; border: 1px solid #30243E18; border-radius: 24px; padding: 24px; box-shadow: 0 16px 36px #30243E12; }
.looma-preview-bar { display: flex; align-items: center; justify-content: space-between; font-size: 12px; padding-bottom: 16px; border-bottom: 1px solid #DED7E3; }
.looma-avatar { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #E7DCF6; font-size: 10px; font-weight: 600; }
.looma-preview-heading { margin: 21px 0; }
.looma-preview-heading h3 { font: 600 28px/1.2 LoomaBricolage, sans-serif; margin: 6px 0; letter-spacing: -.025em; }
.looma-preview-heading p { font-size: 11px; color: #695D73; }
.looma-balance { padding: 20px; border-radius: 20px; background: #E8EDD4; }
.looma-balance>span,.looma-journey>span { font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.looma-balance strong { display: block; font-size: 44px; font-weight: 600; line-height: 1.2; margin: 10px 0 6px; }
.looma-balance small { font-size: 12px; font-weight: 400; }
.looma-balance p { font-size: 12px; }
.looma-journey { position: relative; overflow: hidden; padding: 20px; border-radius: 20px; margin-top: 14px; background: #30243E; color: #FAF7F0; }
.looma-journey>span { color: #C4ADF5; }
.looma-journey h4 { position: relative; z-index: 1; font: 600 28px/1.08 LoomaFraunces, Georgia, serif; font-variation-settings: "SOFT" 80,"WONK" 1,"opsz" 72; margin: 12px 0 16px; }
.looma-journey p { position: relative; z-index: 1; font-size: 11px; }
.looma-journey img { position: absolute; width: 130px; height: 130px; right: -35px; top: 10px; opacity: .25; transform: rotate(12deg); }
.looma-progress { margin-top: 12px; height: 5px; background: #695D73; border-radius: 8px; overflow: hidden; }
.looma-progress i { display: block; width: 66.666%; height: 100%; background: #C4ADF5; }
.looma-next { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 12px; }
.looma-next>div { flex: 1; }
.looma-next b { font-weight: 600; }
.looma-next small { display: block; margin-top: 4px; font-size: 10px; color: #695D73; }

/* Approach */
.approach-section { padding-block: 84px 90px; background: var(--mist); }
.approach-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px; margin-top: 54px; }
.approach-grid article { position: relative; padding-top: 24px; border-top: 1px solid #CDD8EA; }
.step-number { display: inline-block; color: var(--muted); font-size: 12px; margin-bottom: 17px; }
.approach-grid h3 { font-size: 28px; margin-bottom: 12px; }
.approach-grid p { font-size: 15px; color: var(--muted); max-width: 26em; }

/* Contact */
.contact { padding-block: 110px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 90px; align-items: start; }
.contact-intro .eyebrow { color: var(--muted); }
.contact h2 { font-size: clamp(44px,4.5vw,64px); line-height: 1.08; margin: 22px 0 28px; }
.contact h2 span { color: var(--blue); }
.contact-intro>p:not(.eyebrow) { font-size: 17px; color: var(--muted); }
.contact-intro>p.contact-small { font-size: 15px; margin-top: 20px; }
.contact-signature { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 40px; }
.contact-form { background: var(--mist); padding: 32px; border-radius: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: flex; align-items: baseline; gap: 5px; margin-bottom: 9px; font-size: 12px; font-weight: 500; }
.optional { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 400; }
.field input, .field textarea { display: block; width: 100%; min-width: 0; padding: 12px 13px; background: white; border: 1px solid #BCC7DA; border-radius: 8px; color: var(--navy); font-size: 14px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #68778F; opacity: 1; }
.field textarea { resize: vertical; min-height: 135px; max-height: 500px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.form-end { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.form-end p { font-size: 11px; color: var(--muted); max-width: 30em; }
.send-button { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; border: 0; border-radius: 999px; background: var(--navy); color: white; padding: 12px 22px; font-size: 14px; font-weight: 500; }
.send-button:hover { background: #233B75; }
.send-button:disabled { opacity: .65; cursor: wait; }
.send-button>span:last-child { font-size: 20px; }
.form-status { margin-top: 20px; font-size: 13px; color: #9B3446; }
.form-status:empty { margin: 0; }
.form-status.is-success { color: #235C45; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Footer and page navigation */
.site-footer { background: var(--navy); color: white; padding-block: 54px 100px; }
.footer-main { display: flex; align-items: flex-start; gap: 52px; }
.footer-main>p { color: #C3CEE3; font: 400 23px/1.3 var(--heading); }
.footer-main nav { margin-left: auto; display: flex; gap: 32px; color: #C3CEE3; font-size: 13px; }
.footer-main nav a:hover, .footer-bottom a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #314069; margin-top: 44px; padding-top: 24px; font-size: 12px; color: #B6C4DE; }
.back-to-top { position: fixed; bottom: max(20px,env(safe-area-inset-bottom)); right: max(20px,env(safe-area-inset-right)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; background: white; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: 0 4px 16px #101C441F; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--mist); }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width:1100px) {
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 24px; }
  .service-visual { height: 272px; padding-inline: 46px; }
  .service-card h3 { max-width: none; }
  .product-panel { gap: 32px; padding: 40px; }

  .contact-grid { gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { gap: 32px; }
  .footer-main nav { flex-direction: column; gap: 12px; }
}
@media (min-width:901px) and (max-width:1100px) {
  .hero-scene { height: 310px; }
  .scene-art { top: 10px; transform: translateX(-50%) scale(.8); transform-origin: top center; }
}
@media (min-width:701px) and (max-width:900px) {
  .hero-scene { height: 270px; }
  .scene-art { top: 20px; transform: translateX(-50%) scale(.64); transform-origin: top center; }
}
@media (max-width:700px) {
  .wrap, .site-header { width: calc(100% - 40px); }
  .site-header { min-height: 100px; flex-wrap: wrap; gap: 18px; padding-block: 23px; }
  .logo { width: 180px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
  .site-header .nav-contact { padding: 7px 14px; gap: 14px; }
  .hero { padding-block: 50px 68px; }
  .hero h1 { font-size: clamp(40px,12.8vw,76px); letter-spacing: -.035em; }
  .hero-lead { font-size: 16px; margin-block: 24px; max-width: 26em; }
  .hero-lead br { display: none; }
  .hero-note { font-size: 11px; }
  .hero-scene { height: 292px; margin-top: 34px; }
  .scene-art { width: 660px; height: 330px; transform: translateX(-50%) scale(.82); transform-origin: top center; }
  .scene-build { width: 314px; left: 173px; top: 22px; }
  .scene-plan { left: -69px; top: 63px; width: 220px; }
  .scene-run { left: 514px; top: 65px; width: 220px; }
  .scene-connections { display: none; }
  .build-canvas { padding-inline: 15px; }
  .build-chips { gap: 5px; }
  .expertise { padding-block: 10px 64px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading>p { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-visual { height: 260px; padding-inline: clamp(32px,10vw,70px); }
  .service-card h3 { font-size: 29px; }
  .service-card>p:last-child { font-size: 15px; }
  .service-card .service-label { margin-top: 20px; }
  .product-section { padding-block: 0 64px; }
  .product-panel { grid-template-columns: 1fr; padding: 28px; gap: 36px; border-radius: 22px; }
  .product-logo { width: 100px; margin-bottom: 24px; }
  .product-copy h2 { font-size: 38px; }

  .product-visual figcaption { max-width: 20em; }
  .approach-section { padding-block: 62px; }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .approach-grid article { padding-top: 20px; }
  .step-number { margin-bottom: 10px; }
  .approach-grid h3 { font-size: 28px; }
  .contact { padding-block: 68px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact h2 { font-size: 49px; }
  .contact-form { padding: 24px 20px; }
  .field input, .field textarea { font-size: 16px; }
  .send-button { width: 100%; }
  .contact-signature { margin-top: 24px; }
  .footer-main { flex-wrap: wrap; gap: 28px; }
  .footer-main>p { font-size: 21px; }
  .footer-main nav { margin-left: 0; width: 100%; flex-direction: row; justify-content: space-between; gap: 14px; }
  .footer-bottom { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
}
