/* Marigold website. Tokens from the app's design system (PhotoCleaner/UI/Design). */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FCF6E8; --surface: #FFFDF8; --sand: #F2EAD3; --tint: #FBE6B0; --line: #E8DEC4;
  --primary: #F2A413; --deep: #8C5600; --ink: #221D14; --text: #2A2417; --text2: #574D3B; --text3: #7B6E56;
  --keep: #F4BBBE; --keep-ink: #9C3B4B; --leaf: #B5D3AC;
  --r: 22px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.6 Inter, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
h1, h2, h3, .h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(42px, 6.2vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3, .h3 { font-size: 22px; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--deep); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--text3); font-size: 15px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.kicker.light { color: var(--primary); }
.lede { font-size: 20px; color: var(--text2); max-width: 600px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 99px; transition: transform .15s, background .15s; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 14px; background: var(--primary); color: var(--ink); }
.btn-small:hover { background: #E59A0B; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: Fraunces, serif; font-size: 22px; font-weight: 600; }
.brand img { width: 28px; height: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } .nav-row .btn-small { margin-left: auto; } }

/* sections */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.sunk { background: var(--sand); }
.dark { background: var(--ink); color: #F4EEDF; padding: 96px 0; }
.dark h2, .dark h3 { color: #FCF6E8; }
.dark h2 em { color: var(--primary); }
.dark p { color: #D9CFB8; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split.flip { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 880px) { .split, .split.flip { grid-template-columns: 1fr; gap: 40px; } .section, .dark { padding: 72px 0; } }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 28px 0 22px; }
.pill { display: inline-block; background: var(--leaf); color: #2F4A28; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 14px; margin: 0 0 8px; }
.note { font-size: 14px; color: var(--text3); }
.hero-phone img, .phone img { width: 100%; max-width: 330px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(34,29,20,.18)); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-phone img { max-width: 260px; } }

/* founder */
.founder { padding: 24px 0 88px; }
.founder-grid { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: start; background: var(--surface); border-radius: var(--r); padding: 40px; box-shadow: 0 1px 2px rgba(34,29,20,.05), 0 12px 40px rgba(34,29,20,.06); }
.founder-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.story { font-family: Fraunces, serif; font-size: 23px; line-height: 1.4; color: var(--text); }
@media (max-width: 720px) { .founder-grid { grid-template-columns: 1fr; padding: 28px; } .founder-photo { width: 110px; height: 110px; } .story { font-size: 20px; } }

/* name */
.gp { margin: 0; }
.gp img { border-radius: var(--r); width: 100%; max-width: 420px; margin-left: auto; }
.gp figcaption { font-family: Fraunces, serif; font-style: italic; color: var(--primary); text-align: right; margin-top: 10px; }

/* facts, cards */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.fact, .card { background: var(--surface); border-radius: var(--r); padding: 28px; }
.fact-big { font-family: Fraunces, serif; font-size: 28px; font-weight: 600; color: var(--deep); margin-bottom: 8px; line-height: 1.1; }
.fact p:last-child, .card p:last-child { margin: 0; color: var(--text2); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.card.plain { background: transparent; padding: 0; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .facts, .grid4 { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 32px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; margin-bottom: 22px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--deep); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps h3 { font-size: 20px; margin-bottom: 4px; }
.steps p { color: var(--text2); margin: 0; }

/* chips */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { background: #3A3020; color: #F5C565; font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 99px; }

/* pricing */
.price-card { background: var(--surface); border-radius: var(--r); padding: 48px; max-width: 760px; margin: 0 auto; text-align: center; box-shadow: 0 12px 40px rgba(34,29,20,.06); }
.price-card p { color: var(--text2); }
.badge { display: inline-block; background: var(--tint); color: var(--deep) !important; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 99px; margin: 6px 0 24px; }
@media (max-width: 720px) { .price-card { padding: 32px 22px; } }

/* faq */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; padding: 20px 40px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--deep); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text2); padding: 0 0 20px; margin: 0; }

/* blog */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 24px; }
.post-card { background: var(--surface); border-radius: var(--r); padding: 28px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34,29,20,.08); }
.post-card h3 { margin: 0; font-size: 22px; }
.post-card p { color: var(--text2); font-size: 15px; margin: 0; flex: 1; }
@media (max-width: 960px) { .cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards3 { grid-template-columns: 1fr; } }
.page-head { padding: 80px 0 24px; }
.article { padding: 56px 0 80px; }
.article h1 { font-size: clamp(36px, 5vw, 54px); }
.crumbs { font-size: 14px; color: var(--text3); margin-bottom: 18px; }
.crumbs a { color: var(--text3); }
.byline { color: var(--text3); font-size: 15px; margin-bottom: 36px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--primary); font-family: Fraunces, serif; font-size: 22px; color: var(--text); }
.prose strong { color: var(--text); }
.cta-box { display: flex; gap: 22px; align-items: flex-start; background: var(--tint); border-radius: var(--r); padding: 28px; margin-top: 48px; }
.cta-box img { border-radius: 16px; flex: 0 0 64px; }
.cta-title { font-family: Fraunces, serif; font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.cta-box p { color: var(--text2); }
@media (max-width: 560px) { .cta-box { flex-direction: column; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer-links a { color: var(--text2); text-decoration: none; font-size: 15px; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
