/* TinyWeb's homepage. Scoped so account, purchase and support pages keep their layouts. */
.page-home {
  --tw-ink: #27262d;
  --tw-muted: #716d76;
  --tw-line: #e8e5e8;
  background: var(--tw-paper);
  color: var(--tw-ink);
  -webkit-font-smoothing: antialiased;
}

.page-home .tw-home {
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-home .tw-container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.page-home .tw-home h1,
.page-home .tw-home h2,
.page-home .tw-home h3,
.page-home .tw-home p,
.page-home .tw-home figure {
  margin-block: 0;
}

.page-home .tw-home h1,
.page-home .tw-home h2,
.page-home .tw-home h3 {
  color: var(--tw-ink);
}

.page-home .tw-home h2 {
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 600;
}

.page-home .tw-home h3 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.025em;
  font-weight: 600;
}

.page-home .tw-home p {
  color: var(--tw-muted);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .tw-home .tw-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #777080;
}

.page-home .tw-skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-180%);
  padding: 12px 18px;
  border-radius: 8px;
  color: white;
  background: var(--tw-ink);
}

.page-home .tw-skip-link:focus { transform: none; }

.page-home .tw-home a:focus-visible {
  outline: 3px solid #9685bc;
  outline-offset: 5px;
}

.page-home .tw-hero { padding-top: 156px; }
.page-home .tw-hero-copy { text-align: center; }
.page-home .tw-hero-copy .tw-eyebrow { justify-content: center; }

.page-home .tw-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #879b82;
  box-shadow: 0 0 0 4px #eef0e8;
}

.page-home .tw-home h1 {
  margin-top: 26px;
  font-size: clamp(58px, 7.8vw, 96px);
  line-height: 1.015;
  letter-spacing: -.065em;
  font-weight: 600;
}

.page-home .tw-home h1 span { color: var(--tw-accent); white-space: nowrap; }

.page-home .tw-home .tw-hero-description {
  max-width: 480px;
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 1.65;
}

.page-home .tw-download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home .tw-hero-copy > .tw-download-buttons { margin-top: 30px; }

.page-home .tw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.page-home .tw-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .tw-button-primary {
  background: var(--tw-ink);
  color: #fff;
  box-shadow: 0 3px 7px #27262d12;
}

