/* KIGEN product presentation. The shared Studio Macaw shell is unchanged. */
.product-kigen { --kg-green: #23734e; }
.product-kigen main { overflow: clip; }
.product-kigen main h1,.product-kigen main h2,.product-kigen main h3 { text-wrap: balance; letter-spacing: -.035em; }
.product-kigen main p { text-wrap: pretty; }
.product-kigen .product-local-links a { color: inherit; }
.product-kigen a:focus-visible { outline: 3px solid #23734e; outline-offset: 5px; }
.product-kigen .skip-link { position: absolute; left: 20px; top: -100px; z-index: 100; padding: 12px 18px; background: #20242a; color: white; border-radius: 24px; }
.product-kigen .skip-link:focus { top: 14px; }
.kg-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: center; gap: clamp(32px,5vw,72px); padding-block: 62px 70px; }
.kg-app-label { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.kg-app-label img { border-radius: 11px; }
.product-kigen .kg-hero h1 { margin: 14px 0 24px; font-size: clamp(34px,3.65vw,52px); line-height: 1.27; font-weight: 700; }
.kg-lead { max-width: 540px; margin: 0 0 28px; font-size: 16px; line-height: 1.95; }
.kg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.kg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; background: var(--studio-ink); color: white; font-size: 14px; font-weight: 600; }
.kg-button:hover { background: #36433c; }
.kg-text-link { display: inline-block; padding-block: 5px; color: #555a61; font-size: 13px; border-bottom: 1px solid #bfc1c4; }
.kg-text-link span { padding-left: 5px; }
.kg-related-link { margin-top: 24px; }
.product-kigen .kg-release-note { margin: 15px 0 0; font-size: 12px; }
.kg-phone { margin: 0; width: 100%; justify-self: center; }
.kg-phone > img { display: block; width: 100%; height: auto; border-radius: 44px; box-shadow: 0 12px 34px rgba(32,36,42,.06); }
.kg-phone figcaption,.kg-feature-figure figcaption { padding-top: 14px; font-size: 11px; color: #767b82; text-align: center; letter-spacing: .03em; }
.kg-hero-art { max-width: 270px; }
.kg-intro { padding: 50px 0 58px; border-top: 1px solid var(--studio-line); }
.product-kigen .kg-intro h2,.product-kigen .kg-gallery h2 { margin: 8px 0 30px; font-size: 30px; line-height: 1.4; }
.kg-type-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.kg-type-grid article { border-top: 1px solid var(--studio-line); padding-top: 18px; }
.kg-number { display: block; margin-bottom: 14px; font-size: 11px; color: #7a8089; font-variant-numeric: tabular-nums; }
.product-kigen .kg-type-grid h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; }
.kg-type-grid p { margin: 0; font-size: 14px; line-height: 1.85; }
.product-kigen .kg-type-grid .kg-example { margin-bottom: 9px; font-size: 12px; color: var(--kg-green); }
.kg-story { padding: 72px 0; }
.kg-soft { background: #f7f7f9; }
.kg-story-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(38px,7vw,100px); }
.kg-story-copy { max-width: 470px; }
.product-kigen .kg-story-copy h2 { margin: 12px 0 22px; font-size: clamp(30px,3.1vw,42px); font-weight: 660; line-height: 1.38; }
.kg-story-copy > p:not(.eyebrow) { margin: 0; font-size: 16px; line-height: 1.95; }
.kg-story-copy .kg-story-note { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid var(--studio-line); font-size: 13px !important; line-height: 1.9 !important; }
.kg-feature-figure { width: 100%; max-width: 420px; margin: 0; justify-self: center; }
.kg-feature-figure > img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 12px 34px rgba(32,36,42,.045); }
.product-kigen .kg-feature-figure > p { margin: 26px 0 13px; color: var(--kg-green); font-size: 12px; }
.kg-family-symbol { display: flex; justify-content: center; align-items: end; gap: 35px; padding: 10px 0 14px; }
.kg-family-symbol span { width: 43px; height: 25px; border-radius: 20px 20px 10px 10px; background: #dbe9df; position: relative; margin-top: 36px; }
.kg-family-symbol span::before { content: ''; width: 23px; height: 23px; border-radius: 50%; background: #37865f; position: absolute; left: 10px; top: -28px; }
.kg-family-symbol span:nth-child(2) { transform: scale(1.2); margin-bottom: 9px; }
.kg-feature-figure .kg-share-settings { box-shadow: none; }
.kg-app-flow { display: flex; align-items: center; justify-content: space-around; gap: 18px; padding-block: 20px 30px; }
.kg-app-flow > div { display: flex; align-items: center; flex-direction: column; gap: 12px; }
.kg-app-flow img { border-radius: 18px; }
.kg-app-flow strong { font-size: 16px; font-weight: 600; }
.kg-app-flow div > span { font-size: 12px; color: #6f747b; }
.kg-flow-arrow { font-size: 36px; color: var(--kg-green); margin-top: -44px; }
.kg-linked-card { background: #edf3ec; padding: 18px; border-radius: 24px; }
.product-kigen .kg-linked-card p { margin: 0 0 16px; color: #587461; font-size: 12px; }
.kg-linked-card img { display: block; width: 100%; height: auto; border-radius: 18px; }
.kg-calendar-art { max-width: 258px; }
.kg-gallery { padding-block: 68px 50px; }
.kg-gallery-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.kg-gallery-grid a { display: block; border-radius: 16px; }
.kg-gallery-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--studio-line); border-radius: 16px; }
.kg-guide { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; padding-block: 58px; border-top: 1px solid var(--studio-line); border-bottom: 1px solid var(--studio-line); }
.product-kigen .kg-guide h2 { margin: 12px 0 22px; font-size: 32px; line-height: 1.4; }
.kg-guide-heading > p:last-child { font-size: 14px; line-height: 1.95; }
.kg-guide details { border-bottom: 1px solid var(--studio-line); }
.kg-guide details:first-child { border-top: 1px solid var(--studio-line); }
.kg-guide summary { padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.65; }
.kg-guide summary::marker { color: var(--kg-green); }
.kg-guide summary:focus-visible { outline: 3px solid var(--kg-green); outline-offset: 4px; }
.kg-guide details p { margin: 0 0 22px; font-size: 14px; line-height: 1.95; }
.kg-contact { padding-top: 28px; }
.product-kigen .kg-contact h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; }
.kg-contact p { margin: 0 0 14px; font-size: 13px; line-height: 1.9; }
.kg-contact a { overflow-wrap: anywhere; }
.kg-final { margin-block: 28px 72px; padding: 44px 30px; text-align: center; }
.product-kigen .kg-final h2 { margin: 12px 0 26px; font-size: clamp(32px,3.4vw,44px); line-height: 1.35; }
.kg-final > p:last-child { margin-top: 17px; font-size: 12px; }
.product-kigen .studio-footer { margin-top: 0; }
@media (max-width: 760px) {
  .kg-hero { padding-block: 42px 44px; grid-template-columns: 1fr; gap: 32px; }
  .kg-app-label { margin-bottom: 24px; }
  .product-kigen .kg-hero h1 { font-size: clamp(30px,7.8vw,46px); }
  .kg-lead { font-size: 15px; line-height: 1.9; }
  .kg-desktop-br { display: none; }
  .kg-hero-art { max-width: 250px; }
  .kg-intro { padding-block: 38px 44px; }
  .product-kigen .kg-intro h2,.product-kigen .kg-gallery h2 { font-size: 25px; }
  .kg-type-grid { grid-template-columns: 1fr; gap: 20px; }
  .kg-type-grid article { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
  .kg-number { grid-column: 1; grid-row: 1/4; padding-top: 5px; }
  .product-kigen .kg-type-grid h3 { grid-column: 2; font-size: 19px; margin-bottom: 8px; }
  .kg-type-grid p { grid-column: 2; }
  .kg-story { padding-block: 46px; }
  .kg-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .kg-story-copy { max-width: 560px; }
  .kg-reverse .kg-story-copy { order: -1; }
  .product-kigen .kg-story-copy h2 { font-size: 30px; }
  .kg-story-copy > p:not(.eyebrow) { font-size: 15px; }
  .kg-feature-figure { max-width: 380px; }
  .kg-gallery { padding-block: 44px 20px; }
  .kg-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .kg-guide { grid-template-columns: 1fr; gap: 24px; padding-block: 44px; }
  .product-kigen .kg-guide h2 { font-size: 28px; }
  .kg-final { margin-block: 28px 36px; padding-inline: 10px; }
}
