:root {
  color-scheme: light;
  --white: #fff;
  --forest: #123c34;
  --ink: #17352f;
  --muted: #536660;
  --mint: #eaf5f1;
  --mint-strong: #d9eee5;
  --line: #d6e2dd;
  --coral: #b24434;
  --focus: #17674f;
  --page-width: 1200px;
  --gutter: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; min-width: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button:not(:disabled), summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
:target { scroll-margin-top: 28px; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--forest);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: 64px; line-height: 1.08; }
h2 { font-size: 42px; line-height: 1.18; }
h3 { font-size: 25px; line-height: 1.25; }
p { overflow-wrap: anywhere; }
.muted, .small { color: var(--muted); }
.small { font-size: 14px; line-height: 1.6; }
.section-inner { width: min(100%, var(--page-width)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 12px auto auto 12px;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--white); }
.header-inner, .footer-inner, .footer-fine {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.header-inner { min-height: 80px; }
.wordmark {
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.15;
  text-decoration: none;
  color: var(--forest);
}
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.site-header nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-header nav a:hover, .site-footer nav a:hover, .site-header nav .current {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  isolation: isolate;
  height: 660px;
  max-height: calc(100svh - 160px);
  min-height: 440px;
  background: var(--mint);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
/* Also supports a video nested beside the still image inside hero-media. */
.hero-media .hero-video { z-index: 1; }
.hero-video[data-playing="true"] { opacity: 1; visibility: visible; }
.hero-content {
  width: min(100%, 860px);
  margin-inline: auto;
  padding: 72px var(--gutter) 92px;
  text-align: center;
}
.hero h1 { font-size: 80px; line-height: 1.08; }
.hero-tagline { margin-top: 10px; font: 32px/1.3 Georgia, "Times New Roman", serif; color: var(--forest); }
.hero-description { margin-top: 10px; font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 26px;
  border: 1px solid var(--forest);
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.button:hover { background: #215648; border-color: #215648; }
.hero-status { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.motion-toggle {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--forest);
  font-size: 14px;
  line-height: 1.4;
}
.motion-toggle svg { width: 18px; height: 18px; flex: 0 0 18px; }
.motion-toggle:hover:not(:disabled) { background: var(--mint); }
.motion-toggle:disabled { color: var(--muted); }

.experience { padding-top: 48px; padding-bottom: 58px; text-align: center; }
.decorative-art { aspect-ratio: 1; height: auto; object-fit: contain; pointer-events: none; user-select: none; }
.experience-heading { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 1000px; margin: 0 auto 36px; }
.experience-heading h2 { max-width: 730px; }
.experience-intro { max-width: 680px; margin: -12px auto 36px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.feather-art { width: 112px; flex: 0 0 112px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; max-width: 1040px; margin-inline: auto; }
.gallery figure { min-width: 0; }
.screen-button {
  display: block;
  position: relative;
  width: 100%;
  max-width: 270px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  cursor: zoom-in;
}
.screen-surface {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  box-shadow: 0 8px 24px rgb(18 60 52 / 8%);
}
.screen-glare {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 16%) 50%, transparent 70%);
  background-size: 220% 160%;
  background-position: var(--glare-x, 50%) var(--glare-y, 50%);
}
.app-screen {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(18 60 52 / 8%);
}
.screen-surface .app-screen { box-shadow: none; }
.screen-button:hover .app-screen { border-color: #689482; }
.gallery figcaption { margin-top: 22px; }
.gallery figcaption p { max-width: 260px; margin: 9px auto 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.experience-note { margin-top: 38px; color: var(--muted); font-size: 14px; }
.privacy-note { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.guide-band { padding-block: 42px 44px; border-top: 1px solid var(--line); text-align: center; }
.guide-band p { max-width: 640px; margin: 16px auto; color: var(--muted); font-size: 18px; }
.guide-band .text-link { padding-block: 10px; }
.guide-feature { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 64px; max-width: 1050px; }
.portal-art { width: 300px; }
.guide-copy { text-align: left; }
.guide-copy p { margin-inline: 0; }
.beta-band { padding-block: 42px 44px; background: var(--mint); text-align: center; }
.beta-band h2 { margin-bottom: 10px; }
.beta-band p { font-size: 18px; }
.beta-band .beta-status { margin-top: 5px; font-size: 16px; color: var(--muted); }
.beta-band .text-link, .beta-band .button { margin-top: 12px; }
.illustrated-band { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 44px; max-width: 1040px; text-align: left; }
.journal-art { width: 180px; }
.illustrated-band > .feather-art { width: 144px; justify-self: center; }
.text-link { display: inline-block; color: var(--coral); text-decoration-thickness: 1px; }
.site-footer { padding-block: 28px 20px; background: var(--white); }
.site-footer .wordmark { font-size: 34px; }
.footer-brand { min-width: 0; }
.brand-signature { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.brand-signature span { display: inline-block; }
.site-footer nav { gap: 8px 26px; font-size: 14px; color: var(--muted); }
.footer-fine { margin-top: 16px; gap: 8px 24px; color: var(--muted); font-size: 12px; }

.page-heading { max-width: 800px; margin-bottom: 44px; }
.document-intro { margin-top: 20px; font-size: 21px; line-height: 1.55; color: var(--muted); }
.support-page, .beta-page { padding-top: 64px; padding-bottom: 80px; }
.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  justify-content: center;
  align-items: start;
  gap: 64px;
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding: 64px var(--gutter) 80px;
}
.document-nav { padding-top: 8px; }
.document-nav > p { margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.document-nav nav { display: grid; }
.document-nav a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.document-nav a:hover { text-decoration: underline; }
.document { min-width: 0; }
.document h1 { font-size: 56px; }
.updated { margin-top: 20px; font-size: 13px; color: var(--muted); }
.document header { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.document section { margin-top: 34px; }
.document h2 { margin-bottom: 14px; font-size: 29px; line-height: 1.25; }
.document section p + p { margin-top: 16px; }
.document > p:last-child { margin-top: 30px; }
.document section .text-link { overflow-wrap: anywhere; }
.guide-heading { max-width: 1000px; padding-block: 56px 42px; }
.guide-heading h1 { max-width: 850px; font-size: 56px; }
.guide-heading .document-intro { max-width: 760px; }
.guide-art { display: block; height: 200px; overflow: hidden; background: var(--mint); }
.guide-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.guide-layout { padding-top: 42px; }
.guide-document > section:first-child { margin-top: 0; }
.number-themes { margin: 24px 0 0; }
.number-theme { padding-block: 22px; border-top: 1px solid var(--line); }
.number-theme dt { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: baseline; color: var(--forest); }
.theme-number { font: 34px/1.2 Georgia, "Times New Roman", serif; font-variant-numeric: lining-nums; }
.theme-title { font: 24px/1.3 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.number-theme dd { margin: 8px 0 0 132px; }
.number-theme dd .theme-prompt { margin-top: 8px; color: var(--muted); font-style: italic; }
.reflection-prompts { margin: 18px 0; padding-left: 24px; }
.reflection-prompts li { padding-left: 6px; margin-top: 10px; }
.reflection-prompts li::marker { color: var(--focus); }
.reflection-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.reflection-journal { width: 112px; flex: 0 0 112px; }
.reflection-heading h2 { margin-bottom: 0; }
.draft-notice { margin-block: 28px; padding: 16px 20px; border-inline-start: 3px solid #789d8c; background: var(--mint); font-size: 14px; line-height: 1.6; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 64px; }
.support-layout h2 { font-size: 32px; margin-bottom: 24px; }
.faq-section details { border-bottom: 1px solid var(--line); }
.faq-section details:first-of-type { border-top: 1px solid var(--line); }
.faq-section summary { padding: 20px 6px 20px 0; font-size: 17px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.faq-section summary::marker { color: var(--focus); }
.faq-section details[open] summary { color: var(--forest); }
.faq-section details p { padding: 0 18px 22px; color: var(--muted); }
.support-contact { padding-inline-start: 30px; border-inline-start: 1px solid var(--line); }
.support-contact p + p, .support-contact .text-link { margin-top: 16px; }
.support-contact p .text-link { margin-top: 0; }
.beta-page { max-width: 1080px; }
.beta-invitation { padding-block: 28px 30px; border-block: 1px solid var(--line); }
.beta-invitation h2, .beta-details h2 { font-size: 30px; margin-bottom: 14px; }
.beta-details .reflection-heading h2 { margin-bottom: 0; }
.beta-invitation > p { max-width: 700px; }
.beta-invitation p + p { margin-top: 14px; }
.beta-invitation .button { margin-block: 20px; }
.availability-note { color: var(--forest); font-weight: 500; }
.beta-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 36px; }
.beta-details p + p { margin-top: 16px; }
.beta-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; font-size: 14px; }
.beta-links a { display: inline-flex; align-items: center; min-height: 44px; }
.not-found { padding-block: 100px 120px; text-align: center; }
.not-found p { margin-top: 20px; color: var(--muted); }
.not-found .button { margin-top: 28px; }

.screenshot-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
  overscroll-behavior: contain;
}
.screenshot-dialog::backdrop { background: rgb(8 28 22 / 78%); }
.dialog-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; background: var(--white); }
.dialog-top p { font-size: 16px; font-weight: 500; }
.close-preview { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 14px; }
.close-preview:hover { background: var(--mint); }
#preview-image { width: 100%; height: auto; border-radius: 4px; }
html.preview-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .button, .motion-toggle, .close-preview { transition: background-color 140ms ease, transform 140ms ease; }
  .button:active, .motion-toggle:not(:disabled):active, .close-preview:active { transform: translateY(1px); }
  .screenshot-dialog[open] { animation: preview-enter 150ms ease-out; }
  .screenshot-dialog[open]::backdrop { animation: preview-enter 150ms ease-out; }
  @keyframes preview-enter { from { opacity: 0; } to { opacity: 1; } }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .screen-surface {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 180ms ease-out;
  }
  .screen-surface[data-tilt-active="true"] { will-change: transform; }
  .screen-glare { transition: opacity 180ms ease-out; }
  .screen-surface[data-tilt-active="true"] .screen-glare { opacity: 1; }
}

@media (min-width: 1600px) {
  .hero-content { padding-top: 84px; }
}

@media (max-width: 1100px) {
  .hero h1 { font-size: 68px; }
  .hero-content { padding-top: 64px; }
  .gallery { gap: 28px; }
  .gallery h3 { font-size: 23px; }
  .document-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .support-layout { gap: 40px; }
}

@media (max-width: 800px) {
  :root { --gutter: 24px; }
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .hero h1 { font-size: 58px; }
  .hero-tagline { font-size: 28px; }
  .hero-description { font-size: 17px; }
  .gallery { gap: 22px; }
  .gallery h3 { font-size: 22px; }
  .gallery figcaption p { font-size: 15px; }
  .experience-heading { gap: 10px; }
  .experience-heading .feather-art { width: 88px; flex-basis: 88px; }
  .guide-feature { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .portal-art { width: 220px; }
  .illustrated-band { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .journal-art { width: 150px; }
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .document-nav { display: none; }
  .document h1 { font-size: 48px; }
  .guide-heading h1 { font-size: 48px; }
  .guide-layout { padding-top: 34px; }
  .support-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .support-contact { padding: 30px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .footer-inner { align-items: start; }
  .site-footer nav { gap: 4px 18px; justify-content: flex-end; }
}

@media (max-width: 680px) {
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .screen-button { max-width: 300px; }
  .gallery h3 { font-size: 26px; }
  .gallery figcaption p { max-width: 300px; font-size: 16px; }
  .beta-details { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .header-inner { min-height: 72px; gap: 16px; }
  .wordmark { font-size: 34px; }
  .site-header nav { gap: 12px; font-size: 14px; }
  .hero { height: 580px; max-height: calc(100svh - 132px); min-height: 420px; }
  .hero-content { padding-top: 44px; }
  .hero h1 { font-size: 48px; }
  .hero-tagline { max-width: 360px; margin-inline: auto; margin-top: 14px; font-size: 26px; }
  .hero-description { max-width: 300px; margin-inline: auto; margin-top: 12px; font-size: 16px; }
  .hero-actions { gap: 4px 16px; margin-top: 18px; }
  .motion-toggle { right: 16px; bottom: 16px; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .experience { padding-block: 36px 44px; }
  .experience-heading { flex-direction: column; gap: 4px; margin-bottom: 28px; }
  .experience-heading .feather-art { width: 68px; flex-basis: auto; }
  .experience-note { max-width: 290px; margin-inline: auto; margin-top: 30px; }
  .guide-band { padding-block: 34px; }
  .guide-band p { font-size: 16px; }
  .guide-feature { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .portal-art { width: 220px; justify-self: center; }
  .guide-copy { text-align: center; }
  .illustrated-band { grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: center; }
  .illustrated-band .journal-art { width: 144px; justify-self: center; }
  .illustrated-band > .feather-art { width: 100px; }
  .beta-band { padding-block: 36px; }
  .beta-band p { margin-top: 12px; font-size: 16px; }
  .footer-inner, .footer-fine { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer nav { justify-content: flex-start; gap: 4px 20px; }
  .footer-fine { margin-top: 12px; gap: 3px; }
  .page-heading { margin-bottom: 30px; }
  .document-intro { margin-top: 18px; font-size: 19px; }
  .support-page, .beta-page { padding-block: 40px 56px; }
  .document-layout { padding-bottom: 56px; }
  .document h1 { font-size: 42px; }
  .document h2 { font-size: 27px; }
  .guide-heading { padding-block: 36px 30px; }
  .guide-heading h1 { font-size: 38px; }
  .guide-art { height: 140px; }
  .number-theme dt { grid-template-columns: 85px minmax(0, 1fr); gap: 14px; }
  .theme-number { font-size: 28px; }
  .theme-title { font-size: 22px; }
  .number-theme dd { margin-left: 0; margin-top: 12px; }
  .reflection-heading { gap: 14px; }
  .reflection-journal { width: 80px; flex-basis: 80px; }
  .draft-notice { padding: 14px 16px; }
  .not-found { padding-block: 72px 88px; }
  .screenshot-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding-inline: 12px; padding-bottom: 12px; }
  .dialog-top { gap: 10px; }
}

@media (max-width: 440px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 4px; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .hero { max-height: calc(100svh - 164px); }
  .guide-heading h1 { font-size: 36px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 0; }
  .wordmark { font-size: 30px; }
  .site-header nav { gap: 12px; }
  .hero h1 { font-size: 40px; }
  .hero-tagline { font-size: 24px; }
  .hero-actions { gap: 8px; }
  .hero-actions > a { flex-shrink: 0; }
  .button { padding-inline: 20px; }
  .hero-status {
    padding-inline: 10px;
    border-radius: 4px;
    background: var(--white);
    font-size: 14px;
  }
  h2 { font-size: 31px; }
  .screen-button { max-width: 270px; }
  .site-footer nav { gap: 4px 16px; }
}

@media (max-height: 600px) and (min-width: 601px) {
  .hero { min-height: 360px; }
  .hero-content { padding-top: 30px; }
  .hero h1 { font-size: 58px; }
  .hero-tagline { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (forced-colors: active) {
  .button, .motion-toggle, .close-preview { border: 1px solid ButtonText; }
  .hero-content { background: Canvas; color: CanvasText; }
}
