@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+2000-206F;
}
@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("fonts/LINESeedSansTH_W_Rg.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("fonts/LINESeedSansTH_W_Bd.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #123c39;
  --deep: #0c332f;
  --paper: #fffdf9;
  --lime: #dced71;
  --muted: #43625e;
  --line: #cfdfd8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 Montserrat, "LINE Seed Sans TH", Thonburi, sans-serif; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #638531; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; width: 150px; height: auto; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; margin-left: auto; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: #72843a; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.language { display: flex; gap: 3px; border: 1px solid var(--line); padding: 3px; background: #edf4ed; border-radius: 2rem; }
.language button { border: 0; background: transparent; border-radius: 2rem; padding: .35rem .75rem; color: var(--ink); font-size: .875rem; font-weight: 700; }
.language button[aria-pressed="true"] { color: #fff; background: var(--deep); }

.hero { background: radial-gradient(ellipse at 95% 0%, #488681, transparent 67%), var(--deep); color: white; }
.hero-grid { padding-block: clamp(4.5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eyebrow { font-size: .875rem; font-weight: 700; }
.hero .eyebrow { color: var(--lime); }
h1 { margin-top: 1rem; font-size: clamp(2.7rem, 5vw, 5.05rem); line-height: 1.13; letter-spacing: -.045em; }
h1 em { color: var(--lime); font-style: normal; }
.lead { max-width: 37rem; margin: 1.5rem 0 2rem; color: #d9ebe6; font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; font-weight: 700; min-height: 46px; padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: 99px; }
.lime { background: var(--lime); color: var(--deep); }
.lime:hover { background: #eef8aa; }
.hero-map { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #ffffff42; border-radius: 1.4rem; background: #082f2b70; }
.hero-map > span { display: block; margin-bottom: .9rem; }
.map-row { display: flex; align-items: center; gap: .9rem; padding: .85rem; border-radius: .9rem; background: #ffffff12; border: 1px solid #ffffff32; }
.map-row:hover { background: #ffffff26; }
.map-row + .map-row { margin-top: .65rem; }
.map-row strong, .map-row small { display: block; }
.map-row strong { font-size: 1.15rem; }
.map-row small { color: #d9ebe6; font-size: .875rem; }
.map-icon { flex: 0 0 44px; display: grid; place-items: center; height: 44px; border-radius: 50%; color: var(--deep); background: var(--lime); font-size: 1.45rem; }
.map-icon.aqua { background: #a7dfd7; }

.section { padding-block: clamp(3.5rem, 7.2vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2rem; }
.section-heading > p { color: var(--muted); font-size: 1.05rem; }
h2 { font-size: clamp(2rem, 3.5vw, 3.55rem); line-height: 1.2; letter-spacing: -.035em; }
.section-heading .eyebrow { margin-bottom: .75rem; }
.cards, .use-cases { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solution { display: grid; grid-template-rows: 1fr auto; gap: 1.65rem; padding: clamp(1.4rem, 3.4vw, 2.7rem); border: 1px solid var(--line); border-radius: 1.4rem; }
.joey-card { background: #edf4e6; }
.cgm-card { background: #e5f3ef; }
.solution h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.2; margin: .55rem 0 .15rem; letter-spacing: -.04em; }
.product-line { font-weight: 700; }
.solution-copy > p:nth-last-of-type(1) { color: var(--muted); margin: .6rem 0 1rem; }
.outline { border-color: #608378; }
.outline:hover { color: white; background: var(--deep); }
.report { align-self: end; border: 1px solid var(--line); border-radius: .9rem; background: #fff; padding: 1.2rem; box-shadow: 0 16px 35px #123c3910; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; color: var(--muted); font-size: .875rem; }
.report > strong { display: block; margin-block: .65rem .5rem; }
.report-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-block: .38rem; font-size: .875rem; }
.report-row i { width: 22%; height: 6px; border-radius: 20px; background: #b7d1c6; }
.trend-chart { display: flex; gap: 3%; align-items: end; height: 83px; margin: .25rem 0 .4rem; border-bottom: 1px solid var(--line); }
.trend-chart i { height: 45%; flex: 1; border-radius: 5px 5px 0 0; background: #62a294; }
.trend-chart i:nth-child(4n+2) { height: 61%; }
.trend-chart i:nth-child(5n+3) { height: 76%; background: #b0c95f; }
.trend-chart i:nth-child(7n+4) { height: 54%; }
.use-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-cases article { padding: clamp(1.1rem, 2vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; }
.use-cases h3 { line-height: 1.35; font-size: 1.25rem; margin-bottom: .65rem; }
.use-cases p { color: var(--muted); }
.about-album-slot { min-height: 10rem; display: grid; place-items: center; background: #edf5ed; text-align: center; }
.about-album-slot h3 { margin: 0; }
[aria-labelledby="cgm-connected-title"] article { padding: clamp(1.1rem, 2vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; }
[aria-labelledby="cgm-connected-title"] article p { margin-top: .5rem; color: var(--muted); }
.joey-detail { background: #f0f4ea; }
.joey-detail article { background: #fffdf9; }
.joey-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.joey-hero-copy .eyebrow { font-size: 1.15rem; }
.joey-hero-copy h1 { margin: .55rem 0 1.1rem; font-size: clamp(2.15rem, 4.3vw, 4.05rem); }
.joey-hero-subtitle { font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.joey-hero-description { margin: .5rem 0 1.55rem; color: var(--muted); }
.joey-video { min-width: 0; margin: 0; }
.joey-video-frame { overflow: hidden; display: grid; aspect-ratio: 16 / 9; min-height: 200px; border: 1px solid #537c72; border-radius: 1.25rem; background: var(--deep); box-shadow: 0 18px 38px #123c3926; }
.joey-video-frame iframe { width: 100%; height: 100%; border: 0; }
.joey-video-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1rem; border: 0; text-align: center; font-weight: 700; color: white; background: linear-gradient(#0c332f45, #0c332fbc), url("https://i.ytimg.com/vi/UtY2Hp0t3Ec/hqdefault.jpg") center / cover; }
.joey-video-play:focus-visible { outline-offset: -6px; }
.joey-play-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--deep); transition: transform .2s ease; }
.joey-video-play:hover .joey-play-icon { transform: scale(1.07); }
.joey-play-icon::after { content: ""; margin-inline-start: 4px; border-block: 11px solid transparent; border-inline-start: 17px solid currentColor; }
.joey-nav { display: flex; flex-wrap: wrap; gap: .75rem; }
.joey-report-overview { background: #e7f1eb; }
.joey-report-overview .section-heading { grid-template-columns: minmax(0, 1fr); }
.report-flow { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 2.7fr); align-items: center; gap: 1.65rem; margin: 0; padding: 0; list-style: none; }
.report-flow-panel { position: relative; padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid #b7d0c4; border-radius: 1rem; background: var(--paper); }
.report-flow-panel:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + .5rem); width: .6rem; height: .6rem; border-top: 2px solid #587b6f; border-right: 2px solid #587b6f; transform: rotate(45deg); }
.report-flow-panel h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.3; margin-bottom: .7rem; }
.report-flow-icon { display: flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem; margin-bottom: .85rem; border-radius: .9rem; color: var(--deep); background: #e1efe5; }
.report-flow-input-icon { flex-direction: column; gap: 3px; }
.report-flow-input-icon i { width: 1.35rem; height: .43rem; border: 1.5px solid currentColor; border-radius: 99px; }
.report-flow-core-icon { background: var(--lime); font-size: 1.25rem; font-weight: 700; }
.report-source-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.report-source-tags li { padding: .12rem .48rem; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; }
.report-flow-core { color: #fff; background: var(--deep); border-color: var(--deep); }
.report-engine-name { color: #e1eeea; font-size: .875rem; }
.engine-toggle { display: flex; align-items: center; gap: .6rem; width: 100%; margin-top: .95rem; padding: .65rem 0 0; border: 0; border-top: 1px solid #ffffff47; background: none; color: var(--lime); text-align: left; font-weight: 700; }
.engine-toggle::before { content: "+"; flex: 0 0 .8rem; }
.engine-toggle[aria-expanded="true"]::before { content: "−"; }
.engine-toggle:hover span { text-decoration: underline; text-underline-offset: .2em; }
.engine-examples { margin-top: 1.75rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #b7d0c4; border-radius: 1rem; background: var(--paper); }
.engine-examples h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.25; }
.engine-intro { margin-top: .5rem; color: var(--muted); }
.engine-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.engine-example { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.engine-example img { display: block; width: 100%; height: auto; aspect-ratio: 2.15; object-fit: contain; background: #f3f7f2; }
.engine-example > div { padding: 1rem; }
.engine-example h4 { margin: 0 0 .4rem; }
.engine-example dl, .engine-example dd { margin: 0; }
.engine-example dl div + div { margin-top: .55rem; }
.engine-example dt { font-weight: 700; }
.engine-example dd, .engine-example p { color: var(--muted); }
.report-flow-outputs h3 { margin-bottom: .65rem; font-size: 1.25rem; }
.report-view-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.report-view-tabs button { display: grid; align-content: start; overflow: hidden; min-width: 0; padding: 0; border: 2px solid transparent; border-radius: .85rem; color: var(--ink); background: var(--paper); text-align: left; }
.report-view-tabs button:hover { border-color: #719588; }
.report-view-tabs button[aria-selected="true"] { border-color: var(--deep); box-shadow: 0 4px 0 var(--deep); }
.report-view-tabs button[aria-selected="true"] span { background: var(--lime); }
.report-view-tabs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.report-view-tabs span { display: block; height: 100%; padding: .55rem; font-size: clamp(.75rem, 1.2vw, .92rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.report-view-panel { margin-top: .9rem; min-height: 3rem; color: var(--muted); font-size: .94rem; }
.workflow-jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; margin: 0 0 2rem; }
.workflow-jump a { display: flex; align-items: flex-start; border-radius: 1rem; border: 1px solid #b7d0c4; background: #f0f4ea; }
.workflow-jump a:hover { background: #e4efd7; text-decoration: none; }
.workflow-jump a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.workflow-card-copy { display: grid; align-content: start; gap: .15rem; padding: .85rem 1rem 1rem; }
.workflow-card-copy strong { font-size: 1.1rem; }
.workflow-card-copy span { color: var(--muted); font-size: .94rem; }
.workflow-phases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; border-inline-start: 2px solid #a7c2b7; padding-inline-start: clamp(.75rem, 3vw, 2rem); }
.workflow-phase { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: #f0f4ea; }
.workflow-phase h3 { margin-bottom: .8rem; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.workflow-phase details:last-child { border-block-end: 0; }
.workflow-phase summary { min-height: 44px; padding-block: .7rem; }
.workflow-phase details p { max-width: 78ch; padding-bottom: .65rem; }
.workflow-phase .workflow-output { margin-bottom: .8rem; padding: .55rem .8rem; border-radius: .55rem; color: var(--ink); background: #e3edcf; }
.report-delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: .4rem 0 1rem; }
.report-delivery-grid article { overflow: hidden; border: 1px solid #bfd3c6; border-radius: .85rem; background: var(--paper); }
.report-delivery-grid img { display: block; width: 100%; height: clamp(12rem, 29vw, 19rem); object-fit: contain; background: #e6eee8; }
.report-delivery-grid article > div { padding: .8rem; }
.report-delivery-grid h4 { margin: 0 0 .35rem; font-size: 1rem; }
.workflow-phase .report-delivery-grid p { padding-bottom: 0; }
.workflow-output strong { margin-inline-end: .35rem; }
.during-intro { margin: -.2rem 0 1rem; color: var(--muted); }
.during-tabs { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; }
.during-tabs::before { position: absolute; z-index: -1; inset: 50% .7rem auto; border-top: 2px dashed #78998c; content: ""; }
.during-tabs button { display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 0; overflow: hidden; border: 2px solid #bfd3c6; border-radius: .85rem; background: var(--paper); color: var(--deep); text-align: left; font-weight: 700; }
.during-tabs button:hover { border-color: #719588; }
.during-tabs button[aria-selected="true"] { border-color: var(--deep); }
.during-tabs button[aria-selected="true"] span { background: var(--lime); }
.during-tabs img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 8; object-fit: contain; background: #edf2ef; }
.during-tabs span { display: block; padding: .52rem .65rem; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.during-panel { margin-top: .9rem; padding: .85rem 1rem; border: 1px solid #bfd3c6; border-radius: .85rem; background: var(--paper); }
.during-panel h4 { margin: 0 0 .25rem; font-size: 1.08rem; }
.during-panel .workflow-output { margin: .65rem 0 0; }
.joey-cases { color: white; background: var(--deep); }
.joey-cases .section-heading > p { color: #d9ebe6; }
.joey-case-grid { grid-template-columns: minmax(0, 1fr); }
.joey-case-grid .report { align-self: stretch; padding: clamp(1.3rem, 3vw, 2rem); color: var(--ink); }
.premium-case, .corporate-case { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1.5rem 2rem; align-items: center; }
.premium-case-copy dl, .premium-case-copy dd { margin: 0; }
.premium-case-copy dl { margin-top: 1rem; }
.premium-case-copy dl div { padding-block: .65rem; border-top: 1px solid var(--line); }
.premium-case-copy dt { font-weight: 700; }
.premium-case-copy dd, .premium-case-media figcaption { color: var(--muted); }
.premium-case-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.premium-case-media figure { margin: 0; }
.premium-case-team { grid-column: 1 / -1; }
.premium-case-media img { display: block; width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: contain; border-radius: .55rem; background: #e7f1eb; }
.premium-case-team img { aspect-ratio: 1314 / 305; }
.premium-case-media figcaption { margin-top: .32rem; font-size: .84rem; }
.corporate-case .joey-case-photo { margin-bottom: 0; }
.joey-metric-label { margin: 0 0 .55rem; color: var(--muted); font-weight: 700; }
.joey-case-grid h3 { line-height: 1.35; }
.joey-case-photo { margin: 0 0 1.05rem; }
.joey-case-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .6rem; }
.joey-case-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.joey-gallery { position: relative; display: flex; gap: 1rem; padding-bottom: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: #78998c #e7f1eb; }
.joey-gallery figure { flex: 0 0 clamp(13rem, 43vw, 22rem); min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: .85rem; background: white; scroll-snap-align: start; }
.joey-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.joey-gallery figcaption { padding: .65rem .8rem; font-size: .9rem; font-weight: 700; }
.joey-metric { margin-block: .7rem; color: var(--deep); font-size: clamp(1.55rem, 3.3vw, 2.8rem); font-weight: 700; line-height: 1.2; }
.joey-case-grid .report p:last-child { color: var(--muted); }
.cgm-detail { background: var(--deep); color: #fff; }
.cgm-detail .eyebrow { color: var(--lime); }
.cgm-detail .section-heading > p, .cgm-detail .use-cases p { color: #d9ebe6; }
.cgm-detail article { background: #ffffff0b; border-color: #ffffff35; }
.faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.75rem; }
details { border-block-start: 1px solid var(--line); }
details:last-child { border-block-end: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 1rem; font-weight: 700; }
details p { padding-bottom: 1.1rem; color: var(--muted); }
.page-detail { min-height: 65svh; }
.page-detail h1 { margin-top: .35rem; overflow-wrap: break-word; }
.page-action { margin-top: 2rem; }
.joey-reels { color: #fff; background: var(--deep); }
.joey-reels-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.35rem; }
.joey-reels-toolbar { justify-content: flex-end; }
.joey-reels-controls { display: flex; flex: none; gap: .5rem; }
.joey-reels-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 4px; border: 1px solid var(--lime); border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 1.85rem; line-height: 1; }
.joey-reels-controls button:disabled { border-color: #88a69b; background: transparent; color: #bdd0c8; cursor: default; }
.joey-gallery-controls button:disabled { color: #627c74; }
.joey-reel-track { position: relative; display: flex; align-items: center; gap: .85rem; margin: 0; padding: 0 0 .75rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: #a5bfad #174640; }
.joey-reel { position: relative; display: grid; place-items: center; flex: 0 0 clamp(10rem, 24vw, 15.25rem); aspect-ratio: 9 / 16; min-width: 0; overflow: hidden; border: 1px solid #527b70; border-radius: 1rem; background: linear-gradient(155deg, #27564e, #102f2d 72%); scroll-snap-align: start; }
.joey-reel:nth-child(even) { background: linear-gradient(150deg, #36685b, #153a34 70%); }
.joey-reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.joey-qa { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.joey-qa-heading p { margin-top: .6rem; color: var(--muted); }
.joey-qa-list summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; list-style: none; }
.joey-qa-list summary::-webkit-details-marker { display: none; }
.joey-qa-list summary::after { content: "+"; color: var(--ink); font-size: 1.2rem; line-height: 1.35; }
.joey-qa-list details[open] summary::after { content: "−"; }
.joey-qa-list details[open] summary { padding-bottom: .4rem; }
.about-story { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem 3rem; padding: clamp(1.5rem, 5vw, 3rem); background: #e5f3ef; border-radius: 1.4rem; }
.about-story h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.about-story p { margin-bottom: 1rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem 4rem; }
.contact-grid > div > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.contact-grid form { display: grid; gap: .45rem; align-content: start; padding: clamp(1.1rem, 4vw, 2.5rem); background: #edf4e6; border: 1px solid var(--line); border-radius: 1.4rem; }
.form-note { color: var(--muted); margin-bottom: .35rem; font-size: .9rem; }
.contact-grid label { font-weight: 700; }
.contact-grid :is(input, select, textarea) { width: 100%; min-width: 0; padding: .65rem .75rem; margin-bottom: .5rem; border: 1px solid #769389; border-radius: .55rem; background: #fff; color: var(--ink); font: inherit; }
.contact-grid textarea { resize: vertical; }
.contact-grid button { justify-self: start; }
#contact-status { margin-top: .65rem; font-weight: 700; }
footer { border-top: 1px solid var(--line); background: #fff; }
.footer { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; padding-block: 1.25rem; }
.footer-contact { display: grid; gap: .2rem; min-width: 0; overflow-wrap: anywhere; }
.footer-contact a { width: fit-content; max-width: 100%; }
.footer > a:last-child { margin-left: auto; }
.footer-social { display: grid; place-items: center; width: 44px; height: 44px; }
.footer-social span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--deep); font: 700 23px/1 Arial, sans-serif; }
.footer .footer-social:hover { text-decoration: none; }
.footer-social:hover span { color: var(--deep); background: var(--lime); }
@media (max-width: 940px) and (min-width: 761px) {
  .report-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-flow-core::after { display: none; }
  .report-flow-outputs { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .premium-case, .corporate-case { grid-template-columns: minmax(0, 1fr); }
  .during-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(7.5rem, 30vw, 10rem); padding: .2rem .2rem .55rem; overflow-x: auto; scroll-snap-type: x proximity; }
  .during-tabs button { scroll-snap-align: start; }
  .engine-example-grid { grid-template-columns: 1fr; }
  .joey-hero-grid { grid-template-columns: 1fr; }
  .report-flow { grid-template-columns: 1fr; }
  .report-flow-panel:not(:last-child)::after { top: calc(100% + .42rem); left: calc(50% - .3rem); transform: rotate(135deg); }
  .hero-grid, .section-heading, .faq, .about-story, .contact-grid { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; justify-content: space-between; gap: .45rem; padding-block: .4rem .65rem; }
  .brand img { width: 125px; }
  .nav nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; margin-left: 0; gap: .2rem 1rem; font-size: .875rem; }
  .nav nav a { padding-block: .28rem; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .cards { grid-template-columns: 1fr; }
  .workflow-jump { grid-template-columns: 1fr; }
  .report-delivery-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .joey-reel-track, .joey-gallery { scroll-behavior: auto; }
}
.contact-grid [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.contact-grid button[disabled] { opacity: .6; cursor: progress; }
#contact-status[data-state="success"] { color: #1f6b3a; }
#contact-status[data-state="error"] { color: #b3261e; }
