/* ==========================================================================
   Sem Vincos — landing page
   Device: "the crease" — a fold that presses flat. It appears exactly twice,
   in the logo and in the hero unfold, and nowhere else. Sections are
   separated by alternating fabric tones, never by rules.
   ========================================================================== */

:root {
  --linen:        #E7EBEF;  /* starched fabric under daylight */
  --pressed:      #F4F7F9;  /* cards, freshly pressed white   */
  --ink:          #16202B;  /* deep slate                     */
  --ink-soft:     #5A6874;  /* secondary text                 */
  --steam:        #A8BCCB;  /* creases, rules, muted marks    */
  --ember:        #E8590C;  /* iron heat — actions only       */

  --wrap:  1120px;
  --gut:   clamp(20px, 5vw, 40px);
  --pad-y: clamp(64px, 9vw, 124px);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --r:  14px;
  --rs: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2.5px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- shared scaffolding -------------------------------------------------- */

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

.section { padding-block: var(--pad-y); }

.eyebrow {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Pressed panels: sections that step up to the lighter fabric. No rule and
   no divider — the colour change is the transition. The faint vertical
   gradient is the sheet catching light at its top edge, nothing more. */
.panel {
  background:
    linear-gradient(180deg,
      #F8FAFC 0%,
      var(--pressed) 18%,
      var(--pressed) 82%,
      #E4E9ED 100%);
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.btn svg { flex: none; }

.btn--primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -12px rgba(232, 89, 12, .85);
}

.btn--primary:hover { background: #D24E09; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 32, 43, .22);
}

.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--lg { padding: 18px 32px; font-size: 16.5px; }

/* --- header -------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--linen) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 32, 43, .07);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }

.brand__mark { width: 30px; height: 30px; flex: none; }

.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.nav { display: flex; gap: 26px; margin-left: auto; }

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}

.nav a:hover { color: var(--ink); }

.header .btn { padding: 11px 20px; font-size: 14.5px; }

/* --- hero ---------------------------------------------------------------- */

.hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }

.hero__title {
  font-size: clamp(50px, 11.5vw, 148px);
  font-stretch: 124%;
  letter-spacing: -0.045em;
  margin-bottom: 30px;
}

/* The sheet unfolding: top half falls forward, bottom half lifts up,
   both settling flat against the page. The one orchestrated moment. */
.fold { perspective: 1200px; display: block; }

.fold__line {
  display: block;
  transform-origin: bottom center;
  animation: press-down .95s cubic-bezier(.2, .8, .25, 1) both;
}

.fold__line + .fold__line {
  transform-origin: top center;
  animation-name: press-up;
  animation-delay: .1s;
}

.fold__line em {
  font-style: normal;
  color: var(--ember);
}

@keyframes press-down {
  from { opacity: 0; transform: rotateX(-72deg) translateY(-4%); }
  to   { opacity: 1; transform: none; }
}

@keyframes press-up {
  from { opacity: 0; transform: rotateX(64deg) translateY(4%); }
  to   { opacity: 1; transform: none; }
}

.hero__lede { animation: rise .7s .55s ease-out both; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 34px;
  animation: rise .7s .7s ease-out both;
}

.hero__note {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero__note b { color: var(--ink); font-weight: 600; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* running strip of facts under the hero */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 26px;
  border-top: 1px solid rgba(22, 32, 43, .1);
  animation: rise .7s .85s ease-out both;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.facts li::before {
  content: "";
  width: 15px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ember);
  flex: none;
}

/* --- section headings ---------------------------------------------------- */

.head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 60px); }

.head h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin-bottom: 16px;
}

/* --- how it works (a real sequence, so it earns its numbers) ------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.step { padding-top: 22px; border-top: 2px solid var(--ink); }

.step__n {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: 0.06em;
  color: var(--ember);
  display: block;
  margin-bottom: 12px;
}

.step h3 { font-size: clamp(21px, 2.1vw, 26px); margin-bottom: 10px; }

.step p { color: var(--ink-soft); font-size: 15.5px; }

/* --- prices -------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tier {
  background: var(--linen);
  border: 1px solid rgba(22, 32, 43, .09);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -24px rgba(22, 32, 43, .55);
}

.tier__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tier__count {
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 68px);
  font-weight: 700;
  font-stretch: 124%;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 10px 0 2px;
}

.tier__unit { font-size: 14.5px; color: var(--ink-soft); }

.tier__price {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 32, 43, .12);
}

/* extras */
.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(22, 32, 43, .14);
}

.extras div {
  padding: 22px 22px 4px 0;
  border-right: 1px solid rgba(22, 32, 43, .1);
}

.extras div + div { padding-left: 22px; }

.extras div:last-child { border-right: 0; }

.extras dt {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

.extras dd {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.025em;
}

/* --- subscriptions ------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.plan {
  position: relative;
  background: var(--pressed);
  border: 1px solid rgba(22, 32, 43, .1);
  border-radius: var(--r);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan--best {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--pressed);
}

.plan__tag {
  position: absolute;
  top: -11px;
  left: 28px;
  background: var(--ember);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.plan__freq {
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 27px);
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.plan__desc { font-size: 15px; color: var(--ink-soft); }

.plan--best .plan__desc { color: var(--steam); }

.plan__price {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  font-stretch: 124%;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 20px;
}

.plan__per { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }

.plan--best .plan__per { color: var(--steam); }

.plan .btn { margin-top: 24px; justify-content: center; }

.plan--best .btn--ghost { color: var(--pressed); border-color: rgba(244, 247, 249, .35); }

.plan--best .btn--ghost:hover { border-color: var(--pressed); }

/* --- promise ------------------------------------------------------------- */

.promise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.promise__list { display: grid; gap: 22px; }

.promise__list h3 { font-size: 19px; margin-bottom: 7px; }

.promise__list p { color: var(--ink-soft); font-size: 15.5px; }

/* --- closing CTA --------------------------------------------------------- */

.close { text-align: center; }

.close h2 { font-size: clamp(34px, 5.6vw, 68px); margin-bottom: 18px; }

.close .lede { margin-inline: auto; }

.close .btn { margin-top: 34px; }

.close__sub { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* --- footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid rgba(22, 32, 43, .1);
  padding-block: 36px 44px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer__bar .brand { margin-right: auto; }

.footer a { text-decoration: none; }

.footer a:hover { color: var(--ink); }

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  .tiers   { grid-template-columns: repeat(2, 1fr); }
  .plans   { grid-template-columns: 1fr; }
  .steps   { grid-template-columns: 1fr; gap: 26px; }
  .extras  { grid-template-columns: repeat(2, 1fr); }
  .extras div { border-bottom: 1px solid rgba(22, 32, 43, .1); padding-bottom: 18px; }
  .extras div:nth-child(2n) { border-right: 0; }
  .promise__grid { grid-template-columns: 1fr; }
  .plan__tag { left: 24px; }
}

@media (max-width: 620px) {
  .nav { display: none; }
  .header__bar { gap: 14px; }
  .header .btn { margin-left: auto; }
  .hero__title { font-size: clamp(42px, 13vw, 72px); }
  .extras { grid-template-columns: 1fr; }
  .extras div { border-right: 0; }
  .facts { gap: 12px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
}
