/* Token vocabulary and native Swift component adapted from Hibiscus/Website. */
:root {
  color-scheme:light;
  --bg:#f8f9f6;
  --bg-elevated:#eef2ed;
  --ink:#17211e;
  --ink-muted:#5f6964;
  --mint:#55d4b3;
  --mint-deep:#23745e;
  --line:rgba(23,33,30,.14);
  --section:min(1200px,calc(100% - 96px));
  --ease-out-quint:cubic-bezier(.22,1,.36,1);
  --font-sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  --font-serif:Georgia,"Times New Roman",serif
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
  line-height:1.5
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit
}
img {
  display:block;
  max-width:100%;
  height:auto
}
a:focus-visible,button:focus-visible,video:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--mint-deep);
  outline-offset:6px
}
a:hover {
  color:var(--mint-deep);
  text-decoration:none
}
.wrap {
  width:var(--section);
  margin-inline:auto
}
.site-header {
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
  font-size:17px;
  letter-spacing:-.5px
}
.site-header nav {
  display:flex;
  gap:32px;
  font-size:13px;
  font-weight:550
}
.skip-link {
  position:absolute;
  left:24px;
  top:-100px;
  background:var(--ink);
  color:white;
  padding:12px;
  z-index:5
}
.skip-link:focus {
  top:12px
}
.hero {
  min-height:760px;
  min-height:calc(100svh - 88px);
  max-height:1100px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 0 32px
}
.hero-icon {
  width:clamp(124px,13vw,176px);
  margin-bottom:27px
}
.hero h1 {
  font-size:clamp(44px,5.2vw,76px);
  letter-spacing:-.065em;
  line-height:1.08;
  margin:0 0 24px;
  font-weight:650
}
.hero-statement {
  font-size:clamp(22px,2.8vw,38px);
  line-height:1.3;
  letter-spacing:-.035em;
  margin:0
}
.hero-statement em {
  font-family:var(--font-serif);
  font-weight:400
}
mark {
  color:var(--ink);
  background:linear-gradient(transparent 53%,var(--mint) 53%,var(--mint) 94%,transparent 94%);
  padding:0 .07em
}
.actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:34px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  min-height:48px;
  padding:12px 23px;
  border-radius:99px;
  font-size:14px;
  font-weight:600;
  transition:color .2s
}
.button:hover {
  text-decoration:none
}
.primary {
  background:var(--ink);
  color:#fff
}
.primary:hover {
  color:var(--mint)
}
.secondary {
  border:1px solid #c7d0c9
}
.secondary:hover {
  color:var(--mint-deep)
}
.availability {
  font-size:12px;
  color:var(--ink-muted);
  margin:17px 0 0
}
.availability span {
  margin:0 9px
}
.hero-next {
  font-size:11px;
  letter-spacing:.04em;
  color:var(--ink-muted);
  margin-top:clamp(54px,8vh,110px);
  display:flex;
  gap:25px
}
.introduction {
  text-align:center;
  padding:64px 0
}
.introduction h2 {
  font-size:clamp(30px,4.6vw,65px);
  line-height:1.15;
  letter-spacing:-.052em;
  font-weight:550;
  margin:0
}
.introduction h2 span {
  color:var(--ink-muted)
}
.meet-screen h2 {
  font-size:clamp(60px,9vw,122px);
  letter-spacing:-.07em;
  font-weight:600;
  line-height:1;
  margin:0
}
.mint-dot {
  color:var(--mint-deep)
}
h2 {
  font-size:clamp(38px,4.8vw,67px);
  font-weight:550;
  line-height:1.06;
  letter-spacing:-.055em;
  margin:0
}

.subtitle {
  color:var(--ink-muted);
  font-size:clamp(17px,1.65vw,22px);
  line-height:1.55;
  letter-spacing:-.025em;
  margin:24px 0 0;
  max-width:550px
}
.chapter {
  padding:105px 0
}
.chapter-inner {
  width:var(--section);
  margin:auto
}
.chapter-copy {
  margin-bottom:42px
}
.demo {
  margin:0;
  min-width:0
}
.video-shell {
  position:relative;
  aspect-ratio:16/9;
  border-radius:12px;
  background:transparent;
  overflow:hidden;
  border:0;
  box-shadow:none
}
video {
  position:absolute;
  inset:0;
  border:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent
}
.demo figcaption {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  margin-top:17px;
  color:var(--ink-muted);
  font-size:11px
}
.demo-label {
  letter-spacing:.025em
}
.fine-print {
  font-size:11px;
  line-height:1.7;
  color:var(--ink-muted);
  font-weight:400
}
.demo .fine-print {
  width:100%;
  margin:0
}

