/* hushtext.app: one stylesheet, system fonts only (nothing to download), light and dark. */
:root {
	--paper: #FBFAF7;
	--paper-2: #F3F1EC;
	--card: #FFFFFF;
	--ink: #1B1A21;
	--ink-2: #55535E;
	--ink-3: #8A8794;
	--line: rgba(27, 26, 33, 0.09);
	--indigo: #4338CA;
	--indigo-2: #5B50E0;
	--lilac: #8B85F0;
	--lavender: #ECEAFD;
	--deep: #1E1A4D;
	--shadow: 0 1px 2px rgba(20, 18, 40, .06), 0 12px 40px rgba(20, 18, 40, .12);
	--radius: 22px;
	--serif: ui-serif, "New York", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--paper: #121117;
		--paper-2: #1A1922;
		--card: #1E1D27;
		--ink: #F2F1F7;
		--ink-2: #B9B7C6;
		--ink-3: #85839A;
		--line: rgba(255, 255, 255, 0.1);
		--indigo: #9C95FF;
		--indigo-2: #B3ADFF;
		--lavender: #24213F;
		--deep: #17142F;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px rgba(0, 0, 0, .45);
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { inset-inline-start: 12px; }
.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.012em; }
:is(:lang(ja), :lang(ko), :lang(zh), :lang(hi)) .serif { font-family: var(--sans); font-weight: 750; letter-spacing: 0; }
.accent { color: var(--indigo); }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin: 0 0 10px; }
:is(:lang(ja), :lang(ko), :lang(zh), :lang(hi)) .eyebrow { letter-spacing: .02em; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2.serif { font-size: clamp(30px, 4.2vw, 46px); }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }
/* Language switcher, chili-logic.com's (LangSwitch.js, MainPage.css): [flag] PL ▾ opening two columns of five, every
   language named in itself with its flag and a tick on the current one. */
.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; }
.lang-flag { position: relative; display: inline-block; flex: none; width: 1.5em; height: 1em; border-radius: .2em; overflow: hidden;
	box-shadow: 0 0 0 .5px rgba(20, 18, 40, .28); vertical-align: -.12em; }
.lang-flag svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lang { position: relative; font-size: 15px; }
.lang summary { list-style: none; cursor: pointer; color: var(--ink-2); padding: 7px 10px; border-radius: 10px; display: flex; gap: 7px;
	align-items: center; font-weight: 650; font-size: 14px; letter-spacing: .02em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--paper-2); color: var(--ink); }
.lang .caret { transition: transform .18s ease; }
.lang[open] .caret { transform: rotate(180deg); }
.lang-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; display: grid;
	grid-template-columns: repeat(3, minmax(9.5rem, 1fr)); gap: 2px 4px; max-height: calc(100vh - 90px); overflow-y: auto; background: var(--card); border: 1px solid var(--line);
	border-radius: 18px; box-shadow: var(--shadow); animation: lang-in .18s ease; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang-panel { animation: none; } .lang .caret { transition: none; } }
.lang-option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 12px; border-radius: 12px; color: var(--ink);
	font-weight: 600; font-size: 16px; line-height: 1.3; }
