/* Shared look for the legal pages: same paper, ink and type as the home page */
:root { --paper: #f6f1ea; --paper-2: #ede5da; --ink: #17130f; --muted: #6d645b; --line: rgba(23, 19, 15, .14); --mid: #c8173f; --night: #121014; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Rubik, system-ui, sans-serif; line-height: 1.75; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--mid); outline-offset: 3px; }
[lang="en"], .ltr { direction: ltr; unicode-bidi: isolate; }

.demo { margin: 0; padding: 8px 16px; background: var(--night); color: #fff; text-align: center; font-size: 13px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(16px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.logo { font-weight: 900; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.top a:not(.logo) { font-size: 14px; }

main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 16px 64px; }
h1 { margin: 0 0 10px; font-family: Karantina, Rubik, sans-serif; font-weight: 700; font-size: clamp(60px, 10vw, 104px); line-height: .85; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.intro { font-size: 19px; }
h2 { margin: 48px 0 8px; font-size: 22px; line-height: 1.35; }
h3 { margin: 24px 0 4px; font-size: 17px; }
p, li { font-size: 16.5px; }
ul, ol { padding-inline-start: 22px; }
li + li { margin-top: 6px; }

.toc { margin: 32px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc b { display: block; margin-bottom: 6px; font-size: 14px; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 32px; }
.toc li { font-size: 15px; break-inside: avoid; }

.box { margin: 24px 0; padding: 20px 24px; border-radius: 18px; background: var(--paper-2); }
.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: right; vertical-align: top; }
thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.scroll { overflow-x: auto; }

/* cancellation form */
.form { margin: 24px 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.form h2 { margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: inherit; }
input:focus { border-color: var(--ink); outline: none; }
button { margin-top: 18px; padding: 15px 30px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .4; cursor: wait; }
.hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.msg { margin: 14px 0 0; font-weight: 500; }
.msg.bad { color: #b3261e; }
.msg.ok { color: #2d7a32; }

.foot { margin-top: 40px; padding: 28px clamp(16px, 4vw, 64px); background: var(--night); color: rgba(255, 255, 255, .8); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current="page"] { text-decoration: underline; color: #fff; }
.foot address { font-style: normal; opacity: .7; }

@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
