@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #222128;
  --muted: #66646c;
  --line: #dddbd3;
  --wash: #eeede7;
  --goji: #c8412b;        /* recording red — used sparingly */
  /* The app's own palette (src/app/GojiGif/Resources/Styles/Colors.xaml), so the
     illustration matches what people will see after they install. */
  --app-bg: #121218;
  --app-surface: #1c1c26;
  --app-stroke: #2c2c3a;
  --app-on: #f2f2f6;
  --app-muted: #a6a6b4;
  --app-accent: #5e6ad2;
  --app-button: #8a93ec;   /* PrimaryDark: buttons in the app's dark theme */
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
::selection { background: #e3dcd2; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: .625rem; font-weight: 500; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.skip-link { position: absolute; left: 24px; top: -80px; padding: 14px 20px; background: var(--ink); color: var(--paper); z-index: 20; }
.skip-link:focus { top: 16px; }

/* ---- header ------------------------------------------------------------- */
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.9rem; letter-spacing: -.06em; line-height: 1; }
.wordmark-mark { position: relative; font-family: var(--serif); font-style: italic; font-size: 1.8rem; border: 1px solid currentColor; border-radius: 5px; width: 31px; height: 35px; line-height: 29px; text-align: center; padding-right: 3px; letter-spacing: -.08em; }
.wordmark-mark::after { content: ''; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--goji); }
.header-links { display: flex; align-items: center; gap: 32px; font-size: .8125rem; }
.header-links a { text-decoration: none; }
.header-links a:hover { text-decoration: underline; }
.header-links .header-download { border: 1px solid var(--ink); padding: 11px 17px; border-radius: 4px; }
.header-download span { margin-left: 16px; }

/* ---- hero --------------------------------------------------------------- */
.hero { padding-block: 67px 52px; text-align: center; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(4.1rem, 7vw, 6.5rem); line-height: .99; letter-spacing: -.06em; margin: 23px 0 24px; }
.hero h1 em { font-weight: 400; }
.hero .intro { font-size: .9375rem; line-height: 1.8; color: var(--muted); max-width: 470px; margin-inline: auto; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 13px 23px; border-radius: 4px; font-size: .75rem; font-weight: 500; line-height: 1.5; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); transition: background-color .15s ease, transform .15s ease; }
.button:hover { background: #3d3c44; transform: translateY(-1px); }
.text-link { font-size: .75rem; line-height: 1.6; }
.text-link span { display: inline-block; margin-left: 9px; }
.hero-note { font-size: .625rem; color: var(--muted); margin-top: 16px; letter-spacing: .01em; }

/* ---- product illustration (the app window, drawn in HTML) --------------- */
.product-stage { background: #e7e5de; padding: 35px 50px 0; border-radius: 7px; overflow: hidden; }
.stage-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.stage-heading .eyebrow { font-size: .5625rem; }
.stage-heading .stage-state { display: inline-flex; align-items: center; gap: 8px; font-size: .625rem; color: var(--muted); }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--goji); animation: rec 1.2s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }

