/* Contact and legal pages. Loaded after styles.css. */

/* ---------- contact ---------- */
.sp-hero.ct-hero { background: var(--mint); height: auto; min-height: max(100svh, 760px); max-height: none; padding-bottom: 60px; }
.ct-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(24px, 4vw, 80px); align-items: start; padding-top: calc(var(--head) + clamp(24px, 5vh, 56px)); }
.ct-hero .sp-copy { padding-top: clamp(6px, 2vh, 28px); }
.ct-hero .lead { max-width: 21em; text-wrap: balance; }
.sp-hero .ct-scene { position: absolute; left: 0; bottom: 0; width: min(62.5%, 1080px, max(640px, 104vh)); height: auto; aspect-ratio: 900 / 620; overflow: visible; z-index: 1; }
@media (min-width: 1761px) { .sp-hero .ct-scene { left: calc((100% - 1760px) / 2); } }
.ct-form { position: relative; background: #fff; border-radius: 28px; padding: clamp(22px, 2.2vw, 34px); box-shadow: 0 10px 0 #B9C5DA, 0 30px 40px -20px rgba(27, 37, 89, .4); }
.ct-form h2 { font-size: clamp(25px, 1.9vw, 31px); margin-bottom: 18px; }
.ct-form .fld { margin-top: 15px; }
.ct-form label, .ct-form legend { display: block; font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 7px; }
.ct-form .opt { font-weight: 400; color: var(--ink2); }
.ct-form input[type=text], .ct-form input[type=email], .ct-form textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink); background: #F4F7FB; border: 2px solid #C3CEDF; border-radius: 13px; padding: 12px 15px; caret-color: var(--tomato); transition: border-color .16s, background-color .16s; }
.ct-form textarea { display: block; min-height: 108px; resize: vertical; }
.ct-form input:hover, .ct-form textarea:hover { border-color: #9DABC4; }
.ct-form input:focus, .ct-form textarea:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); background: #fff; }
.ct-form ::placeholder { color: #5E6A92; }
.ct-form .bad input, .ct-form .bad textarea { border-color: var(--tomato-d); background: #FFF2EF; }
.ct-form .err { display: none; color: #B32A10; font-size: 15px; margin-top: 6px; }
.ct-form .bad .err { display: block; }
.ct-form fieldset { border: 0; margin: 15px 0 0; padding: 0; min-width: 0; }
.kind { display: flex; flex-wrap: wrap; gap: 9px; }
.kind label { position: relative; margin: 0; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kind span { display: block; font: 600 15.5px/1 var(--body); padding: 12px 15px; border-radius: 12px; background: var(--k); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 4px 0 var(--kd); margin-bottom: 4px; transition: transform .14s var(--out), box-shadow .14s var(--out); }
.kind label:nth-child(1) { --k: #FFDF6B; --kd: #D99300; } .kind label:nth-child(2) { --k: #FFC9DE; --kd: #D9578F; } .kind label:nth-child(3) { --k: #C4D4FF; --kd: #2F55CF; } .kind label:nth-child(4) { --k: #E6ECF5; --kd: #9DABC4; }
.kind label:hover span { transform: translateY(1px); }
.kind input:checked + span { transform: translateY(4px); box-shadow: inset 0 0 0 2.5px var(--ink), 0 0 0 var(--kd); }
.kind input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.ct-send { display: flex; align-items: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.ct-send .key[disabled] { opacity: .65; cursor: progress; }
.ct-send p { flex: 1 1 200px; font-size: 14.5px; line-height: 1.4; color: var(--ink2); }
.ct-out { margin-top: 16px; padding: 14px 16px; border-radius: 13px; font-size: 16px; line-height: 1.45; background: #FFF0BD; }
.ct-out[hidden] { display: none; }
.ct-out.good { background: #CFF5E7; }
.ct-out.poor { background: #FFE3DC; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.where { background: var(--white); padding: clamp(80px, 8vw, 130px) 0; }
.where-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.street-art { width: 100%; height: auto; overflow: visible; }
.plate-card { position: relative; background: var(--sky); border-radius: 24px; padding: clamp(30px, 3vw, 46px) clamp(26px, 3vw, 48px); margin-top: 34px; box-shadow: inset 0 3px 0 #fff, 0 9px 0 #B4C6F2; }
.screw { position: absolute; width: 22px; height: 22px; transition: transform .7s var(--out); }
.screw:nth-of-type(1) { left: 13px; top: 13px; } .screw:nth-of-type(2) { right: 13px; top: 13px; } .screw:nth-of-type(3) { left: 13px; bottom: 13px; } .screw:nth-of-type(4) { right: 13px; bottom: 13px; }
.plate-card:hover .screw:nth-of-type(odd) { transform: rotate(270deg); } .plate-card:hover .screw:nth-of-type(even) { transform: rotate(-200deg); }
.plate-card dl { margin: 0; display: grid; gap: 14px; }
.plate-card dl > div { display: grid; grid-template-columns: 9.4em 1fr; gap: 14px; align-items: baseline; }
.plate-card dt { color: var(--ink2); font-size: 16px; }
.plate-card dd { margin: 0; font-weight: 600; display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.copy { flex: none; border: 0; cursor: pointer; font: 600 14px/1 var(--body); color: var(--ink); background: #fff; padding: 8px 11px; border-radius: 9px; box-shadow: 0 3px 0 #9DB7FF; transition: transform .14s var(--out), box-shadow .14s var(--out), background-color .2s; }
.copy:hover { transform: translateY(1px); box-shadow: 0 2px 0 #9DB7FF; } .copy:active { transform: translateY(3px); box-shadow: 0 0 0 #9DB7FF; }
.copy.ok { background: #CFF5E7; }

/* ---------- legal ---------- */
.sp-hero.lg-hero { height: auto; max-height: none; min-height: 560px; background: var(--lg); overflow: hidden; }
.lg-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: calc(var(--head) + 10px); }
.lg-hero .sp-copy { padding: 40px 0 60px; }
.lg-hero h1 { font-size: clamp(42px, 5.6vw, 104px); }
.lg-date { margin-top: 22px; color: var(--ink); }
.lg-art { width: 100%; max-width: 660px; height: auto; margin: 0 0 -10px auto; overflow: visible; }
.lg-privacy { --lg: var(--sky); } .lg-cookies { --lg: var(--lemon); } .lg-terms { --lg: var(--rose); }
.lg-body { background: #fff; padding: clamp(56px, 6vw, 100px) 0 clamp(80px, 8vw, 140px); }
.lg-grid { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 46em); gap: clamp(36px, 7vw, 130px); justify-content: start; }
.toc { position: sticky; top: calc(var(--head) + 34px); align-self: start; padding-left: 30px; }
.toc::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 8px; border-radius: 4px; background: repeating-linear-gradient(180deg, #39447F 0 10px, #2B356B 10px 13px); }
.toc i { position: absolute; left: -1px; top: 0; width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(90deg, transparent 8px, var(--yellow) 8px 14px, transparent 14px), var(--tomato); box-shadow: 0 3px 0 var(--tomato-d); transition: transform .5s var(--out); will-change: transform; }
.toc a { display: block; padding: 6px 0; text-decoration: none; font-size: 16px; line-height: 1.3; color: var(--ink2); transition: color .2s, transform .3s var(--out); }
.toc a:hover { color: var(--ink); transform: translateX(4px); }
.toc a.on { color: var(--ink); font-weight: 650; }
.prose .lede { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.45; text-wrap: pretty; }
.prose h2 { font-size: clamp(27px, 2.2vw, 36px); line-height: 1.05; margin: 2em 0 .55em; scroll-margin-top: calc(var(--head) + 24px); }
.prose p { margin-top: 1em; text-wrap: pretty; }
.prose ul { margin-top: 1em; display: grid; gap: .55em; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(90deg, transparent 5px, var(--yellow) 5px 9px, transparent 9px), var(--tomato); }
.prose a { text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--tomato); }
.prose a:hover { text-underline-offset: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.4em; font-size: 16px; line-height: 1.45; }
.prose th { text-align: left; font-weight: 650; padding: 12px 14px; background: var(--lg2); }
.prose th:first-child { border-radius: 12px 0 0 12px; } .prose th:last-child { border-radius: 0 12px 12px 0; }
.prose td { vertical-align: top; padding: 14px; border-bottom: 2px solid #E6ECF5; }
.lg-privacy { --lg2: #E0EBFF; } .lg-cookies { --lg2: #FFF0BD; } .lg-terms { --lg2: #FFE2ED; }
.mailto-fill { white-space: nowrap; }

@media (max-width: 1100px) {
  .sp-hero.ct-hero { display: flex; flex-direction: column; overflow: clip; }
  .ct-in { display: contents; }
  .ct-hero .sp-copy { order: 1; padding: calc(var(--head) + 26px) clamp(20px, 4.2vw, 64px) 0; }
  .sp-hero .ct-scene { order: 2; position: relative; width: min(100%, 860px); left: auto; bottom: auto; margin: 6px auto 0; }
  .ct-form { order: 3; z-index: 2; width: calc(100% - 2 * clamp(20px, 4.2vw, 64px)); max-width: 700px; margin: 30px auto 0; }
  .where-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sp-hero.ct-hero { padding-bottom: 34px; }
  .lg-hero .sp-copy { padding-top: 0; padding-bottom: 0; }
  .lg-in { grid-template-columns: 1fr; gap: 8px; padding-top: calc(var(--head) + 24px); }
  .lg-art { margin: 34px auto -10px; max-width: 520px; }
  .lg-grid { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .plate-card { padding-block: 46px; }
  .plate-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose tr { background: var(--lg2); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
  .prose td { padding: 5px 0; border: 0; }
  .prose td::before { content: attr(data-th); display: block; font-weight: 650; }
  .ct-send .key { width: 100%; }
}

.nw { white-space: nowrap; }
