:root {
  --navy-950: #061934;
  --navy-900: #0b2951;
  --navy-800: #133d6c;
  --sky-900: #075b7e;
  --sky-800: #087297;
  --sky-700: #0b7c9f;
  --teal-600: #0f9fa8;
  --teal-500: #20b7b7;
  --coral-600: #e75b50;
  --coral-500: #ff7264;
  --yellow-500: #f6c64d;
  --cream: #fff8e9;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #182439;
  --muted: #657189;
  --line: #e5e0d5;
  --success: #17855f;
  --danger: #bd3f42;
  --shadow: 0 22px 60px rgba(6, 25, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 11px;
  --content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(246, 198, 77, 0.2), transparent 25rem),
    radial-gradient(circle at 93% 20%, rgba(32, 183, 183, 0.13), transparent 25rem),
    linear-gradient(180deg, #fff9ed 0, var(--paper) 34rem, #ffffff 100%);
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: radial-gradient(rgba(11, 41, 81, 0.22) 0.7px, transparent 0.7px);
  background-size: 19px 19px;
}

img,
canvas {
  max-width: 100%;
}

a {
  color: var(--navy-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral-600);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(255, 114, 100, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  color: var(--white);
  background:
    radial-gradient(circle at 78% -28%, rgba(96, 218, 226, 0.42), transparent 24rem),
    radial-gradient(circle at 10% 0, rgba(246, 198, 77, 0.18), transparent 18rem),
    linear-gradient(112deg, var(--sky-900), var(--sky-800));
  border-bottom: 4px solid var(--yellow-500);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--content), calc(100% - 40px));
  min-height: 104px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-kicker {
  color: var(--yellow-500);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.brand-name {
  font-size: clamp(1.24rem, 2.2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 850;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--yellow-500);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 30%, rgba(113, 226, 229, 0.3), transparent 28rem),
    linear-gradient(120deg, var(--sky-900), var(--sky-700));
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.024),
    0 0 0 9rem rgba(255, 255, 255, 0.016);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--yellow-500);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.content-card h2,
.form-card h2,
.poll-title {
  color: var(--navy-950);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.15;
}

.hero-lead {
  max-width: 44rem;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero-actions,
.button-row,
.code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-row-centered {
  justify-content: center;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 20px;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: var(--navy-950);
  background: var(--yellow-500);
  box-shadow: 0 10px 28px rgba(246, 198, 77, 0.23);
}

.button-primary:hover {
  color: var(--navy-950);
  background: #ffdc78;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.button-coral {
  color: var(--white);
  background: var(--coral-600);
}

.button-coral:hover {
  color: var(--white);
  background: #cf493f;
}

.button-teal {
  color: var(--white);
  background: var(--teal-600);
}

.button-teal:hover {
  color: var(--white);
  background: #087f87;
}

.button-outline {
  color: var(--navy-900);
  background: var(--white);
  border-color: #cbc6bb;
}

.hero-logo {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 42px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  transform: rotate(1.5deg);
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(246, 198, 77, 0.16), transparent 18rem),
    linear-gradient(120deg, var(--sky-900), var(--sky-700));
}

.page-hero-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 62px;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.page-hero p:last-child {
  max-width: 50rem;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--white);
}

.main-content {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 84px) 0;
}

.section-tight-top {
  padding-top: 0;
}

.section-heading {
  margin: 0 0 28px;
}

.section-heading .eyebrow,
.content-card .eyebrow,
.form-card .eyebrow {
  color: var(--coral-600);
}

.section-heading h2,
.content-card h2,
.form-card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.section-heading p {
  max-width: 47rem;
  margin: 12px 0 0;
  color: var(--muted);
}

.home-grid,
.two-column,
.card-grid,
.footer-grid,
.poll-layout {
  display: grid;
  gap: 24px;
}

.home-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poll-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: start;
}

.content-card,
.form-card,
.poll-card,
.widget-stage,
.notice {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.content-card,
.form-card,
.poll-card {
  padding: clamp(24px, 4vw, 42px);
}

.content-card h3,
.poll-card h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-size: 1.14rem;
}

.content-card p:first-child,
.content-card h2:first-child,
.content-card h3:first-child {
  margin-top: 0;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.feature-card::after {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  content: "";
  background: var(--accent, var(--yellow-500));
  border-radius: 50%;
  opacity: 0.18;
}

.accent-yellow {
  --accent: var(--yellow-500);
}

.accent-coral {
  --accent: var(--coral-500);
}

.accent-teal {
  --accent: var(--teal-500);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--navy-950);
  background: var(--accent, var(--yellow-500));
  border-radius: 14px;
  font-weight: 900;
}

.widget-stage {
  min-height: 380px;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 233, 0.94));
}

.fact-list,
.check-list,
.plain-list,
.poll-list,
.result-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li,
.check-list li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
}

.fact-list li::before,
.check-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--navy-950);
  content: "\2713";
  background: var(--yellow-500);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
}

.notice {
  padding: 21px 24px;
  border-left: 6px solid var(--teal-500);
  border-radius: var(--radius-md);
}

.notice-warning {
  border-left-color: var(--coral-500);
}

.notice-success {
  border-left-color: var(--success);
}