.app-window { max-width: 986px; margin: 0 auto; background: var(--app-bg); color: var(--app-on); border-radius: 10px 10px 0 0; border: 1px solid #00000040; border-bottom: 0; box-shadow: 0 18px 50px #2a271f26; overflow: hidden; font-size: 11px; }
.app-titlebar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid #000; background: #1a1a22; }
.app-titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-titlebar i:nth-child(2) { background: #febc2e; }
.app-titlebar i:nth-child(3) { background: #28c840; }
.app-titlebar span { flex: 1; text-align: center; margin-right: 52px; color: var(--app-muted); font-weight: 500; }
.app-body { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.app-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--app-surface); border: 1px solid var(--app-stroke); border-radius: 8px; padding: 9px 11px; }
.app-btn { padding: 6px 11px; border-radius: 6px; background: var(--app-button); color: #0e0e12; font-weight: 500; white-space: nowrap; }
.app-btn[aria-disabled='true'] { opacity: .38; }
.app-sep { width: 1px; height: 18px; background: var(--app-stroke); margin-inline: 4px; }
.app-toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--app-muted); white-space: nowrap; }
.app-toggle b { width: 22px; height: 13px; border-radius: 7px; background: #3a3a4a; position: relative; }
.app-toggle b::after { content: ''; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: #d0d0da; }
.app-toggle.on b { background: var(--app-accent); }
.app-toggle.on b::after { left: 11px; background: #fff; }
.app-fps { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--app-muted); }
.app-fps strong { color: var(--app-on); font-weight: 500; }
.app-status { color: var(--app-muted); padding-inline: 4px; display: flex; align-items: center; gap: 7px; }
.app-canvas { position: relative; aspect-ratio: 16 / 9; background: #0c0c11; border: 1px solid var(--app-stroke); border-radius: 8px; overflow: hidden; }
/* An abstract desktop: wallpaper and two windows, no real content. */
.desk { position: absolute; inset: 5%; border-radius: 4px; background: linear-gradient(150deg, #34405a 0%, #6a6585 48%, #b98f7e 100%); overflow: hidden; }
.desk-win { position: absolute; background: #f3f2ee; border-radius: 4px; box-shadow: 0 6px 18px #0004; }
.desk-win::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9%; background: #e2e0da; border-radius: 4px 4px 0 0; }
.desk-a { left: 4%; top: 9%; width: 34%; height: 70%; }
.desk-a::after { content: ''; position: absolute; left: 10%; right: 18%; top: 20%; height: 52%; background: repeating-linear-gradient(#c9c6bd 0 4px, transparent 4px 13px); opacity: .7; }
.desk-b { left: 42%; top: 13%; width: 52%; height: 74%; }
/* 41% of the width at the canvas's 16:9 = the GIF's own 16:10, so nothing is cropped. */
.selection { position: absolute; left: 47%; top: 26%; width: 41%; height: 45.55%; outline: 1.5px solid var(--app-accent); background: #5e6ad21a; box-shadow: 0 0 0 999px #0c0c1152; }
.selection img { width: 100%; height: 100%; object-fit: cover; }
.selection i { position: absolute; width: 9px; height: 9px; background: var(--app-accent); border-radius: 2px; }
.selection i:nth-of-type(1) { left: -5px; top: -5px; }
.selection i:nth-of-type(2) { right: -5px; top: -5px; }
.selection i:nth-of-type(3) { left: -5px; bottom: -5px; }
.selection i:nth-of-type(4) { right: -5px; bottom: -5px; }
.app-footer { display: flex; align-items: center; gap: 8px; background: var(--app-surface); border: 1px solid var(--app-stroke); border-radius: 8px; padding: 9px 11px; }
.app-footer .path { flex: 1; min-width: 0; color: var(--app-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.product-caption { display: flex; justify-content: space-between; gap: 24px; padding: 17px 0; font-size: .625rem; color: var(--muted); line-height: 1.6; }
.product-caption strong { color: var(--ink); font-weight: 500; }
.product-caption .caption-right { text-align: right; }
.trust-strip { padding-block: 27px; display: flex; justify-content: center; gap: 64px; border-block: 1px solid var(--line); margin-top: 36px; }
.trust-strip p { font-size: .625rem; letter-spacing: .035em; display: flex; align-items: center; gap: 10px; }
.trust-strip svg { width: 15px; height: 15px; stroke-width: 1.2; }

/* ---- sections ----------------------------------------------------------- */
.section { padding-block: 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 43px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; margin-top: 18px; }
.section-heading > p { max-width: 310px; font-size: .875rem; line-height: 1.85; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); counter-reset: step; }
.step { padding: 30px 32px 34px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-number { font-size: .625rem; color: var(--muted); margin-bottom: 14px; }
.step h3 { font: 400 1.65rem/1.2 var(--serif); letter-spacing: -.025em; margin-bottom: 12px; }
.step p { font-size: .875rem; line-height: 1.85; color: var(--muted); max-width: 320px; }

.output { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; margin-top: 112px; }
.output-copy h2 { font: 400 clamp(2.6rem, 4.4vw, 3.9rem)/1.08 var(--serif); letter-spacing: -.045em; margin: 20px 0 24px; }
.output-copy > p:not(.eyebrow) { font-size: .875rem; color: var(--muted); line-height: 1.85; max-width: 380px; }
.output-facts { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.output-facts li { display: flex; justify-content: space-between; gap: 20px; font-size: .75rem; padding-block: 11px; border-bottom: 1px solid var(--line); }
.output-facts span:last-child { color: var(--muted); text-align: right; }
.gif-art { background: #ebe8e1; padding: 35px; border-radius: 5px; }
.gif-frame { background: #fff; border: 1px solid #dcd9d0; padding: 10px; box-shadow: 0 5px 15px #3c352908; }
.gif-frame img { width: 100%; height: auto; }
.gif-meta { display: flex; justify-content: space-between; gap: 15px; color: #6c6b63; font-size: .5625rem; letter-spacing: .13em; text-transform: uppercase; padding-top: 10px; }
.gif-caption { text-align: center; font-size: .5625rem; color: #6c6b63; margin-top: 20px; }

.small-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; border-top: 1px solid var(--line); margin-top: 112px; padding-top: 28px; }
.small-features h3 { font-size: .8125rem; font-weight: 500; margin-bottom: 10px; }
.small-features p { font-size: .8125rem; color: var(--muted); line-height: 1.85; }

.privacy-section { background: #25242a; color: #f1f0ea; padding-block: 86px; }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.privacy-section .eyebrow { color: #c5c3bb; }
.privacy-section h2 { font: 400 clamp(2.7rem, 4.2vw, 3.8rem)/1.1 var(--serif); letter-spacing: -.04em; margin-top: 22px; }
.privacy-section h2 em { font-weight: 400; color: #ddd6cc; }
.privacy-copy > p { color: #cfcdc5; font-size: .875rem; line-height: 1.9; max-width: 400px; }
.privacy-facts { list-style: none; padding: 0; margin: 22px 0 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; }
.privacy-facts li { font-size: .75rem; color: #e8e7df; }
.privacy-facts li::before { content: '—'; color: #a9a59a; margin-right: 9px; }
.privacy-section a { color: #ebeae2; }
.privacy-section :focus-visible { outline-color: var(--paper); }

.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.faq-title h2 { font: 400 2.5rem/1.15 var(--serif); letter-spacing: -.035em; margin: 18px 0; }
.faq-title > p:last-child { font-size: .8125rem; color: var(--muted); line-height: 1.8; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 22px; font-size: .875rem; font-weight: 500; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.125rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { font-size: .8125rem; color: var(--muted); line-height: 1.9; padding: 0 25px 22px 0; }

.download-section { background: #eae8e1; padding-block: 77px 65px; }
.download-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.download-top h2 { font: 400 clamp(2.7rem, 4.8vw, 4.5rem)/1.05 var(--serif); letter-spacing: -.05em; margin: 18px 0; }
.download-top p:last-child { color: var(--muted); font-size: .75rem; line-height: 1.8; }
.download-platforms { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid #cfccc2; }
.download-platform { padding: 25px 28px 25px 0; }
.download-platform + .download-platform { padding-left: 28px; border-left: 1px solid #cfccc2; }
.download-platform h3 { font: 400 1.375rem/1.2 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.download-platform ul { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 0; list-style: none; margin: 0; }
.download-platform a { font-size: .8125rem; line-height: 1.7; }
.download-platform .soon { font-size: .8125rem; line-height: 1.7; color: var(--muted); }
.download-platform p { margin-top: 11px; font-size: .6875rem; color: var(--muted); line-height: 1.6; }
.download-fineprint { margin-top: 23px; font-size: .6875rem; line-height: 1.9; color: var(--muted); }

.site-footer { padding-block: 38px 28px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .6875rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .5625rem; line-height: 1.8; }

/* ---- legal pages (privacy policy) --------------------------------------- */
.legal { max-width: 680px; padding-block: 72px 96px; }
.legal h1 { font: 400 clamp(2.8rem, 6vw, 4rem)/1.05 var(--serif); letter-spacing: -.045em; margin: 18px 0 14px; }
.legal .updated { font-size: .75rem; color: var(--muted); margin-bottom: 40px; }
.legal .summary { border-block: 1px solid var(--line); padding-block: 22px; margin-bottom: 18px; font: 1.125rem/1.6 var(--serif); letter-spacing: -.01em; }
.legal h2 { font: 400 1.6rem/1.2 var(--serif); letter-spacing: -.025em; margin: 44px 0 12px; }
.legal p, .legal li { font-size: .875rem; line-height: 1.9; color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 18px; margin: 10px 0 0; }
.legal strong { color: var(--ink); font-weight: 500; }

/* ---- responsive --------------------------------------------------------- */
@media (min-width: 1600px) {
  .wrap { width: min(1240px, calc(100% - 120px)); }
  .hero { padding-top: 82px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .header-links { gap: 24px; }
  .section { padding-block: 80px; }
  .section-heading { gap: 35px; }
  .section-heading > p { max-width: 240px; }
  .product-stage { padding-inline: 28px; }
  .trust-strip { gap: 30px; }
  .app-window { font-size: 10px; }
  .app-toggle.optional { display: none; }
  .step { padding-right: 22px; }
  .step + .step { padding-left: 22px; }
  .output { gap: 45px; margin-top: 80px; }
  .gif-art { padding: 25px; }
  .small-features { margin-top: 80px; }
  .privacy-inner { gap: 45px; }
  .privacy-facts { grid-template-columns: 1fr; }
  .faq-section { gap: 45px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 80px; gap: 20px; }
  .wordmark { font-size: 1.65rem; }
  .wordmark-mark { width: 27px; height: 31px; font-size: 1.55rem; line-height: 25px; }
  .header-links { gap: 17px; font-size: .6875rem; }
  .header-links .desktop-link { display: none; }
  .header-links .header-download { padding: 9px 12px; }
  .header-download span { margin-left: 7px; }
  .hero { padding-block: 48px 35px; }
  .hero h1 { font-size: clamp(3.3rem, 13vw, 4.6rem); margin-block: 21px; }
  .hero .intro { font-size: .8125rem; max-width: 300px; }
  .hero-actions { gap: 19px; margin-top: 25px; }
  .button { padding-inline: 17px; font-size: .6875rem; min-height: 45px; gap: 14px; }
  .text-link { font-size: .6875rem; }
  .hero-note { font-size: .5625rem; }
  .product-stage { padding: 19px 12px 0; }
  .stage-heading { margin-bottom: 17px; }
  .stage-heading .eyebrow { font-size: .5rem; letter-spacing: .08em; }
  .app-window { font-size: 8.5px; border-radius: 7px 7px 0 0; }
  .app-titlebar { height: 24px; gap: 5px; padding-inline: 9px; }
  .app-titlebar i { width: 8px; height: 8px; }
  .app-titlebar span { margin-right: 30px; }
  .app-body { padding: 8px; gap: 7px; }
  .app-toolbar, .app-footer { padding: 6px 7px; gap: 5px; border-radius: 6px; }
  .app-btn { padding: 4px 7px; }
  .app-sep, .app-toggle, .app-btn.minor { display: none; }
  .app-canvas { border-radius: 6px; }
  .selection i { width: 6px; height: 6px; }
  .selection i:nth-of-type(odd) { left: -3px; }
  .selection i:nth-of-type(even) { right: -3px; }
  .selection i:nth-of-type(-n+2) { top: -3px; }
  .selection i:nth-of-type(n+3) { bottom: -3px; }
  .product-caption { padding-block: 13px; font-size: .5625rem; gap: 20px; }
  .product-caption .caption-right { max-width: 150px; }
  .trust-strip { margin-top: 23px; padding-block: 23px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; }
  .trust-strip p { font-size: .5625rem; gap: 8px; }
  .trust-strip p:last-child { grid-column: 1 / -1; justify-self: center; }
  .section { padding-block: 68px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2 { font-size: 2.7rem; }
  .section-heading > p { max-width: 330px; margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step h3 { font-size: 1.5rem; }
  .output { grid-template-columns: 1fr; gap: 32px; margin-top: 68px; }
  .output-copy h2 { font-size: 2.8rem; }
  .gif-art { padding: 18px; }
  .small-features { grid-template-columns: 1fr; gap: 25px; margin-top: 60px; }
  .privacy-section { padding-block: 62px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 30px; }
  .privacy-section h2 { font-size: 2.9rem; }
  .privacy-facts { grid-template-columns: 1fr 1fr; gap: 15px 10px; }
  .privacy-facts li { font-size: .625rem; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-title h2 { font-size: 2.4rem; }
  .faq-list summary { min-height: 64px; }
  .download-section { padding-block: 58px 40px; }
  .download-top { display: block; margin-bottom: 29px; }
  .download-top h2 { font-size: 3.3rem; }
  .download-top > .button { margin-top: 25px; }
  .download-platforms { grid-template-columns: 1fr; }
  .download-platform, .download-platform + .download-platform { padding: 22px 0; border-left: 0; }
  .download-platform + .download-platform { border-top: 1px solid #cfccc2; }
  .download-platform p, .download-fineprint { font-size: .625rem; }
  .footer-main { align-items: flex-start; }
  .footer-links { max-width: 170px; gap: 15px 20px; justify-content: flex-end; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .legal { padding-block: 48px 64px; }
}
@media (max-width: 360px) {
  .header-links > a[href='#faq'] { display: none; }
  .hero-actions { flex-direction: column; gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