.video-error {
  position:absolute;
  inset:auto 12px 40%;
  background:var(--bg);
  padding:12px;
  font-size:14px;
  text-align:center
}
.video-error a {
  text-decoration:none
}
.split .chapter-inner,.reverse .chapter-inner {
  display:grid;
  grid-template-columns: .8fr 1.5fr;
  gap:55px;
  align-items:center
}
.split h2,.reverse h2 {
  font-size:clamp(35px,3.7vw,52px)
}
.split .chapter-copy,.reverse .chapter-copy {
  margin:0
}
.reverse .chapter-inner {
  grid-template-columns:1.5fr .8fr
}
.reverse .chapter-copy {
  grid-column:2;
  grid-row:1
}
.reverse .demo {
  grid-column:1;
  grid-row:1
}
.center {
  background:var(--bg-elevated);
  margin:40px 0;
  padding:110px 0
}
.center .chapter-copy {
  text-align:center
}
.center .subtitle {
  margin-inline:auto
}
.center .demo {
  max-width:1040px;
  margin:auto
}





.fundamentals {
  padding:130px 0 100px;
  border-top:1px solid var(--line)
}
.fundamentals>.subtitle {
  max-width:680px;
  font-size:18px
}
.feature-grid {
  list-style:none;
  padding:0;
  margin:75px 0 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0 35px
}
.feature-grid li {
  padding:30px 0;
  border-top:1px solid var(--line)
}

.feature-grid h3 {
  font-size:15px;
  font-weight:600;
  letter-spacing:-.02em;
  margin:0 0 6px
}
.feature-grid p {
  font-size:12px;
  color:var(--ink-muted);
  margin:0
}
.native {
  padding:110px 0 130px;
  text-align:center
}
.native>.subtitle {
  margin-inline:auto
}
.stack {
  display:flex;
  justify-content:center;
  gap:36px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:55px 0 35px;
  color:var(--ink-muted);
  font-size:14px;
  font-weight:550
}
.native>.fine-print {
  max-width:720px;
  margin:10px auto
}
.final-cta {
  text-align:center;
  padding:90px 0 130px;
  border-top:1px solid var(--line)
}
.final-cta>img {
  margin:0 auto 25px
}
.final-cta h2 {
  font-size:clamp(38px,4.8vw,66px)
}
.release-note {
  max-width:560px;
  margin:26px auto 0;
  font-size:12px;
  color:var(--ink-muted)
}
.site-footer {
  border-top:1px solid var(--line);
  padding:32px 0 35px
}
.footer-top,.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:35px
}
.footer-top nav {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  font-size:11px;
  align-items:center
}
.footer-bottom {
  margin-top:35px;
  font-size:10px;
  color:var(--ink-muted)
}
.footer-bottom p {
  margin:0
}
.legal {
  max-width:850px;
  padding:80px 0 100px
}
.legal h1 {
  font-size:clamp(40px,6vw,72px);
  letter-spacing:-.055em;
  line-height:1.1
}
.legal h2 {
  font-size:26px;
  margin-top:45px;
  letter-spacing:-.03em
}
.legal p {
  color:var(--ink-muted)
}
.legal pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.7
}
.legal a {
  text-decoration:none
}

@media(min-width:1600px) {
  :root {
  --section:min(1380px,calc(100% - 120px))
}

}

@media(max-width:1000px) {
  :root {
  --section:calc(100% - 64px)
}
.split .chapter-inner,.reverse .chapter-inner {
  gap:30px;
  grid-template-columns:1fr
}
.reverse .chapter-copy,.reverse .demo {
  grid-column:auto;
  grid-row:auto
}
.chapter-copy {
  max-width:700px
}
.split .chapter-copy,.reverse .chapter-copy {
  margin-bottom:10px
}
.split h2,.reverse h2 {
  font-size:clamp(38px,6vw,58px)
}
.center .chapter-copy {
  margin-inline:auto
}
.feature-grid {
  grid-template-columns:repeat(3,1fr)
}
.footer-top,.footer-bottom {
  flex-direction:column;
  gap:22px
}

}

