.kd-section { position: relative; padding: 88px 0; background: #36553c; color: #fff; scroll-margin-top: 64px; }
.kd-section *, .kd-section *::before, .kd-section *::after { box-sizing: border-box; }
.kd-wrap { max-width: 1100px; margin: auto; padding-inline: 24px; }
.kd-heading { max-width: 650px; margin: 0 auto; text-align: center; }
.kd-heading > p { margin: 0 0 15px; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #d6d6b5; }
.kd-heading h2 { margin: 0 0 18px; font-size: clamp(32px,4vw,44px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
.kd-heading > span { display: block; max-width: 560px; margin: auto; color: #d3ddd0; font-size: 16px; line-height: 1.8; }
.kd-tabs { display: flex; justify-content: center; gap: 8px; margin: 34px 0 26px; }
.kd-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 19px; border: 1px solid #71836a; border-radius: 40px; background: transparent; color: #eef1e7; font-size: 12px; font-weight: 700; cursor: pointer; }
.kd-tabs button[aria-selected=true] { color: #2f5036; background: #f0f3df; border-color: #f0f3df; }
.kd-tabs button:enabled:hover { background: #e7edda; color: #2f5036; }
.kd-icon { display: inline-flex; flex-shrink: 0; width: 20px; height: 20px; }
.kd-icon svg { width: 100%; height: 100%; }
.kd-section button:focus-visible,.kd-section a:focus-visible,.kd-section input:focus-visible,.kd-panel:focus-visible { outline: 3px solid #e6c87f; outline-offset: 5px; }
.kd-panel { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 25px; background: #fafbf6; color: #2d4633; border: 1px solid #e5eadb; scroll-margin-top: 88px; }
.kd-panel:not([data-active]),.kd-section [hidden] { display: none !important; }
.kd-copy { align-self: center; padding: 38px; }
.kd-copy .kd-eyebrow { margin: 0 0 14px; color: #617b4f; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.kd-copy h3 { margin: 0 0 18px; font-size: 32px; letter-spacing: -.045em; line-height: 1.15; font-weight: 800; }
.kd-copy > p:not(.kd-eyebrow):not(.kd-plan) { font-size: 14px; line-height: 1.85; color: #66735c; margin: 0; }
.kd-steps { padding: 0; margin: 25px 0; list-style: none; display: grid; gap: 13px; }
.kd-steps li { display: flex; align-items: center; gap: 11px; color: #455e3d; font-size: 11px; line-height: 1.6; font-weight: 650; }
.kd-steps li > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: #e8eedc; color: #657b4e; font-size: 8px; font-weight: 800; }
.kd-plan { font-size: 10px; line-height: 1.85; color: #69745e; border-top: 1px solid #e2e8d7; padding-top: 19px; margin: 0 0 18px; }
.kd-plan strong { font-weight: 750; color: #4d6541; }
.kd-copy > a { display: inline-flex; gap: 22px; align-items: center; color: #3f613c; font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.kd-visual { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; min-height: 510px; padding: 35px 20px; background: radial-gradient(ellipse at center,#dce7cc,#edf2e2 75%); }
.kd-visual::before { content: ''; position: absolute; pointer-events: none; width: 340px; height: 340px; border: 1px solid #ffffffaa; border-radius: 50%; }
.kd-compare-visual { background: radial-gradient(ellipse at center,#e3e3cf,#f0f1e5 75%); }
.kd-ai-visual { background: radial-gradient(ellipse at center,#e7dfce,#f4efe3 75%); }
.kd-device,.kd-paper,.kd-chart-card,.kd-ai-device { position: relative; width: 100%; background: #fff; box-shadow: 0 20px 35px #3c4c2f16; }
.kd-device { max-width: 285px; padding: 24px 19px 18px; border: 5px solid #3c5439; border-radius: 29px; transform: rotate(-2deg); }
.kd-app-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.kd-app-heading > span:first-child { color: #4c6d41; font-size: 15px; font-weight: 800; letter-spacing: -.05em; }
.kd-app-label { color: #718064; font-size: 8px; font-weight: 600; }
.kd-pet-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kd-pet { display: inline-flex; align-items: center; gap: 8px; }
.kd-pet svg { width: 32px; height: 32px; flex-shrink: 0; }
.kd-pet strong { display: block; font-size: 10px; font-weight: 750; }
.kd-pet small { display: block; margin-top: 2px; color: #839074; font-size: 7px; }
.kd-period { font-size: 8px; color: #6c8156; background: #f0f5e8; border: 1px solid #e0e9d4; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.kd-summary-title { color: #3f5b3d; font-size: 22px; line-height: 1.2; letter-spacing: -.04em; font-weight: 800; margin: 20px 0 15px; }
.kd-summary-row { display: flex; align-items: center; gap: 9px; border-top: 1px solid #e7ecdf; padding: 13px 0; }
.kd-summary-row > .kd-icon { color: #6f8757; width: 22px; height: 22px; }
.kd-summary-row strong { display: block; font-size: 9px; font-weight: 750; }
.kd-summary-row small { display: block; color: #7c8970; font-size: 7px; margin-top: 4px; line-height: 1.5; }
.kd-small-check { margin-left: auto; color: #607f4d; font-size: 10px; }
.kd-app-action { display: flex; align-items: center; justify-content: center; gap: 16px; background: #3e613f; color: #fff; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 9px; font-size: 10px; font-weight: 700; cursor: pointer; margin-top: 15px; }
.kd-app-action:hover { background: #2e4930; }
.kd-paper { max-width: 345px; padding: 24px; border: 1px solid #dce4d2; border-radius: 5px; transform: rotate(1deg); }
.kd-paper-header { padding: 19px; background: #345d3e; color: #fff; }
.kd-paper-header span { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.kd-paper-header strong { display: block; margin-top: 7px; font-weight: 500; font-size: 14px; }
.kd-paper-section { margin-top: 22px; font-size: 8px; }
.kd-paper-section > strong { display: block; font-size: 11px; color: #3c6240; font-weight: 800; border-bottom: 1px solid #3b5036; padding-bottom: 8px; margin-bottom: 8px; }
.kd-paper-section > div:not(.kd-paper-table) { display: flex; justify-content: space-between; padding: 8px; border-bottom: 1px solid #e0e6d7; }
.kd-paper-section > div:nth-child(even) { background: #f6f7f1; }
.kd-paper-table { display: grid; grid-template-columns: .75fr 1fr 1fr; gap: 0; font-size: 7px; }
.kd-paper-table span { padding: 8px 4px; border-bottom: 1px solid #e0e6d7; }
.kd-paper-table span:nth-child(-n+3) { font-weight: 700; background: #f2f4eb; }
.kd-paper-footer { display: block; color: #7f8a72; font-size: 7px; margin: 26px 0 20px; }
.kd-text-button { color: #43653d; border: 0; background: transparent; padding: 8px 0; min-height: 44px; cursor: pointer; font-size: 10px; font-weight: 750; }
.kd-chart-card { max-width: 420px; padding: 27px; border: 1px solid #dee6d4; border-radius: 20px; transform: rotate(-1deg); }
.kd-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kd-chart-heading strong { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.kd-compare-button { border: 1px solid #dce7cf; background: #eef4e4; color: #5c774b; border-radius: 7px; padding: 8px 10px; min-height: 44px; cursor: pointer; font-size: 8px; font-weight: 750; }
.kd-heat-figure { margin: 20px 0 0; }
.kd-heat-figure figcaption { font-size: 9px; font-weight: 650; color: #6f805b; margin-bottom: 18px; }
.kd-heat-grid { display: grid; grid-template-columns: 25px repeat(17,minmax(0,1fr)); gap: 3px; align-items: center; }
.kd-day { font-size: 7px; color: #7c8c68; }
.kd-hour { font-size: 6px; color: #839474; min-height: 12px; white-space: nowrap; }
.kd-heat-cell { background: #edf1e6; border-radius: 2px; min-width: 0; height: 18px; display: flex; flex-direction: column; justify-content: center; gap: 1px; overflow: hidden; }
.kd-heat-cell i { display: block; width: 100%; height: 5px; }
.kd-color-meals { background: #bb945d; }
.kd-color-bathroom { background: #8c7aa4; }
.kd-color-play { background: #65949b; }
.kd-key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.kd-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; }
.kd-legend > span { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #738762; }
.kd-heat-figure > p { font-size: 9px; line-height: 1.8; color: #7c8b6d; margin: 17px 0 0; }
.kd-chart-pet { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 24px; padding-top: 17px; border-top: 1px solid #e6ecdc; }
.kd-chart-pet > span:last-child { color: #7e8b6e; font-size: 7px; }
.kd-picker { margin-top: 20px; }
.kd-picker fieldset { margin: 0; padding: 0; border: 0; }
.kd-picker legend { font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.kd-picker p { color: #768a64; font-size: 10px; margin-top: 8px; }
.kd-picker-options { display: grid; gap: 7px; margin: 20px 0; }
.kd-picker-options label { display: flex; align-items: center; gap: 9px; min-height: 40px; border: 1px solid #e2ead7; border-radius: 8px; padding: 9px 12px; font-size: 11px; color: #576e47; cursor: pointer; }
.kd-picker-options input { accent-color: #3e613f; }
.kd-picker-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kd-mini-action { border: 0; background: #3e613f; color: #fff; padding: 10px 13px; border-radius: 8px; min-height: 44px; font-size: 9px; font-weight: 750; cursor: pointer; }
.kd-mini-action:disabled { opacity: .4; cursor: default; }
.kd-ai-device { max-width: 350px; padding: 25px; border: 1px solid #e0e6d6; border-radius: 22px; transform: rotate(1deg); }
.kd-ai-card { margin-top: 20px; padding: 20px; border: 1px solid #e4e9db; border-radius: 13px; box-shadow: 0 4px 10px #4d5f3410; }
.kd-ai-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 8px; }
.kd-ai-meta > span { color: #6c6384; background: #f0ecf7; border-radius: 5px; padding: 5px 7px; }
.kd-ai-meta time { color: #839174; }
.kd-ai-card > strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.kd-ai-card > p { color: #6e7c61; font-size: 12px; line-height: 1.85; margin: 14px 0 0; }
.kd-record-list { margin-top: 20px; }
.kd-record-list > strong { font-size: 16px; letter-spacing: -.03em; font-weight: 800; }
.kd-record-list > div { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e8edde; padding: 11px 0; }
.kd-record-symbol { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: #eee8db; color: #998463; }
.kd-record-list b { display: block; font-size: 9px; font-weight: 750; }
.kd-record-list small { display: block; color: #819071; font-size: 8px; margin-top: 4px; }
.kd-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width:900px) {
  .kd-panel { grid-template-columns: .9fr 1.1fr; }
  .kd-copy { padding: 28px; }
  .kd-copy h3 { font-size: 28px; }
  .kd-chart-card { padding: 20px; }
  .kd-chart-heading strong { font-size: 18px; }
  .kd-heat-grid { gap: 2px; grid-template-columns: 23px repeat(17,minmax(0,1fr)); }
  .kd-chart-pet > span:last-child { max-width: 75px; text-align: right; }
}
@media(max-width:700px) {
  .kd-section { padding-block: 58px; }
  .kd-wrap { padding-inline: 22px; }
  .kd-heading h2 { font-size: 34px; }
  .kd-heading > span { font-size: 14px; line-height: 1.85; }
  .kd-tabs { gap: 5px; margin: 27px 0 20px; }
  .kd-tabs button { flex: 1; min-width: 0; flex-direction: column; gap: 7px; border-radius: 13px; min-height: 74px; font-size: 10px; line-height: 1.5; padding: 10px 6px; }
  .kd-tabs .kd-icon { width: 18px; height: 18px; }
  .kd-panel { grid-template-columns: 1fr; border-radius: 20px; }
  .kd-copy { padding: 28px; }
  .kd-copy h3 { font-size: 29px; }
  .kd-copy > p:not(.kd-eyebrow):not(.kd-plan) { font-size: 13px; }
  .kd-steps { gap: 11px; margin-block: 23px; }
  .kd-plan { font-size: 10px; }
  .kd-visual { min-height: 470px; padding: 30px 18px; }
  .kd-visual::before { width: 280px; height: 280px; }
  .kd-device { max-width: 274px; }
  .kd-chart-card { padding: 21px; }
  .kd-chart-heading strong { font-size: 20px; }
  .kd-chart-pet > span:last-child { max-width: none; }
  .kd-heat-cell { height: 19px; }
  .kd-ai-device { padding: 23px; }
  .kd-ai-card { padding: 18px; }
  .kd-paper { padding: 20px; }
}
@media(max-width:370px) {
  .kd-wrap { padding-inline: 18px; }
  .kd-heading h2 { font-size: 31px; }
  .kd-tabs button { font-size: 9px; padding-inline: 3px; }
  .kd-copy { padding: 25px; }
  .kd-copy h3 { font-size: 27px; }
  .kd-visual { padding-inline: 14px; }
  .kd-device { padding-inline: 15px; }
  .kd-chart-card { padding: 16px; }
  .kd-chart-heading strong { font-size: 17px; }
  .kd-compare-button { font-size: 7px; padding-inline: 7px; }
  .kd-chart-pet > span:last-child { max-width: 60px; }
  .kd-ai-device { padding: 18px; }
  .kd-ai-card { padding: 16px; }
  .kd-ai-card > strong { font-size: 18px; }
  .kd-ai-card > p { font-size: 11px; }
  .kd-paper { padding: 17px; }
  .kd-paper-header { padding: 15px; }
  .kd-paper-header span { font-size: 19px; }
}
@media(prefers-reduced-motion:reduce) { .kd-section *, .kd-section *::before, .kd-section *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.kd-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 64px; }
