:root {
  --ink: #0b2119;
  --ink-2: #163b2d;
  --forest: #103a2c;
  --forest-2: #0a2b20;
  --ivory: #f7f3e9;
  --paper: #fffdf7;
  --lime: #c8f244;
  --lime-2: #dcff70;
  --sage: #dce6d9;
  --sand: #e8dfcf;
  --blue: #3f7cff;
  --white: #fff;
  --muted: #52675e;
  --line: rgba(11, 33, 25, .13);
  --line-light: rgba(255, 255, 255, .16);
  --danger: #9f2d2d;
  --danger-soft: #fff0ed;
  --warning: #fff4c7;
  --shadow: 0 24px 70px rgba(11, 33, 25, .12);
  --shadow-soft: 0 12px 34px rgba(11, 33, 25, .08);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1240px;
  --content: 940px;
  --header: 78px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, h4, ul, ol { margin-top: 0; }

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .96;
}

h1 { font-size: clamp(3.35rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

:target { scroll-margin-top: 118px; }

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.content-shell {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--lime);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 41, 30, .97);
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 8px 28px rgba(6, 24, 18, .1);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: .86;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--lime);
  font-family: "Manrope", sans-serif;
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, .9);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink) !important;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 4px;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-button span { position: relative; }
.menu-button span::before,
.menu-button span::after { position: absolute; left: 0; content: ""; }
.menu-button span::before { top: -6px; }
.menu-button span::after { top: 6px; }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: #647f19;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 3px;
  content: "";
  background: var(--lime);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.booking-hero,
.page-hero {
  padding: clamp(52px, 7vw, 88px) 0 clamp(38px, 5vw, 62px);
  background:
    radial-gradient(circle at 88% 18%, rgba(200, 242, 68, .28), transparent 21rem),
    linear-gradient(145deg, #f7f3e9 0%, #eef0df 100%);
}

.booking-hero h1,
.page-hero h1 {
  max-width: 850px;
  margin-bottom: 22px;
}

.booking-hero .lead,
.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
}

.intro-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border-radius: 18px;
  background: rgba(11, 33, 25, .13);
  box-shadow: var(--shadow-soft);
}

.intro-info > div {
  padding: 18px 20px;
  background: rgba(255, 253, 247, .9);
  color: var(--muted);
  font-size: .83rem;
}

.intro-info strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.booking-section,
.calendar-section,
.result-section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.availability-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--forest-2);
  color: white;
  box-shadow: var(--shadow);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-size: .8rem;
  font-weight: 900;
}

.availability-callout h2 {
  margin: 0 0 5px;
  color: white;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.availability-callout p {
  margin: 0;
  color: #bed0c7;
  font-size: .86rem;
}

.button,
button[type="submit"] {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button::after,
button[type="submit"]::after {
  content: "→";
  font-size: 1.35em;
  transition: transform .2s ease;
}

.button:hover,
button[type="submit"]:hover { transform: translateY(-2px); }
.button:hover::after,
button[type="submit"]:hover::after { transform: translateX(4px); }

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(149, 194, 25, .24);
}

.button-primary:hover { background: var(--lime-2); }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--paper); }
.button-light { background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }

.form-card,
.result-card,
.calendar-top {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.form-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-heading .step-number {
  border-color: var(--ink);
  color: var(--ink);
}

.form-heading h2 { margin: 0; }

.error {
  margin: 0 0 24px;
  padding: 15px 17px;
  border: 1px solid rgba(159, 45, 45, .24);
  border-left: 4px solid var(--danger);
  border-radius: 0 14px 14px 0;
  background: var(--danger-soft);
  color: #6f1f1f;
  font-weight: 800;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 33, 25, .22);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(200, 242, 68, .38);
  outline: none;
}

small,
.small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.section-title {
  margin: 34px 0 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 14px;
  line-height: 1.4;
}

.checkbox input,
.terms-row input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--forest);
}

.hint {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}

.coupon-status {
  margin-top: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.price-preview {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(11, 33, 25, .15);
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: var(--sage);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}

.price-preview.warning {
  border-color: #d8a827;
  background: var(--warning);
  color: #513b08;
}

.terms-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(11, 33, 25, .13);
  border-radius: 14px;
  background: #f2efd9;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.terms-label {
  margin: 0;
  cursor: pointer;
  line-height: 1.4;
}

.terms-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--forest);
  font-size: .82rem;
  font-weight: 900;
  text-underline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.actions .button,
.actions button { margin: 0; }
.home-button { background: var(--forest); }
.home-button:hover { background: var(--forest-2); }

.read-more {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.read-more details,
.result-card details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #faf9f2;
}

.read-more summary,
.result-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.read-more summary::-webkit-details-marker,
.result-card summary::-webkit-details-marker { display: none; }

.read-more summary::after,
.result-card summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .15s ease;
}

.read-more details[open] > summary::after,
.result-card details[open] > summary::after { transform: rotate(45deg); }

.details-content { padding: 0 17px 17px; color: var(--ink-2); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.price-card,
.mini-card,
.meta-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 3px 14px rgba(11, 33, 25, .04);
}