.page-home .tw-button-primary:hover { background: #48414d; transform: translateY(-1px); box-shadow: 0 5px 12px #27262d20; }

.page-home .tw-button-accent {
  background: var(--tw-accent);
  color: #fff;
  box-shadow: 0 3px 7px #27262d12;
}

.page-home .tw-button-accent:hover { background: #82728e; transform: translateY(-1px); box-shadow: 0 5px 12px #27262d20; }
.page-home .tw-button-secondary { background: #ffffffa3; color: var(--tw-ink); border-color: #c7ada73d; }
.page-home .tw-button-secondary:hover { background: #fff; transform: translateY(-1px); }
.page-home .tw-home .tw-compatibility { margin-top: 16px; font-size: 11px; letter-spacing: .02em; color: #7b747f; }
.page-home .tw-home .tw-hero-figure { margin-top: 62px; }

.page-home .tw-screenshot-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
}

.page-home .tw-focus-stage {
  padding: 56px 74px 64px;
  background: radial-gradient(ellipse at 9% 8%, #f5dbcd 0, transparent 52%),
              radial-gradient(ellipse at 96% 96%, #d8cae2 0, transparent 57%), #ebe3ed;
  border: 1px solid #e9e0e7;
}

.page-home .tw-app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
  filter: drop-shadow(0 18px 20px #46334a21) drop-shadow(0 3px 5px #46334a0d);
}

.page-home .tw-home figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 19px;
  color: #7a717f;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .015em;
}

.page-home .tw-caption-dot { width: 4px; height: 4px; background: #a49aa8; border-radius: 50%; }
.page-home .tw-focus-section { padding-top: 112px; padding-bottom: 110px; scroll-margin-top: 110px; }
.page-home .tw-heading-centered { text-align: center; }
.page-home .tw-heading-centered .tw-eyebrow { justify-content: center; }
.page-home .tw-section-heading h2 { margin-top: 19px; }
.page-home .tw-section-heading > p { max-width: 450px; margin: 22px auto 0; }

.page-home .tw-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 58px;
}

.page-home .tw-focus-feature { padding: 0 8px; }
.page-home .tw-feature-icon { display: block; width: 29px; height: 29px; fill: none; stroke: #817489; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.page-home .tw-focus-feature h3 { margin-top: 22px; }
.page-home .tw-focus-feature p { margin-top: 12px; font-size: 14px; line-height: 1.75; }



.page-home .tw-make-app-section { padding-top: 92px; padding-bottom: 30px; }
.page-home .tw-make-app-panel { display: flex; align-items: center; gap: 35px; padding: 49px 52px; background: #f5e9e1; border: 1px solid #efdfd4; border-radius: 24px; }
.page-home .tw-app-icon-plate { flex: none; width: 136px; height: 136px; display: grid; place-items: center; background: #fff7; border: 1px solid #fffc; border-radius: 32px; box-shadow: 0 12px 22px #9b786b0b; transform: rotate(-6deg); }
.page-home .tw-app-icon-plate img { display: block; width: 112px; height: 112px; }
.page-home .tw-make-app-copy { flex: 1; }
.page-home .tw-make-app-copy .tw-eyebrow { color: #866b5d; }
.page-home .tw-make-app-copy h2 { margin-top: 12px; font-size: 34px; }
.page-home .tw-make-app-copy > p:not(.tw-eyebrow) { max-width: 410px; margin-top: 17px; font-size: 14px; color: #796760; }
.page-home .tw-license-note { display: block; margin-top: 16px; color: #7c645a; font-size: 11px; }
.page-home .tw-make-app-panel > .tw-button { flex: none; }

.page-home .tw-final-section { text-align: center; padding-top: 85px; padding-bottom: 99px; }
.page-home .tw-final-section .tw-eyebrow { justify-content: center; }
.page-home .tw-final-section h2 { margin-top: 23px; font-size: clamp(42px, 5vw, 62px); }
.page-home .tw-final-section > p:not(.tw-eyebrow) { margin-top: 20px; font-size: 16px; }
.page-home .tw-final-section > .tw-download-buttons { margin-top: 28px; }
.page-home .tw-final-links { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 17px; color: #766e7d; font-size: 11px; }
.page-home .tw-final-links a { color: #7e7487; }
.page-home .tw-final-links a:hover { text-decoration: underline; }
.page-home > footer { width: min(1160px, calc(100% - 64px)); padding-inline: 0; padding-bottom: 35px; border-top: 1px solid var(--tw-line); }

/* Feature videos: each stage matches its video's backdrop, so the frame edge disappears. */
.page-home .tw-video-section { padding: 100px 0 104px; }
.page-home .tw-video-section .tw-section-heading > p { max-width: 520px; margin: 20px auto 0; font-size: 17px; }
.page-home .tw-video-stage { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid transparent; border-radius: 26px; }
.page-home .tw-section-heading + .tw-video-stage { margin-top: 52px; }
.page-home .tw-demo-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-home .tw-stage-green { background: #e2ebdf; border-color: #d9e3d7; }
.page-home .tw-stage-dark { background: #1c1b20; border-color: #2b2931; }
.page-home .tw-stage-warm { background: #ebe3ed; border-color: #e6dce5; }

.page-home .tw-video-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 46px; }
.page-home .tw-video-notes h3 { font-size: 16px; }
.page-home .tw-video-notes p { margin-top: 8px; font-size: 14px; line-height: 1.75; }

.page-home .tw-tabs-band { background: #f0f3ef; border-block: 1px solid #e6ebe4; }
.page-home .tw-home .tw-tabs-band .tw-eyebrow { color: #748375; }

.page-home .tw-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); align-items: center; gap: 60px; }
.page-home .tw-split-reverse { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); }
.page-home .tw-split-reverse .tw-split-copy { order: 2; }
.page-home .tw-split-copy h2 { margin-top: 18px; font-size: clamp(32px, 3.4vw, 44px); }
.page-home .tw-split-copy > p:not(.tw-eyebrow) { margin-top: 20px; font-size: 16px; }
.page-home .tw-small-print { display: block; margin-top: 16px; color: #857d8a; font-size: 12px; line-height: 1.5; }

.page-home .tw-saved-band { background: #141317; }
.page-home .tw-home .tw-saved-band h2 { color: #f4f2f7; }
.page-home .tw-home .tw-saved-band p { color: #aca7b4; }
.page-home .tw-home .tw-saved-band .tw-eyebrow { color: #a59db0; }
.page-home .tw-home .tw-saved-band a:focus-visible { outline-color: #b9aee0; }

.page-home .tw-more-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.page-home .tw-more-card { padding: 34px 36px 36px; background: #fff; border: 1px solid var(--tw-line); border-radius: 22px; }
.page-home .tw-more-card h3 { margin-top: 20px; }
.page-home .tw-more-card p { margin-top: 10px; font-size: 14px; line-height: 1.75; }

.page-home .tw-commit-section { padding-top: 104px; padding-bottom: 8px; }
.page-home .tw-commit-section .tw-section-heading > p { max-width: 640px; margin: 22px auto 0; font-size: 17px; }
.page-home .tw-commit-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; max-width: 980px; margin: 50px auto 0; padding-top: 36px; border-top: 1px solid var(--tw-line); }
.page-home .tw-commit-points h3 { font-size: 16px; }
.page-home .tw-commit-points p { margin-top: 8px; font-size: 14px; line-height: 1.75; }

@media (max-width: 1023px) {
  .page-home .tw-split,
  .page-home .tw-split-reverse { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .page-home .tw-split-reverse .tw-split-copy { order: 0; }
  .page-home .tw-split-copy { max-width: 560px; }
  .page-home .tw-video-stage { border-radius: 20px; }
}

@media (max-width: 767px) {
  .page-home .tw-video-section { padding: 70px 0 74px; }
  .page-home .tw-section-heading + .tw-video-stage { margin-top: 36px; }
  .page-home .tw-video-notes,
  .page-home .tw-commit-points { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-home .tw-video-notes { margin-top: 34px; }
  .page-home .tw-more-section { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .page-home .tw-commit-section { padding-top: 72px; }
  .page-home .tw-video-section .tw-section-heading > p,
  .page-home .tw-commit-section .tw-section-heading > p { font-size: 16px; }
}

@media (max-width: 479px) {
  .page-home .tw-video-stage { border-radius: 14px; }
  .page-home .tw-more-card { padding: 26px 24px 28px; }
  .page-home .tw-split-copy h2 { font-size: 32px; }
}

@media (max-width: 1023px) {
  .page-home .tw-container { width: calc(100% - 48px); }
  .page-home .tw-hero { padding-top: 135px; }
  .page-home .tw-focus-stage { padding: 40px 48px 46px; }
  .page-home .tw-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .page-home .tw-make-app-panel { padding: 36px; gap: 26px; flex-wrap: wrap; }
  .page-home .tw-app-icon-plate { width: 112px; height: 112px; border-radius: 26px; }
  .page-home .tw-app-icon-plate img { width: 94px; height: 94px; }
  .page-home .tw-make-app-panel > .tw-button { margin-left: 138px; }
  .page-home > footer { width: calc(100% - 48px); }
}

@media (max-width: 767px) {
  .page-home .tw-home h2 { font-size: 36px; }
  .page-home .tw-hero { padding-top: 130px; }
  .page-home .tw-home h1 { font-size: clamp(48px, 9.5vw, 70px); }
  .page-home .tw-home .tw-hero-description { max-width: 370px; font-size: 16px; }
  .page-home .tw-home .tw-hero-figure { margin-top: 43px; }
  .page-home .tw-focus-stage { padding: 27px 24px 32px; border-radius: 19px; }
  .page-home .tw-focus-section { padding-top: 77px; padding-bottom: 75px; }
  .page-home .tw-focus-grid { grid-template-columns: 1fr; gap: 31px; max-width: 440px; margin-inline: auto; margin-top: 42px; }
  .page-home .tw-focus-feature { display: grid; grid-template-columns: 34px 1fr; column-gap: 20px; padding: 0; }
  .page-home .tw-focus-feature .tw-feature-icon { grid-row: span 2; }
  .page-home .tw-focus-feature h3 { margin-top: 2px; }
  .page-home .tw-focus-feature p { margin-top: 7px; }
  .page-home .tw-make-app-section { padding-top: 65px; }
  .page-home .tw-make-app-panel { padding: 30px; gap: 24px; }
  .page-home .tw-app-icon-plate { width: 82px; height: 82px; border-radius: 21px; }
  .page-home .tw-app-icon-plate img { width: 70px; height: 70px; }
  .page-home .tw-make-app-copy { flex-basis: calc(100% - 106px); }
  .page-home .tw-make-app-copy h2 { font-size: 28px; }
  .page-home .tw-make-app-panel > .tw-button { margin-left: 106px; }
  .page-home .tw-final-section { padding-top: 57px; padding-bottom: 74px; }
  .page-home .tw-final-section h2 { font-size: 48px; }
}

@media (max-width: 479px) {
  .page-home .tw-container { width: calc(100% - 36px); }
  .page-home .tw-home .tw-eyebrow { font-size: 10px; letter-spacing: .075em; }
  .page-home .tw-home h1 { margin-top: 24px; font-size: clamp(44px, 11.6vw, 57px); }
  .page-home .tw-home .tw-hero-description { max-width: 310px; margin-top: 22px; }
  .page-home .tw-download-buttons { flex-direction: column; width: min(100%, 260px); margin-inline: auto; }
  .page-home .tw-hero-copy > .tw-download-buttons { margin-top: 26px; }
  .page-home .tw-home .tw-compatibility { margin-top: 20px; font-size: 10px; }
  .page-home .tw-home .tw-hero-figure { width: calc(100% - 20px); margin-top: 34px; }
  .page-home .tw-focus-stage { padding: 22px 15px 26px; border-radius: 16px; }
  .page-home .tw-app-screenshot { border-radius: 6px; }
  .page-home .tw-home h2 { font-size: 32px; }
  .page-home .tw-section-heading > p { font-size: 14px; }
  .page-home .tw-make-app-panel { padding: 30px 26px; gap: 25px; }
  .page-home .tw-app-icon-plate { width: 74px; height: 74px; }
  .page-home .tw-app-icon-plate img { width: 64px; height: 64px; }
  .page-home .tw-make-app-copy { flex-basis: 100%; }
  .page-home .tw-make-app-copy h2 { font-size: 32px; }
  .page-home .tw-make-app-panel > .tw-button { margin-left: 0; }
  .page-home .tw-final-section h2 { font-size: 42px; }
  .page-home > footer { width: calc(100% - 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tw-button { transition: none; }
  .page-home .tw-button:hover { transform: none; }
}
