/* Konvi landing - direction "Konvi, convivial, net, coloré" */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F4F3F3;
  --surface: #FFFFFF;
  --ink: #1D1C1B;
  --accent: #60E21B;
  --orange: #FABA17;
  --peach: #FFB592;
  --pink: #FFB0CD;
  --muted: #5C5A57;
  --line: #E2E0DD;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --s-md: 32px;
  --s-xl: clamp(80px, 10vw, 130px);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
}

:where(*, *::before, *::after) { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(img, svg) { display: block; max-width: 100%; }
:where(a) { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

body.konvi {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.k-wrap {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.k-h1, .k-h2, .k-h3, .k-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.k-h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
.k-h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.06; }
.k-h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; }

.k-lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 36ch; }
.k-body { color: var(--muted); max-width: 62ch; }
.k-label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.k-mark {
  font-style: normal;
  background: var(--accent);
  color: var(--ink);
  padding: 0 0.16em 0.06em;
  border-radius: var(--r-sm);
  display: inline-block;
  transform: rotate(-1.4deg);
}

.k-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.k-btn:active { transform: translateY(1px) scale(0.99); }
.k-btn--primary { background: var(--accent); color: var(--ink); }
.k-btn--primary:hover { background: #4FC714; }
.k-btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.k-btn--ghost:hover { background: var(--ink); color: var(--bg); }
.k-btn--sm { padding: 11px 20px; font-size: 0.92rem; }

.k-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.k-nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  height: 68px;
}
.k-logo { font-size: 1.5rem; letter-spacing: -0.045em; }
.k-nav__links { display: flex; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.k-nav__links a { padding: 6px 0; border-bottom: 1.5px solid transparent; }
.k-nav__links a:hover { border-bottom-color: var(--ink); }

.k-hero { padding-block: clamp(44px, 6vw, 76px) var(--s-xl); }
.k-hero__in {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.k-hero__title { max-width: 13ch; }
.k-hero__lead { margin-top: 24px; }
.k-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.k-visual { position: relative; min-height: 460px; }
.k-visual__card { position: absolute; border-radius: var(--r-lg); overflow: hidden; }
.k-visual__card--back {
  inset: 0 -14vw 64px 22%;
  background: linear-gradient(148deg, var(--peach) 0%, var(--pink) 58%, var(--orange) 100%);
  transform: rotate(3deg);
}
.k-visual__card--front {
  left: 0;
  top: 42px;
  width: 60%;
  aspect-ratio: 3 / 4.4;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.k-visual__band { border-radius: var(--r-md); background: linear-gradient(140deg, var(--accent), #B6F07F); flex: 1 1 auto; }
.k-visual__line { height: 12px; border-radius: var(--r-pill); background: var(--line); }
.k-visual__line--short { width: 46%; }
.k-visual__note {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}

.k-sec { padding-block: var(--s-xl); }
.k-sec--white { background: var(--surface); }
.k-sec--dark { background: var(--ink); color: var(--bg); }
.k-sec--dark .k-body, .k-sec--dark .k-lead { color: #B8B5B1; }
.k-sec__head { max-width: 22ch; margin-bottom: clamp(40px, 5vw, 64px); }

.k-steps { display: grid; gap: 18px; }
.k-step {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r-lg);
}
.k-step h3 { margin-bottom: 10px; }
.k-step p { color: var(--ink); opacity: 0.78; max-width: 46ch; }
.k-step--one { background: var(--peach); }
.k-step--two { background: var(--surface); border: 1px solid var(--line); margin-left: clamp(0px, 6vw, 90px); }
.k-step--three { background: var(--pink); margin-right: clamp(0px, 4vw, 60px); }

.k-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.k-cell { border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.k-cell p { font-size: 0.98rem; line-height: 1.55; }
.k-cell--a { grid-column: span 7; grid-row: span 2; background: var(--surface); border: 1px solid var(--line); }
.k-cell--b { grid-column: span 5; background: var(--peach); }
.k-cell--c { grid-column: span 5; background: var(--surface); border: 1px solid var(--line); }
.k-cell--d { grid-column: span 5; background: var(--orange); }
.k-cell--e { grid-column: span 4; background: var(--surface); border: 1px solid var(--line); }
.k-cell--f { grid-column: span 3; background: var(--ink); color: var(--bg); }
.k-cell--a .k-cell__art {
  flex: 1 1 auto;
  min-height: 210px;
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 100% at 12% 0%, var(--pink) 0%, transparent 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--orange) 100%);
}
.k-cell__tag { font-size: 0.8rem; font-weight: 600; opacity: 0.72; }

.k-net { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.k-net__list { display: grid; gap: 14px; margin-top: 26px; }
.k-net__list li { display: flex; gap: 12px; align-items: flex-start; color: #D6D3CF; }
.k-net__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: none; }

.k-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.k-plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.k-plan--hero { background: var(--accent); border-color: var(--accent); }
.k-plan__price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; letter-spacing: -0.04em; }
.k-plan__price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; opacity: 0.72; display: block; margin-top: 6px; }
.k-plan ul { display: grid; gap: 9px; font-size: 0.95rem; color: var(--muted); }
.k-plan--hero ul { color: var(--ink); opacity: 0.84; }
.k-plan__cta { margin-top: auto; padding-top: 12px; }
.k-plan .k-btn { width: 100%; }
.k-plan--hero .k-btn--primary { background: var(--ink); color: var(--accent); }
.k-plan--hero .k-btn--primary:hover { background: #0F0E0E; }
.k-plans__note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }

.k-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.k-faq__list { border-top: 1px solid var(--line); }
.k-faq details { border-bottom: 1px solid var(--line); }
.k-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 19px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 160ms ease;
}
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq details p { padding: 0 44px 24px 0; color: var(--muted); max-width: 60ch; }

.k-cta { background: var(--accent); color: var(--ink); padding-block: clamp(64px, 8vw, 100px); }
.k-cta__in { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--s-md); align-items: end; }
.k-cta__in p { max-width: 40ch; margin-top: 16px; opacity: 0.8; }
.k-cta__act { justify-self: end; }
.k-cta .k-btn--primary { background: var(--ink); color: var(--accent); padding: 18px 32px; font-size: 1.05rem; }

.k-foot { background: var(--ink); color: #A9A6A2; padding-block: 56px 40px; font-size: 0.93rem; }
.k-foot__in { display: flex; flex-wrap: wrap; gap: var(--s-md); justify-content: space-between; align-items: flex-start; }
.k-foot .k-logo { color: var(--bg); }
.k-foot__links { display: flex; flex-wrap: wrap; gap: 24px; }
.k-foot__links a:hover { color: var(--bg); }
.k-foot__legal { width: 100%; border-top: 1px solid #333230; padding-top: 22px; margin-top: 34px; font-size: 0.85rem; }

.konvi-js .k-reveal { opacity: 0; transform: translateY(18px); }
.konvi-js .k-reveal.is-in { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) {
  .konvi-js .k-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
  .k-nav__links { display: none; }
  .k-hero__in { grid-template-columns: 1fr; }
  .k-hero__title { max-width: 18ch; }
  .k-visual { min-height: 380px; margin-top: 8px; }
  .k-net, .k-faq, .k-cta__in { grid-template-columns: 1fr; }
  .k-cta__act { justify-self: start; }
  .k-plans { grid-template-columns: repeat(2, 1fr); }
  .k-bento { grid-template-columns: repeat(6, 1fr); }
  .k-cell--a { grid-column: span 6; grid-row: auto; }
  .k-cell--b, .k-cell--c, .k-cell--d, .k-cell--e, .k-cell--f { grid-column: span 3; }
  .k-step { grid-template-columns: 1fr; }
  .k-step--two, .k-step--three { margin: 0; }
}

@media (max-width: 640px) {
  body.konvi { font-size: 16px; }
  .k-plans { grid-template-columns: 1fr; }
  .k-cell--b, .k-cell--c, .k-cell--d, .k-cell--e, .k-cell--f { grid-column: span 6; }
  .k-visual__card--back { inset: 0 -20vw 80px 30%; }
  .k-visual__card--front { width: 68%; }
  .k-hero__cta .k-btn { flex: 1 1 auto; }
}
