/* ============================================================
   Kinzeno landing page
   Edit colors, fonts, and layout here.
   ============================================================ */

:root {
  --color-text: #333333;
  --color-muted: #7b7b7b;
  --color-link: #046bd2;
  --color-cta: #1fba34;
  --color-cta-hover: #07893a;
  --color-highlight: #fef5c4;
  --color-highlight-shadow: #fadf98;
  --color-alert-border: #fe7d7f;
  --color-review: #edf9ff;
  --color-review-border: #337ab7;
  --color-border: #f1f1f1;
  --color-footer-bg: #000000;
  --color-footer-link: #7b7b7b;
  --color-footer-link-hover: #54595f;
  --color-share-facebook: #3b5998;
  --color-share-x: #000000;
  --color-share-pinterest: #bd081c;
  --color-scroll-top: #046bd2;

  --font-body: "Lato", sans-serif;
  --font-accent: "Source Sans 3", "Source Sans Pro", sans-serif;
  --font-button: "Roboto", sans-serif;
  --font-footer: "Noto Sans JP", sans-serif;

  --content-width: 880px;
  --space: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2 {
  margin: 0 0 var(--space);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.4px;
}

h2 {
  font-size: 30px;
  line-height: 37px;
}

ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

li + li {
  margin-top: 0.4em;
}

hr {
  border: 0;
  border-top: 1px solid #555;
  margin: 1.25em 0;
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px;
}

.article {
  padding-bottom: 50px;
}

.block {
  margin: 0 0 var(--space);
}

/* ---------- Annonce bar (desktop only) ---------- */

.annonce {
  display: none;
  background: #000;
  border-bottom: 1px solid #eaeaea;
  text-align: center;
}

.annonce p {
  margin: 0;
  padding: 4px 0;
  color: #b1b1b1;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 1025px) {
  .annonce {
    display: block;
  }
}

/* ---------- Logo ---------- */

.brand {
  border-bottom: 1px solid var(--color-border);
  margin-top: -10px;
}

.brand img {
  width: 290px;
  margin: 10px 0 0;
}

/* ---------- Share buttons ---------- */

.share {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 5px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: #fff;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
}

.share-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.share-btn:hover {
  filter: saturate(1.5) brightness(1.2);
}

.share-btn--facebook {
  background: var(--color-share-facebook);
}

.share-btn--x {
  background: var(--color-share-x);
}

.share-btn--pinterest {
  background: var(--color-share-pinterest);
}

/* ---------- Media ---------- */

.figure img,
.carousel img {
  width: 100%;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Carousel ---------- */

.carousel {
  position: relative;
  margin: 0 0 var(--space);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.carousel-arrow--prev {
  left: 10px;
}

.carousel-arrow--next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfcfcf;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: #6b6b6b;
}

/* ---------- Callouts ---------- */

.note,
.alert,
.review {
  padding: 8px 14px;
  margin: 0 0 var(--space);
}

.note,
.alert {
  background: var(--color-highlight);
  box-shadow: 0 0 10px 0 var(--color-highlight-shadow);
  font-family: var(--font-accent);
  font-size: 20px;
  line-height: 32px;
}

.note:hover,
.alert:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.alert {
  border: 3px dashed var(--color-alert-border);
}

.review {
  background: var(--color-review);
  border-left: 5px solid var(--color-review-border);
  border-radius: 5px;
  font-family: var(--font-accent);
  font-size: 20px;
  line-height: 32px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.75em;
  font-weight: 700;
}

.review-author img {
  width: 125px;
  height: 20px;
}

.check-list p {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.check-list img {
  width: 1em;
  height: 1em;
  margin-top: 0.2em;
  flex-shrink: 0;
}

/* ---------- CTA buttons ---------- */

.cta {
  display: block;
  width: 100%;
  margin: 0 0 40px;
  padding: 15px;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-button);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.cta:hover,
.cta:focus {
  background: var(--color-cta-hover);
  color: #fff;
  text-decoration: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 21px;
  padding: 20px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 19px;
  margin: 30px 0;
  padding: 5px;
  list-style: none;
}

.footer-nav a {
  color: var(--color-footer-link);
  font-family: var(--font-footer);
  font-size: 14px;
  line-height: 31px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.footer-nav a:hover {
  color: var(--color-footer-link-hover);
}

.legal {
  margin: 0 0 50px;
  color: var(--color-muted);
  text-align: center;
}

.legal a {
  color: var(--color-link);
}

.legal strong {
  color: var(--color-muted);
}

/* ---------- Scroll to top ---------- */

.scroll-top {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 2.1em;
  height: 2.1em;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--color-scroll-top);
  color: #fff;
  cursor: pointer;
}

.scroll-top.is-visible {
  display: grid;
  place-items: center;
}

.scroll-top svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1024px) {
  .brand img {
    width: 41%;
  }

  .article {
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 32px;
    line-height: 36px;
  }

  h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .brand img {
    width: 74%;
  }

  .note,
  .alert,
  .review {
    font-size: 20px;
    line-height: 26px;
  }

  .cta {
    font-size: 23px;
    line-height: 26px;
  }

  .site-footer {
    padding: 10px 0;
  }

  .footer-nav a {
    font-size: 16px;
    line-height: 26px;
  }

  .legal {
    font-size: 16px;
    line-height: 26px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
  }
}