.price-card h3,
.mini-card h3 { margin: 0 0 9px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.price-table th,
.price-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table td { text-align: right; font-weight: 900; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }

.mini-card .price {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.mini-card p { margin: 8px 0; font-size: .82rem; line-height: 1.45; }

.note {
  margin: 12px 0;
  padding: 14px;
  border-left: 4px solid var(--lime);
  background: #f2efd9;
  color: var(--ink-2);
  font-weight: 700;
  line-height: 1.45;
}

.calendar-top { margin-bottom: 20px; }
.calendar-top h1 { margin-bottom: 18px; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: .75rem;
  font-weight: 800;
}

.legend span::before {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  content: "";
  background: var(--legend-color);
}

.legend .free { --legend-color: #bfe87a; }
.legend .partial { --legend-color: #f2cf5b; }
.legend .full { --legend-color: #e69b8e; }

.year-title {
  margin: 44px 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

details.month {
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

details.month > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

details.month > summary::-webkit-details-marker { display: none; }

details.month > summary::after {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  content: "Öppna";
  font-family: "Manrope", sans-serif;
  font-size: .7rem;
  font-weight: 900;
}

details.month[open] > summary {
  border-bottom: 1px solid var(--line);
  background: #f3f1df;
}

details.month[open] > summary::after { content: "Stäng"; }

.month-inner { padding: 14px; }
.calendar-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: white; }

.calendar-table th,
.calendar-table td {
  height: 82px;
  padding: 8px;
  border: 1px solid rgba(11, 33, 25, .15);
  vertical-align: top;
}

.calendar-table th {
  height: auto;
  background: var(--forest-2);
  color: white;
  font-size: .76rem;
  text-align: left;
}

.calendar-table .date {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.availability-line { display: block; color: var(--ink-2); font-size: .7rem; line-height: 1.45; }
.availability-compact { display: none; }
.muted { color: var(--muted); }

.result-card + .result-card { margin-top: 18px; }
.result-card h1 { margin-bottom: 16px; }
.result-card h2 { margin-bottom: 14px; }
.result-card.ok-card { border-color: rgba(72, 128, 43, .28); background: #eef5df; }
.result-card.bad-card { border-color: rgba(159, 45, 45, .24); background: var(--danger-soft); }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.meta-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .75rem;
}

.meta-box strong { display: block; color: var(--ink); }

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid #8dbd4f;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
}

.hash-list { margin-top: 16px; }
.hash-item { margin: 0 0 14px; }

code {
  width: fit-content;
  max-width: 100%;
  display: block;
  padding: 8px;
  border-radius: 8px;
  background: #e9eee6;
  font-size: .75rem;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 70px 0 26px;
  background: #071a13;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 38px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 18px;
  color: #a8bdb3;
  font-size: .83rem;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: white;
  font-size: 1.45rem;
}

.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #b8c9c1; font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #7f9a8d;
  font-size: .7rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-credit { text-align: right; }
.site-credit a { color: #d8e4de; font-weight: 800; }
.site-credit a:hover { color: var(--lime); }
.mobile-book { display: none; }

@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .menu-button { display: grid; }

  .nav-links.open {
    position: fixed;
    top: calc(38px + var(--header));
    right: 0;
    left: 0;
    min-height: calc(100vh - 38px - var(--header));
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 26px 20px 100px;
    background: var(--forest-2);
    overflow: auto;
  }

  .nav-links.open a:not(.nav-cta) {
    display: block;
    padding: 17px 2px;
    border-bottom: 1px solid var(--line-light);
    color: white;
    font-size: 1rem;
  }

  .nav-links.open .nav-cta { justify-content: center; margin-top: 20px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  :root { --header: 68px; }
  .shell, .content-shell { width: min(100% - 28px, var(--max)); }
  .announcement { min-height: 34px; padding-block: 7px; font-size: .63rem; }
  .brand img { width: 48px; height: 48px; }
  .brand { font-size: 1.3rem; }
  .brand small { display: none; }
  .nav-cta { display: none; }
  .nav-links.open { top: calc(34px + var(--header)); min-height: calc(100vh - 34px - var(--header)); }

  .booking-hero,
  .page-hero { padding-top: 42px; }

  .booking-hero h1,
  .page-hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.7rem);
    overflow-wrap: anywhere;
  }

  .intro-info { grid-template-columns: 1fr; }

  .availability-callout {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
  }

  .availability-callout .button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .row,
  .price-grid,
  .addon-grid,
  .zone-grid,
  .meta { grid-template-columns: 1fr; }

  .actions,
  .calendar-actions,
  .result-actions { align-items: stretch; flex-direction: column; }

  .actions .button,
  .actions button,
  .calendar-actions .button,
  .result-actions .button { width: 100%; }

  .month-inner { padding: 8px; }
  .calendar-table th,
  .calendar-table td { height: 66px; padding: 4px 2px; text-align: center; }
  .calendar-table th { font-size: .58rem; }
  .calendar-table .date { margin-bottom: 2px; font-size: .76rem; }
  .availability-full { display: none; }
  .availability-compact { display: block; font-size: .56rem; line-height: 1.35; }
  .availability-compact span { display: block; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-credit { text-align: left; }

  .mobile-book {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(7, 26, 19, .28);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-book::after { content: "→"; }
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .form-card, .result-card, .calendar-top { padding: 18px; }
  details.month > summary { padding: 15px 14px; font-size: 1.42rem; }
  details.month > summary::after { padding: 6px 8px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
