/* Approved home design: one desktop plan style and one mobile home.
   Layout values and copy follow gpt-order.md (2026-11-18).
   Page visibility is owned by final-site.js; these rules only switch layouts. */
.home-mobile { display: none; }
.home-view { background: #f5f5f7; }
.home-view .basic-benefits { background: #f5f5f7; }
.home-view .start-guide { display: none; }
.home-view .app-feature-cards { gap: clamp(22px, 2.4vw, 34px); }
.plans-section.rp-final,
.rp-faq { padding-block: clamp(64px, 7vw, 112px); color: #1d1d1f; background: #f5f5f7; }
.rp-final {
  --rp-blue: #0066c1;
  --rp-forever: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c-2-2.6-3.6-4-5.4-4a4 4 0 0 0 0 8c1.8 0 3.4-1.4 5.4-4Zm0 0c2 2.6 3.6 4 5.4 4a4 4 0 0 0 0-8c-1.8 0-3.4 1.4-5.4 4Z' fill='none' stroke='%230066c1' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.rp-final .pricing-sheet,
.rp-faq .faq-inner { width: min(88%, 1240px); max-width: none; margin-inline: auto; }
.rp-final .pricing-sheet h2,
.rp-faq h2 { margin: 0; font: 650 clamp(36px, 3.95vw, 60px)/1.15 var(--display); letter-spacing: -.065em; }
.rp-final .price-table {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px); max-width: 1160px; margin: clamp(36px, 4.1vw, 62px) auto 0;
}
.rp-final .price-row {
  display: flex; flex-direction: column; min-width: 0; min-height: 312px;
  padding: 26px clamp(22px, 2.4vw, 28px) 25px; border: 0; border-radius: 27px; color: #1d1d1f; background: #fff;
}
.rp-final .fin-basic { --c: #1b86d6; }
.rp-final .fin-ind { --c: #3949ab; }
.rp-final .fin-pro { --c: #e0393e; }
.rp-final .rp-art {
  position: relative; display: grid; place-items: center; height: 124px; margin: 0 0 14px;
  background: none; font-family: var(--body); container-type: inline-size;
}
.rp-final .rp-art svg { display: block; flex: none; }
.rp-final .fi-row { display: flex; align-items: center; gap: min(18px, 6.5cqw); color: var(--rp-blue); }
.rp-final .fi-row svg { width: min(34px, 13.5cqw); height: min(34px, 13.5cqw); }
.rp-final .fi-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: min(14px, 5.5cqw) min(18px, 7.5cqw);
  width: min(222px, 92.5cqw); color: var(--rp-blue);
}
.rp-final .fi-grid svg { width: min(30px, 12.5cqw); height: min(30px, 12.5cqw); }
.rp-final .fi-have { display: flex; gap: min(12px, 4cqw); color: #a9c8e8; }
.rp-final .fi-have svg { width: min(28px, 10cqw); height: min(28px, 10cqw); }
.rp-final .fi-row > b { color: #a9c8e8; font-size: min(22px, 8cqw); font-weight: 400; }
.rp-final .fi-one { position: relative; color: var(--rp-blue); }
.rp-final .fi-one svg { width: min(38px, 13.5cqw); height: min(38px, 13.5cqw); }
.rp-final .fi-one.rp-inf::after {
  content: ""; position: absolute; top: calc(-1 * min(9px, 3.5cqw)); right: calc(-1 * min(9px, 3.5cqw));
  width: min(22px, 8.5cqw); height: min(22px, 8.5cqw); border-radius: 50%;
  background: #fff var(--rp-forever) center / min(15px, 5.8cqw) no-repeat;
  box-shadow: 0 0 0 1.5px var(--rp-blue), 0 0 0 4px #fff;
}
.rp-final .fin-name { margin: 0; color: var(--c); font: 750 19px/1.3 var(--body); letter-spacing: .03em; }
.rp-final .fin-lead { margin: 8px 0 0; color: #1d1d1f; font: 650 30px/1.24 var(--body); letter-spacing: -.045em; white-space: nowrap; }
.rp-final .fin-desc { margin: 8px 0 24px; color: #51565c; font: 400 16px/1.55 var(--body); letter-spacing: -.025em; }
.rp-final.pr-4 .fin-price {
  display: grid; grid-auto-flow: row; grid-auto-columns: minmax(0, 1fr); align-content: end; gap: 10px;
  min-height: 80px; margin: auto 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid #e3e6e9;
  border-radius: 0; background: none;
}
.rp-final.pr-4 .fin-price > div { display: flex; align-items: baseline; gap: 8px; padding: 0; border: 0; }
.rp-final.pr-4 .fin-price > div::before { content: ""; flex: 1; order: 1; border-bottom: 2px dotted #c9cdd2; transform: translateY(-5px); }
.rp-final.pr-4 .fin-price dt { order: 0; color: #6e737a; font: 500 14px/1.4 var(--body); letter-spacing: .01em; }
.rp-final.pr-4 .fin-price dd { order: 2; margin: 0; color: #1d1d1f; font: 650 21px/1.2 var(--body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-final .fin-price .won { margin-right: 2px; font-size: .62em; vertical-align: .34em; letter-spacing: 0; }
.rp-faq .faq-list {
  max-width: 1160px; margin: clamp(36px, 4.1vw, 62px) auto 0; padding: 6px clamp(22px, 2.4vw, 34px);
  border-radius: 27px; background: #fff;
}
.rp-faq .faq-list details + details { border-top: 1px solid #e8eaed; }
.rp-faq .faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0;
  cursor: pointer; list-style: none; font: 600 clamp(17px, 1.35vw, 19px)/1.4 var(--body); letter-spacing: -.025em;
}
.rp-faq .faq-list summary::-webkit-details-marker { display: none; }
.rp-faq .faq-list summary::after {
  content: ""; flex: none; width: 16px; height: 16px; transition: transform .2s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.rp-faq .faq-list details[open] summary::after { transform: rotate(45deg); }
.rp-faq .faq-list summary:focus-visible { outline: 3px solid #3385be; outline-offset: 4px; border-radius: 6px; }
.rp-faq .faq-list details p { max-width: 760px; margin: -8px 0 24px; color: #51565c; font: 400 16px/1.65 var(--body); letter-spacing: -.02em; }
.rp-faq .faq-list details a { color: #0066c1; font-weight: 600; white-space: nowrap; }
.home-support.community {
  display: grid; grid-template-columns: minmax(0, 1fr); width: min(88%, 1160px);
  margin-inline: auto; padding-block: 0 clamp(64px, 7vw, 112px);
}
.home-support.community #support {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas: "icon label link" "icon title link" "icon desc link";
  align-items: center; column-gap: clamp(18px, 2vw, 28px); padding: clamp(28px, 3vw, 42px);
  border: 0; border-radius: 27px; background: #fff;
}
.home-support #support::before {
  content: ""; grid-area: icon; width: 56px; height: 56px; margin: 0; border-radius: 50%;
  background: #e8f1fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066c1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M9.4 9.3a2.6 2.6 0 1 1 3.6 2.4c-.6.3-1 .9-1 1.6v.4'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='%230066c1'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.home-support #support .label { grid-area: label; margin: 0 0 6px; color: #6e737a; font-size: 13px; }
.home-support #support h2 { grid-area: title; margin: 0; font: 650 clamp(26px, 2.3vw, 32px)/1.25 var(--display); letter-spacing: -.05em; }
.home-support #support .body-copy { grid-area: desc; margin-top: 10px; color: #51565c; font-size: 16px; }
.home-support #support .text-link {
  grid-area: link; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin: 0; padding: 0 22px; min-height: 46px; border-radius: 999px;
  background: #0066c1; color: #fff; font-weight: 600; white-space: nowrap;
}
.home-support #support .text-link:hover { text-decoration: none; background: #0058a8; }
@media (max-width: 960px) {
  .rp-final .pricing-sheet, .rp-faq .faq-inner { width: calc(100% - 40px); }
  .rp-faq .faq-list { max-width: 520px; }
  .home-support.community { width: min(calc(100% - 40px), 520px); }
  .home-support.community #support { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "icon label" "icon title" "icon desc" ". link"; align-items: start; }
  .home-support #support::before { width: 48px; height: 48px; background-size: 24px; }
  .home-support #support .text-link { justify-self: start; margin-top: 18px; }
  .home-view .app-feature-cards { gap: 18px; }
  .rp-final .price-table { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 18px; }
  .rp-final .fin-lead { font-size: 28px; }
  .rp-final .rp-art { height: 116px; }
}
@media (max-width: 760px) {
  .home-view { background: #fff; }
  .home-view .home-desktop { display: none !important; }
  .home-mobile { display: block; }
}

/* Mobile home styles, fixed approved values. */
.m-home { padding: 44px 0 64px; background: #fff; color: #1d1d1f; }

:where(.m-home) :where(h2, h3, p, ul, ol) { margin: 0; }
.m-home .won { margin-right: 2px; font-size: .62em; vertical-align: .34em; letter-spacing: 0; }
.m-hero { padding: 0 20px; text-align: center; }
.m-hero h2 { font: 700 28px/1.3 var(--display); letter-spacing: -.045em; }

.m-hero-art { display: flex; justify-content: center; align-items: flex-end; gap: 7%; width: min(100%, 340px); margin: 32px auto 0; }
.m-module { display: block; width: 41%; }
.m-phone { flex: none; width: 43%; aspect-ratio: 9 / 19; overflow: hidden; border: 5px solid #1d1d1f; border-radius: 28px; background: #fff; box-shadow: 0 22px 44px rgba(0, 0, 0, .14); }
.m-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }




.m-buyline { display: flex; justify-content: center; align-items: baseline; gap: 60px; margin: 28px 28px 0; padding: 16px 0 0; border-top: 1px solid #e5e5ea; text-align: left; }
.m-buyline b { display: block; color: #1d1d1f; font: 600 15px/1.35 var(--body); }
.m-buyline small { display: block; margin-top: 2px; color: #6e6e73; font: 500 14px/1.35 var(--body); font-variant-numeric: tabular-nums; }
.m-buyline .won { margin-right: 1px; font-size: .8em; vertical-align: .08em; }
.m-btn { display: inline-grid; place-items: center; flex: none; height: 38px; padding: 0 18px; border-radius: 999px; background: #0066c1; color: #fff; font: 600 14px/1 var(--body); }
.m-link { color: #0066c1; font: 500 14px/1 var(--body); }

.m-buy-actions { display: grid; flex: none; justify-items: center; gap: 10px; }
.m-sec { margin-top: 96px; padding: 0 20px; }

.m-sec h3 { font: 700 22px/1.36 var(--display); letter-spacing: -.045em; text-align: center; word-break: keep-all; text-wrap: balance; }
.m-sec > p { margin-top: 14px; color: #6e6e73; font-size: 15px; line-height: 1.6; text-align: center; word-break: keep-all; text-wrap: balance; }

.m-run { height: 72svh; }
.m-stick { position: sticky; top: 77px; }  
.m-tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.m-tabs { display: flex; justify-content: center; gap: 22px; margin: var(--app-tab-gap, 28px) 0 0; background: #fff; }
.m-tabs label { position: relative; padding-bottom: 12px; color: #6e6e73; font: 500 14px/1.4 var(--body); white-space: nowrap; cursor: pointer; transition: color .15s; }
.m-tabs label::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--tab-color); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.m-tabs label[for="m-tab-status"] { --tab-color: #55b7e5; }
.m-tabs label[for="m-tab-func"] { --tab-color: #2b448e; }
.m-tabs label[for="m-tab-diag"] { --tab-color: #e33f48; }
#m-tab-status:checked ~ .m-stick label[for="m-tab-status"], #m-tab-func:checked ~ .m-stick label[for="m-tab-func"],
#m-tab-diag:checked ~ .m-stick label[for="m-tab-diag"] { color: #1d1d1f; }
#m-tab-status:checked ~ .m-stick label[for="m-tab-status"]::after, #m-tab-func:checked ~ .m-stick label[for="m-tab-func"]::after,
#m-tab-diag:checked ~ .m-stick label[for="m-tab-diag"]::after { transform: none; }
.m-screens { display: grid; margin-top: 24px; }
.m-screens figure { grid-area: 1 / 1; margin: 0; text-align: center; visibility: hidden; }
#m-tab-status:checked ~ .m-stick [data-tab="status"], #m-tab-func:checked ~ .m-stick [data-tab="func"],
#m-tab-diag:checked ~ .m-stick [data-tab="diag"] { visibility: visible; }

.m-screens .m-phone { width: min(54%, 210px, calc((100svh - 77px - 150px) * 9 / 19)); margin: 0 auto; }
.m-screens figcaption { margin-bottom: 18px; color: #424245; font: 500 15px/1.5 var(--body); word-break: keep-all; }
.m-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 10px; margin: 36px 0 0; padding: 0; list-style: none; text-align: center; }
.m-feats li { display: grid; justify-items: center; align-content: start; gap: 8px; font-size: 12px; line-height: 1.35; word-break: keep-all; }

.m-feats span { display: flex; justify-content: center; align-items: flex-start; min-height: 2.7em; text-wrap: balance; }
.m-feats svg { width: 26px; height: 26px; color: #1d1d1f; }

.m-more { display: table; margin: 26px auto 0; color: #0066c1; font-size: 15px; }
.m-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; text-align: center; }
.m-two li { display: grid; justify-items: center; align-content: start; gap: 6px; }
.m-two svg { width: 28px; height: 28px; margin-bottom: 6px; color: #1d1d1f; }
.m-two b { color: #1d1d1f; font: 600 15px/1.4 var(--body); word-break: keep-all; }
.m-two p { color: #6e6e73; font-size: 13px; line-height: 1.6; word-break: keep-all; }

.m-plan [data-plan="basic"] { --c: #1b86d6; }
.m-plan [data-plan="ind"] { --c: #3949ab; }
.m-plan [data-plan="pro"] { --c: #e0393e; }
.m-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: #f2f3f5; }
.m-seg label { display: grid; place-items: center; height: 36px; border-radius: 999px; color: #6e6e73; font: 600 12.5px/1 var(--body); letter-spacing: .04em; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
#m-plan-basic:checked ~ .m-seg [for="m-plan-basic"], #m-plan-ind:checked ~ .m-seg [for="m-plan-ind"],
#m-plan-pro:checked ~ .m-seg [for="m-plan-pro"] { background: #fff; color: var(--c); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }

.m-plan-cards { display: grid; margin-top: 24px; }

.m-plan-card { grid-area: 1 / 1; display: grid; grid-template-rows: repeat(4, auto) 1fr; gap: 8px; padding: 26px 24px 24px; border: 1px solid #e5e5ea; border-radius: 20px; background: #fff; text-align: left; visibility: hidden; }
#m-plan-basic:checked ~ .m-plan-cards [data-plan="basic"], #m-plan-ind:checked ~ .m-plan-cards [data-plan="ind"],
#m-plan-pro:checked ~ .m-plan-cards [data-plan="pro"] { visibility: visible; }


.m-plan-ic { container-type: inline-size; display: flex; gap: 8px; margin-bottom: 14px; color: #1d1d1f; }
.m-plan-ic svg { flex: none; width: 23px; height: 23px; width: min(26px, (100cqw - 64px) / 9); height: min(26px, (100cqw - 64px) / 9); }
.m-plan-ic .dim { opacity: .28; }
.m-plan-ic .plus { align-self: center; color: #86868b; font: 400 18px/1 var(--body); }
.m-plan-nm { color: var(--c); font: 750 12px/1.4 var(--body); letter-spacing: .05em; }
.m-plan-card b { color: #1d1d1f; font: 700 19px/1.35 var(--display); letter-spacing: -.035em; }

.m-plan-card p { color: #6e6e73; font-size: 13.5px; line-height: 1.55; word-break: keep-all; text-wrap: balance; }
.m-plan-pr { display: grid; align-self: end; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f0f0f2; }
.m-plan-pr div { display: flex; justify-content: space-between; align-items: baseline; }
.m-plan-pr small { color: #86868b; font-size: 12.5px; }
.m-plan-pr strong { color: #1d1d1f; font: 650 18px/1.2 var(--body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.m-faq { margin-top: 24px; border-top: 1px solid #e5e5ea; }
.m-faq details { border-bottom: 1px solid #e5e5ea; }
.m-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 15px/1.45 var(--body); list-style: none; cursor: pointer; word-break: keep-all; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; flex: none; color: #86868b; font: 300 22px/1 var(--body); }
.m-faq details[open] summary::after { content: "−"; }
.m-faq details p { padding: 0 0 18px; color: #6e6e73; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.m-faq a { color: #0066c1; }
.m-help { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 72px 20px 0; color: #1d1d1f; }
.m-help b { display: block; font: 600 16px/1.4 var(--body); }
.m-help small { display: block; margin-top: 4px; color: #6e6e73; font-size: 13px; line-height: 1.5; word-break: keep-all; }
.m-help > span:last-child { color: #86868b; font-size: 24px; }

/* Invisible radio controls remain keyboard-accessible. */
.m-tab-radio:focus-visible ~ .m-tabs,
.m-tab-radio:focus-visible ~ .m-seg { outline: 2px solid #0066c1; outline-offset: 4px; }
.m-tabs label:focus-visible, .m-seg label:focus-visible { outline: 2px solid #0066c1; outline-offset: 4px; }
.m-stick { top: calc(var(--mobile-header-height, 77px) + var(--app-tab-gap, 28px)); }
.m-screens .m-phone { width: min(54%, 210px, calc((100svh - var(--mobile-header-height, 77px) - 150px) * 9 / 19)); }
.m-home svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .m-tabs label::after, .m-seg label, .rp-faq summary::after { transition: none; }
}

