:root {
  --color-orange: #f47a24;
  --color-orange-dark: #d85d10;
  --color-orange-soft: #fff0df;
  --color-orange-pale: #fff8ef;
  --color-green: #4caf72;
  --color-green-dark: #328554;
  --color-green-soft: #edf8f0;
  --color-ink: #3b2d23;
  --color-text: #5f5147;
  --color-muted: #88796d;
  --color-line: #eedbc8;
  --shadow-soft: 0 18px 45px rgba(129, 83, 42, 0.1);
  --shadow-card: 0 10px 28px rgba(129, 83, 42, 0.08);
  --radius-large: 26px;
  --radius-medium: 18px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #fff 0, var(--color-orange-pale) 28%, #fff 72%);
  font-family: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.45;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 7.5vw, 56px);
  letter-spacing: 0.04em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4.5vw, 38px);
  letter-spacing: 0.03em;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 30px);
}

.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(238, 219, 200, 0.9);
  backdrop-filter: blur(14px);
}

.demo-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 36px, var(--container));
  min-height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 164px;
  height: auto;
}

.demo-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--color-orange-dark);
  background: var(--color-orange-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.demo-header__back:hover,
.demo-header__back:focus-visible {
  color: #fff;
  background: var(--color-orange);
}

.demo-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 80px;
  text-align: center;
}

.demo-hero::before,
.demo-hero::after {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.demo-hero::before {
  top: -160px;
  left: -100px;
  background: rgba(244, 122, 36, 0.1);
}

.demo-hero::after {
  right: -125px;
  bottom: -175px;
  background: rgba(76, 175, 114, 0.11);
}

.demo-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--color-orange-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.demo-hero__lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
}

.demo-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.demo-hero__trust li {
  padding: 6px 13px;
  color: var(--color-green-dark);
  background: #fff;
  border: 1px solid #b7ddc3;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.demo-choice {
  padding: 72px 0 86px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.demo-cards {
  display: grid;
  gap: 20px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.demo-card--admin {
  border-color: var(--color-orange);
}

.demo-card--tablet {
  border-color: #83c99d;
}

.demo-card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 13px;
  color: var(--color-orange-dark);
  background: var(--color-orange-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.demo-card--tablet .demo-card__tag {
  color: var(--color-green-dark);
  background: var(--color-green-soft);
}

.demo-card__copy > p {
  margin-bottom: 18px;
}

.demo-card__preview {
  overflow: hidden;
  margin: 0 0 20px;
  background: #fffdf9;
  border: 1px solid var(--color-line);
  border-radius: 14px;
}

.demo-card__preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.demo-card--tablet .demo-card__preview img {
  object-fit: contain;
  background: #fffaf3;
}

.demo-card__preview figcaption {
  padding: 8px 12px;
  color: var(--color-muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.demo-card__features {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.demo-card__features li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
}

.demo-card__features li::before {
  position: absolute;
  top: 0.22em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  color: #fff;
  background: var(--color-orange);
  border-radius: 50%;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
  line-height: 17px;
  place-items: center;
}

.demo-card--tablet .demo-card__features li::before {
  background: var(--color-green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--orange {
  margin-top: auto;
  color: #fff;
  background: var(--color-orange);
  box-shadow: 0 10px 20px rgba(216, 93, 16, 0.22);
}

.button--orange:hover,
.button--orange:focus-visible {
  background: var(--color-orange-dark);
}

.button--green {
  margin-top: auto;
  color: #fff;
  background: var(--color-green);
  box-shadow: 0 10px 20px rgba(50, 133, 84, 0.2);
}

.button--green:hover,
.button--green:focus-visible {
  background: var(--color-green-dark);
}

.button--white {
  flex: 0 0 auto;
  min-width: min(100%, 260px);
  color: var(--color-orange-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(74, 47, 28, 0.14);
}

.demo-safety {
  padding: 0 0 86px;
}

.demo-safety__inner {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #f1fbf4, #f8fdf9);
  border: 2px solid #a5d9b6;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.demo-safety__inner .eyebrow {
  color: var(--color-green-dark);
}

.demo-safety__inner h2 {
  font-size: clamp(22px, 4vw, 30px);
}

.demo-safety__inner p:last-child {
  margin-bottom: 0;
}

.demo-safety__icon {
  display: grid;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--color-green);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  place-items: center;
}

.demo-product-link {
  padding: 44px 0;
  color: #fff;
  background: linear-gradient(115deg, #f47a24, #fb913d);
}

.demo-product-link__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.demo-product-link .eyebrow {
  color: #fff4e9;
}

.demo-product-link h2,
.demo-product-link p {
  color: #fff;
}

.demo-product-link h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 34px);
}

.demo-product-link p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-block: 40px;
  color: var(--color-text);
  background: linear-gradient(180deg, #fffaf4, #fff3e5);
  border-top: 1px solid #f2d8bf;
}

.site-footer__main {
  display: grid;
  gap: 26px;
}

.brand--footer {
  margin-bottom: 10px;
}

.brand--footer .brand__logo {
  width: 166px;
}

.site-footer__brand p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  align-content: start;
  font-size: 13px;
}

.site-footer__nav a {
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
}

.site-footer__contact {
  display: grid;
  gap: 4px;
  margin: 0;
  font-style: normal;
}

.site-footer__contact strong {
  margin-bottom: 2px;
  color: var(--color-ink);
}

.site-footer__contact a {
  color: var(--color-orange-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-footer__contact span {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #efd6bd;
}

.site-footer__bottom p {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

@media (min-width: 720px) {
  .demo-header__inner {
    min-height: 72px;
  }

  .brand {
    font-size: 24px;
  }

  .demo-hero {
    padding-block: 90px 96px;
  }

  .demo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-safety__inner {
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    padding: 34px 42px;
  }

  .demo-safety__icon {
    width: 66px;
    height: 66px;
  }

  .demo-product-link__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

}

@media (min-width: 760px) {
  .site-footer__main {
    grid-template-columns: minmax(210px, 1.1fr) minmax(230px, 1fr) minmax(220px, 0.9fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
