/* stiqnote.com's home page (web/site/home.html); the theme, header and footer are in site.css */
.hm { font-size: 17px; }
.hm h1, .hm h2 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
:where(.hm) p { margin: 0; }
.only-narrow { display: none; }

/* Hero */
.hero { padding-top: 76px; background: radial-gradient(1200px 520px at 50% -40px, #e9e8ff 0%, rgba(233, 232, 255, 0) 70%); }
.hero__text { position: relative; text-align: center; display: grid; justify-items: center; gap: 22px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 82px); line-height: 1; font-weight: 800; max-width: 15ch; }
.hero mark { background: linear-gradient(transparent 58%, var(--note) 58%, var(--note) 92%, transparent 92%); color: inherit; padding: 0 0.06em; }
.lede { max-width: 60ch; font-size: 20px; line-height: 1.55; }
.hero .actions { justify-content: center; margin-top: 4px; }
.hero__fine { font-size: 14px; color: var(--muted); }
.sticky { position: absolute; width: 220px; padding: 12px 14px 14px; background: var(--note); color: var(--note-ink); font-size: 14px; line-height: 1.4; border-radius: 4px 14px 14px 14px; box-shadow: 0 14px 28px -14px rgba(74, 59, 0, 0.5); transform: rotate(-2deg); text-align: left; }
.sticky b { display: block; font-size: 12px; margin-bottom: 3px; opacity: 0.8; }
.sticky::before { content: ''; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50% 50% 50% 4px; background: var(--accent); box-shadow: 0 0 0 3px var(--paper); }
.sticky--hero { right: 2%; top: 120px; }
.browser { margin-top: 56px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(47, 49, 143, 0.45); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #f4f3fa; border-bottom: 1px solid var(--line); }
.browser__bar i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #dcdae8; }
.browser__bar span { margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: var(--card); font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { display: block; width: 100%; height: auto; }

/* The tools it sends feedback to */
.works { padding: 54px 0 24px; }
.works__in { display: grid; gap: 18px; justify-items: center; text-align: center; }
.works__in > p { font-size: 14px; font-weight: 600; color: var(--muted); }
.works__ai { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 14px 24px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px #c9caf7, 0 18px 40px -24px rgba(85, 88, 230, 0.55); }
.works__ai-l { font: 600 14px/1 var(--body); color: var(--accent-deep); padding-right: 18px; border-right: 1px solid var(--line); }
.works__ai-i { display: inline-flex; align-items: center; gap: 8px; font: 700 19px/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.works__ai-i img { width: 22px; height: 22px; }
.works__tools { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; font: 700 18px/1.2 var(--display); color: #6e7288; letter-spacing: -0.01em; }
.works__tools li { display: inline-flex; align-items: center; gap: 9px; }
.works__tools img { width: 22px; height: 22px; opacity: 0.55; }

/* Feature rows */
.frows { padding: 56px 0 24px; display: grid; gap: 120px; }
.frows--2 { padding-top: 110px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: center; }
.frow--flip .frow__text { order: 2; }
.frow__text { display: grid; gap: 16px; align-content: start; }
.frow h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; font-weight: 800; }
.frow .ticks { margin-top: 4px; font-size: 17px; }
.frow .ticks li::before { top: 4px; }
.inset--deadline { width: 260px; bottom: 40px; }

/* Try it on this page */
.try { margin-top: 110px; }
.try__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 56px; border-radius: 26px; background: var(--accent-deep) radial-gradient(500px 220px at 90% 0%, rgba(124, 127, 255, 0.5), transparent 70%); color: #dcddfb; }
.try h2 { color: #fff; font-size: 38px; line-height: 1.1; font-weight: 800; }
.try p { margin-top: 8px; max-width: 56ch; }
.try__go { display: grid; justify-items: center; gap: 10px; }
.btn--note { background: var(--note); color: var(--note-ink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45), inset 0 -2px 0 rgba(74, 59, 0, 0.15); }
.btn--note:hover { background: #ffe370; }
.btn--xl { padding: 20px 28px; font-size: 18px; border-radius: 14px; }
.btn--xl svg { width: 20px; height: 20px; }
.try__key { font-size: 14px; color: #c6c8f7; }
.try__key kbd { font: 600 12px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Why, pricing, FAQ */
.why, .price, .qa { padding-top: 110px; }
.why h2, .price h2, .qa h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; }
.why__grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.why__grid > div { padding-top: 20px; border-top: 2px solid var(--ink); }
.why__grid b { font: 700 20px/1.25 var(--display); color: var(--ink); letter-spacing: -0.015em; }
.why__grid p { margin-top: 10px; }
.price__sub { margin-top: 12px; max-width: 60ch; }
.price .pricing__switches { margin-top: 26px; }
.price .billing { margin-bottom: 0; }
.price .offer { margin: 18px 0 0; }
.price .plans { margin-top: 22px; }
.price__fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.price__fine .more { margin: 0 0 0 4px; }

/* Security, the maker */
.trust { padding-top: 120px; }
.trust__sec { display: flex; gap: 18px; padding: 30px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.trust__sec > svg { flex: none; width: 34px; height: 34px; color: var(--accent); }
.trust__sec b { font: 700 20px/1.25 var(--display); color: var(--ink); }
.trust__sec p { margin-top: 8px; }
.quote { margin-top: 110px; padding: 72px 0; background: var(--accent-soft); }
.maker { margin: 0; display: flex; gap: 44px; align-items: center; }
.maker img { flex: none; width: 180px; height: 225px; object-fit: cover; border-radius: 18px; }
.maker blockquote { margin: 0; }
.maker blockquote p { font: 700 clamp(28px, 3.4vw, 44px)/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.maker figcaption { margin-top: 18px; font-size: 16px; color: var(--muted); }

.qa h2 { margin-bottom: 18px; }
.qa__grid { columns: 2; column-gap: 48px; }
.qa details { break-inside: avoid; border-top: 1px solid var(--line); padding: 18px 0; }
.qa summary { cursor: pointer; font: 700 18px/1.3 var(--display); color: var(--ink); letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--accent); font-weight: 700; }
.qa details[open] summary::after { content: '–'; }
.qa details p { margin-top: 10px; max-width: 64ch; }
.qa a { color: var(--accent-text); }

/* The last call */
.final { margin-top: 110px; padding: 96px 0; background: var(--accent) radial-gradient(700px 300px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 70%); color: #e6e7ff; text-align: center; }
.final__in { display: grid; justify-items: center; gap: 16px; }
.final h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; font-weight: 800; }
.final p { margin-bottom: 10px; font-size: 18px; }
.final .actions { justify-content: center; }
.final .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
/* Google's badge, unchanged: its own row with room around it, never the main button */
.store-badge { display: inline-block; margin-top: 24px; line-height: 0; border-radius: 8px; }
.store-badge img { display: block; width: 170px; height: auto; }
.store-badge:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.store-badge[hidden] { display: none; }

@media (max-width: 900px) {
	.frow { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.frow--flip .frow__text { order: 0; }
	.why__grid, .price .plans { grid-template-columns: minmax(0, 1fr); }
	.sticky--hero { display: none; }
	.qa__grid { columns: 1; }
	.frows { gap: 88px; }
}
@media (max-width: 640px) {
	.hm { font-size: 16px; }
	.only-wide { display: none; }
	.only-narrow { display: inline; }
	.hero { padding-top: 40px; }
	.hero__text { gap: 18px; }
	.pill { font-size: 13px; text-align: left; }
	.hero h1 { font-size: clamp(36px, 11vw, 46px); line-height: 1.04; }
	.lede { font-size: 17px; }
	.hero .actions { width: 100%; }
	.hero .actions .btn { flex: 1 1 100%; }
	.browser { margin-top: 36px; border-radius: 14px; }
	.browser__bar { height: 34px; padding: 0 12px; }
	.browser__bar i { width: 9px; height: 9px; }
	.works__ai { border-radius: 22px; padding: 14px 18px; }
	.works__ai-l { flex: 1 0 100%; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
	.works__ai-i { font-size: 17px; }
	.works__tools { gap: 12px 22px; font-size: 16px; }
	.frows { padding-top: 40px; gap: 72px; }
	.frows--2 { padding-top: 72px; }
	.frow h2 { font-size: 30px; line-height: 1.12; }
	.frow .ticks { font-size: 16px; }
	.try { margin-top: 72px; }
	.try__in { padding: 30px 22px; gap: 22px; }
	.try h2 { font-size: 28px; }
	.try__go, .try__go .btn { width: 100%; }
	.why, .price, .qa { padding-top: 72px; }
	.why h2, .price h2, .qa h2 { font-size: 30px; }
	.plan { padding: 22px; }
	.trust { padding-top: 72px; }
	.trust__sec { padding: 22px; gap: 14px; }
	.trust__sec > svg { width: 28px; height: 28px; }
	.quote { margin-top: 72px; padding: 48px 0; }
	.maker { flex-direction: column; align-items: flex-start; gap: 22px; }
	.maker img { width: 120px; height: 150px; }
	.maker blockquote p { font-size: 28px; }
	.qa summary { font-size: 17px; }
	.final { margin-top: 72px; padding: 64px 0; }
	.final h2 { font-size: 34px; line-height: 1.1; }
	.final .actions, .final .actions .btn { width: 100%; }
}