@font-face {
  font-family: Newsreader;
  src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("/assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf5eb;
  --ink: #392829;
  --muted: #6a574f;
  --accent: #682638;
  --primary: #602333;
  --on-primary: #fff9ed;
  --line: #d5c8b8;
  --tint: #efe5d7;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #211b1c;
    --ink: #f5ebdc;
    --muted: #c9b7ab;
    --accent: #edb9ad;
    --primary: #ebc0ac;
    --on-primary: #3e1923;
    --line: #51433e;
    --tint: #302726;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .24em; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #eac9ba; color: #392829; }
.wrap { width: min(100% - 8vw, 1264px); margin-inline: auto; }
.sr-only, .skip:not(:focus), .choices input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; padding: 12px 16px; background: var(--bg); z-index: 5; }
.masthead, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead { min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img, .download-intro img { border-radius: 23%; }
.brand span { font: 470 34px/1 Newsreader, Georgia, serif; letter-spacing: -.065em; padding-top: 3px; }
.masthead nav, footer div { display: flex; gap: 32px; align-items: center; }
nav a, footer a { font-size: .9rem; font-weight: 560; }
.nav-get { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.arrow-down { position: relative; display: inline-block; width: 12px; height: 14px; margin-inline: 1px; }
.arrow-down::before, .arrow-down::after { content: ""; display: block; position: absolute; }
.arrow-down::before { width: 0; height: 11px; left: 5px; top: 0; border-left: 1.6px solid; }
.arrow-down::after { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); top: 3px; left: 2px; }

.opening { display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: clamp(35px, 5vw, 84px); padding-block: clamp(56px, 7.5vw, 108px); }
.intro h1 { max-width: 10.4ch; font: 440 clamp(60px, 6.6vw, 96px)/.97 Newsreader, Georgia, serif; letter-spacing: -.062em; }
.intro h1 em { display: inline-block; color: var(--accent); font-weight: 410; }
.intro > p { max-width: 43ch; margin-top: 26px; color: var(--muted); font-size: clamp(16px, 1.32vw, 19px); line-height: 1.56; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 25px; margin-top: 29px; }
.button { padding: 14px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; font-weight: 650; font-size: .92rem; border-radius: 5px; }
.primary { background: var(--primary); color: var(--on-primary); }
.primary:hover { text-decoration: none; filter: brightness(1.13); }
.example-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; font-weight: 570; }
.example-link span { color: var(--accent); font-size: 1.15rem; }

.example {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff5e6; background: #581e30; border-radius: 7px;
  padding: clamp(26px, 3.5vw, 49px) clamp(22px, 3.3vw, 48px) 20px;
  box-shadow: inset 0 0 0 1px #ffffff13;
}
.rings { position: absolute; z-index: -1; width: 129%; aspect-ratio: 1; top: -42%; right: -51%; background: url("/assets/grain-rings.png") center / contain no-repeat; opacity: .125; transform: rotate(-12deg); }
.example fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.example-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 29px; }
.small-label, .draft h2 { font-size: .71rem; font-weight: 680; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.small-label { color: #fff1df; }
.choices { display: inline-flex; padding: 3px; border: 1px solid #bc9396; border-radius: 7px; background: #531e2ed9; }
.choices label { position: relative; display: flex; }
.choices span { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 4px; padding-inline: clamp(9px, 1.1vw, 16px); font-size: .84rem; font-weight: 560; cursor: pointer; }
.choices input:checked + span { background: #f7e6d4; color: #51252d; }
.choices label:hover input:not(:checked) + span { background: #ffffff1a; }
.choices input:focus-visible + span { outline: 2px solid #fff6e8; outline-offset: 4px; }
.paper { position: relative; display: grid; background: #fff9ef; color: #412c30; border-radius: 2px; box-shadow: 0 9px 22px #290b1b4a; }
.paper::before, .paper::after { content: ""; z-index: -1; position: absolute; inset: 0; border-radius: 2px; }
.paper::before { background: #c9a98d; transform: rotate(2deg) translate(2px, 3px); }
.paper::after { background: #ecddca; transform: rotate(-1.4deg) translate(-1px, 2px); }
.draft { grid-area: 1/1; visibility: hidden; padding: clamp(24px, 2.6vw, 38px); }
.example:has(input[value="team"]:checked) [data-draft="team"],
.example:has(input[value="jira"]:checked) [data-draft="jira"],
.example:has(input[value="blog"]:checked) [data-draft="blog"] { visibility: visible; }
.draft h2 { color: #776058; }
.before { margin-top: 10px; font: 400 clamp(15px, 1.27vw, 18px)/1.52 "DM Sans", system-ui, sans-serif; color: #675954; }
.after { position: relative; margin-top: 22px; padding-top: 21px; border-top: 1px solid #d5c6b5; }
.after h2 { color: #782e41; }
.after p { margin-top: 11px; font: 440 clamp(23px, 2.12vw, 31px)/1.16 Newsreader, Georgia, serif; letter-spacing: -.037em; }
.example-caption { font-size: .72rem; letter-spacing: .018em; color: #efd9c9; margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .choices span { transition: background .16s, color .16s; }
  .example:has(input[value="team"]:checked) [data-draft="team"] .after p,
  .example:has(input[value="jira"]:checked) [data-draft="jira"] .after p,
  .example:has(input[value="blog"]:checked) [data-draft="blog"] .after p { animation: appear .22s ease-out; }
  @keyframes appear { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}

.setup { border-top: 1px solid var(--line); padding: clamp(44px, 5.8vw, 81px) 0; display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(35px, 5vw, 84px); }
.setup-intro h2, .download-intro h2 { font: 455 clamp(37px, 3.7vw, 56px)/1.03 Newsreader, Georgia, serif; letter-spacing: -.05em; }
.setup-intro h2 { max-width: 12ch; }
.setup-intro > p, .steps p, .privacy p { color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.58; }
.setup-intro > p { margin-top: 14px; max-width: 35ch; }
.steps { list-style: none; counter-reset: step; margin: 2px 0 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 29px 1fr; gap: 14px; align-items: baseline; }
.steps li + li { margin-top: 24px; }
.steps li::before { content: counter(step) "."; color: var(--accent); font: italic 450 22px/1 Newsreader, Georgia, serif; }
.steps h3 { font: 520 24px/1.18 Newsreader, Georgia, serif; letter-spacing: -.035em; }
.steps p { margin-top: 4px; max-width: 49ch; }
strong { font-weight: 650; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--tint); padding: clamp(24px, 3.4vw, 46px); border-radius: 5px; }
.download-intro { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 24px); }
.download-intro h2 { font-size: clamp(28px, 2.7vw, 42px); }
.download-intro p, .release p, .retry, .release noscript { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.download-intro p { margin-top: 4px; }
.release { text-align: right; }
.release p:not(:first-child) { margin-top: 5px; }
.retry { color: var(--accent); padding: 5px 0; text-decoration: underline; background: transparent; border: 0; }
.privacy { max-width: 760px; padding: 23px 0; }
.privacy summary { cursor: pointer; display: inline-flex; align-items: center; gap: 14px; font-weight: 550; font-size: .92rem; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary span { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.4px 1.4px 0; transform: translateY(-1.5px) rotate(45deg); }
.privacy[open] summary span { transform: translateY(1.5px) rotate(225deg); }
.privacy p { margin-top: 9px; max-width: 65ch; }
footer { margin-top: 12px; border-top: 1px solid var(--line); padding-block: 24px 38px; color: var(--muted); }
footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: .85rem; }

@media (max-width: 960px) and (min-width: 781px) {
  .opening, .setup { grid-template-columns: .85fr 1.15fr; gap: 30px; }
  .intro h1 { font-size: clamp(52px, 6.5vw, 62px); }
  .example { padding-inline: 22px; }
  .example-controls { flex-wrap: wrap; row-gap: 7px; }
  .draft { padding: 23px; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 44px, 610px); }
  .masthead { min-height: 73px; }
  .masthead nav { gap: 22px; }
  .opening, .setup { grid-template-columns: 1fr; }
  .opening { padding-block: 47px 46px; gap: 34px; }
  .intro h1 { font-size: clamp(58px, 10.8vw, 76px); max-width: 12ch; }
  .intro > p { margin-top: 18px; max-width: 46ch; }
  .hero-actions { margin-top: 18px; }
  .example { padding: 26px 25px 16px; }
  .example-controls { margin-bottom: 23px; }
  .example-caption { margin-top: 17px; }
  .choices span { min-height: 38px; padding-inline: 15px; }
  .draft { padding: 26px; }
  .after p { font-size: clamp(25px, 4.9vw, 30px); }
  .setup { gap: 25px; padding-block: 38px; }
  .setup-intro h2 { max-width: none; }
  .setup-intro > p { max-width: 43ch; }
  .download { align-items: flex-start; flex-direction: column; gap: 15px; }
  .release { text-align: left; }
  footer div { gap: 18px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 64px; }
  .nav-setup { display: none; }
  .brand { gap: 8px; }
  .brand img { width: 33px; height: 33px; }
  .brand span { font-size: 29px; }
  .opening { padding-top: 37px; gap: 25px; }
  .intro h1 { font-size: clamp(48px, 12.8vw, 60px); }
  .example { padding: 18px 15px 14px; }
  .example-controls { margin-bottom: 17px; gap: 7px; }
  .small-label, .draft h2 { font-size: .65rem; }
  .choices span { padding-inline: 11px; }
  .draft { padding: 22px 19px; }
  .after { margin-top: 16px; padding-top: 16px; }
  .example-caption { margin-top: 13px; }
  .download-intro img { width: 48px; height: 48px; }
}
@media (max-width: 350px) {
  .example-controls { flex-wrap: wrap; }
  .choices span { padding-inline: 10px; }
  .steps li { grid-template-columns: 21px 1fr; gap: 8px; }
}
@media (forced-colors: active) {
  .choices input:checked + span, .primary { outline: 2px solid; }
  .example, .paper, .download { border: 1px solid; }
}
