/* storeeditai.com. Every value below comes from DESIGN.md. */

:root {
	--ink: #1d2327;
	--slate: #50575e;
	--page: #ffffff;
	--band: #f6f7f9;
	--tint: #eef1fd;
	--rule: #dcdcde;
	--action: #3858e9;
	--action-hover: #2145e6;
	--approve: #007a3d;
	--approve-tint: #e6f4ea;
	--strike: #d63638;

	--f-display: "Playfair Display", Georgia, serif;
	--f-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	--f-value: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

	--t-h1: clamp(2.375rem, 5vw, 3.625rem);
	--t-h2: clamp(1.875rem, 3.6vw, 2.5rem);
	--t-h3: 1.1875rem;
	--t-lead: 1.1875rem;
	--t-body: 1.03125rem;
	--t-small: 0.875rem;
	--t-label: 0.75rem;

	--r-sm: 4px;
	--r-md: 8px;
	--s-1: 8px;
	--s-2: 16px;
	--s-3: 24px;
	--s-4: 40px;
	--s-5: 64px;
	--s-section: clamp(64px, 8vw, 96px);
	--margin: clamp(20px, 4vw, 32px);
	--max: 1120px;
	--read: 640px;
	--head: 68px;
	--shadow: 0 18px 44px -18px rgba(29, 35, 39, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 var(--t-body)/1.65 var(--f-body); text-wrap: pretty; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
b, strong { font-weight: 700; }
del, ins { text-decoration: none; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: var(--r-sm); }

.se-wrap { max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.se-read { max-width: var(--read); margin-inline: auto; }
.se-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.se-skip { position: absolute; left: var(--margin); top: var(--s-1); z-index: 40; padding: var(--s-1) var(--s-2); background: var(--ink); color: var(--page); border-radius: var(--r-sm); }
.se-skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }

h1, h2 { font-family: var(--f-display); font-weight: 700; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--t-h1); line-height: 1.14; }
h2 { font-size: var(--t-h2); line-height: 1.2; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.35; }

.se-label { display: block; font: 700 var(--t-label)/1.3 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--action); }

/* buttons */
.se-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--s-1) 30px; border: 1px solid transparent; border-radius: var(--r-sm); font: 700 1rem/1.2 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.se-btn--buy { background: var(--action); color: var(--page); }
.se-btn--buy:hover { background: var(--action-hover); color: var(--page); }
.se-btn--line { background: var(--page); border-color: var(--rule); color: var(--ink); }
.se-btn--line:hover { border-color: var(--ink); color: var(--ink); }
.se-btn--small { min-height: 40px; padding-inline: 18px; font-size: var(--t-small); }

/* header */
.se-head { position: sticky; top: 0; z-index: 30; background: var(--page); border-bottom: 1px solid var(--rule); }
.se-head__in { display: flex; align-items: center; gap: var(--s-3); min-height: var(--head); }
.se-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.125rem/1 var(--f-body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.se-brand img { width: 34px; height: 34px; border-radius: var(--r-sm); }
.se-nav { display: flex; gap: var(--s-3); margin-inline: auto; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.se-nav a { padding-block: var(--s-1); color: var(--ink); text-decoration: none; }
.se-nav a:hover, .se-nav a[aria-current] { color: var(--action); }

/* sections */
.se-sec { padding-block: var(--s-section); }
.se-sec--band { background: var(--band); }
.se-sec--tint { background: var(--tint); }
.se-sec__head { max-width: 760px; margin-inline: auto; text-align: center; }
.se-sec__head h2 { margin-top: var(--s-1); }
.se-sec__head p { margin-top: var(--s-2); color: var(--slate); }
.se-sec__head + * { margin-top: var(--s-4); }

/* hero */
.se-hero { padding-block: clamp(48px, 7vw, 80px) 0; background: linear-gradient(to bottom, var(--tint) 0 78%, var(--page) 78% 100%); text-align: center; }
.se-pill { display: inline-flex; align-items: center; gap: var(--s-1); padding: 6px 16px; background: var(--page); border: 1px solid var(--rule); border-radius: 999px; font-size: var(--t-small); font-weight: 600; color: var(--slate); }
.se-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--approve); }
.se-hero h1 { margin: var(--s-3) auto 0; }
.se-hero h1 span { display: block; }
.se-hero__deck { max-width: 62ch; margin: var(--s-3) auto 0; font-size: var(--t-lead); line-height: 1.6; color: var(--slate); }
.se-hero__deck b { color: var(--ink); }
.se-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.se-hero__note { margin-top: var(--s-2); font-size: var(--t-small); color: var(--slate); }
.se-shot { margin-top: var(--s-5); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--page); box-shadow: var(--shadow); }
.se-shot figcaption { padding: var(--s-2) var(--s-3); border-top: 1px solid var(--rule); font-size: var(--t-small); color: var(--slate); text-align: start; }

/* the story, and the maker's words */
.se-story p + p { margin-top: var(--s-3); }
.se-story .se-apart { margin-block: var(--s-4); padding: var(--s-3); background: var(--tint); border-inline-start: 4px solid var(--action); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 700; }
.se-said { margin-top: var(--s-3); padding: var(--s-3); background: var(--page); border: 1px solid var(--rule); border-radius: var(--r-md); font-weight: 600; }

