/* Tweakly : site de présentation. Même direction que la liste d'attente (tweakly.fr) : fond blanc,
   Geist pour le texte, Instrument Sans pour les titres, bandeau de points vert avec le crabe,
   bouton doré. */

@font-face {
  font-family: 'Instrument Sans';
  src: url(fonts/instrument-sans.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url(fonts/geist.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url(fonts/plus-jakarta-sans.woff2) format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: rgba(0, 0, 0, 0.7);
  --soft: #f5f5f3;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.76);
  --leaf: #1f6f54;
  --mint: #e9f2e5;
  --sun: 251, 207, 0;
  /* Scale of the background drawing (columns and crab), smaller on phones */
  --s: 1;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.112px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-weight: 600;
}
:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Hero (the same banner as the waitlist) ---------- */

.top {
  position: relative;
  overflow: hidden;
  overflow: clip;
}
.dots {
  position: absolute;
  left: 0;
  top: calc(-45px * var(--s));
  width: 100%;
  height: calc(540px * var(--s));
  display: block;
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 33px;
  margin: 20px 3px 0 0;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  text-decoration: none;
}
.tag svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: rgb(114, 253, 78);
}
.wordmark {
  height: 44px;
  margin: 166px 0 0;
  font-family: 'Plus Jakarta Sans', 'Geist', Arial, sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 0;
  text-shadow: 0 3px 2.5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.hero h1 {
  max-width: 760px;
  margin: 44.4px 0 0;
  font-size: 60px;
  line-height: 73.8px;
  letter-spacing: -2.55px;
}
.accent {
  background-image: linear-gradient(90deg, rgb(40, 222, 111) 10%, rgb(28, 185, 91) 64%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.lead {
  max-width: 640px;
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: -0.03px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
}

/* Main button, as on the waitlist: the label rolls up, the arrow slides out and a new one comes in. */
.cta {
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-weight: 600;
  line-height: 22.4px;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6be02 29%, #d7ad20 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 8px rgba(255, 255, 255, 0.44),
    0 16px 32px rgba(var(--sun), 0.1),
    0 8px 16px rgba(var(--sun), 0.1),
    0 4px 8px rgba(var(--sun), 0.1),
    0 0 10px rgba(var(--sun), 0.1),
    0 0 50px rgba(var(--sun), 0.14);
  transition:
    inset 450ms var(--ease),
    scale 450ms var(--ease);
}
.cta:active .cta-bg {
  scale: 0.95;
}
.cta-label {
  height: 22.4px;
  overflow: hidden;
  text-align: center;
  text-shadow: 0 22.4px 0 currentColor;
}
.cta-roll {
  display: inline-block;
  transition: transform 450ms var(--ease);
}
.cta-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
}
.cta-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  transition: transform 450ms var(--ease);
}
.cta-arrow + .cta-arrow {
  transform: translateX(calc(-100% - 10px));
}
@media (hover: hover) and (pointer: fine) {
  .cta:hover .cta-bg {
    inset: 2px;
  }
  .cta:hover .cta-roll {
    transform: translateY(-100%);
  }
  .cta:hover .cta-arrow {
    transform: translateX(calc(100% + 10px));
  }
  .cta:hover .cta-arrow + .cta-arrow {
    transform: translateX(0);
  }
}

/* Secondary button: thin outline, like the waitlist fields. */
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}
.ghost:hover {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.ghost:active {
  transform: scale(0.97);
}

/* App preview under the hero, in its yellow glow. */
.showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 8px;
}
.glow {
  --w: min(925px, 100cqw - 32px);
  position: absolute;
  inset: 0;
  container-type: inline-size;
  opacity: 0.55;
  filter: blur(23.5px);
  pointer-events: none;
}
.glow-band {
  position: absolute;
  top: 128px;
  left: -80px;
  right: -80px;
  bottom: -80px;
  background: linear-gradient(to bottom, rgba(var(--sun), 0) 0, rgb(var(--sun)) 145px, rgba(var(--sun), 0) 100%);
}
.glow-halo {
  position: absolute;
  top: 19px;
  left: 50%;
  width: calc(var(--w) + 94px);
  height: calc(var(--w) * 0.62486 + 94px);
  border-radius: 61px;
  background: rgb(var(--sun));
  transform: translateX(-50%);
}
.preview {
  position: relative;
  width: 925px;
  max-width: 100%;
  margin: 52px 0 0;
  border-radius: 14px;
}
.preview img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 112px 16px 0;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
}
.head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.head h2 {
  margin-top: 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -1.7px;
}
.head p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  padding: 28px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-weight: 600;
}
.step h3,
.feature h3 {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.step p,
.feature p {
  margin-top: 8px;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  padding: 28px;
}
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--leaf);
}
.icon svg {
  width: 22px;
  height: 22px;
}

