

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #183c32;
  --celadon: #dce9dd;
  --paper: #faf8f0;
  --brass: #ecd29b;
  --ink: #21352e;
  --accent: #315b48;
  --muted: #526158;
  --rule: #d0d5c8;
  --overdue: #8a5a1c;
  --soft: #d9e5d8;
  --forest-rule: #48655a;
  --card-rule: #b5c9b9;
  --card: #fffef8;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--accent); overflow-wrap: anywhere; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }



.band { background: var(--forest); color: var(--paper); }
.band a { color: var(--paper); }
.top {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 16px; padding-top: 14px; padding-bottom: 10px;
}

.top::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--forest-rule); }
@media (min-width: 600px) { .top::after { left: 24px; right: 24px; } }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  color: var(--paper); text-decoration: none;
  font: 530 26px/1 var(--serif); letter-spacing: -.04em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--forest-rule); }
.top nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.top nav a {
  display: inline-flex; align-items: center; min-height: 48px;
  color: var(--soft); font-size: 15px; font-weight: 550; text-decoration: none;
}
.top nav a:hover { color: var(--paper); text-decoration: underline; }


.top .brand { margin-right: auto; }
.top nav { order: 2; }
.langue { position: relative; order: 1; border: 0; }
@media (min-width: 760px) { .langue { order: 3; } }
.langue summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 4px;
  color: var(--soft); font-size: 15px; font-weight: 650; letter-spacing: .04em; cursor: pointer; list-style: none;
}
.langue summary::-webkit-details-marker { display: none; }
.langue summary::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.langue[open] summary, .langue summary:hover { color: var(--paper); }
.langue ul {
  position: absolute; z-index: 20; top: calc(100% + 2px); right: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none;
  border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--rule), 0 18px 44px rgba(16, 38, 31, .28);
}
.langue li a, .langue li span {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px;
  color: var(--ink); font-size: 16px; text-decoration: none;
}
.band .langue li a { color: var(--ink); }
.langue li a:hover { background: var(--celadon); color: var(--forest); }
.langue li span { justify-content: space-between; color: var(--forest); font-weight: 650; }
.langue li span::after { content: "✓"; }

h1 { margin: 0; font: 435 clamp(40px, 7.4vw, 66px)/1.04 var(--serif); letter-spacing: -.045em; }
.page-head { padding-top: 34px; padding-bottom: 30px; }
.page-head h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.08; overflow-wrap: anywhere; }
.page-head .updated { margin: 10px 0 0; color: var(--soft); font-size: 15px; }


.hero { display: grid; gap: 44px; align-items: center; padding-top: 44px; padding-bottom: 52px; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.12fr 1fr; padding-top: 64px; padding-bottom: 72px; } }
.hero h1 { margin-bottom: 20px; }
.lead { max-width: 33em; margin: 0 0 26px; color: var(--soft); font-size: 19px; line-height: 1.55; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--brass); color: var(--forest) !important;
  font-weight: 700; text-decoration: none;
  
  text-wrap: balance;
}
.cta:hover { background: #f3dfb1; }
.cta[aria-disabled="true"] { cursor: default; }

.cta.soon, .cta.soon:hover { background: none; box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--brass) !important; cursor: default; }
.take .cta.soon { box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest) !important; }
.band .note { margin: 12px 0 0; color: var(--soft); font-size: 15px; }

.share { margin: 10px 0 0; color: var(--soft); font-size: 15px; line-height: 1.7; }
.share a { font-weight: 650; }

.share a { white-space: nowrap; }