.lang-option:hover { background: var(--paper-2); text-decoration: none; }
.lang-option[aria-current] { background: var(--lavender); color: var(--indigo); }
.lang-name { flex: 1; min-width: 0; }
.lang-check { flex: none; color: var(--indigo); }
@media (max-width: 640px) { .lang-panel { position: fixed; left: 16px; right: 16px; top: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Each name in its own script's face, whatever the page language (a Japanese page must not draw 简体中文 in Japanese). */
.lang-option:lang(ja) { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; }
.lang-option:lang(zh-Hans) { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.lang-option:lang(hi) { font-family: "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", sans-serif; }
.lang-option:lang(ko) { font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-inline-start: auto; } }

/* Store button */
.store { display: inline-flex; align-items: center; min-height: 48px; }
.store img { width: 150px; height: 50px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px;
	background: radial-gradient(1200px 520px at 78% 18%, var(--lavender), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.02; }
.hero .platforms { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-bottom: 18px; }
.hero .lead { margin: 22px 0 30px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero .more { font-weight: 600; }
.fine { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.fine li::before { content: "✓"; color: var(--indigo); font-weight: 700; margin-inline-end: 6px; }
.model { display: flex; gap: 14px; align-items: center; margin-top: 34px; padding: 14px 18px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); max-width: 440px; }
.model .wave { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--lavender); color: var(--indigo); display: grid; place-items: center; }
.model b { display: block; font-size: 16px; }
.model span { font-size: 14px; color: var(--ink-2); }
.hero-media { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
	.hero { padding-top: 40px; }
	.hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Device frames */
.phone { position: relative; width: min(320px, 78vw); padding: 11px; border-radius: 52px; background: linear-gradient(160deg, #2B2A31, #0E0E12); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.phone > :is(img, video) { width: 100%; aspect-ratio: 660 / 1434; object-fit: cover; border-radius: 42px; background: #000; }
.phone.sm { width: min(236px, 42vw); padding: 9px; border-radius: 40px; }
.phone.sm > :is(img, video) { border-radius: 32px; }
.tablet { padding: 12px; border-radius: 34px; background: linear-gradient(160deg, #2B2A31, #0E0E12); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.tablet img { border-radius: 23px; }
.watch { width: 190px; padding: 12px; border-radius: 50px; background: linear-gradient(160deg, #2B2A31, #0E0E12); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.watch img { border-radius: 40px; aspect-ratio: 416 / 496; }
.play { position: absolute; inset-inline-end: 16px; bottom: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20, 20, 26, .62); color: #fff; cursor: pointer; display: grid; place-items: center;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.play svg { width: 18px; height: 18px; fill: currentColor; }

/* Sections */
section { scroll-margin-top: 70px; }
.block { padding: 96px 0; }
.block.tight { padding: 64px 0; }
.alt { background: var(--paper-2); }
.intro { text-align: center; }
.intro h2 { font-size: clamp(30px, 4vw, 44px); max-width: 18em; margin: 0 auto 20px; }
.intro p { max-width: 40em; margin: 0 auto; }
.intro img { margin: 48px auto 0; width: min(1000px, 100%); border-radius: var(--radius); }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chapter.flip .text { order: 2; }
.chapter h2 { margin-bottom: 18px; }
.chapter .text p { max-width: 30em; }
.chapter .media { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.chapter ul.points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 32em; }
.chapter ul.points li { padding-inline-start: 28px; position: relative; color: var(--ink-2); }
.chapter ul.points li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.pro-pill { display: inline-block; margin-inline-start: 10px; vertical-align: middle; font: 700 12px/1 var(--sans); letter-spacing: .02em; color: #fff; background: var(--indigo); padding: 5px 9px; border-radius: 999px; }
@media (max-width: 900px) {
	.block { padding: 64px 0; }
	.chapter { grid-template-columns: 1fr; gap: 36px; }
	.chapter.flip .text { order: 0; }
}

/* Gallery */
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 20px; }
.arrows button:hover { background: var(--lavender); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 62vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; }
.strip img { scroll-snap-align: start; border-radius: 22px; box-shadow: 0 6px 24px rgba(20, 18, 40, .12); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(20, 18, 40, .05); border: 1px solid var(--line); }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); display: grid; gap: 8px; }
.card p + p { margin-top: 10px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band { background: var(--deep); color: #EEEDFB; }
.privacy-band .eyebrow { color: #B3ADFF; }
.privacy-band .lead { color: #C9C6EA; }
.privacy-band .soft { color: #B3ADFF; }
.privacy-band a { color: #CFCBFF; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 36px; }
.plans .card.pro { border: 2px solid var(--indigo); }
.plans ul { padding-inline-start: 18px; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Devices, support, press */
.devices { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr; } }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 600; }
.button:hover { text-decoration: none; background: var(--indigo-2); }
.button.ghost { background: transparent; color: var(--indigo); border: 1.5px solid currentColor; }
.press-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-top: 32px; }
.press-grid h3 { font-size: 18px; margin: 0 0 8px; }
.press-grid p + h3 { margin-top: 24px; }
.press-grid p + p { margin-top: 10px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
.downloads { display: grid; gap: 12px; margin-top: 26px; }
.downloads a { display: block; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.downloads small { display: block; color: var(--ink-3); }
@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr; } }

/* Final call and footer */
.final { text-align: center; background: radial-gradient(900px 420px at 50% 0%, var(--lavender), transparent 70%); }
.final h2 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 18px; }
.final .store { margin-top: 28px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--ink-2); }

/* Text pages */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.page h2 { font-size: 21px; margin: 34px 0 8px; font-family: var(--sans); }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-inline-start: 20px; display: grid; gap: 8px; }
.page .meta { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.callout { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--lavender); color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Arabic and Hebrew (build.py also turns the arrows in the text around). */
[dir="rtl"] .lang-option, [dir="rtl"] .lang summary { text-align: right; }

/* Blog */
.article { padding-top: 44px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a { color: var(--ink-2); }
.article h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; }
.article .meta { color: var(--ink-3); font-size: 15px; margin: 16px 0 26px; }
.hero-img { margin: 0 0 38px; }
.hero-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.prose { font-size: 18.5px; line-height: 1.7; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; margin: 46px 0 14px; }
.prose h3 { font-size: 20px; line-height: 1.35; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-inline-start: 24px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--indigo); }
.prose blockquote { margin: 26px 0; padding: 16px 20px; background: var(--lavender); border-radius: 14px; border-inline-start: 4px solid var(--indigo); }
.prose blockquote p { margin: 0; }
.prose .table { overflow-x: auto; margin: 24px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: var(--paper-2); }
.prose code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose figure.shot { margin: 34px 0; display: grid; justify-items: center; text-align: center; }
.prose figure.shot .tablet { max-width: 100%; }
.prose figcaption { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 14px; max-width: 30em; }
:is(:lang(ja), :lang(ko), :lang(zh), :lang(hi), :lang(th)) .prose h2 { font-family: var(--sans); font-weight: 750; }
.cta-box { display: flex; gap: 20px; align-items: flex-start; margin: 44px 0; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.cta-box img { border-radius: 15px; flex: none; }
.prose .cta-box h2 { margin: 0 0 6px; font-size: 24px; }
.cta-box p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.cta-box .cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 16px; }
.related { padding-top: 72px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 28px; }
.post { display: flex; flex-direction: column; color: var(--ink); background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.post:hover { text-decoration: none; transform: translateY(-3px); }
.post img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post div { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.post p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; flex: 1; }
.post .meta { font-size: 13px; color: var(--ink-3); }
.all { margin-top: 26px; }
.blog-index h1 { font-size: clamp(38px, 6vw, 60px); }
.blog-index .lead { margin-top: 12px; max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .post { transition: none; } .post:hover { transform: none; } }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } .cta-box { flex-direction: column; } .prose { font-size: 17.5px; } }