.notice-spaced {
  margin-top: 24px;
}

.notice p {
  margin: 0;
}

.form-card form,
.form-grid {
  display: grid;
  gap: 22px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--navy-950);
  font-size: 0.92rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 49px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9c4b9;
  border-radius: var(--radius-sm);
}

.field input[type="color"] {
  min-height: 54px;
  padding: 5px;
}

.field textarea {
  min-height: 230px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.55;
  resize: vertical;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.terms {
  padding: 22px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.terms h3 {
  margin: 0 0 10px;
  color: var(--navy-950);
}

.terms ul {
  margin-bottom: 0;
}

.copy-status,
.form-status {
  align-self: center;
  min-height: 1.5em;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 850;
}

.poll-list {
  display: grid;
  gap: 16px;
}

.poll-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.poll-list h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.05rem;
}

.poll-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.poll-list a {
  flex: 0 0 auto;
}

.poll-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-poll-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal-500);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(6, 25, 52, 0.08);
}

.archive-poll-card:nth-child(3n + 2) {
  border-top-color: var(--coral-500);
}

.archive-poll-card:nth-child(3n) {
  border-top-color: var(--yellow-500);
}

.archive-poll-card-top,
.archive-summary,
.archive-poll-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.archive-poll-id {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.archive-poll-card h3 {
  margin: 20px 0 14px;
  color: var(--navy-950);
  font-size: 1.18rem;
  line-height: 1.55;
}

.archive-poll-meta {
  justify-content: flex-start;
  margin: auto 0 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.archive-poll-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  color: var(--navy-900);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.archive-poll-link span {
  color: var(--coral-600);
  font-size: 1.25rem;
}

.archive-summary {
  margin-bottom: 22px;
  padding: 15px 19px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.archive-summary p {
  margin: 0;
}

.section-action {
  justify-content: center;
  margin-top: 28px;
}

.pagination {
  margin-top: 34px;
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 13px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
}

.pagination a:hover,
.pagination span[aria-current="page"] {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.pagination .pagination-direction {
  min-width: 74px;
}

.poll-vote-only {
  width: min(800px, 100%);
  margin: 0 auto;
}

.poll-vote-only .vote-option {
  grid-template-columns: auto minmax(0, 1fr);
}

.result-intro {
  margin: 26px 0 0;
  color: var(--muted);
}

.poll-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.poll-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  color: var(--navy-950);
  background: #e5f8f7;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.poll-badge.private {
  background: #fff0e7;
}

.poll-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.vote-options {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
}

.vote-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 10px 13px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.vote-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal-600);
}

.vote-option label {
  cursor: pointer;
  font-weight: 800;
}

.vote-count {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.chart-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.chart-wrap {
  position: relative;
  width: min(100%, 390px);
  min-height: 290px;
  margin: 0 auto;
}

.result-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.result-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
}

.result-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.result-color-1 {
  background: #0f9fa8;
}

.result-color-2 {
  background: #ff7264;
}

.result-color-3 {
  background: #f6c64d;
}

.result-color-4 {
  background: #5579c6;
}

.result-color-5 {
  background: #9b70c7;
}

.result-value {
  color: var(--muted);
  white-space: nowrap;
}

.code-preview {
  min-height: 360px;
  display: grid;
  align-items: start;
}

.code-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.error-shell {
  min-height: 54vh;
  display: grid;
  place-items: center;
}

.error-card {
  max-width: 800px;
  text-align: center;
}

.error-code {
  display: inline-flex;
  padding: 6px 13px;
  color: var(--coral-600);
  background: #fff0ed;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.error-card h1 {
  margin: 20px 0 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
}

.error-card > p:not(.error-code) {
  max-width: 42rem;
  margin: 18px auto 0;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(120deg, #064f70, var(--sky-800));
  border-top: 4px solid var(--yellow-500);
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 26px;
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1.35fr;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: var(--yellow-500);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.footer-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--yellow-500);
}

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

.footer-bottom p {
  margin: 0;
}

.footer-mark {
  color: var(--yellow-500);
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 16px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
  }

  .site-nav a {
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
  }

  .hero-inner,
  .home-grid,
  .poll-layout {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: min(68vw, 340px);
  }

  .card-grid,
  .poll-card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .hero-inner,
  .page-hero-inner,
  .main-content,
  .footer-inner {
    width: min(100% - 24px, var(--content));
  }

  .brand img {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .brand-kicker {
    font-size: 0.61rem;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .site-nav ul,
  .two-column,
  .card-grid,
  .poll-card-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-group:last-child,
  .field-full {
    grid-column: auto;
  }

  .hero-inner {
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-actions,
  .button-row,
  .code-actions,
  .footer-bottom {
    display: grid;
  }

  .button,
  .hero-actions .button,
  .button-row .button,
  .code-actions .button {
    width: 100%;
  }

  .content-card,
  .form-card,
  .poll-card,
  .widget-stage,
  .chart-panel {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .poll-list li {
    display: grid;
  }

  .poll-list a {
    width: 100%;
  }

  .vote-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vote-count {
    grid-column: 2;
  }

  .footer-bottom {
    justify-items: start;
  }
}

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