:root {
  --ink: #071a15;
  --ink-soft: #18332b;
  --paper: #f3f0e8;
  --white: #fffef9;
  --lime: #bfff4b;
  --lime-dark: #6fd20e;
  --blue: #d8f2ff;
  --violet: #e5dcff;
  --orange: #ffd9ca;
  --muted: #65736e;
  --line: rgba(7, 26, 21, .15);
  --shadow: 0 22px 60px rgba(7, 26, 21, .12);
  --radius: 22px;
  --radius-xl: 34px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, .91);
  backdrop-filter: blur(16px);
}

.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 820; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--lime); font-size: 13px; letter-spacing: -.04em; }
.main-nav { margin-inline: auto; display: flex; align-items: center; gap: 8px; }
.main-nav a, .header-account { padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 690; transition: .18s ease; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.78); border-color: var(--line); }
.main-nav a.active { box-shadow: inset 0 -3px 0 var(--lime-dark); }
.header-account { background: var(--lime); border-color: #a1dc3f; }
.header-account:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(74, 131, 18, .2); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: .18s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; right: 0; left: 0; z-index: 10; height: calc(100vh - 76px); height: calc(100dvh - 76px); padding: 22px 24px; overflow: auto; background: var(--paper); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu a { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 20px; font-weight: 760; }
.mobile-menu a.active { box-shadow: inset 4px 0 0 var(--lime-dark); }

.prototype-strip { border-bottom: 1px solid #d5a72b; background: #ffe69a; }
.prototype-strip .shell { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px 18px; padding-block: 8px; text-align: center; }
.prototype-strip strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.prototype-strip span { color: #5b4813; font-size: 13px; }

.hero { scroll-margin-top: 76px; padding: 86px 0; background: var(--ink); color: white; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 66px; align-items: center; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-size: 11px; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(191,255,75,.13); }
.hero h1 { max-width: 760px; margin: 25px 0 22px; font-size: clamp(48px, 6vw, 82px); line-height: .96; letter-spacing: -.07em; }
.hero-copy > p { max-width: 670px; color: #b9c8c2; font-size: 19px; line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 21px; border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 790; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(7,26,21,.18); }
.button.is-disabled { opacity: .62; pointer-events: none; cursor: not-allowed; }
.button-lime { color: var(--ink); background: var(--lime); border-color: #a5d94d; }
.button-dark { color: white; background: var(--ink); border-color: var(--ink); }
.button-ghost { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }
.hero-media { min-height: 470px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-xl); background: linear-gradient(140deg, rgba(255,255,255,.13), rgba(255,255,255,.03)); overflow: hidden; }
.media-index { color: #a9bbb4; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.media-shape { position: relative; height: 240px; }
.media-shape i { position: absolute; border-radius: 50%; }
.media-shape i:nth-child(1) { width: 220px; height: 220px; left: 20px; top: 0; background: var(--lime); }
.media-shape i:nth-child(2) { width: 175px; height: 175px; right: 5px; top: 28px; border: 1px solid rgba(255,255,255,.4); }
.media-shape i:nth-child(3) { width: 105px; height: 105px; right: 82px; bottom: 0; background: var(--violet); mix-blend-mode: screen; }
.hero-media strong { display: block; margin-bottom: 8px; font-size: 25px; letter-spacing: -.04em; }
.hero-media p { margin: 0; color: #a9bbb4; line-height: 1.5; }

.direction-map { border-bottom: 1px solid var(--line); background: var(--paper); }
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.direction-grid article { min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-right: 1px solid var(--line); transition: .18s ease; }
.direction-grid article:first-child { border-left: 1px solid var(--line); }
.direction-grid article:hover { background: var(--white); box-shadow: inset 0 -4px 0 var(--lime-dark); }
.direction-grid article > span { color: var(--muted); font-size: 10px; font-weight: 840; }
.direction-grid h2 { margin: 58px 0 10px; font-size: 26px; line-height: 1.05; letter-spacing: -.05em; }
.direction-grid p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.direction-grid a, .consultation-card a { margin-top: 20px; padding-bottom: 4px; border-bottom: 2px solid currentColor; font-weight: 760; }

.section-heading { margin-bottom: 46px; }
.split-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.section-heading h2 { margin: 11px 0 0; font-size: clamp(44px, 5.4vw, 72px); line-height: .94; letter-spacing: -.07em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }

.studio-section { scroll-margin-top: 76px; }
.studio-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: stretch; padding: 36px; border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.studio-window { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.19); border-radius: 20px; background: #0c251e; color: white; box-shadow: 0 20px 50px rgba(7,26,21,.18); }
.window-bar { min-height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.13); }
.window-bar strong { font-size: 13px; }
.window-bar small { margin-left: auto; color: #9eb4ab; }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #486158; }
.window-dots i:first-child { background: var(--orange); }
.window-dots i:nth-child(2) { background: #ffe48e; }
.window-dots i:last-child { background: var(--lime); }
.window-body { min-height: 350px; display: grid; grid-template-columns: 126px 1fr; }
.window-nav { display: flex; flex-direction: column; gap: 9px; padding: 20px 13px; border-right: 1px solid rgba(255,255,255,.12); color: #94aaa1; font-size: 11px; }
.window-nav b { margin-bottom: 12px; color: white; }
.window-nav span { padding: 8px; border-radius: 8px; }
.window-nav .active { color: var(--ink); background: var(--lime); }
.window-content { padding: 26px; }
.window-content > small { color: #8ca298; font-size: 9px; font-weight: 780; letter-spacing: .12em; }
.window-content h3 { margin: 8px 0 32px; font-size: 28px; letter-spacing: -.05em; }
.workflow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.workflow-cards article { min-height: 150px; display: flex; flex-direction: column; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.04); }
.workflow-cards span { color: var(--lime); font-size: 11px; }
.workflow-cards strong { margin-block: auto; font-size: 15px; line-height: 1.2; }
.workflow-cards small { color: #8ca298; }
.studio-offer { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 12px; }
.badge { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 790; text-transform: uppercase; letter-spacing: .07em; }
.studio-offer h3 { margin: 24px 0 12px; font-size: 40px; line-height: 1; letter-spacing: -.06em; }
.studio-offer p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }

.consultations-section { scroll-margin-top: 76px; background: #e7ede6; }
.consultation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.consultation-card { min-height: 350px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.consultation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tone-lime { background: #e6ffb9; }
.tone-blue { background: var(--blue); }
.tone-violet { background: var(--violet); }
.tone-orange { background: var(--orange); }
.consultation-card > span:first-child { font-size: 11px; font-weight: 820; }
.consultation-card h2, .consultation-card h3 { margin: 55px 0 12px; font-size: 31px; line-height: 1.05; letter-spacing: -.055em; }
.consultation-card p { flex: 1; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.consultation-card strong { margin-top: 24px; font-size: 19px; }
.consultation-card .button { width: 100%; margin-top: 20px; }

.products-section { scroll-margin-top: 76px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 540px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); transition: transform .18s ease, box-shadow .18s ease; overflow: hidden; }
.product-card[id], .action-panel[id] { scroll-margin-top: 96px; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-blue { background: var(--blue); }
.product-violet { background: var(--violet); }
.product-orange { background: var(--orange); }
.product-lime { background: #e6ffb9; }
.product-top { display: flex; align-items: center; gap: 13px; }
.product-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--ink); color: white; font-weight: 850; }
.product-card h2, .product-card h3 { margin: 12px 0; font-size: 38px; line-height: 1; letter-spacing: -.06em; }
.product-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 8px 10px; border: 1px solid rgba(7,26,21,.16); border-radius: 999px; background: rgba(255,255,255,.42); font-size: 11px; font-weight: 720; }
.product-bottom { display: grid; gap: 14px; align-items: stretch; }
.product-bottom strong { font-size: 21px; }
.product-bottom .button { width: 100%; }

.about-section { scroll-margin-top: 76px; background: var(--ink); color: white; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about-media { min-height: 490px; display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-xl); background: rgba(255,255,255,.05); }
.about-media > span { color: #8fa49b; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.about-media > div { flex: 1; margin: 24px 0; border-radius: 50% 50% 18px 18px; background: linear-gradient(145deg, var(--lime), var(--violet)); opacity: .86; }
.about-media p { margin: 0; color: #9eb0aa; }
.about-copy h2 { margin: 14px 0 24px; font-size: clamp(48px, 6vw, 80px); line-height: .96; letter-spacing: -.07em; }
.about-copy > p { max-width: 680px; color: #afc0ba; font-size: 18px; line-height: 1.65; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social-links a { padding: 12px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; font-weight: 720; }
.social-links a:hover { background: rgba(255,255,255,.09); }
.blocked-inline { display: grid; gap: 7px; margin-top: 30px; padding: 18px; border: 1px dashed rgba(255,255,255,.38); border-radius: 14px; color: #afc0ba; }
.blocked-inline strong { color: #ffe69a; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

.page-hero { padding: 82px 0; background: var(--ink); color: white; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.breadcrumbs { margin-bottom: 22px; color: #9fb2aa; font-size: 12px; font-weight: 720; }
.breadcrumbs a { border-bottom: 1px solid currentColor; }
.page-hero h1 { max-width: 850px; margin: 0; overflow-wrap: anywhere; font-size: clamp(52px, 7vw, 92px); line-height: .92; letter-spacing: -.07em; }
.page-hero-copy { max-width: 620px; color: #b8c8c2; font-size: 18px; line-height: 1.65; }
.status-pill { display: inline-flex; margin-bottom: 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #ffe69a; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.prototype-notice { display: grid; gap: 14px; padding: 32px; border: 2px dashed #ba8d12; border-radius: var(--radius); background: #fff3c7; }
.prototype-notice h2, .prototype-notice h3 { margin: 0; letter-spacing: -.04em; }
.prototype-notice h2 { font-size: clamp(34px, 4vw, 52px); }
.prototype-notice p { max-width: 850px; margin: 0; color: #5d522f; line-height: 1.65; }
.prototype-notice .eyebrow { color: #7b5c08; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.info-card { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-card .eyebrow { color: var(--muted); }
.info-card h2, .info-card h3 { margin: 40px 0 12px; font-size: 28px; line-height: 1.05; letter-spacing: -.05em; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.support-address { margin-bottom: 8px !important; overflow-wrap: anywhere; color: var(--ink) !important; font-size: 18px; font-weight: 780; }
.info-card a { margin-top: auto; padding-top: 24px; border-bottom: 2px solid currentColor; font-weight: 760; }
.action-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.action-panel p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.55; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.legal-card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal-card span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-card h2 { margin: 48px 0 12px; font-size: 34px; letter-spacing: -.05em; }
.legal-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.legal-card a { margin-top: auto; padding-top: 24px; font-weight: 780; text-decoration: underline; text-underline-offset: 4px; }

.integration-section { background: var(--lime); }
.integration-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; padding: 46px; border: 1px solid rgba(7,26,21,.22); border-radius: var(--radius-xl); background: rgba(255,255,255,.48); }
.integration-card h2 { margin: 12px 0 16px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -.06em; }
.integration-card p, .integration-card li { line-height: 1.55; }
.integration-card ol { margin: 0; padding-left: 24px; }
.integration-card li + li { margin-top: 10px; }
.integration-card code { padding: 2px 6px; border-radius: 6px; background: var(--ink); color: white; }

.site-footer { padding: 70px 0 24px; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.footer-grid > div > p { max-width: 430px; color: var(--muted); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-links div { display: grid; align-content: start; gap: 11px; }
.footer-links strong { margin-bottom: 4px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

a:focus-visible, button:focus-visible { outline: 3px solid #ff7553; outline-offset: 3px; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .header-account { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .hero-grid, .studio-panel, .about-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 390px; }
  .direction-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1240px); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 68px; }
  .header-account { display: none; }
  .mobile-menu { height: calc(100vh - 68px); height: calc(100dvh - 68px); }
  .hero { padding: 64px 0; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-copy > p { font-size: 17px; }
  .hero-media { min-height: 340px; padding: 22px; }
  .media-shape { height: 180px; }
  .media-shape i:nth-child(1) { width: 160px; height: 160px; }
  .media-shape i:nth-child(2) { width: 125px; height: 125px; }
  .media-shape i:nth-child(3) { width: 80px; height: 80px; right: 42px; }
  .direction-grid, .consultation-grid, .product-grid, .footer-grid, .integration-card, .info-grid, .legal-grid { grid-template-columns: 1fr; }
  .prototype-strip .shell { align-items: flex-start; flex-direction: column; text-align: left; }
  .page-hero { padding: 62px 0; }
  .page-hero-grid { gap: 28px; }
  .page-hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .prototype-notice { padding: 25px 21px; }
  .info-card { min-height: 210px; }
  .direction-grid article, .direction-grid article:first-child, .direction-grid article:nth-child(3) { min-height: 240px; border-left: 1px solid var(--line); }
  .direction-grid h2 { margin-top: 36px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2 { font-size: 48px; }
  .studio-panel { padding: 16px; }
  .window-body { grid-template-columns: 1fr; }
  .window-nav { display: none; }
  .window-content { padding: 20px 14px; }
  .workflow-cards { grid-template-columns: 1fr; }
  .workflow-cards article { min-height: 105px; }
  .studio-offer { padding: 26px 8px 10px; }
  .consultation-card { min-height: 330px; }
  .product-grid .product-card { grid-column: auto; min-height: 490px; }
  .about-media { min-height: 400px; }
  .integration-card { gap: 30px; padding: 30px 23px; }
  .footer-grid { gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .button-row, .button-row .button { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
  .product-card h2, .product-card h3 { font-size: 34px; }
  .consultation-card h2, .consultation-card h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