@media(max-width:600px) {
  :root {
  --section:calc(100% - 40px)
}
.site-header {
  height:72px
}
.site-header nav {
  gap:20px
}
.hero {
  min-height:720px;
  min-height:calc(100svh - 72px);
  padding:45px 0 32px;
  max-height:none
}
.hero h1 {
  font-size:44px
}
.hero-statement {
  font-size:23px
}
.hero-statement br {
  display:none
}
.hero-icon {
  width:132px
}
.hero-next {
  margin-top:65px
}
.introduction {
  padding:48px 0
}
.introduction h2 {
  font-size:33px
}
.introduction h2 br {
  display:none
}
.meet-screen h2 {
  margin:0;
  font-size:66px
}
.chapter {
  padding:65px 0
}
.chapter-copy {
  margin-bottom:30px
}

.chapter h2 {
  font-size:43px
}
.subtitle {
  font-size:18px
}
.video-shell {
  border-radius:7px
}
.demo figcaption {
  font-size:10px
}
.demo-label {
  display:none
}




.center {
  margin:0
}
.fundamentals {
  padding:80px 0 50px
}
.fundamentals h2 {
  font-size:40px
}
.feature-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 22px;
  margin-top:45px
}
.feature-grid p {
  font-size:11px
}
.feature-grid h3 {
  font-size:14px
}
.native {
  padding:75px 0
}
.stack {
  gap:20px;
  font-size:12px
}
.final-cta {
  padding:70px 0 85px
}
.button {
  gap:14px;
  padding:12px 19px
}
.footer-top nav {
  gap:15px 20px
}

}

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

}


/* Native document-scroll stack: each chapter settles above the previous one.
   No scroll interception, nested scroller, animation library, or transformed text. */
.scroll-stack {
  isolation: isolate;
  padding: 24px 0 80px;
}
.scroll-stack .chapter {
  position: sticky;
  top: calc(20px + var(--stack-index) * 9px);
  z-index: calc(1 + var(--stack-index));
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto 80px;
  padding: 22px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 -10px 32px -20px #17211e35;
}
.scroll-stack .chapter:nth-child(even) { background: var(--bg-elevated); }
/* Keep the last card's bottom margin equal to its siblings. Sticky containment
   includes that margin; removing it lets earlier cards release before RSS. */
.scroll-stack .chapter-inner { width: 100%; display: block; }
.scroll-stack .chapter-copy { display: block; max-width: none; margin: 0 0 20px; text-align: center; }
.scroll-stack h2 { font-size: clamp(34px, 3.8vw, 48px); min-height: 1.1em; }
.scroll-stack .subtitle {
  font-size: 19px;
  min-height: 60px;
  max-width: 760px;
  margin: 12px auto 0;
}
.scroll-stack .demo {
  width: min(100%, calc(clamp(180px, 100svh - 310px, 480px) * 16 / 9));
  margin: 0 auto;
}
.scroll-stack .video-shell { width: 100%; }
.scroll-stack video { pointer-events: none; user-select: none; }
.scroll-stack .demo-label { display: none; }
/* Reserve the same caption space so disclosure text never changes card size. */
.scroll-stack figcaption { display: block; min-height: 44px; margin-top: 12px; }
.scroll-stack .chapter.stack-static { position: relative; top: auto; }
@media(max-width:600px) {
  .scroll-stack { padding-bottom: 60px; }
  .scroll-stack .chapter {
    width: calc(100% - 32px);
    padding: 22px 18px;
    border-radius: 16px;
    margin-bottom: 60px;
    top: calc(12px + var(--stack-index) * 6px);
  }
  .scroll-stack h2 { font-size: 30px; min-height: 2.15em; }
  .scroll-stack .subtitle { font-size: 16px; min-height: 75px; }
  .scroll-stack .demo { width: 100%; }
  .scroll-stack figcaption { min-height: 75px; }
}
@media(prefers-reduced-motion:reduce), (max-height:600px) {
  .scroll-stack .chapter { position: relative; top: auto; }
}