/* three steps */
.se-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.se-steps li { padding: var(--s-3); background: var(--page); border: 1px solid var(--rule); border-radius: var(--r-md); }
.se-steps__n { display: inline-block; padding: 2px 10px; background: var(--tint); border-radius: var(--r-sm); font: 500 var(--t-small)/1.6 var(--f-value); color: var(--action); }
.se-steps h3 { margin-top: var(--s-2); }
.se-steps p { margin-top: var(--s-1); color: var(--slate); font-size: 0.96875rem; }

/* the diff: now -> would become */
del { position: relative; color: var(--slate); font: 500 var(--t-small)/1.5 var(--f-value); }
del::after { content: ""; position: absolute; inset-inline: -2px; top: 52%; height: 2px; background: var(--strike); }
ins { display: inline-block; padding: 1px var(--s-1) 1px 11px; background: var(--approve-tint); border-radius: var(--r-sm); box-shadow: inset 3px 0 0 var(--approve); color: var(--ink); font: 500 var(--t-small)/1.5 var(--f-value); }
.se-arrow { flex: none; width: 20px; height: 20px; color: var(--slate); }
.se-diff { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: var(--s-1) var(--s-2); }
.se-diff > span { grid-column: 1 / -1; font: 700 var(--t-label)/1.3 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.se-diff > ins { justify-self: start; }

.se-changes h3 { margin: var(--s-4) 0 var(--s-1); font-size: var(--t-small); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.se-changes h3:first-child { margin-top: 0; }
.se-changes li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 6fr); gap: var(--s-1) var(--s-3); align-items: start; padding-block: var(--s-3); border-top: 1px solid var(--rule); }
.se-changes li:last-child { border-bottom: 1px solid var(--rule); }
.se-changes b { font-size: var(--t-h3); }
.se-changes q { color: var(--slate); quotes: "\201C" "\201D"; }
.se-changes small { grid-column: 3; font-size: var(--t-small); color: var(--slate); }
.se-foot-note { max-width: 70ch; margin: var(--s-3) auto 0; font-size: var(--t-small); color: var(--slate); text-align: center; }

/* the numbers */
.se-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.se-facts div { padding: var(--s-3); background: var(--page); border: 1px solid var(--rule); border-radius: var(--r-md); }
.se-facts dt { font: 700 clamp(1.75rem, 3vw, 2.375rem)/1.1 var(--f-value); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.se-facts dd { margin-top: var(--s-1); font-size: var(--t-small); color: var(--slate); }

/* tables */
.se-scroll { overflow-x: auto; }
.se-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--page); border: 1px solid var(--rule); font-size: 0.9375rem; }
.se-table th, .se-table td { padding: 14px var(--s-2); text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); }
.se-table thead th { background: var(--band); font: 700 var(--t-label)/1.3 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.se-table thead th.se-us { color: var(--action); }
.se-table tbody th { font-weight: 600; }
.se-table td.se-us { background: var(--tint); font-weight: 600; }
.se-yes { color: var(--approve); font-weight: 700; }
.se-no { color: var(--slate); }

/* prices */
.se-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-items: stretch; }
.se-tier { position: relative; display: flex; flex-direction: column; padding: var(--s-4) var(--s-3) var(--s-3); background: var(--page); border: 2px solid var(--rule); border-radius: var(--r-md); text-align: center; }
.se-tier--marked { border-color: var(--action); box-shadow: var(--shadow); }
.se-tier__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 12px; background: var(--action); color: var(--page); border-radius: 999px; font: 700 var(--t-label)/1.5 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.se-tier h3 { font: 700 1.5rem/1.2 var(--f-display); }
.se-tier__for { margin-top: 4px; font-size: var(--t-small); color: var(--slate); }
.se-tier__price { display: flex; align-items: baseline; justify-content: center; gap: var(--s-1); margin-top: var(--s-3); }
.se-tier__price del { font-size: 1rem; }
.se-tier__price ins { padding: 0; background: none; box-shadow: none; font: 700 3rem/1 var(--f-value); letter-spacing: -0.03em; }
.se-tier__price ins sup { font-size: 0.45em; vertical-align: 0.9em; margin-inline-end: 2px; }
.se-tier__per { font-size: var(--t-small); color: var(--slate); }
.se-tier ul { margin-block: var(--s-3); text-align: start; }
.se-tier li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding-block: 9px; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.se-tier li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--approve); }
.se-tier .se-btn { margin-top: auto; }
.se-stop { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-2); max-width: 760px; margin: var(--s-4) auto 0; padding: var(--s-3); background: var(--approve-tint); border-radius: var(--r-md); }
.se-stop svg { width: 26px; height: 26px; color: var(--approve); }
.se-stop b { display: block; }

