/* Simple v2 pages: legal (Privacy Policy, Terms of Use), Review form, Thank You. */

/* ---------- legal ---------- */
.lg-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.lg-toc { position: sticky; top: 112px; padding: 22px; border-radius: 24px; background: var(--alt); }
.lg-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: lg; }
.lg-toc li { counter-increment: lg; }
.lg-toc a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--body); transition: background-color .2s ease, color .2s ease; }
.lg-toc a::before { content: counter(lg, decimal-leading-zero); font-size: 12.5px; font-weight: 700; color: var(--brand); padding-top: 1px; }
.lg-toc a:hover { background: #fff; color: var(--ink); }

.lg-doc { max-width: 800px; font-size: 17px; line-height: 1.75; color: var(--body); }
.lg-doc > *:first-child { margin-top: 0; }
.lg-intro { padding: 24px 28px; border-radius: 24px; background: var(--tint); font-size: 18.5px; line-height: 1.65; color: var(--ink); }
.lg-doc h2 { display: flex; align-items: baseline; gap: 12px; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: 110px; }
.lg-doc h2 span { font-size: .7em; color: var(--brand); }
.lg-doc p { margin: 0 0 14px; }
.lg-doc strong { color: var(--ink); font-weight: 600; }
.lg-doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.lg-doc ul { display: grid; gap: 10px; margin: 12px 0 18px; padding: 0; list-style: none; }
.lg-doc ul li { position: relative; padding-left: 30px; }
.lg-doc ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; margin-top: -4px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.lg-doc ul.lg-panel { gap: 0; padding: 6px 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.lg-doc ul.lg-panel li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line); }
.lg-doc ul.lg-panel li:first-child { border-top: 0; }
.lg-doc ul.lg-panel li::before { top: 1.42em; }

.lg-callout { margin: 24px 0 8px; padding: 26px 28px; border-radius: 24px; background: var(--p-blue); border-left: 4px solid var(--brand); }
.lg-callout h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.lg-callout p:last-child { margin-bottom: 0; }
.lg-callout--sms { margin: 40px 0; padding: 32px; border-left: 0; scroll-margin-top: 110px; }
.lg-callout--sms h2 { margin: 0 0 20px; padding: 0; border: 0; }
.lg-callout-item { padding: 18px 0; border-top: 1px solid rgba(20, 69, 194, .14); }
.lg-callout-item:first-of-type { border-top: 0; padding-top: 0; }
.lg-callout-item h3 { font-size: 17px; margin-bottom: 6px; }
.lg-example { margin-top: 10px !important; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .7); font-style: italic; font-size: 15.5px; }
.lg-disclosure { margin: 6px 0 0 !important; padding-top: 16px; border-top: 1px solid rgba(20, 69, 194, .14); font-size: 14px; font-weight: 600; font-style: italic; color: var(--ink); }
.lg-contact { display: grid; gap: 4px; margin-top: 12px; padding: 20px 24px; border-radius: 20px; background: var(--alt); }
.lg-contact p { margin: 0; }

/* ---------- review form ---------- */
.rv-card { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -50px rgba(10, 26, 63, .4); }
.rv-head { text-align: center; margin-bottom: 6px; }
.rv-head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.rv-head p { margin-top: 8px; font-size: 16px; color: var(--body); }
.rv-emojis { display: flex; justify-content: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.emoji-box { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 22px; background: var(--alt); cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.emoji-box input { position: absolute; opacity: 0; pointer-events: none; }
.emoji-box img { width: 36px; height: 36px; }
.emoji-box:hover { transform: translateY(-3px); background: var(--tint); }
.emoji-box:has(input:checked) { background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 14px 26px -14px rgba(20, 69, 194, .55); transform: translateY(-3px); }
.emoji-box:has(input:focus-visible) { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-card .pr-f--area textarea { height: 130px; }
.rv-upload { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 76px; padding: 14px 18px; border: 1.5px dashed #c3d0ea; border-radius: 18px; background: var(--alt); cursor: pointer; font-size: 15px; font-weight: 500; color: var(--body); transition: border-color .2s ease, background-color .2s ease; }
.rv-upload:hover { border-color: var(--brand); background: var(--tint); }
.rv-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rv-file:focus-visible + * { outline: 0; }
.rv-submit { width: 100%; margin-top: 4px; }

/* ---------- thank you ---------- */
.ty-sec { padding: 64px 0 24px; }
.ty-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; max-width: 720px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) 28px; border-radius: 40px; text-align: center;
  background: radial-gradient(500px 260px at 50% 0%, rgba(88, 126, 219, .2), transparent 70%), var(--tint); }
.ty-icon { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 30px 50px -30px rgba(15, 40, 110, .45); animation: ty-pop .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.ty-icon img { width: 90px; height: auto; }
.ty-card .hv-h1 { margin-top: 30px; }
.ty-card .hv-lead { margin-top: 12px; }
@keyframes ty-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ty-icon { animation: none; } }

@media (max-width: 960px) {
  .lg-layout { grid-template-columns: 1fr; gap: 28px; }
  .lg-toc { position: static; }
}
@media (max-width: 600px) {
  .rv-row { grid-template-columns: 1fr; }
  .emoji-box { width: 56px; height: 56px; border-radius: 18px; }
  .lg-callout--sms { padding: 24px 20px; }
}
