:root {
  --page-bg: #dfeec8;
  --window-bg: rgba(248, 255, 249, 0.96);
  --panel-bg: #ffffff;
  --border: #ffffff;
  --text: #244a36;
  --heading: #0a6a36;
  --link: #075fc5;
  --shadow: rgba(42, 94, 58, 0.24);
  --accent-a: #d9ffe9;
  --accent-b: #8ce5ad;
  --accent-c: #30bb68;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.75), transparent 26rem),
    linear-gradient(135deg, #cce780, var(--page-bg) 55%, #b5dc7a);
  font-family: Verdana, Tahoma, Arial, sans-serif;
  line-height: 1.7;
  
  cursor: url("cursors/normal-select.cur"), auto;

}

/* CURSORS */
a,
button,
.nav-card,
.nav-button,
.subpage-dock a,
.photo-choice-card,
.carousel-arrow,
.carousel-photo,
.music-button,
.window-buttons button {
    cursor: url("cursors/link-select.cur"), pointer;
}

input,
textarea,
[contenteditable="true"] {
    cursor: url("cursors/text-select.cur"), text;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #eafff2;
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            to bottom,
            #dffff0,
            #8eff7a,
            #31b86b
        );

    border-radius: 20px;

    border: 2px solid white;

    box-shadow:
        inset 0 1px 3px rgba(255,255,255,0.9);
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #7fffee,
            #31b86b
        );
}


a {
  color: var(--link);
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.site-shell {
  width: min(980px, calc(100% - 28px));
  margin: 34px auto;
}

.legal-window {
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--window-bg);
  box-shadow:
    0 20px 50px var(--shadow),
    inset 0 0 25px rgba(255,255,255,.9);
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  color: #064a28;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,.35) 48%, transparent 49%),
    linear-gradient(to bottom, var(--accent-a), var(--accent-b) 58%, var(--accent-c));
  border-bottom: 2px solid rgba(255,255,255,.95);
  font-weight: 700;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 8px rgba(255,255,255,.9);
}

.window-buttons {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 5px;
  background: rgba(255,255,255,.65);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(232, 255, 239, .75);
  border-bottom: 1px solid rgba(39,110,63,.14);
}

.language-switcher,
.page-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-link {
  display: inline-block;
  padding: 7px 12px;
  color: #145a34;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(35,116,65,.18);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(42,94,58,.09);
}

.pill-link[aria-current="page"] {
  font-weight: 700;
  background: #d5ffe4;
}

.document {
  padding: clamp(24px, 5vw, 60px);
}

.document-header {
  margin-bottom: 36px;
  text-align: center;
}

.document-header h1 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

.document-header p {
  margin: 4px 0;
}

.notice {
  margin: 26px 0 34px;
  padding: 16px 18px;
  background: #f0fff5;
  border: 1px solid #bcebc9;
  border-radius: 16px;
}

section {
  margin: 0 0 32px;
}

h2 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 1.35rem;
  line-height: 1.35;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 6px;
}

.contact-card {
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid rgba(39,110,63,.15);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(42,94,58,.08);
}

.legal-footer {
  padding: 22px 18px 28px;
  text-align: center;
  border-top: 1px solid rgba(39,110,63,.13);
}

.legal-footer p {
  margin: 6px 0;
}

.back-button {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 22px;
  color: #0c522f;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 999px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.25) 45%, transparent 46%),
    linear-gradient(to bottom, #d6ffe7, #73dc9d 56%, #2dba67);
  box-shadow: 0 8px 18px rgba(42,94,58,.18);
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 14px, 980px);
    margin: 8px auto;
  }

  .legal-window {
    border-radius: 18px;
  }

  .title-bar {
    padding: 11px 12px;
  }

  .window-buttons {
    display: none;
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 12px;
  }

  .document {
    padding: 24px 18px 34px;
  }

  .document-header {
    text-align: left;
  }

  h2 {
    font-size: 1.18rem;
  }
}