:root {
  --paper: #f8f4ed;
  --paper-light: #fffdf8;
  --ink: #121212;
  --muted: #5f5b55;
  --blue: #1677e8;
  --blue-dark: #075ab6;
  --line: rgba(18, 18, 18, 0.16);
  --shadow: 7px 8px 0 rgba(18, 18, 18, 0.12);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 5%, rgba(22, 119, 232, 0.07), transparent 28rem),
    linear-gradient(var(--paper), var(--paper));
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 4px solid rgba(22, 119, 232, 0.35);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid var(--ink);
  background: rgba(248, 244, 237, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.page {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3.5rem, 9vw, 7.5rem) 0;
}

.hero-without-art {
  grid-template-columns: minmax(0, 760px);
  min-height: min(760px, calc(100svh - 72px));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(-3deg);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 950;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 950;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-copy,
.intro-copy {
  max-width: 57ch;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 17px 14px 18px 15px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translate(2px, 2px) rotate(-0.5deg);
  box-shadow: 2px 3px 0 var(--ink);
}

.button.secondary {
  background: var(--paper-light);
  color: var(--ink);
}

.hero-art {
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 13% 7% 5%;
  z-index: -1;
  border: 3px solid var(--ink);
  border-radius: 46% 54% 49% 51%;
  background: var(--blue);
  opacity: 0.13;
  transform: rotate(4deg);
}

.hero-logo {
  width: 100%;
  filter: contrast(1.03);
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-top: 2px solid var(--ink);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(190px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  border-radius: 34px 28px 38px 30px;
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.product-icon {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 28%;
  transform: rotate(-1.5deg);
}

.product-card h3 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.product-card p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.product-card + .product-card {
  margin-top: 2rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle,
.info-card {
  padding: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 22px 18px 24px 19px;
  background: var(--paper-light);
}

.principle:nth-child(2) {
  transform: rotate(0.6deg);
}

.principle:nth-child(3) {
  transform: rotate(-0.5deg);
}

.principle p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-hero {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.product-hero img {
  border: 2px solid var(--ink);
  border-radius: 29%;
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(-2deg);
}

.product-hero h1,
.legal-hero h1 {
  max-width: none;
  margin-bottom: 0.75rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.product-hero p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 2px solid var(--ink);
  border-radius: 18px 15px 20px 16px;
  background: var(--paper-light);
}

summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 3px solid var(--ink);
  border-radius: 28px 24px 30px 25px;
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 0.5rem;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel .button {
  flex: 0 0 auto;
  background: var(--paper-light);
  color: var(--ink);
}

.legal-hero {
  max-width: 850px;
  padding: clamp(3.5rem, 8vw, 6rem) 0 2rem;
}

.legal-meta {
  color: var(--muted);
  font-weight: 750;
}

.legal {
  max-width: 820px;
  padding-bottom: 6rem;
}

.legal section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.legal p,
.legal li {
  color: #35322e;
}

.legal li + li {
  margin-top: 0.55rem;
}

.notice {
  margin: 1rem 0 2rem;
  padding: 1.25rem 1.35rem;
  border: 2px solid var(--ink);
  border-left: 9px solid var(--blue);
  border-radius: 16px;
  background: var(--paper-light);
  font-weight: 750;
}

.site-footer {
  border-top: 2px solid var(--ink);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .product-card,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-card .product-icon {
    width: min(72%, 290px);
  }

  .product-hero img {
    width: 132px;
  }

  .principles,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .principle:nth-child(n) {
    transform: none;
  }

  .contact-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row {
    display: none;
  }

  body {
    background: white;
  }
}