/* Safety: the site never breaks. */
.safe {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.safe-art {
  display: grid;
  place-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--mint);
}
.safe-art img {
  width: min(300px, 100%);
}
.safe h2 {
  margin-top: 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -1.7px;
}
.safe .intro {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}
.checks {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.checks li,
.price li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
}
.tick {
  width: 22px;
  height: 22px;
  color: var(--leaf);
}
.checks strong {
  display: block;
  font-weight: 600;
}
.checks span {
  color: var(--muted);
}

/* Prices */
.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.price {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.price-main {
  border: 2px solid #000;
  padding: 31px;
}
.price-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf);
  font-family: 'Geist', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
}
.amount strong {
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
}
.amount span {
  color: var(--muted);
}
.price > p {
  margin-top: 10px;
  color: var(--muted);
}
.price ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.price .tick {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.price .cta,
.price .ghost {
  align-self: flex-start;
  margin-top: auto;
}
.price-notes {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* Agencies */
.band {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
}
.band img {
  width: 112px;
  height: 112px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.band h2 {
  font-size: 30px;
  letter-spacing: -1px;
}
.band p {
  margin-top: 8px;
  color: var(--muted);
}
.band .ghost {
  margin-left: auto;
}

/* Questions */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: 'Geist', Arial, sans-serif;
  font-weight: 400;
  color: var(--muted);
  transition: transform 250ms ease-out;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 720px;
  padding: 0 2px 24px;
  color: var(--muted);
  font-size: 17px;
}

/* Contact */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: 24px;
  background: #000;
  color: #fff;
}
.contact h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1.4px;
}
.contact p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}
.contact a.mail {
  color: #fff;
  font-weight: 600;
}

/* Footer */
.foot {
  margin-top: 112px;
  padding: 36px 16px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Geist', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot nav a {
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Legal pages ---------- */

.legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px;
}
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 0;
}
.legal h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.8px;
}
.legal .updated {
  margin-top: 12px;
  color: var(--muted);
}
.legal h2 {
  margin-top: 44px;
  font-size: 24px;
  letter-spacing: -0.6px;
}
.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.65;
}
.legal p {
  margin-top: 12px;
}
.legal ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal .box {
  margin-top: 16px;
  padding: 22px 24px;
}
.legal .box p:first-child {
  margin-top: 0;
}

/* ---------- Phones and small tablets ---------- */

.wide-only {
  display: inline;
}
@media (max-width: 900px) {
  .steps,
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
  .safe {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .prices {
    grid-template-columns: minmax(0, 1fr);
  }
  .band {
    flex-direction: column;
    align-items: flex-start;
  }
  .band .ghost {
    margin-left: 0;
  }
}
@media (max-width: 780px) {
  :root {
    --s: 0.82;
  }
  .wordmark {
    /* Centred on the crab, which scales from the top of the page */
    margin-top: calc(219px * var(--s) - 53px);
    height: calc(44px * var(--s));
    font-size: calc(35px * var(--s));
    line-height: calc(44px * var(--s));
  }
  .hero h1 {
    margin-top: 32px;
    font-size: 44px;
    line-height: 1.18;
    letter-spacing: -1.8px;
  }
  .head h2,
  .safe h2 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }
  .section {
    padding-top: 88px;
  }
  .contact {
    padding: 32px;
  }
  .contact h2 {
    font-size: 32px;
  }
}
@media (max-width: 560px) {
  :root {
    --s: 0.7;
  }
  .tag {
    margin-top: 16px;
  }
  .wordmark {
    margin-top: calc(219px * var(--s) - 49px);
  }
  .hero h1 {
    margin-top: 26px;
    font-size: 36px;
    letter-spacing: -1.4px;
  }
  .lead {
    font-size: 17px;
    line-height: 24px;
  }
  .wide-only {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
  }
  .hero-actions .cta {
    justify-content: space-between;
  }
  .preview {
    margin-top: 40px;
  }
  .preview,
  .preview img {
    border-radius: 10px;
  }
  .glow {
    filter: blur(16px);
  }
  .glow-band {
    top: 76px;
  }
  .glow-halo {
    top: 18px;
    width: calc(var(--w) + 56px);
    height: calc(var(--w) * 0.62486 + 56px);
    border-radius: 38px;
  }
  .step,
  .feature,
  .price,
  .band {
    padding: 24px;
  }
  .price-main {
    padding: 23px;
  }
  .amount strong {
    font-size: 46px;
  }
  .faq summary {
    font-size: 18px;
  }
  .legal h1 {
    font-size: 36px;
  }
  .contact {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
