/* Shared, namespaced styles. The corporate site's existing theme stays intact. */
:root {
  --sp-ink: #183d35;
  --sp-muted: #596b63;
  --sp-green: #08765f;
  --sp-mint: #00bd98;
  --sp-paper: #f8faf6;
  --sp-line: #dce5de;
}
.sp-site {
  margin: 0;
  background: var(--sp-paper);
  color: var(--sp-ink);
  font: 16px/1.85 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sp-site *, .sp-home-apps * { box-sizing: border-box; }
.sp-site :where(h1, h2, h3, p, ul, figure) { margin: 0; }
.sp-site a, .sp-home-apps a { color: inherit; text-underline-offset: 5px; }
.sp-site :where(a, button, summary):focus-visible, .sp-home-apps a:focus-visible, .sp-header-app-link:focus-visible {
  outline: 3px solid #dcad36;
  outline-offset: 5px;
}
.sp-site :where(section, article, main, #apps)[id] { scroll-margin-top: 116px; }
.sp-site img { max-width: 100%; height: auto; }
.sp-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 28px; }
.sp-skip { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 12px 18px; background: white; border: 2px solid var(--sp-green); border-radius: 10px; }
.sp-skip:focus { top: 10px; }
.sp-site-header { position: sticky; top: 0; z-index: 20; background: #f8faf6f5; border-bottom: 1px solid var(--sp-line); backdrop-filter: blur(16px); }
.sp-header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.sp-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.sp-brand img { width: 124px; height: 27px; }
.sp-brand span { padding-left: 16px; border-left: 1px solid #c6d4cb; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.sp-site-nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.sp-site-nav a { font-size: 13px; text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.sp-site-nav a:hover { color: var(--sp-green); }
.sp-overline { font-size: 11px; line-height: 1.6; letter-spacing: .16em; font-weight: 750; color: var(--sp-green); }
.sp-overline::before { content: ""; display: inline-block; width: 20px; height: 2px; background: var(--sp-mint); margin-right: 10px; vertical-align: middle; }
.sp-hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 36px; padding-top: 62px; padding-bottom: 40px; }
.sp-hero h1 { margin: 20px 0 22px; font-size: clamp(36px, 4.8vw, 62px); font-weight: 750; line-height: 1.42; letter-spacing: -.055em; }
.sp-hero h1 span { position: relative; white-space: nowrap; }
.sp-hero h1 span::after { content: ""; position: absolute; bottom: 4px; left: 0; right: -4px; height: 11px; z-index: -1; background: #bfe9d8; border-radius: 4px; }
.sp-hero-copy { position: relative; z-index: 1; }
.sp-release { display: flex; gap: 8px; align-items: center; color: #16634a; font-size: 12px; font-weight: 650; line-height: 1.8; margin-top: 16px !important; }
.sp-release > span { font-size: 8px; color: #168451; }
.sp-discover { padding: 42px 0 8px; }
.sp-discover h2 { font-size: clamp(25px, 3vw, 32px); letter-spacing: -.035em; margin-top: 8px; }
.sp-discover > div > p:last-child { font-size: 13px; color: var(--sp-muted); margin-top: 8px; }
.sp-purpose-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.sp-purpose-grid a { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; background: white; border: 1px solid var(--sp-line); border-radius: 16px; text-decoration: none; }
.sp-purpose-grid a:hover { border-color: #699a81; background: #f0f6ef; }
.sp-purpose-grid a > span { font-size: 10px; color: var(--sp-green); letter-spacing: .12em; }
.sp-purpose-grid strong { font-size: 14px; line-height: 1.8; }
.sp-purpose-grid small { font-size: 11px; color: var(--sp-muted); padding-right: 14px; }
.sp-purpose-grid svg { position: absolute; width: 16px; height: 16px; right: 14px; bottom: 23px; color: var(--sp-green); }
@media (max-width: 1000px) { .sp-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sp-purpose-grid { gap: 10px; } .sp-purpose-grid a { padding: 16px 13px; } .sp-purpose-grid strong { font-size: 12px; } .sp-purpose-grid small { font-size: 10px; } .sp-release { font-size: 11px; } }
.sp-lead { font-size: 16px; line-height: 2.05; color: var(--sp-muted); max-width: 470px; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sp-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; border: 1px solid var(--sp-ink); border-radius: 11px; background: var(--sp-ink); color: #fff !important; font: 650 14px/1.5 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif; text-decoration: none; min-height: 50px; transition: background .2s, transform .2s; }
.sp-button:hover { background: #24584b; transform: translateY(-1px); }
.sp-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.sp-button-light { background: transparent; border-color: #c6d4cb; color: var(--sp-ink) !important; }
.sp-button-light:hover { background: #eaf1e9; }
.sp-hero-caption { font-size: 11px; color: #65736c; margin-top: 18px !important; }
.sp-phones { position: relative; height: 474px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.sp-phones::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; max-height: 450px; border-radius: 50%; background: #e8f1e7; z-index: -2; }
.sp-phones::after { content: ""; position: absolute; width: 60px; height: 60px; border: 1px solid #c5d8c6; border-radius: 17px; right: 1%; top: 6%; transform: rotate(15deg); z-index: -1; }
.sp-phone { position: absolute; width: 176px; border-radius: 29px; border: 5px solid #fff; box-shadow: 0 20px 46px #183d351c, 0 2px 8px #183d3512; overflow: hidden; line-height: 0; }
.sp-phone img { display: block; width: 100%; height: auto; }
.sp-phone-left { transform: translate(-130px, 12px) rotate(-10deg); }
.sp-phone-middle { width: 204px; z-index: 2; transform: translate(0, -10px) rotate(-1deg); }
.sp-phone-right { transform: translate(130px, 10px) rotate(10deg); }
.sp-screen-caption { text-align: center; color: #6b7971; font-size: 10px; margin-top: -6px; }
.sp-values { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 42px; border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); padding: 20px 12px; color: #50655a; font-size: 12px; }
.sp-values span::before { content: "✓"; margin-right: 9px; color: var(--sp-green); }
.sp-catalogue { padding-top: 58px; padding-bottom: 30px; }
.sp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sp-section-head h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.5; letter-spacing: -.035em; margin-top: 8px; }
.sp-section-head > p { font-size: 13px; color: var(--sp-muted); }
.sp-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-app-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-app-card { position: relative; min-width: 0; background: white; border: 1px solid var(--sp-line); border-radius: 22px; display: flex; flex-direction: column; }
.sp-app-card:has(.sp-qr[open]) { z-index: 6; }
.sp-card-art { height: 148px; position: relative; display: flex; justify-content: center; align-items: center; background: var(--sp-tone); border-radius: 21px 21px 0 0; isolation: isolate; overflow: hidden; }
.sp-card-art::before, .sp-card-art::after { content: ""; position: absolute; width: 148px; height: 148px; border: 1px solid var(--sp-accent); opacity: .12; border-radius: 50%; z-index: -1; }
.sp-card-art::before { left: -55px; top: 30px; }
.sp-card-art::after { right: -22px; top: -60px; width: 190px; height: 190px; }
.sp-app-number { position: absolute; top: 18px; left: 22px; color: var(--sp-accent); font-size: 11px; letter-spacing: .12em; font-weight: 650; opacity: .8; }
.sp-card-art img { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 10px 26px #183d3519; }
.sp-availability { position: absolute; top: 17px; right: 18px; border-radius: 30px; background: #ffffffcf; color: #526759; padding: 4px 10px; font-size: 10px; line-height: 1.7; }
.sp-availability-live { color: #146545; }
.sp-availability-live::before { content: ""; display: inline-block; width: 5px; height: 5px; background: #168451; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.sp-card-body { padding: 24px 24px 0; display: flex; flex-direction: column; flex: 1; }
.sp-category { font-size: 11px; font-weight: 650; color: var(--sp-accent); margin-bottom: 6px !important; letter-spacing: .035em; }
.sp-app-card h3 { font-size: 22px; line-height: 1.55; letter-spacing: -.035em; }
.sp-app-card h3 a { text-decoration: none; }
.sp-tagline { font-size: 14px; font-weight: 650; margin-top: 12px !important; }
.sp-description { font-size: 13px; line-height: 1.95; color: var(--sp-muted); margin-top: 10px !important; }
.sp-feature-list { padding: 16px 0 0; list-style: none; font-size: 12px; line-height: 1.9; color: #405d4f; }
.sp-feature-list li { display: flex; gap: 8px; margin-top: 5px; }
.sp-feature-list li::before { content: "✓"; color: var(--sp-accent); font-weight: 700; flex-shrink: 0; }
.sp-devices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding-bottom: 22px; }
.sp-devices span { font-size: 10px; line-height: 1.5; padding: 5px 8px; border: 1px solid #e0e8e1; border-radius: 5px; color: #546b5c; }
.sp-card-bottom { margin-top: auto; border-top: 1px solid #ecf0eb; padding-top: 20px; padding-bottom: 22px; }
.sp-store-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sp-store-link { padding: 11px 14px; min-height: 44px; font-size: 12px; gap: 12px; white-space: nowrap; }
.sp-coming { font-size: 12px; color: #6e776e; border: 1px solid #d9e1d9; border-radius: 9px; padding: 10px 14px; line-height: 1.7; background: #f8faf7; }
.sp-qr { position: relative; flex-shrink: 0; }
.sp-qr summary { cursor: pointer; color: #4b6355; font-size: 11px; display: flex; align-items: center; gap: 6px; min-height: 44px; list-style: none; }
.sp-qr summary::-webkit-details-marker { display: none; }
.sp-qr summary svg { width: 16px; height: 16px; }
.sp-qr[open] summary { color: var(--sp-green); }
.sp-qr-panel { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 7; width: 224px; padding: 18px; background: #fff; border: 1px solid var(--sp-line); border-radius: 16px; box-shadow: 0 14px 50px #183d3526; text-align: center; }
.sp-qr-panel img { display: block; width: 164px; height: 164px; margin: 0 auto; }
.sp-qr-panel p { font-size: 11px; line-height: 1.8; color: var(--sp-muted); margin: 10px 0 !important; }
.sp-qr-panel a { font-size: 11px; color: var(--sp-green); display: inline-flex; min-height: 34px; align-items: center; }
.sp-app-note { font-size: 10px; line-height: 1.9; color: #68756b; margin-top: 13px !important; }
.sp-store-note { font-size: 12px; color: #65736b; margin-top: 22px !important; padding-left: 14px; border-left: 2px solid #b8d4c0; }
.sp-related-cases { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; margin-top: 44px; border: 1px solid var(--sp-line); border-radius: 20px; background: #edf3ec; }
.sp-related-cases h2 { margin-top: 12px; font-size: 26px; line-height: 1.6; letter-spacing: -.03em; }
.sp-related-cases div > p:last-child { color: var(--sp-muted); font-size: 13px; margin-top: 12px; }
.sp-related-cases > a { flex-shrink: 0; }
@media (max-width: 760px) { .sp-related-cases { align-items: flex-start; flex-direction: column; padding: 24px; gap: 22px; margin-top: 32px; } .sp-related-cases h2 { font-size: 23px; } .sp-related-cases > a { font-size: 12px; padding-left: 13px; padding-right: 13px; gap: 9px; } }
.sp-section { margin-top: 64px; border-top: 1px solid var(--sp-line); padding-top: 46px; padding-bottom: 12px; }
.sp-section .eyebrow { color: var(--sp-green); font-size: 11px; letter-spacing: .15em; font-weight: 700; margin-bottom: 8px; }
.sp-section > h2 { font-size: 30px; letter-spacing: -.035em; margin-bottom: 20px; }
.sp-section > p { color: var(--sp-muted); font-size: 14px; max-width: 870px; margin-top: 15px; }
.sp-section .email { margin-top: 22px; margin-bottom: 28px; }
.sp-section .email a { color: var(--sp-green); font-size: 22px; font-weight: 650; overflow-wrap: anywhere; }
.sp-support details { padding: 20px 22px; margin-top: 12px; background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; max-width: 900px; }
.sp-support summary { cursor: pointer; font-size: 14px; font-weight: 650; }
.sp-support details p { margin-top: 14px; color: var(--sp-muted); font-size: 13px; }
.sp-policy { padding-bottom: 60px; }
.sp-policy-content { margin-top: 26px; max-width: 900px; }
.sp-policy-content h3 { font-size: 16px; margin-top: 28px; }
.sp-policy-content p, .sp-policy-content li { color: var(--sp-muted); font-size: 13px; line-height: 1.95; margin-top: 12px; }
.sp-policy-content ul { padding-left: 22px; }
.sp-policy-content a { color: var(--sp-green); overflow-wrap: anywhere; }
.sp-site-footer { background: #eaf0e9; border-top: 1px solid var(--sp-line); padding: 32px 0; }
.sp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.sp-site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.sp-site-footer a { font-size: 12px; min-height: 40px; display: inline-flex; align-items: center; }
.sp-site-footer p { font-size: 11px; color: #5c6c61; }
/* Only these classes are added to the existing corporate page. */
.sp-header-app-link { position: relative; z-index: 9999; float: right; margin-right: 22px; padding: 10px 17px; min-height: 42px; border: 1px solid #ffffffa3; border-radius: 30px; background: #fffffff2; color: #183d35 !important; font: 650 12px/1.7 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif; text-decoration: none !important; }
.sp-header-app-link .sp-shortcut-arrow { margin-left: 8px; }
.sp-header-app-link .sp-shortcut-compact { display: none; }
.sp-home-apps { background: #f3f8f2; border-top: 1px solid #e3ebe1; border-bottom: 1px solid #e3ebe1; color: var(--sp-ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif; }
.sp-home-layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 70px; padding-top: 66px; padding-bottom: 64px; }
.sp-home-apps h2 { font-family: inherit; color: var(--sp-ink); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.55; letter-spacing: -.04em; margin: 14px 0 18px; }
.sp-home-copy { font-size: 15px; line-height: 1.95; color: #526b5b; margin: 0 0 26px; }
.sp-home-credit { font-size: 11px; line-height: 1.8; color: #65756a; margin: 16px 0 0; }
.sp-home-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-home-icon { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 7px 12px; background: #ffffffce; border: 1px solid #dee7dc; border-radius: 15px; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.sp-home-icon:hover { transform: translateY(-4px); box-shadow: 0 8px 22px #183d3512; }
.sp-home-icon img { display: block; width: 61px; height: 61px; border-radius: 16px; box-shadow: 0 5px 12px #183d3510; }
.sp-home-icon span { display: flex; justify-content: center; align-items: center; text-align: center; font-size: 10px; font-weight: 650; line-height: 1.6; min-height: 32px; color: #405c4d; }
.sp-service-app-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 650; color: #08765f !important; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .sp-hero { gap: 18px; }
  .sp-phone { width: 148px; border-radius: 25px; }
  .sp-phone-middle { width: 172px; }
  .sp-phone-left { transform: translate(-104px, 14px) rotate(-10deg); }
  .sp-phone-right { transform: translate(104px, 12px) rotate(10deg); }
  .sp-phones { height: 410px; }
  .sp-app-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-card-body { padding-left: 20px; padding-right: 20px; }
  .sp-store-row { flex-wrap: wrap; gap: 3px 10px; }
  .sp-home-layout { gap: 36px; }
}
@media (max-width: 760px) {
  .sp-wrap { padding-left: 20px; padding-right: 20px; }
  .sp-header-inner { min-height: 76px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 8px; gap: 6px; }
  .sp-brand img { width: 108px; height: auto; }
  .sp-brand span { font-size: 10px; }
  .sp-site-nav { gap: 18px; width: 100%; justify-content: space-between; }
  .sp-site-nav a { font-size: 11px; min-height: 44px; }
  .sp-hero { grid-template-columns: 1fr; padding-top: 36px; gap: 20px; padding-bottom: 24px; }
  .sp-hero h1 { font-size: clamp(36px, 9vw, 52px); margin-top: 16px; }
  .sp-lead { font-size: 14px; }
  .sp-hero-actions { margin-top: 24px; gap: 10px; }
  .sp-button { padding: 13px 17px; font-size: 13px; gap: 12px; }
  .sp-hero-caption { font-size: 10px; }
  .sp-phones { height: 365px; max-width: 440px; margin: 0 auto; width: 100%; }
  .sp-phone { width: 134px; border-width: 4px; border-radius: 22px; }
  .sp-phone-middle { width: 158px; }
  .sp-phone-left { transform: translate(-92px, 12px) rotate(-10deg); }
  .sp-phone-right { transform: translate(92px, 10px) rotate(10deg); }
  .sp-phones::before { width: 310px; max-width: 100%; }
  .sp-phones::after { width: 40px; height: 40px; right: 3%; top: 4%; }
  .sp-values { gap: 10px 22px; justify-content: flex-start; padding: 16px 0; font-size: 11px; }
  .sp-catalogue { padding-top: 38px; padding-bottom: 14px; }
  .sp-section-head { display: block; margin-bottom: 22px; }
  .sp-section-head > p { margin-top: 10px; font-size: 12px; }
  .sp-app-grid, .sp-app-grid-featured { grid-template-columns: 1fr; gap: 22px; }
  .sp-card-art { height: 136px; }
  .sp-card-body { padding-left: 24px; padding-right: 24px; }
  .sp-app-card h3 { font-size: 23px; }
  .sp-description { font-size: 14px; }
  .sp-feature-list { font-size: 12px; }
  .sp-store-row { flex-wrap: nowrap; gap: 8px; }
  .sp-store-link { font-size: 12px; padding: 11px 14px; }
  .sp-section { margin-top: 42px; padding-top: 32px; }
  .sp-section > h2 { font-size: 25px; }
  .sp-support details { padding: 18px; }
  .sp-support summary { font-size: 13px; }
  .sp-site-footer { padding-top: 22px; padding-bottom: 24px; }
  .sp-footer-inner { display: block; }
  .sp-site-footer nav { gap: 16px; margin-bottom: 12px; }
  .sp-home-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 44px; }
  .sp-home-apps h2 { font-size: 31px; }
  .sp-home-copy { font-size: 14px; }
  .sp-home-icons { gap: 9px; }
  .sp-home-icon { padding: 14px 5px 10px; }
  .sp-home-icon img { width: 56px; height: 56px; border-radius: 15px; }
  .sp-header-app-link { margin-right: 13px; padding: 11px 13px; font-size: 11px; min-height: 44px; }
  .sp-header-app-link .sp-shortcut-full { display: none; }
  .sp-header-app-link .sp-shortcut-compact { display: inline; }
}
@media (max-width: 374px) {
  .sp-wrap { padding-left: 16px; padding-right: 16px; }
  .sp-phone { width: 112px; }
  .sp-phone-middle { width: 138px; }
  .sp-phone-left { transform: translate(-78px, 10px) rotate(-9deg); }
  .sp-phone-right { transform: translate(78px, 10px) rotate(9deg); }
  .sp-phones { height: 318px; }
  .sp-card-body { padding-left: 18px; padding-right: 18px; }
  .sp-qr summary { font-size: 10px; gap: 4px; }
  .sp-qr-panel { width: 212px; padding: 14px; }
  .sp-home-icon img { width: 49px; height: 49px; border-radius: 13px; }
  .sp-home-icon span { font-size: 9px; }
  .sp-header-app-link { margin-right: 6px; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-site *, .sp-home-apps * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sp-site-header, .sp-hero-visual, .sp-qr, .sp-site-footer { display: none; }
  .sp-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-app-card { break-inside: avoid; }
}
