/* Product pages. Values and visual grammar come from home + blog. */
.marketing-page {
  --gutter: clamp(24px, 6.25vw, 96px);
  --display: clamp(44px, 5.6vw, 84px);
  --headline: clamp(26px, 3vw, 36px);
  --section-space: clamp(96px, 11vw, 168px);
  font-size: 18px;
  font-weight: 500;   /* design system: body text is 500; 400 is not used */
}
.marketing-page .hdr,
.marketing-page .product-nav,
.marketing-page main {
  max-width: none;
  padding-inline: var(--gutter);
}
.marketing-page .hdr { padding-block: 24px; }
.marketing-page .product-nav { padding-bottom: 24px; gap: 12px 32px; }
.marketing-page main { padding-top: 0; padding-bottom: 96px; }
.marketing-page section { margin-top: var(--section-space); }
.marketing-page .product-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  margin-top: 0;
  padding-top: clamp(56px, 7vw, 104px);
}
.marketing-page .eyebrow {
  margin: 0 0 24px;
  color: var(--mid);
  font-size: 15px;
  letter-spacing: 0;
}
/* Large titles at weight 300: Chromium draws Korean and Japanese at 300 with the Mac's thinnest face (stems about 40% of Inter 300's).
   These two names pin the faces whose stems match Inter 300; where they are not installed the rest of the list applies as before. */