.sheet { padding-bottom: 16px; }
.sheet h2 {
  margin: 64px 0 14px;
  font: 510 clamp(27px, 4.2vw, 34px)/1.18 var(--serif); letter-spacing: -.04em;
  scroll-margin-top: 16px;
}
.sheet h3 { margin: 0 0 6px; font: 650 18px/1.35 var(--sans); }
.sheet .intro { max-width: 40em; margin: 0 0 22px; color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { padding: 20px 20px 8px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.card p { margin: 0 0 12px; }

.grid.pairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card.celadon { border-color: var(--card-rule); background: var(--celadon); color: var(--forest); }
.step { display: block; margin-bottom: 8px; color: var(--accent); font-size: 15px; font-weight: 700; }
.quote { color: var(--forest); font: italic 400 20px/1.35 var(--serif); letter-spacing: -.02em; }
.late { color: var(--overdue); font-weight: 650; }
.said { color: var(--forest); font-weight: 650; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--celadon); color: var(--forest); font-size: 15px; font-weight: 650; }

.pause {
  display: grid; gap: 6px 28px; align-items: center; margin-top: 64px; padding: 24px 22px;
  border-radius: 20px; background: var(--celadon); color: var(--forest);
}
.pause h2 { margin: 0 !important; }
.pause p { margin: 0; }
@media (min-width: 760px) { .pause { grid-template-columns: auto 1fr; padding: 28px 32px; } }

.price { display: grid; gap: 14px 32px; padding: 26px 22px; border-radius: 20px; background: var(--forest); color: var(--paper); }
@media (min-width: 760px) { .price { grid-template-columns: auto 1fr; align-items: center; padding: 30px 32px; } }
.price .amount { margin: 0; font: 435 clamp(34px, 5vw, 44px)/1.05 var(--serif); letter-spacing: -.04em; }
.price .amount span { display: block; margin-top: 8px; color: var(--soft); font: 500 16px/1.4 var(--sans); letter-spacing: 0; }
.price p { margin: 0 0 10px; }
.price .then { color: var(--soft); }
.price strong { color: var(--brass); font-weight: 650; }

details { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; min-height: 52px; padding: 10px 0; cursor: pointer; font-weight: 650; }
details p { margin: 0 0 16px; color: var(--muted); }



.prose { padding-top: 28px; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(23px, 3.4vw, 27px); }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .grid { margin: 26px 0 8px; }
.prose .card h2 { margin: 0 0 10px; font-size: 22px; }

.todo { padding: 1px 6px; border-radius: 4px; background: #fff0bf; color: #6b4a00; font-weight: 650; }
.summary { margin: 30px 0 8px; padding: 20px 22px 8px; border-radius: 16px; background: var(--celadon); color: var(--forest); }
.summary h2 { margin: 0 0 10px !important; font-size: 22px !important; }
.summary a { color: var(--forest); }
.warning { padding: 16px 20px 6px; border: 1px solid #e3cf9f; border-radius: 16px; background: #fbf1da; }

table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 16px; }
th, td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 15px; font-weight: 650; }
td:first-child { width: 40%; }
@media (max-width: 560px) {
  thead { display: none; }
  tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  td:first-child { font-weight: 650; }
}




.door { min-height: 100vh; background: var(--forest); color: var(--paper); }
.door main { padding-top: 32px; padding-bottom: 48px; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.langs a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--forest-rule); color: var(--paper); font-weight: 650; text-decoration: none;
}
.langs a:hover { background: var(--accent); }



.foot { margin-top: 72px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot nav a[aria-current="page"] { color: var(--ink); font-weight: 650; text-decoration: none; }
.foot p { margin: 10px 0 0; }




.phone {
  justify-self: center; width: min(100%, 300px); margin: 0; padding: 7px;
  border-radius: 38px; background: #0d221c;
  box-shadow: 0 0 0 1px var(--forest-rule), 0 26px 56px rgba(16, 38, 31, .28);
}
.phone .bar {
  display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 2px 20px 0 24px;
  border-radius: 31px 31px 0 0; background: var(--forest); color: var(--paper); font: 600 11.5px/1 var(--sans);
}

.phone .bar i { position: relative; width: 17px; height: 9px; border: 1.5px solid var(--paper); border-radius: 2.5px; }
.phone .bar i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; border-radius: 1px; background: var(--paper); }
.phone img { width: 100%; height: auto; border-radius: 0 0 31px 31px; background: var(--paper); }

.phone.cut {
  max-height: 470px; overflow: hidden; box-shadow: none;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
}


.story { display: grid; gap: 26px; align-items: center; margin-top: 56px; }
.story h2 { margin-top: 6px !important; }

.sheet .story h3 { margin: 6px 0 14px; font: 510 clamp(27px, 4.2vw, 34px)/1.18 var(--serif); letter-spacing: -.04em; }
.story p { max-width: 31em; font-size: 18px; }
.story .when { color: var(--accent); font-size: 14.5px; font-weight: 700; letter-spacing: .01em; }
.story .aside { color: var(--muted); font-size: 16px; }
.story .chips { margin-top: 18px; }

.story.solo p, .story.solo ol { max-width: 40em; }
.story ol { margin: 0 0 16px; padding-left: 22px; font-size: 18px; }
.story li { margin-bottom: 8px; }

#courses { margin-top: 32px; }


#courses .phone.cut { max-height: 560px; -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }

.program-page .phone { margin: 28px auto 8px; width: min(100%, 260px); }

h1, .sheet h2, .sheet .story h3, .hero .kicker { text-wrap: balance; }
@media (min-width: 820px) {
  .story { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; margin-top: 72px; }
  .story.flip { grid-template-columns: 300px minmax(0, 1fr); }
  .story.flip .phone { order: -1; }
  
  .story.solo { grid-template-columns: minmax(0, 1fr); }
}