/* Small brand details; GitHub marks inherit the link's hover color. */
a { transition: color 180ms ease; }
a[href="https://github.com/T-1234567890/origami-browser"] {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.github-icon { flex: 0 0 auto; width: 18px; height: 18px; }
.meet-origami { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: .42em; row-gap: .25em; }
.meet-brand { display: inline-flex; align-items: center; gap: .15em; white-space: nowrap; }
.meet-brand img { width: .78em; height: .78em; transform: translateY(.025em); flex: 0 0 auto; }
.meet-brand .mint-dot { margin-left: -.15em; }

/* Two independent keynote beats, each centered in its own viewport. */
.introduction,
.meet-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.meet-screen { padding: 64px 0; }
@media(max-width:600px) {
  .meet-screen { padding: 48px 0; }
}

/* Consistent outline icons for the fundamentals grid. */
.feature-grid svg {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--mint-deep);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Release metadata enables both download links together. */
[data-download][aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
[data-download][aria-disabled="true"]:hover { color: #fff; }

/* Flat ASCII wall on the shared page background. */
.privacy-field {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: max(680px, 90svh);
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
.privacy-field-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  filter: blur(var(--field-blur, .65px)) saturate(.9);
  opacity: 1;
}
.privacy-field-content { position: relative; z-index: 1; max-width: 800px; padding: 72px 24px; text-align: center; }
.privacy-field-content h2 { margin: 0; font-size: clamp(2.4rem, 5.5vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.privacy-field-content h2 .accent { color: #10201a; }
.privacy-field-content p { margin: 28px 0 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.85; color: var(--ink); }
@media (max-width: 600px) {
  .privacy-field { min-height: max(600px, 80svh); }
}

.privacy-field .field-line { display: block; }
.privacy-field.is-scroll-sequence .privacy-field-content {
  display: grid; width: min(1100px, calc(100% - 40px)); max-width: none;
  min-height: 260px; padding: 48px 0; align-items: center;
}
.privacy-field.is-scroll-sequence h2,
.privacy-field.is-scroll-sequence .privacy-field-content p { display: contents; }
.privacy-field.is-scroll-sequence .field-line {
  grid-area: 1 / 1; opacity: 0; pointer-events: none;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem); font-weight: 650;
  letter-spacing: -.04em; line-height: 1.2; text-wrap: balance;
}
.privacy-field.is-scroll-sequence .field-line.is-current {
  opacity: 1;
  animation: privacy-line-in 180ms ease-out both;
}
@keyframes privacy-line-in {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-field .field-line { animation: none; }
}

/* Ordinary page scrolling advances six messages through one sticky stage. */
.privacy-field { display: block; overflow: visible; }
.privacy-field-stage {
  position: relative; display: grid; place-items: center; width: 100%;
  min-height: max(680px, 90svh); overflow: hidden;
}
.privacy-field.is-scroll-sequence { min-height: 340svh; }
.privacy-field.is-scroll-sequence .privacy-field-stage {
  position: sticky; top: 0; height: 100svh; min-height: 0;
}
@media (max-width: 600px) {
  .privacy-field-stage { min-height: max(600px, 80svh); }
}

/* Expand the sharp field to the viewport without scaling or opacity fades. */
.privacy-field { width: 100%; max-width: none; }
.privacy-field.is-scroll-sequence .privacy-field-stage {
  clip-path: inset(var(--field-inset-y, 0px) var(--field-inset, 0px) round var(--field-radius, 0px));
}
.final-cta {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 0; padding-block: clamp(72px, 8vw, 112px);
  margin-top: 0; border-top: 0;
  background: var(--bg);
}
.final-cta > img { margin-bottom: 8px; }
.final-cta .actions { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .privacy-field .privacy-field-stage { clip-path: none; }
}

/* Frosted treatment stays behind the sharp foreground text. */
.privacy-field-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(248, 249, 246, .18);
}

.privacy-field.is-scroll-sequence .privacy-field-content {
  transform: translateY(var(--field-text-y, 0px));
}
@media (prefers-reduced-motion: reduce) {
  .privacy-field .privacy-field-content { transform: none; }
}

/* Keep each message distinct from the moving mint characters beneath it. */
.privacy-field .field-line {
  color: #10201a;
}

.final-cta .latest-version {
  height: 26px; margin: 0 0 12px; visibility: hidden;
  font-family: var(--font-serif);
  font-size: 18px; line-height: 26px; font-style: italic;
  font-variant-numeric: lining-nums;
  font-weight: 400; color: #68736d;
}
.final-cta .latest-version.is-available { visibility: visible; }
.final-cta h2 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.045em;
}
