@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Space+Grotesk:wght@600&display=swap');
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  color-scheme: light;
  --surface: #fff2f1;
  --text: #3a2434;
  --accent: #ff8568;
  --muted: #6b5a66;
  --line: #dccbd0;
  --sage: #7d9a78;
  --sage-deep: #4f6b4c;
  --sage-tint: #e3ebdf;
  --sage-line: #b9cab4;
  --display: "Space Grotesk", sans-serif;
  font: 400 100%/1.55 Geist, system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
}
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.5vw, 6.1rem); letter-spacing: -.065em; line-height: 1; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.055em; line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.8rem); letter-spacing: -.04em; line-height: 1.18; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
button, select, input { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.shell { width: min(78rem, calc(100% - clamp(2.25rem, 8vw, 8rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .75rem; background: white; z-index: 60; }
.skip:focus { top: .5rem; }
.header-inner, .footer-inner, nav, .actions, .section-head { display: flex; align-items: center; gap: 1.25rem; }
html { scroll-padding-top: 6rem; }
/* Pages never scroll sideways on a phone: long words and links wrap, and anything that still pokes out is clipped. */
body { overflow-x: clip; overflow-wrap: break-word; }
/* Floating liquid-glass nav. The header itself ignores pointer events so the page beside the pill stays clickable. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: max(.75rem, env(safe-area-inset-top)); pointer-events: none; }
.header-inner { pointer-events: auto; width: min(78rem, calc(100% - clamp(1rem, 4vw, 4rem))); margin-inline: auto; min-height: 3.75rem; padding: .4rem .45rem .4rem 1.25rem; border-radius: 999px; }
#content { padding-top: 4.75rem; }
.glass {
  --glass-bg: 255 249 248;
  --glass-alpha: .55;
  --glass-blur: 18px;
  --glass-saturate: 1.6;
  background-color: rgb(var(--glass-bg) / var(--glass-alpha));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid rgb(58 36 52 / .08);
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / .7), inset 0 -1px 0 0 rgb(255 255 255 / .1), 0 8px 32px -8px rgb(58 36 52 / .18);
  transition: background-color .3s, box-shadow .3s;
}
.scrolled .glass { --glass-alpha: .72; box-shadow: inset 0 1px 0 0 rgb(255 255 255 / .7), inset 0 -1px 0 0 rgb(255 255 255 / .1), 0 12px 40px -12px rgb(58 36 52 / .3); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { --glass-alpha: .96; } }
@media (prefers-reduced-transparency: reduce) { .glass { --glass-alpha: .98; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .glass { transition: none; } }
.brand { display: inline-flex; gap: .22em; align-items: center; line-height: 1; letter-spacing: -.07em; font-size: 2rem; text-decoration: none; }
.brand img { width: 1.15em; height: 1.15em; margin-right: .06em; }
.brand i { font-style: normal; color: var(--accent); }
nav { margin-left: auto; gap: clamp(.1rem, 1vw, .5rem); }
nav a, .header-cta, .text-link { font-weight: 600; }
nav a, .header-cta { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a { padding-inline: .9rem; border-radius: 999px; transition: background-color .2s; }
nav a:hover { text-decoration: none; background: rgb(58 36 52 / .07); }
nav a[aria-current] { background: var(--sage-tint); }
.header-cta { margin-left: .4rem; padding-inline: 1.2rem; border-radius: 2rem; background: var(--text); color: var(--surface); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.6rem, 6vw, 6rem); }
.hero h1 { font-size: clamp(3rem, 6.8vw, 6.5rem); }
.period { color: var(--accent); }
.hero-lead, .intro { font-size: clamp(1.12rem, 1.8vw, 1.4rem); color: var(--muted); line-height: 1.5; }
.hero-lead { max-width: 36ch; margin-block: 1.25rem 1.7rem; }
.actions { flex-wrap: wrap; }
.button, .filters button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .65rem 1.1rem; background: var(--accent); color: var(--text); border: 1px solid transparent; border-radius: .55rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.button:hover:not(:disabled) { text-decoration: underline; }
.button:disabled { opacity: .65; cursor: default; }
.secondary { background: transparent; border-color: currentColor; }
.landscape { min-width: 0; }
.horizon { padding: .8rem .8rem 0 0; background: var(--accent); border-radius: 12rem 1rem 1rem 1rem; overflow: hidden; }
.horizon img { width: 100%; aspect-ratio: 1.48; height: auto; display: block; object-fit: cover; border-radius: inherit; }
figcaption { margin-top: .5rem; font-size: .8rem; color: var(--muted); text-align: right; text-wrap: balance; }
.banner { margin-top: 2rem; }
.banner .horizon img { aspect-ratio: 2.2; object-position: 50% 40%; }
.practice { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); background: var(--text); color: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 1.35rem; }
.practice h2 { color: var(--accent); }
.practice p { margin-top: .7rem; max-width: 29ch; }
.example { border-left: 1px solid #8d7181; padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.example blockquote { margin: .8rem 0 1rem; line-height: 1.65; }
.example .text-link { color: var(--accent); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: 1.4rem; }
.filters button { background: transparent; border-color: currentColor; color: inherit; border-radius: 2rem; }
.filters [aria-pressed=true] { background: var(--text); color: var(--surface); }
.practice .filters [aria-pressed=true] { background: var(--accent); color: var(--text); border-color: var(--accent); }
.collection, .interior { padding-block: clamp(2.7rem, 6vw, 5.5rem); }
.section-head, .footer-inner { justify-content: space-between; }
.section-head { margin-bottom: 1.5rem; }
.guide-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1.5rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-grid { border-top: 1px solid var(--line); }
.guide-card:hover { text-decoration: none; }
.guide-card:hover h3 { text-decoration: underline; }
.guide-card p { margin-top: .4rem; color: var(--muted); }
.tag, .eyebrow { font-weight: 600; font-size: .9rem; color: var(--sage-deep); }
.practice .tag, .practice .eyebrow { color: inherit; }
.open-guide { font-size: 1.45rem; }
.newsletter { background: var(--text); color: var(--surface); padding-block: clamp(2.7rem, 6vw, 5.5rem); }
.newsletter-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 8vw, 7rem); }
.newsletter h2 { color: var(--accent); margin-bottom: 1rem; }
.newsletter-inner > div > p { max-width: 39ch; }
.newsletter form { display: grid; gap: .5rem; }
.newsletter input, .newsletter select { width: 100%; padding: .7rem; border-radius: .45rem; background: var(--surface); color: var(--text); }
.newsletter .button { justify-self: start; }
.form-note, .signup-status { font-size: .9rem; }
.signup-done { align-self: start; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.2rem; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .55); animation: done-rise .45s ease both; }
.done-head { display: flex; gap: 1rem; align-items: flex-start; }
.done-check { flex-shrink: 0; width: 3rem; height: 3rem; }
.done-check circle { fill: var(--sage); }
.done-check path { fill: none; stroke: var(--surface); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: done-draw .45s .3s ease forwards; }
.signup-done h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--text); margin-bottom: .3rem; }
.signup-done h3:focus { outline: none; }
.signup-done strong { overflow-wrap: anywhere; }
.done-hint { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.preview-note { margin-top: .8rem; padding: .5rem .75rem; border-radius: .5rem; background: #ffe2d9; font-size: .9rem; }
.done-thanks { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 600; }
.profile-form { display: grid; gap: 1rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.profile-title { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.03em; }
.profile-title span { margin-left: .5rem; font-family: Geist, system-ui, sans-serif; font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.profile-form fieldset { margin: 0; padding: 0; border: 0; }
.profile-form legend, .profile-form label { font-weight: 600; font-size: .95rem; }
.profile-form legend { margin-bottom: .5rem; }
.profile-form > label, .profile-row > label { display: grid; gap: .35rem; }
.newsletter .profile-form input:not([type=radio]), .profile-form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: #fffaf9; color: var(--text); font: inherit; font-weight: 400; font-size: 1rem; }
.profile-form textarea { resize: vertical; min-height: 5.5rem; }
.choice-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .92rem; }
.choice input:hover + span { border-color: var(--text); }
.choice input:checked + span { background: var(--text); border-color: var(--text); color: var(--surface); }
.choice input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 2px; }
.profile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-actions { display: flex; align-items: center; gap: 1.2rem; }
.text-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.profile-error { color: #9c2f1c; font-weight: 600; font-size: .9rem; }
@keyframes done-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes done-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .signup-done { animation: none; } .done-check path { animation: none; stroke-dashoffset: 0; } }
.footer-inner { flex-wrap: wrap; padding-block: 2rem; }
.footer-inner div:last-child { display: flex; gap: 1rem; }
.powered { display: flex; align-items: center; gap: .45rem; }
.vantage-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.vantage-link:hover { text-decoration: underline; }
.vantage-link img { height: 1.6rem; width: auto; }
.reading { max-width: 48rem; }
.interior h1 { margin-bottom: 1.3rem; }
.reading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-block: 2rem .6rem; }
.reading p { margin-bottom: .85rem; }
.reading .eyebrow { margin-top: 1.6rem; }
.interior .intro { max-width: 55ch; }
.prompt { padding: clamp(1rem, 3vw, 2rem); background: #fffaf9; border-left: 4px solid var(--sage); }
.prompt [role=status] { margin-left: .7rem; }
.latest { padding-top: 0; }
.note .banner { margin-block: 1.8rem 2.2rem; }
.guide-card .note-meta { margin-top: .5rem; font-size: .85rem; }
.feed-link { margin-top: 1.5rem; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.notes-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-block: 1.6rem 1.2rem; }
.notes-tools .filters { margin: 0; }
.notes-search input { width: 100%; max-width: 36rem; min-height: 48px; padding: .7rem 1.1rem .7rem 2.7rem; border: 1px solid var(--line); border-radius: 999px; background: #fffaf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b5a66' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 1.05rem center; color: var(--text); font-size: 1rem; }
.notes-search input::placeholder { color: var(--muted); }
.notes-search input:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.topic-chips { position: relative; display: flex; flex-wrap: wrap; gap: .45rem; }
.topic-chips button { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .85rem; border: 1px solid var(--sage-line); border-radius: 999px; background: transparent; color: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.topic-chips button:hover { border-color: var(--sage-deep); }
.topic-chips button[aria-pressed=true] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--surface); }
.chip-count { font-size: .78rem; opacity: .65; }
.results-count { display: flex; align-items: center; gap: .9rem; color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }
.clear-filters { padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.empty-notes { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.card-tags { display: inline-flex; flex-wrap: wrap; gap: .1rem .6rem; margin-left: .8rem; color: var(--sage-deep); }
.note-topics { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.note-topics a { padding: .3rem .8rem; border: 1px solid var(--sage-line); border-radius: 999px; font-size: .9rem; text-decoration: none; }
.note-topics a:hover { border-color: var(--sage-deep); background: var(--sage-tint); }
.all-topics { justify-self: start; font-size: .95rem; }
.topic-page .eyebrow { margin-block: 1.4rem .4rem; }
.topic-page h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-block: 2.4rem .8rem; }
.topic-index { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); border-top: 1px solid var(--line); }
.topic-index li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
.topic-index a { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.03em; }
.topic-index span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.draft { display: inline-block; margin-right: .6rem; padding: .1rem .5rem; border-radius: 2rem; background: var(--text); color: var(--surface); }
.note .eyebrow { margin-block: 1.4rem .6rem; }
.note-body { font-size: 1.08rem; line-height: 1.7; }
.note-body h2 { margin-block: 2.2rem .6rem; }
.note-body h3 { margin-block: 1.6rem .5rem; }
.note-body p, .note-body ul, .note-body ol { margin-bottom: 1rem; }
.note-body ul, .note-body ol { padding-left: 1.3rem; }
/* Tailwind's base styles drop list markers; notes need their numbers and bullets back. */
.note-body ol, .sources ol { list-style: decimal; }
.note-body ul, .tldr ul { list-style: disc; }
.note-body sup { line-height: 0; font-size: .72em; }
.note-body sup a { padding-inline: .12em; font-weight: 600; text-decoration: none; }
.note-body sup a:hover, .note-body sup a:focus-visible { text-decoration: underline; }

/* TL;DR at the top and Sources at the bottom: collapsed boxes the reader opens. */
.tldr, .sources { border: 1px solid var(--line); border-radius: .8rem; padding: 0 1rem; }
.tldr { margin-block: 1.4rem 1.8rem; }
.sources { margin-top: 2.5rem; }
.tldr summary, .sources summary { display: flex; align-items: center; gap: .6rem; min-height: 48px; cursor: pointer; list-style: none; font-weight: 700; }
.tldr summary::-webkit-details-marker, .sources summary::-webkit-details-marker { display: none; }
.tldr summary::after, .sources summary::after { content: 'Show'; margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--muted); }
.tldr[open] summary::after, .sources[open] summary::after { content: 'Hide'; }
.sources summary h2 { margin: 0; font-size: 1.15rem; }
.sources-count { padding: .05rem .55rem; border-radius: 1rem; background: var(--line); font-size: .8rem; }
.tldr ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.tldr li { margin-bottom: .4rem; }
.sources ol { margin: 0 0 1rem; padding-left: 1.6rem; }
.sources li { margin-bottom: .7rem; padding: .2rem .3rem; border-radius: .4rem; overflow-wrap: anywhere; }
.source-back { margin-left: .35rem; padding: .1rem .35rem; text-decoration: none; font-weight: 700; }
.source-flash { animation: source-flash 1.8s ease-out; }
@keyframes source-flash { from { background: color-mix(in srgb, var(--accent) 40%, transparent); } to { background: transparent; } }
.source-return { position: fixed; z-index: 40; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); min-height: 44px; padding: .6rem 1.1rem; border: 0; border-radius: 2rem; background: var(--text); color: var(--surface); font: inherit; font-weight: 600; box-shadow: 0 6px 20px rgb(0 0 0 / .2); cursor: pointer; white-space: nowrap; }
.source-return[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .source-flash { animation: none; outline: 2px solid var(--accent); } }

/* Share on X: the X logo, and the chooser of lines to post. */
.x-logo { width: 1em; height: 1em; margin-right: .5rem; fill: currentColor; flex: none; }
.x-share-chooser { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.x-share-chooser legend { padding-inline: .3rem; font-weight: 700; }
.x-share-chooser label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.x-share-chooser input[type=radio] { margin-top: .3rem; flex: none; accent-color: var(--text); }
.x-share-chooser textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .5rem; font: inherit; background: #fff; color: var(--text); }
.x-share-chooser .button { justify-self: start; }
.note-body li { margin-bottom: .35rem; }
.note-body blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--accent); color: var(--muted); }
.note-body img, .note-body svg { max-width: 100%; height: auto; border-radius: .8rem; }
.note-body figure { margin-block: 1.8rem; }
.note-body code { padding: .1em .35em; border-radius: .3rem; background: #fffaf9; font-size: .92em; }
.note-body pre { overflow-x: auto; padding: 1rem; border-radius: .6rem; background: var(--text); color: var(--surface); }
.note-body pre code { background: none; padding: 0; }
.note-body table { display: block; overflow-x: auto; border-collapse: collapse; margin-bottom: 1rem; }
.note-body th, .note-body td { padding: .5rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
/* Byline, and people in a note linked to their X profiles (first mention only). */
.byline { margin: .2rem 0 .8rem; color: var(--muted); font-size: .95rem; }
.byline a { color: inherit; font-weight: 600; }
.x-person { overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--muted); }
.x-person:hover .x-handle { color: inherit; }
.x-handle { font-size: .85em; color: var(--muted); font-weight: 500; }
.note-share { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.founder { display: grid; grid-template-columns: minmax(15rem, 25rem) 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.portrait-frame { padding: .8rem 0 0 .8rem; background: var(--accent); border-radius: 1rem 10rem 1rem 1rem; overflow: hidden; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; object-fit: cover; border-radius: inherit; }
.founder-copy { max-width: 40rem; }
.founder-copy h2 { margin-block: .4rem 1rem; }
.founder-copy p:not(.eyebrow) { margin-bottom: .85rem; }
.projects { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; border-top: 1px solid var(--line); }
.projects li { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.projects a { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.03em; text-decoration: none; }
.projects a:hover { text-decoration: underline; }
.project-icon { flex-shrink: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: .35rem; border: 1px solid var(--line); border-radius: .75rem; background: #fffaf9; }
.project-icon img { width: 100%; height: 100%; object-fit: contain; }
.projects p { margin: 0; color: var(--muted); }
@media(max-width: 720px) {
  .hero, .practice, .newsletter-inner { grid-template-columns: 1fr; }
  .hero { gap: 1.7rem; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.4rem); }
  .horizon img { aspect-ratio: 2.5; object-position: 50% 62%; }
  .banner .horizon img { aspect-ratio: 1.5; }
  .header-inner { min-height: 3.25rem; padding: .3rem .35rem .3rem .95rem; }
  #content { padding-top: 4rem; }
  .header-cta { display: none; }
  .brand { font-size: 1.45rem; }
  nav a { padding-inline: .6rem; font-size: .95rem; }
  .example { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid #8d7181; }
  .practice .filters { margin-bottom: 0; }
  .guide-card { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
  .guide-card .tag { grid-column: 1/-1; }
  .notes-tools .filters { flex-wrap: wrap; gap: .4rem; }
  .notes-tools .filters button { flex: 1 1 auto; padding-inline: .55rem; font-size: .9rem; white-space: nowrap; }
  /* Four level buttons (All levels, Beginner, Intermediate, Advanced) don't fit one row on a phone: a clean 2 by 2 grid, not 3 and 1. */
  .filters:has(> button:nth-child(4)) { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
  .filters:has(> button:nth-child(4)) button { width: 100%; padding-inline: .5rem; font-size: .92rem; white-space: nowrap; }
  .topic-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(1.125rem, 4vw, 4rem)); padding-inline: clamp(1.125rem, 4vw, 4rem); scrollbar-width: none; }
  .topic-chips::-webkit-scrollbar { display: none; }
  .card-tags { display: flex; margin: .3rem 0 0; }
  .founder { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; }
  .portrait { max-width: 22rem; }
  .projects li { grid-template-columns: 1fr; gap: .25rem; }
}
@media(max-width: 359px) {
  .notes-tools .filters { gap: .3rem; }
  .notes-tools .filters button { padding-inline: .4rem; font-size: .8rem; }
}

/* Comments (src/comments.jsx) */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments h2 .count { color: var(--muted); font-weight: 500; }
.comments-framing { margin: .8rem 0 1.6rem; padding: 1rem 1.2rem; border-radius: .9rem; background: var(--sage-tint); border: 1px solid var(--sage-line); }
.comments-framing p { margin: 0 0 .4rem; font-weight: 600; }
.comments-framing ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.comments .muted, .account .muted, .comment .muted { color: var(--muted); }
.comment-new { margin-bottom: 1.8rem; }
.signed-in { margin-bottom: .6rem; font-size: .95rem; }
.composer textarea, .signin input:not([type=checkbox]), .account-box input:not([type=checkbox]) { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: #fffaf9; color: var(--text); font: inherit; font-size: 1rem; }
.composer textarea { resize: vertical; min-height: 5.5rem; }
.composer-row { display: flex; gap: .9rem; align-items: center; justify-content: flex-end; margin-top: .6rem; }
.composer-count { margin-right: auto; color: var(--muted); font-size: .85rem; }
.composer-count.low { color: #a3402a; }
.signin form, .account-box { display: grid; gap: .55rem; }
.signin label, .account-box label { font-weight: 600; font-size: .95rem; }
.signin-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signin-row input { flex: 1 1 14rem; }
.signin .check, .account-box .check { display: flex; gap: .55rem; align-items: center; font-weight: 500; }
.signin-error { color: #a3402a; font-weight: 600; font-size: .95rem; }
.signin-sent, .signin-new { margin: 0; }
.comment-notice { padding: .8rem 1rem; border-radius: .7rem; background: var(--sage-tint); }
.comment-list { display: grid; gap: 1.2rem; }
.thread { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.replies { margin: .8rem 0 0 1.2rem; padding-left: 1rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.comment header { display: flex; flex-wrap: wrap; gap: .45rem; align-items: baseline; font-size: .95rem; }
.comment header time { color: var(--muted); font-size: .88rem; }
.comment.held, .comment.hidden { opacity: .8; }
.comment.placeholder p { color: var(--muted); font-style: italic; margin: 0; }
.comment-body p { margin: .35rem 0; overflow-wrap: anywhere; }
.reply-to { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: var(--text); color: var(--surface); font-size: .75rem; font-weight: 600; }
.badge.waiting { background: #ffe1d8; color: var(--text); }
.badge.hidden { background: var(--line); color: var(--text); }
.comment-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .3rem; font-size: .9rem; }
.comment-actions .text-button { font-weight: 500; text-decoration: none; color: var(--muted); min-height: 32px; }
.comment-actions .text-button:hover, .comment-actions .text-button.strong { color: var(--text); text-decoration: underline; }
.like { display: inline-flex; gap: .3rem; align-items: center; min-height: 32px; padding: 0 .2rem; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.like svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; }
.like.on { color: #c4472c; }
.like.on svg { fill: currentColor; }
.like:disabled { cursor: default; }
.account-box { margin: 1.2rem 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: .9rem; }
.account-delete { margin-top: 2rem; }
.account-delete summary { cursor: pointer; color: var(--muted); }
.button.danger { background: #a3402a; color: #fff; }

/* The collection of real ways to use AI (/learn and the homepage), and readers' own ideas */
.uses-lead { color: var(--muted); max-width: 60ch; margin: -.4rem 0 1rem; }
.uses .filters { margin-bottom: .4rem; }
.learn-share { margin: 1rem 0 1.8rem; }
.learn-mine { margin: 0 0 .6rem; font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.use-story p { margin-bottom: .85rem; }
.use-steps { display: grid; gap: .7rem; padding-left: 1.3rem; }
.use-steps strong { color: var(--sage-deep); }
.reader-ideas { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.reader-ideas .section-head { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.reader-ideas > .muted, .reader-ideas .muted { color: var(--muted); }
.idea-new { margin: 1.2rem 0 1.6rem; display: grid; gap: .8rem; justify-items: start; }
.idea-new > * { width: 100%; }
.idea-new > .text-button { width: auto; }
.idea-form { display: grid; gap: .55rem; }
.idea-form fieldset { border: 0; padding: 0; margin: 0; }
.idea-form legend, .idea-form label { font-weight: 600; font-size: .95rem; }
.idea-form input:not([type=radio]), .idea-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: #fffaf9; color: var(--text); font: inherit; font-size: 1rem; }
.idea-form textarea { resize: vertical; min-height: 7rem; }
.idea h3 { margin: .45rem 0 .2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.idea header .tag { font-size: .85rem; }