.lockscreen {
  aspect-ratio: 720 / 1560; padding: 64px 14px 0; border-radius: 0 0 31px 31px;
  background: linear-gradient(170deg, #2d5547 0%, #183c32 45%, #0f2721 100%); color: var(--paper); text-align: center;
}
.lock-time { font: 300 62px/1 var(--sans); letter-spacing: -.02em; }
.lock-date { margin-top: 6px; color: var(--soft); font-size: 14px; }
.notif {
  display: grid; gap: 2px; margin-top: 46px; padding: 12px 14px 14px; border-radius: 20px;
  background: rgba(250, 248, 240, .95); color: var(--ink); font-size: 14px; text-align: left;
}
.notif-app { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.notif-app img { width: 16px; height: 16px; border-radius: 4px; }
.notif strong { font-size: 15px; font-weight: 700; }


.grid + .quiet { margin: 14px 0 0; }


.invite {
  display: grid; gap: 4px 48px; margin-top: 72px; padding: 28px 22px 14px;
  border-radius: 20px; background: var(--celadon); color: var(--forest);
}
.invite h2 { margin-top: 0 !important; }
.invite p, .invite ol { max-width: 34em; font-size: 17px; }
.invite ol { margin: 0 0 14px; padding-left: 22px; }
.invite li { margin-bottom: 8px; }
.invite .aside { color: var(--accent); font-size: 15px; }
@media (min-width: 820px) {
  .invite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 36px 40px 22px; }
  
  .invite > div + div { padding-top: 48px; }
}


.founder { max-width: 36em; margin: 0 auto; text-align: center; }
.founder h2::after { content: "“"; display: block; margin: 26px 0 -20px; color: var(--brass); font: 400 80px/.5 var(--serif); }
.founder p { margin: 0 0 14px; color: var(--ink); font: 400 20px/1.5 var(--serif); letter-spacing: -.01em; }
.founder .sign { margin-top: 18px; color: var(--accent); font: 650 16px/1.4 var(--sans); letter-spacing: 0; }


.closing { margin-top: 72px; padding: 36px 24px; border-radius: 24px; background: var(--forest); color: var(--paper); text-align: center; }
.closing h2 { margin: 0 0 8px !important; }
.closing p { margin: 0 0 20px; color: var(--soft); }
.closing a { color: var(--paper); }
.closing .share { margin: 18px 0 0; }



.badge { display: inline-block; padding: 3px 11px; border-radius: 20px; background: var(--celadon); color: var(--forest); font-size: 13.5px; font-weight: 650; }
.program-head { padding-top: 26px; padding-bottom: 30px; }
.program-head h1 { margin: 14px 0 8px; font-size: clamp(32px, 7vw, 46px); line-height: 1.08; overflow-wrap: anywhere; }
.program-head .about { margin: 0 0 12px; color: var(--soft); overflow-wrap: anywhere; }
.program-head .load { margin: 0; font-weight: 650; }
.tasks { margin: 0; padding: 0; list-style: none; }
.tasks li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.tasks strong { display: block; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.tasks .rhythm { display: block; margin-top: 2px; color: var(--accent); font-size: 15px; font-weight: 600; }
.tasks .note { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; white-space: pre-line; }
.take { margin-top: 28px; padding: 20px; border-radius: 18px; background: var(--celadon); color: var(--forest); }
.take p { margin: 0 0 12px; }
.take .cta { margin: 4px 0 8px; }
.code { color: var(--forest); font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.quiet { color: var(--muted); font-size: 15px; }
.state { margin: 40px 0; font-size: 18px; }
#program > h2:first-child { margin-top: 32px; }



.program-page > .intro { margin-top: 28px; }
.program-page h2 { margin-top: 48px; }
.program-page h3 { margin-top: 30px; }
.program-page .prose { padding-top: 0; }
.chips a { color: inherit; text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.chips.links li { padding: 0; }
.chips.links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; }
.program-list { margin: 28px 0 0; padding: 0; list-style: none; }
.program-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.program-list a { font: 510 23px/1.25 var(--serif); letter-spacing: -.03em; }
.program-list .about { display: block; margin-top: 4px; color: var(--muted); }
.program-list .rhythm { display: block; margin-top: 2px; color: var(--accent); font-size: 15px; font-weight: 600; }
.hero .kicker { display: block; margin-bottom: 16px; color: var(--brass); font: 650 17px/1.4 var(--sans); letter-spacing: 0; }



button.cta { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.cta.danger { background: #a3352b; color: #fff !important; }
.cta.danger:hover { background: #8c2c23; }
button.plain { min-height: 48px; padding: 0 16px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#fates { padding-left: 20px; }




.prose .checklist { margin: 0 0 8px; padding: 0; list-style: none; }
.print-only { display: none; }
.checklist li { display: flex; align-items: flex-end; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.checklist li span { flex: 1; }
.checklist li::after { content: ""; flex: 0 0 5.5em; height: 1.3em; border-bottom: 1.5px dotted var(--muted); }
.checklist-head { display: flex; justify-content: space-between; margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; }

.printable .no-print button.plain { display: block; margin-top: 10px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--accent); }

@media screen { .printable h3:not(:first-of-type) + .checklist-head { display: none; } .checklist li { padding: 6px 0; } }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .guide .band, .guide .foot, .guide main > :not(.printable), .no-print { display: none !important; }
  .guide .printable h2 { margin: 0 0 6pt; font-size: 17pt; }
  .guide .printable h3 { margin: 12pt 0 2pt; font-size: 12pt; }
  .checklist li { padding: 4pt 0; break-inside: avoid; }
  .print-only { display: block; margin-top: 14pt; color: #555; font-size: 9pt; }
  
  body { line-height: 1.35; }
  .prose .checklist li { margin: 0; padding: 3pt 0; }
  .checklist li::after { flex-basis: 9em; height: 1.1em; }
  .guide .printable h3 { margin-top: 10pt; break-after: avoid; }
  .checklist-head { break-after: avoid; }
}
