/* Homepage storytelling; shared colors and navigation live in styles.css. */
.product-page {
  --max: 1124px;
  background: var(--canvas);
  font-family: var(--rounded);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}
.product-page h1, .product-page h2, .product-page .brand, .product-kicker, .type-bubble, .care-illustration, .supply-labels { font-family: var(--rounded); font-weight: 700; }
.product-page h1, .product-page h2 { letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.product-page :lang(ko) { word-break: keep-all; }
.product-page h2 span { display: block; }
.product-page main { overflow: clip; }
.product-kicker { margin: 0 0 19px; color: var(--brand-ink); font-size: 12px; line-height: 1.4; letter-spacing: 1.4px; }
.explore-link { display: inline-flex; align-items: center; gap: 12px; color: var(--brand-ink); font-size: 16px; text-decoration: none; }
.explore-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.explore-link span { font-size: 21px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; color: #fffdfa; background: #342d27; font-size: 15px; line-height: 1.45; text-decoration: none; }
.store-button:hover { background: #514234; }
.store-button span { font-size: 18px; }
.device { position: relative; flex-shrink: 0; border: 2px solid #d6cbbd; background: #fff8ed; overflow: hidden; box-shadow: 0 22px 45px #4f3b2017, 0 3px 5px #4f3b2010; }
.device img { display: block; width: 100%; height: auto; }
.phone { width: 294px; padding: 7px; border-radius: 45px; }
.phone img { border-radius: 36px; }
.product-section { max-width: var(--max); margin: 0 auto; padding: 86px 32px; scroll-margin-top: 80px; }
.product-page h2 { margin: 0; font-size: clamp(40px, 4.25vw, 56px); line-height: 1.19; }
.records-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; border-top: 1px solid var(--separator); }
.records-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.record-tabs { display: inline-flex; align-self: flex-start; gap: 5px; padding: 5px; margin-top: 34px; border: 1px solid var(--separator); background: #f3eee5; border-radius: 32px; }
.record-tabs button { appearance: none; border: 0; padding: 12px 19px; background: transparent; color: #756a5f; border-radius: 27px; font: inherit; font-size: 14px; line-height: 1.35; cursor: pointer; }
.record-tabs button[aria-selected="true"] { color: #342d27; background: #fffdfa; box-shadow: 0 2px 7px #3a302915; }
.type-cloud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 424px; margin-top: 38px; }
.type-bubble { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 8px; min-height: 104px; padding: 12px 5px; border-radius: 28px; color: #366e87; background: #edf4f7; font-size: 16px; line-height: 1.25; text-align: center; }
.type-bubble svg { width: 42px; height: 42px; }
.type-bubble span { color: #62584e; }
.type-food { background: #fff0d6; color: #af7215; }
.type-weight { background: #f0eafb; color: #8b63a5; }
.type-care { background: #e9f2ea; color: #60846b; }
.type-pill { background: #fcece6; color: #ba7460; }
.type-custom { background: #ecebea; color: #777474; }
.record-stage { display: grid; min-height: 776px; padding: 28px 16px 38px; border-radius: 44px; background: #e8eddd; align-items: center; }
.record-panel { display: flex; flex-direction: column; align-items: center; }
.record-panel[hidden] { display: none; }
.panel-caption { min-height: 27px; margin: 0 0 25px; color: #626d56; text-align: center; font-size: 15px; text-wrap: balance; }
.record-panel .phone { width: 295px; }
.life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 12px; padding-bottom: 100px; }
.life-card { scroll-margin-top: 80px; position: relative; min-width: 0; overflow: hidden; border-radius: 40px; }
.card-heading { padding: 47px 38px 0; }
.card-heading h2 { font-size: clamp(33px, 3.3vw, 44px); }
.card-heading > p:last-child { margin: 22px 0 0; font-size: 17px; color: var(--secondary); text-wrap: balance; }
.care-card { background: #f7eddc; }
.care-illustration { margin: 48px 30px 60px; }
.care-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 28px; }
.care-week > div { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 85px; padding: 10px 3px 17px; border-radius: 24px; }
.care-week span { font-size: 13px; color: #95856f; }
.care-week strong { font-size: 23px; margin-top: 5px; }
.care-week .today { background: #eabc65; }
.care-week .today > span { color: #755622; }
.care-week .day-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #5b4329; bottom: 9px; }
.care-tasks { display: grid; gap: 12px; }
.care-row { display: flex; align-items: center; gap: 14px; padding: 20px 17px; background: #fffcf7; border-radius: 23px; box-shadow: 0 9px 22px #7c592306; }
.care-row-icon { width: 49px; height: 49px; padding: 7px; background: #e7eee1; border-radius: 17px; color: #60846b; flex-shrink: 0; }
.care-row-icon svg { width: 100%; height: 100%; }
.icon-tooth { color: #63869d; background: #e9f0f4; }
.icon-pill { color: #b46d58; background: #f8eae1; }
.care-row > div { min-width: 0; }
.care-row strong { display: block; font-size: 16px; line-height: 1.35; }
.care-row div > span { display: block; color: #796d5f; font: 13px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; margin-top: 5px; }
.care-state { margin-left: auto; flex-shrink: 0; width: 25px; height: 25px; color: #7c956b; }
.care-state svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.empty-check { display: block; width: 23px; height: 23px; border: 2px solid #ddd3c6; border-radius: 50%; }
.illustration-note { display: block; margin: 0 38px 28px; color: #796d5f; font-size: 11px; }
.supplies-card { background: #edf0f4; }
.supplies-visual { position: relative; height: 590px; margin-top: 38px; padding: 0 25px; display: flex; justify-content: center; }
.supplies-visual .phone { width: 267px; transform: rotate(-5deg); }
.supply-labels { position: absolute; right: 24px; top: 110px; display: flex; flex-direction: column; gap: 14px; transform: rotate(5deg); }
.supply-labels span { padding: 12px 22px; color: #627184; background: #ffffffed; border: 1px solid #fff; border-radius: 22px; box-shadow: 0 10px 30px #35475a0c; font-size: 15px; }
.nfc-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 16px; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--separator); border-bottom: 1px solid var(--separator); }
.nfc-copy { padding-left: 24px; }
.nfc-copy > p:not(.product-kicker) { max-width: 400px; color: var(--secondary); font-size: 19px; margin: 25px 0 0; text-wrap: balance; }
.nfc-copy > small { display: block; max-width: 390px; margin-top: 40px; color: var(--secondary); font-size: 12px; }
.nfc-art { margin: 0; text-align: center; }
.nfc-art img { display: block; width: 100%; max-height: 655px; object-fit: contain; }
.nfc-art figcaption { color: var(--secondary); font-size: 11px; }
.ownership-section { padding-top: 122px; padding-bottom: 110px; text-align: center; }
.ownership-section h2 { font-size: clamp(36px, 4vw, 52px); }
.ownership-section ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 850px; margin: 55px auto 0; padding: 0; gap: 26px; }
.ownership-section li { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #5e6651; font-size: 16px; }
.ownership-section svg { width: 54px; height: 54px; }
.product-closing { text-align: center; padding: 84px 24px 93px; background: #eeefe4; }
.product-closing > img { border-radius: 22px; box-shadow: 0 15px 28px #49322012; }
.product-closing h2 { font-size: clamp(30px, 3.7vw, 46px); margin-top: 32px; }
.product-closing p { margin: 20px 0 16px; color: var(--secondary); font-size: 14px; }
.product-page .site-footer { background: #eeefe4; }
.product-page .footer-inner { padding-top: 29px; padding-bottom: 42px; }
.product-page .footer-note { font-size: 11px; line-height: 1.7; }
.product-page .footer-links a { font-size: 12px; }
.product-page .footer-links { max-width: 380px; padding-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .product-section { padding-left: 28px; padding-right: 28px; }
  .records-section { gap: 30px; }
  .record-tabs button { padding: 10px 12px; font-size: 12px; }
  .record-stage { min-height: 714px; }
  .record-panel .phone { width: 270px; }
  .card-heading { padding-left: 28px; padding-right: 28px; }
  .card-heading h2 { font-size: 35px; }
  .care-illustration { margin-left: 20px; margin-right: 20px; }
  .care-row { gap: 10px; padding-left: 13px; padding-right: 13px; }
  .care-row strong { font-size: 14px; }
  .supply-labels { right: 13px; }
  .supply-labels span { padding: 10px 15px; }
}
@media (max-width: 720px) {
  .explore-link { font-size: 14px; }
  .hero-actions { gap: 18px; margin-top: 22px; }
  .store-button { font-size: 14px; padding: 12px 21px; }
  .product-section { padding: 64px 20px; scroll-margin-top: 65px; }
  .product-page h2 { font-size: clamp(33px, 8.7vw, 44px); line-height: 1.23; }
  .product-kicker { margin-bottom: 13px; font-size: 14px; }
  .records-section { display: block; }
  .records-copy { text-align: center; align-items: center; }
  .record-tabs { align-self: center; margin-top: 26px; max-width: 100%; }
  .record-tabs button { font-size: 13px; padding: 12px 13px; }
  .type-cloud { width: 100%; max-width: 380px; gap: 10px; margin-top: 27px; }
  .type-bubble { min-height: 78px; gap: 4px; font-size: 13px; border-radius: 22px; }
  .type-bubble svg { width: 32px; height: 32px; }
  .record-stage { margin-top: 30px; min-height: 0; padding: 23px 12px 28px; border-radius: 30px; }
  .record-panel .phone { width: min(68vw, 270px); }
  .panel-caption { max-width: 280px; font-size: 13px; margin-bottom: 20px; }
  .life-grid { display: grid; grid-template-columns: 1fr; padding-top: 0; gap: 20px; }
  .life-card { border-radius: 30px; }
  .card-heading { padding: 36px 25px 0; }
  .card-heading h2 { font-size: clamp(30px, 8vw, 40px); }
  .card-heading > p:last-child { margin-top: 18px; font-size: 15px; }
  .care-illustration { margin: 35px 20px 36px; }
  .care-week { gap: 2px; margin-bottom: 21px; }
  .care-week > div { min-height: 76px; border-radius: 21px; }
  .care-week strong { font-size: 20px; }
  .care-week span { font-size: 11px; }
  .care-row { padding: 17px 14px; gap: 12px; }
  .care-row strong { font-size: 15px; }
  .care-row-icon { width: 43px; height: 43px; }
  .illustration-note { margin: 0 25px 22px; }
  .supplies-visual { height: min(154vw, 640px); margin-top: 30px; }
  .supplies-visual .phone { width: min(68vw, 280px); }
  .supply-labels { top: 108px; right: 13px; }
  .supply-labels span { font-size: 12px; padding: 10px 13px; }
  .nfc-section { display: block; padding-top: 61px; padding-bottom: 35px; text-align: center; }
  .nfc-copy { padding: 0; }
  .nfc-copy > p:not(.product-kicker) { margin: 22px auto 0; max-width: 290px; font-size: 16px; }
  .nfc-copy > small { max-width: 300px; margin: 22px auto 0; font-size: 10px; }
  .nfc-art { margin-top: 26px; }
  .nfc-art img { max-height: 480px; }
  .ownership-section { padding-top: 66px; padding-bottom: 65px; }
  .ownership-section h2 { font-size: clamp(30px, 8vw, 40px); }
  .ownership-section ul { grid-template-columns: 1fr; gap: 27px; margin-top: 34px; }
  .ownership-section li { flex-direction: row; text-align: left; gap: 16px; max-width: 285px; width: 100%; margin: 0 auto; font-size: 15px; }
  .ownership-section svg { width: 40px; height: 40px; flex-shrink: 0; }
  .product-closing { padding: 58px 23px; }
  .product-closing > img { width: 66px; height: 66px; border-radius: 18px; }
  .product-closing h2 { font-size: clamp(28px, 7vw, 36px); margin-top: 26px; }
  .product-page .footer-inner { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .type-cloud, .record-stage, .care-illustration, .supplies-visual, .nfc-art, .record-tabs { display: none; }
  .product-section, .ip-hero, .product-closing { padding: 24px; }
  .records-section, .life-grid, .nfc-section { display: block; }
  .product-page h1, .product-page h2 { font-size: 25pt; }
}

/* Approved companion scene. IP art is scaled proportionally, never cropped. */
.ip-hero { padding: 24px 24px 0; text-align: center; }
.ip-eyebrow { margin: 0 0 12px; font: 600 10px/1.5 -apple-system, sans-serif; letter-spacing: 2.3px; color: var(--brand-ink); }
.ip-hero h1 { max-width: none; margin: 0; font-size: clamp(44px, 5.1vw, 58px); line-height: 1.18; letter-spacing: -.03em; }
.ip-hero h1 span { display: block; }
.ip-hero h1 span:last-child { color: #6d7e59; }
.ip-intro { margin: 15px 0 0; color: var(--secondary); font: 400 15px/1.7 -apple-system, BlinkMacSystemFont, sans-serif; }
.ip-hero .hero-actions { margin-top: 18px; }
.ip-availability { margin: 10px 0 0; color: var(--secondary); font: 400 11px/1.6 -apple-system, sans-serif; }
.ip-stage { height: 365px; position: relative; max-width: 1050px; margin: 15px auto 0; isolation: isolate; }
.ip-ground { position: absolute; left: 10%; right: 10%; bottom: 0; height: 166px; background: #e8eddd; border-radius: 50% 50% 45% 48%; z-index: -2; }
.ip-sun { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: #f8edd7; left: calc(50% - 95px); top: 23px; z-index: -3; }
.ip-cat, .ip-dog { position: absolute; bottom: 29px; width: auto; object-fit: contain; z-index: 2; }
.ip-cat { height: 245px; right: calc(50% + 94px); transform: rotate(-3deg); }
.ip-dog { height: 238px; left: calc(50% + 99px); transform: rotate(3deg); }
.ip-phone { position: absolute; bottom: 22px; left: 50%; width: 157px; transform: translateX(-50%) rotate(-3deg); border-radius: 29px; padding: 5px; background: #fffdf7; border: 1px solid #c8bdac; box-shadow: 0 22px 36px #514e3b21, 0 2px 3px #514e3b13; z-index: 3; }
.ip-phone::before { content: ""; position: absolute; width: 3px; height: 27px; top: 79px; left: -3px; background: #c8bdac; border-radius: 2px; }
.ip-screen { overflow: hidden; border-radius: 23px; aspect-ratio: 660/1434; background: #fff8ed; }
.ip-screen img { display: block; width: 100%; height: auto; }
.ip-screen [role="tabpanel"]:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: -4px; }
.ip-hello { position: absolute; top: 35px; left: calc(50% - 310px); font-size: 14px; color: #887456; transform: rotate(-8deg); line-height: 1.7; }
.ip-hello span { display: block; }
.ip-hello svg { width: 32px; height: 33px; display: block; margin: 7px auto 0; color: #baa98a; }
.ip-spark { position: absolute; right: calc(50% - 310px); top: 65px; width: 33px; height: 39px; color: #d1af75; transform: rotate(10deg); }
.ip-plant { position: absolute; width: 33px; height: 54px; bottom: 45px; right: 125px; color: #a5b38e; }
.ip-pebble { position: absolute; background: #cbd4b8; border-radius: 50%; height: 7px; width: 18px; left: 125px; bottom: 49px; transform: rotate(-15deg); }
.ip-pebble::after { content: ""; position: absolute; width: 9px; height: 5px; background: #bac9a2; border-radius: 50%; left: 27px; top: -5px; }
.ip-showcase { max-width: 1000px; margin: 17px auto 0; text-align: center; padding: 0 18px 18px; }
.ip-tabs { display: inline-flex; gap: 4px; background: #f0eee6; padding: 5px; border-radius: 50px; max-width: 100%; }
.ip-tabs button { border: 0; border-radius: 50px; background: none; color: #6e665b; font: 400 13px/1.4 -apple-system, sans-serif; padding: 10px 22px; min-height: 44px; cursor: pointer; }
.ip-tabs button[aria-selected="true"] { background: #fffefa; color: #5e6d4c; box-shadow: 0 2px 5px #5b543d0c; }
.ip-caption { margin: 13px 0 0; color: var(--secondary); font: 400 12px/1.6 -apple-system, sans-serif; }
.story-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin: 12px auto 0; padding: 8px 20px 24px; font-size: 12px; color: var(--secondary); }
.story-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.story-nav a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 5px; }
.devices-story { padding: 85px 55px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 65px; border-bottom: 1px solid var(--separator); }
.devices-story h2 { font-size: 45px; }
.devices-story > div > p:last-child { font-size: 15px; line-height: 1.8; color: var(--secondary); max-width: 280px; margin-top: 25px; }
.devices-story figure { margin: 0; padding: 25px; background: #efede4; border-radius: 35px; }
.devices-story img { display: block; width: 100%; height: auto; border-radius: 22px; border: 7px solid #fffdf9; box-shadow: 0 15px 30px #4f3b2017; }
.devices-story figcaption { text-align: center; font-size: 11px; color: var(--secondary); margin-top: 18px; }
.product-closing > img.closing-characters { display: block; width: 240px; height: auto; margin: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 800px) {
  .ip-stage { height: 345px; max-width: 690px; margin-top: 18px; }
  .ip-phone { width: 150px; }
  .ip-cat { height: 196px; right: calc(50% + 75px); }
  .ip-dog { height: 191px; left: calc(50% + 80px); }
  .ip-hello { left: calc(50% - 240px); top: 30px; }
  .ip-spark { right: calc(50% - 235px); top: 64px; width: 25px; }
  .ip-ground { left: 0; right: 0; height: 150px; }
  .ip-plant { right: 15px; width: 25px; bottom: 36px; }
  .ip-pebble { left: 12px; bottom: 36px; }
}
@media (max-width: 720px) {
  .product-section, .life-card { scroll-margin-top: 125px; }
  .story-nav { gap: 6px 22px; font-size: 11px; margin-top: 0; padding-bottom: 22px; }
  .devices-story { grid-template-columns: 1fr; gap: 30px; text-align: center; padding: 55px 24px; }
  .devices-story h2 { font-size: 34px; }
  .devices-story > div > p:last-child { margin: 20px auto 0; font-size: 14px; max-width: 280px; }
  .devices-story figure { max-width: 380px; width: 100%; margin: auto; padding: 22px; }
  .devices-story img { border-radius: 15px; border-width: 5px; }
  .product-closing > img.closing-characters { width: 195px; }
}
@media (max-width: 540px) {
  .ip-hero { padding: 27px 16px 0; }
  .ip-eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 16px; }
  .ip-hero h1 { font-size: clamp(29px, 9.5vw, 39px); line-height: 1.32; letter-spacing: -.035em; }
  .ip-intro { font-size: 14px; margin: 16px auto 0; max-width: 330px; text-wrap: balance; }
  .ip-hero .hero-actions { margin-top: 21px; gap: 8px 16px; }
  .ip-hero .store-button { font-size: 13px; padding: 12px 19px; }
  .ip-hero .explore-link { min-height: 44px; font-size: 12px; gap: 4px; }
  .ip-availability { font-size: 11px; }
  .ip-stage { margin-top: 24px; height: 319px; width: calc(100% + 32px); margin-left: -16px; }
  .ip-phone { width: 137px; border-radius: 23px; padding: 4px; }
  .ip-screen { border-radius: 18px; }
  .ip-cat { height: 168px; right: calc(50% + 41px); bottom: 26px; z-index: 4; }
  .ip-dog { height: 163px; left: calc(50% + 44px); bottom: 26px; z-index: 4; }
  .ip-ground { left: -8%; right: -8%; height: 136px; }
  .ip-sun { width: 138px; height: 138px; left: calc(50% - 69px); top: 40px; }
  .ip-hello { top: 48px; left: 20px; font-size: 11px; }
  .ip-hello svg { width: 25px; height: 25px; margin-top: 4px; }
  .ip-spark { right: 30px; top: 64px; width: 23px; height: 31px; }
  .ip-plant, .ip-pebble { display: none; }
  .ip-showcase { margin-top: 20px; padding: 0 14px 18px; }
  .ip-tabs button { font-size: 12px; padding: 9px 15px; }
  .ip-caption { font-size: 12px; min-height: 39px; text-wrap: balance; }
}
@media (max-width: 389px) {
  .ip-dog { height: 153px; left: calc(50% + 40px); }
}
@media (max-width: 370px) {
  .ip-stage { height: 300px; }
  .ip-phone { width: 129px; }
  .ip-cat { height: 140px; right: calc(50% + 37px); }
  .ip-dog { height: 132px; left: calc(50% + 37px); }
  .ip-hello { left: 12px; }
  .ip-tabs button { padding-left: 12px; padding-right: 12px; }
  .story-nav { gap: 4px 16px; }
}
@media print { .ip-stage, .ip-showcase, .story-nav { display: none; } }