@font-face { font-family: "GG Title KR"; font-weight: 300; src: local("AppleSDGothicNeo-Light"); unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7FF; }
@font-face { font-family: "GG Title JP"; font-weight: 300; src: local("HiraginoSans-W3"); unicode-range: U+3000-30FF, U+31F0-31FF, U+3400-4DBF, U+4E00-9FFF, U+FF00-FFEF; }
.marketing-page h1 {
  margin: 0;
  font-family: "Inter", "GG Title KR", "GG Title JP", -apple-system, "Apple SD Gothic Neo", "Pretendard", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: var(--display);
  font-weight: 300;
  line-height: 1.32;   /* Korean and Japanese; the figure is the full line, gap included */
  letter-spacing: -.045em;
  text-wrap: balance;
}
html:lang(en) .marketing-page h1 { line-height: 1.18; }   /* English sets tighter, as on the home */
.marketing-page .intro { max-width: 46ch; margin-top: 32px; font-size: 18px; line-height: 1.8; }
.marketing-page .actions { gap: 12px; margin-top: 32px; }
.marketing-page .button {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 0;
  transition: background-color .2s, color .2s;
}
.marketing-page .button:hover { background: #252b2a; color: var(--bg); }
.marketing-page .button.secondary:hover { background: var(--soft); color: var(--ink); }
.marketing-page .hero-visual { min-width: 0; margin: 0; }
.marketing-page .hero-visual img, .marketing-page .hero-visual video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.marketing-page figcaption { margin-top: 12px; font-size: 13px; color: var(--mid); }
/* Developers first scene: the recording plays on an iPhone 18 Pro — the device of the Applications phones and the home demo (body 71.9×150, bezel 3.74%, Dynamic Island, home bar; about 64% of the window height). */
.marketing-page .hero-phone { display: grid; justify-items: center; }
.marketing-page .hero-phone .phone { position: relative; width: min(calc(min(64svh, 700px) * .4793), 100%); aspect-ratio: 71.9 / 150; padding: 3.74%; border-radius: 16.4% / 7.87%; background: var(--ink); box-shadow: 0 24px 36px -28px rgb(18 23 22 / .65); }
.marketing-page .hero-phone .phone::after { content: ""; position: absolute; top: 3.01%; left: 50%; width: 28.77%; height: 4.08%; border-radius: 999px; transform: translateX(-50%); background: #000; pointer-events: none; }
.marketing-page .hero-phone .phone::before { content: ""; position: absolute; z-index: 1; bottom: 2.68%; left: 50%; width: 32.01%; height: .55%; border-radius: 999px; transform: translateX(-50%); background: rgb(255 255 255 / .7); pointer-events: none; }
.marketing-page .hero-phone .phone video { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 13.7% / 6.3%; object-fit: cover; }   /* the square recording fills the tall screen; each character stands in the middle */
.marketing-page .hero-phone figcaption { text-align: center; }
.marketing-page section > h2 {
  max-width: 22ch;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.marketing-page .solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin-top: 48px;
}
.marketing-page .solution-case { padding-block: 32px 40px; border-top: 1px solid var(--line); }
.marketing-page .solution-case h3 { font-size: var(--headline); font-weight: 500; line-height: 1.3; letter-spacing: -.045em; }
.marketing-page .solution-case > p { max-width: 52ch; margin-top: 20px; }
.marketing-page .examples { font-size: 15px; color: var(--mid); }
.marketing-page .examples b { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 500; }
.marketing-page .section-intro { max-width: 64ch; margin-top: 24px; color: var(--mid); }
/* Integration flow: the home's "How it works" cards — white card, STEP strip, title, content, note at the foot, arrows between. No brand colour as a surface. */
.marketing-page .integration-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; padding: 0; list-style: none; }
.marketing-page .flow-stage { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; padding: 0 0 24px; border: 1px solid var(--soft); border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 28px 56px -32px rgba(0,0,0,.32); }
.marketing-page .flow-stage > :not(.step-label):not(.flow-note) { margin-inline: 24px; }
.marketing-page .flow-stage:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + 10px); margin-top: -6px; border-left: 9px solid #646b69; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }   /* arrow in the 28px gap, the home's size */
.marketing-page .step-label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--soft); color: var(--mid); font: 500 12px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.marketing-page .step-label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.marketing-page .flow-stage h3 { margin-top: 8px; margin-bottom: 0; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.marketing-page .voice-signal { display: flex; align-items: center; gap: 6px; height: 40px; }
.marketing-page .voice-signal i { flex: 1; max-width: 5px; height: 30%; border-radius: 3px; background: var(--ink); animation: flow-wave 1.2s ease-in-out infinite; }
.marketing-page .voice-signal i:nth-child(3n) { height: 30%; animation-delay: .1s; }
.marketing-page .voice-signal i:nth-child(3n+1) { height: 70%; animation-delay: .25s; }
.marketing-page .voice-signal i:nth-child(3n+2) { height: 45%; animation-delay: .4s; }
.marketing-page .voice-signal i:nth-child(5n) { height: 95%; }
@keyframes flow-wave { 50% { transform: scaleY(.45); } }
.marketing-page .engine-outputs { margin-block: 0; }
.marketing-page .engine-outputs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--soft); }
.marketing-page .engine-outputs > div:last-child { border-bottom: 1px solid var(--soft); }
.marketing-page .engine-outputs dt { flex: none; font-size: 15px; font-weight: 700; }
.marketing-page .engine-outputs dd { margin: 0; color: var(--mid); font-size: 13px; line-height: 1.4; text-align: right; }
.marketing-page .flow-screen { position: relative; flex: 1; min-height: 272px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f7faf9; box-shadow: 0 8px 24px -16px rgba(0,0,0,.24); }
.marketing-page .flow-screen .window-bar { position: absolute; inset: 0 0 auto; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #e1e5e4; pointer-events: none; }
.marketing-page .flow-screen .window-bar i { position: relative; display: block; width: 10px; height: 10px; color: #646b69; }
.marketing-page .flow-screen .window-min::after { content: ""; position: absolute; top: 5px; right: 0; left: 0; border-top: 1px solid currentColor; }
.marketing-page .flow-screen .window-max { border: 1px solid currentColor; }
.marketing-page .flow-screen .window-close::before, .marketing-page .flow-screen .window-close::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; border-top: 1px solid currentColor; transform: rotate(45deg); }
.marketing-page .flow-screen .window-close::after { transform: rotate(-45deg); }
.marketing-page .flow-video { position: absolute; inset: 32px 0 0; display: block; width: 100%; height: calc(100% - 32px); object-fit: cover; object-position: 50% 100%; }
.marketing-page .flow-stage .flow-note { max-width: none; margin: auto 0 0; padding: 16px 24px 0; border-top: 1px solid var(--soft); color: var(--mid); font-size: 13px; line-height: 1.55; }
.marketing-page .video-note { display: block; }
@media (max-width: 1100px) {
  .marketing-page .integration-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .marketing-page .flow-stage:not(:last-child)::after { top: calc(100% + 2px); left: 50%; margin: 0 0 0 -6px; border: 0; border-top: 9px solid #646b69; border-right: 6px solid transparent; border-left: 6px solid transparent; }
}
@media (prefers-reduced-motion: reduce) { .marketing-page .voice-signal i { animation: none; } }
.marketing-page .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; }
.marketing-page .platform { padding: 24px 0 32px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.marketing-page .platform-icon { display: block; width: 32px; height: 32px; margin-bottom: 12px; color: var(--ink); }
.marketing-page .platform h3 { font-size: 36px; font-weight: 500; letter-spacing: -.045em; }
.marketing-page .platform p { max-width: 30ch; font-size: 16px; line-height: 1.7; }
.marketing-page #platforms > p { max-width: 64ch; font-size: 15px; color: var(--mid); }
.marketing-page #web-example { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.marketing-page .io-details { min-width: 0; }
.marketing-page .table-wrap { margin-top: 0; }
.marketing-page table { font-size: 16px; }
.marketing-page th, .marketing-page td { padding: 20px 0; }
.marketing-page th { width: 32%; padding-right: 24px; }
.marketing-page tr:first-child > * { border-top: 1px solid var(--line); }
.marketing-page .io-details > p { margin-top: 24px; font-size: 15px; }
.marketing-page .adoption-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: var(--section-space); }
.marketing-page .adoption-grid > section { margin-top: 0; padding-top: 32px; border-top: 1px solid var(--line); }
.marketing-page .adoption-grid h2 { font-size: var(--headline); }
.marketing-page #prepare ol { padding-left: 1.4em; margin-top: 24px; }
.marketing-page #prepare li { padding: 12px 0 12px 12px; border-bottom: 1px solid var(--soft); }
.marketing-page #licensing > p, .marketing-page #licensing ul { margin-top: 24px; font-size: 16px; }
.marketing-page #faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; }
.marketing-page #faq > h2 { grid-row: span 5; }
.marketing-page details { padding-block: 24px; }
.marketing-page details:first-of-type { border-top: 1px solid var(--line); }
.marketing-page summary { font-size: 18px; font-weight: 500; line-height: 1.6; }
.marketing-page details p { max-width: 60ch; margin-top: 16px; font-size: 16px; color: var(--mid); }
.page-demo .demo-video { margin-top: 0; border-radius: 4px; }
.page-demo .demo-visual { align-self: center; }
@media (min-width: 1024px) {
  .page-demo .request-box { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; padding: 32px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
  .page-demo .request-box > h2 { grid-column: 1; grid-row: 1; font-size: var(--headline); }
  .page-demo .request-box > p:not(.status) { grid-column: 1; grid-row: 2; max-width: 30ch; margin: 0; }
  .page-demo .request-box > form { grid-column: 2; grid-row: 1 / 5; margin: 0; }
  .page-demo .request-box > .status { grid-column: 2; margin-top: 0; }
  .page-demo .request-box input[type=text], .page-demo .request-box input[type=email], .page-demo .request-box select, .page-demo .request-box textarea { border-radius: 4px; }
}
@media (max-width: 1000px) {
  .marketing-page .product-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .marketing-page h1 { font-size: clamp(38px, 5.6vw, 64px); }
  .marketing-page .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-page #web-example, .marketing-page #faq { column-gap: 32px; }
  .marketing-page .adoption-grid, .marketing-page .solution-grid { column-gap: 32px; }
}
@media (max-width: 640px) {
  .marketing-page { --gutter: 24px; --section-space: 80px; font-size: 16px; }
  .marketing-page .hdr { padding-block: 20px; }
  .marketing-page .langs { font-size: 13px; gap: 0; }
  .marketing-page .langs a { padding: 10px 8px; }
  .marketing-page .product-nav { gap: 12px 20px; font-size: 15px; }
  .marketing-page .product-hero { grid-template-columns: minmax(0, 1fr); padding-top: 48px; gap: 40px; }
  .marketing-page h1 { font-size: clamp(40px, 10vw, 56px); }
  .marketing-page .intro { margin-top: 24px; font-size: 16px; line-height: 1.8; }
  .marketing-page .eyebrow { margin-bottom: 20px; }
  .marketing-page .hero-visual { max-width: 480px; width: 100%; }
  .marketing-page .actions .button { width: auto; }
  .marketing-page .solution-grid, .marketing-page .adoption-grid { grid-template-columns: 1fr; gap: 0; }
  .marketing-page .solution-case { padding-block: 24px 32px; }
  .marketing-page .solution-case h3 { font-size: 28px; }
  .marketing-page .platform-grid { gap: 0 24px; }
  .marketing-page .platform h3 { font-size: 28px; }
  .marketing-page .platform p { font-size: 15px; }
  .marketing-page #web-example, .marketing-page #faq { display: block; }
  .marketing-page .io-details { margin-top: 32px; }
  .marketing-page th { min-width: 0; width: 30%; padding-right: 20px; }
  .marketing-page table { font-size: 15px; }
  .marketing-page .adoption-grid { gap: 48px; }
  .marketing-page #faq > h2 { margin-bottom: 32px; }
  .marketing-page summary { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-page .button { transition: none; }
}