/* questions */
.se-faq details { background: var(--page); border: 1px solid var(--rule); border-bottom: 0; }
.se-faq details:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
.se-faq details:last-child { border-bottom: 1px solid var(--rule); border-radius: 0 0 var(--r-md) var(--r-md); }
.se-faq summary { display: flex; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) var(--s-3); font-weight: 700; cursor: pointer; list-style: none; }
.se-faq summary::-webkit-details-marker { display: none; }
.se-faq summary::after { content: "+"; flex: none; font: 500 1.25rem/1.3 var(--f-value); color: var(--action); }
.se-faq details[open] summary::after { content: "\2212"; }
.se-faq details p { padding: 0 var(--s-3) var(--s-3); color: var(--slate); }

/* closing, footer */
.se-close { padding-block: var(--s-section); background: var(--tint); text-align: center; }
.se-close p { max-width: 56ch; margin: var(--s-2) auto 0; color: var(--slate); }
.se-foot { padding-block: var(--s-4); border-top: 1px solid var(--rule); font-size: var(--t-small); color: var(--slate); text-align: center; }
.se-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-3); font-weight: 600; }
.se-foot nav a { color: var(--ink); text-decoration: none; }
.se-foot nav a:hover { color: var(--action); }
.se-foot p { margin-top: var(--s-2); }

/* articles: the blog and the documentation */
.se-article { padding-block: var(--s-5) var(--s-section); }
.se-article header { max-width: 760px; margin-inline: auto; }
.se-article header h1 { margin-top: var(--s-1); font-size: clamp(2rem, 4.2vw, 2.875rem); }
.se-article header p { margin-top: var(--s-2); font-size: var(--t-lead); color: var(--slate); }
.se-article header time, .se-crumbs { font-size: var(--t-small); color: var(--slate); }
.se-crumbs a { color: var(--slate); }
.se-prose { max-width: 760px; margin: var(--s-4) auto 0; }
.se-prose > * + * { margin-top: var(--s-3); }
.se-prose h2 { margin-top: var(--s-5); font-size: clamp(1.5rem, 2.8vw, 1.875rem); }
.se-prose h3 { margin-top: var(--s-4); }
.se-prose ul, .se-prose ol { padding-inline-start: 1.4em; }
.se-prose ul { list-style: disc; }
.se-prose ol { list-style: decimal; }
.se-prose li + li { margin-top: var(--s-1); }
.se-prose code { padding: 1px 6px; background: var(--band); border-radius: var(--r-sm); font: 500 0.9em/1.5 var(--f-value); }
.se-prose pre { padding: var(--s-2); background: var(--ink); color: var(--band); border-radius: var(--r-md); overflow-x: auto; font: 500 var(--t-small)/1.6 var(--f-value); }
.se-prose pre code { padding: 0; background: none; color: inherit; }
.se-prose blockquote { padding: var(--s-2) var(--s-3); background: var(--tint); border-inline-start: 4px solid var(--action); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.se-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.se-prose th, .se-prose td { padding: 10px var(--s-2); text-align: start; vertical-align: top; border: 1px solid var(--rule); }
.se-prose thead th { background: var(--band); }
.se-prose figure img { border: 1px solid var(--rule); border-radius: var(--r-md); }
.se-prose figcaption { margin-top: var(--s-1); font-size: var(--t-small); color: var(--slate); }
.se-box { padding: var(--s-3); background: var(--band); border: 1px solid var(--rule); border-radius: var(--r-md); }
.se-box h2, .se-box h3 { margin-top: 0; font-family: var(--f-body); font-size: var(--t-h3); letter-spacing: 0; }
.se-box .se-btn { margin-top: var(--s-2); }

.se-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); max-width: 960px; margin: var(--s-4) auto 0; }
.se-posts article { display: flex; flex-direction: column; padding: var(--s-3); border: 1px solid var(--rule); border-radius: var(--r-md); }
.se-posts h2 { font: 700 1.3125rem/1.3 var(--f-body); letter-spacing: 0; }
.se-posts h2 a { color: var(--ink); text-decoration: none; }
.se-posts h2 a:hover { color: var(--action); }
.se-posts p { margin-top: var(--s-1); color: var(--slate); font-size: 0.96875rem; }
.se-posts time { margin-top: auto; padding-top: var(--s-2); font-size: var(--t-small); color: var(--slate); }

@media (max-width: 940px) {
	.se-head__in { flex-wrap: wrap; gap: 0 var(--s-3); }
	.se-head .se-btn { margin-inline-start: auto; }
	.se-nav { order: 3; flex: 1 1 100%; margin: 0; padding-block: 2px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--rule); }
	html { scroll-padding-top: 124px; }
	.se-steps, .se-tiers { grid-template-columns: minmax(0, 1fr); }
	.se-tier--marked { order: -1; }
	.se-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.se-changes li { grid-template-columns: minmax(0, 1fr); }
	.se-changes small { grid-column: 1; }
	.se-posts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.se-btn { white-space: normal; text-align: center; }
	.se-cta .se-btn { flex: 1 1 100%; }
	.se-facts { grid-template-columns: minmax(0, 1fr); }
}
@media print {
	.se-head, .se-skip, .se-cta, .se-close { display: none; }
	.se-sec, .se-article { padding-block: var(--s-3); }
	.se-hero, .se-sec--band, .se-sec--tint { background: none; }
}
