/* ==========================================================================
   fresh.css — light, friendly homepage theme shared across the app sites.
   Each site sets its own accent in :root (see the top of its index.html).
   Scoped to body.fresh so guide pages keep their existing stylesheet.
   ========================================================================== */
.fresh {
  --ink: #2d2d3a; --ink-2: #555866; --ink-3: #8a8d99;
  --page: #fffbf7; --page-2: #fdf6f0; --card: #ffffff;
  --line: rgba(45, 45, 58, .08);
  --accent: #1f9d55; --accent-ink: #ffffff; --accent-soft: #e9f8ef; --accent-glow: rgba(31, 157, 85, .28);
  --mark: #ecff65;
  --fresh-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.fresh {
  margin: 0; background: var(--page); color: var(--ink); font-family: var(--fresh-font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.fresh.f-shell { display: contents; }
.fresh .f-nav, .fresh .f-foot { font-family: var(--fresh-font); color: var(--ink); line-height: 1.6; }
.fresh .f-nav { font-size: 17px; }
.fresh *, .fresh *::before, .fresh *::after { box-sizing: border-box; }
.fresh h1, .fresh h2, .fresh h3, .fresh p, .fresh ul, .fresh ol { margin: 0; padding: 0; }
.fresh h1, .fresh h2, .fresh h3 { font-family: var(--fresh-font); color: var(--ink); text-transform: none; }
.fresh a { color: inherit; }
.fresh img { max-width: 100%; }
.fresh .f-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.fresh .f-skip { position: absolute; left: -999px; }
.fresh .f-skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* nav */
.fresh .f-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.fresh .f-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.fresh .f-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.3px; }
.fresh .f-brand img { width: 36px; height: 36px; border-radius: 10px; display: block; }
.fresh .f-links { display: flex; align-items: center; gap: 28px; }
.fresh .f-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.fresh .f-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .fresh .f-links a:not(.f-btn) { display: none; } }

/* buttons + pills */
.fresh .f-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 50px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 6px 22px var(--accent-glow); transition: transform .18s ease, box-shadow .18s ease; border: 0; cursor: pointer; }
.fresh .f-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 28px var(--accent-glow); }
.fresh .f-btn.sm { padding: 10px 22px; font-size: .9rem; box-shadow: none; }
.fresh .f-btn.ghost { background: #fff; color: var(--ink) !important; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.fresh .f-btn svg { width: 18px; height: 18px; fill: currentColor; }
.fresh .f-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 50px; background: #fff; color: var(--ink-2); font-size: .92rem; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.fresh .f-pill b { color: var(--ink); font-weight: 700; }
.fresh .f-dot { width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); animation: f-pulse 2s ease-in-out infinite; }
@keyframes f-pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); } }

/* hero */
.fresh .f-hero { position: relative; text-align: center; padding: 72px 0 84px; background: linear-gradient(#fff 0%, var(--page) 30%, var(--accent-soft) 100%); overflow: hidden; }
.fresh .f-hero h1 { font-size: clamp(2.6rem, 8vw, 4.75rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 26px auto 0; max-width: 14ch; }
.fresh .f-hero h1 em { font-style: italic; color: var(--accent); position: relative; white-space: nowrap; }
.fresh .f-hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em; background: var(--mark); border-radius: 6px; z-index: -1; transform: rotate(-1.2deg); }
.fresh .f-hero h1 { position: relative; z-index: 1; }
.fresh .f-sub { max-width: 34rem; margin: 22px auto 0; font-size: 1.15rem; color: var(--ink-2); }
.fresh .f-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.fresh .f-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.fresh .f-float { position: absolute; font-size: 2rem; opacity: .9; animation: f-bob 6s ease-in-out infinite; pointer-events: none; user-select: none; }
@keyframes f-bob { 50% { transform: translateY(-14px) rotate(6deg); } }
@media (max-width: 720px) { .fresh .f-float { display: none; } .fresh .f-hero { padding: 48px 0 60px; } }

/* marquee */
.fresh .f-strip { background: var(--accent-soft); padding: 26px 0 34px; overflow: hidden; }
.fresh .f-strip h2 { text-align: center; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.fresh .f-marq { display: flex; gap: 12px; width: max-content; animation: f-marq 38s linear infinite; }
.fresh .f-strip:hover .f-marq { animation-play-state: paused; }
@keyframes f-marq { to { transform: translateX(-50%); } }
.fresh .f-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 50px; background: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); white-space: nowrap; transition: transform .18s ease; }
.fresh .f-chip:hover { transform: translateY(-3px); }
.fresh .f-chip span { color: var(--accent); font-weight: 700; font-size: .85rem; }

/* sections */
.fresh .f-sec { padding: 84px 0; }
.fresh .f-sec.tint { background: var(--page-2); }
.fresh .f-h2 { text-align: center; font-size: clamp(1.9rem, 5vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; max-width: 18ch; margin: 0 auto; }
.fresh .f-lede { text-align: center; max-width: 36rem; margin: 16px auto 0; color: var(--ink-2); font-size: 1.08rem; }

/* cards */
.fresh .f-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 960px) { .fresh .f-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fresh .f-cards { grid-template-columns: 1fr; } }
.fresh .f-card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 4px 24px rgba(45, 45, 58, .06); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.fresh .f-card:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 14px 34px rgba(45, 45, 58, .1); }
.fresh .f-card .emo { font-size: 2.1rem; line-height: 1; }
.fresh .f-card h3 { font-size: 1.08rem; font-weight: 700; margin-top: 14px; letter-spacing: -.01em; }
.fresh .f-card .when { font-size: .85rem; color: var(--ink-3); margin-top: 2px; }
.fresh .f-card p { font-size: .95rem; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.fresh .f-card .tag { display: inline-block; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--accent); }

/* timeline */
.fresh .f-time { max-width: 620px; margin: 44px auto 0; list-style: none; position: relative; }
.fresh .f-time::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--accent-soft); }
.fresh .f-time li { position: relative; display: flex; gap: 18px; padding: 12px 0; }
.fresh .f-time .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--accent-soft); display: grid; place-items: center; font-size: 1.25rem; position: relative; z-index: 1; }
.fresh .f-time .k { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fresh .f-time p { color: var(--ink-2); font-size: 1.05rem; }
.fresh .f-time p b { color: var(--ink); }

/* demo (dark app card) */
.fresh .f-demo { max-width: 440px; margin: 44px auto 0; background: #121716; color: #d7ddd5; border-radius: 28px; padding: 28px; box-shadow: 0 24px 60px rgba(18, 23, 22, .28); transform: rotate(-1.5deg); }
.fresh .f-demo .top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #737c70; }
.fresh .f-demo .marks { font-size: 3.2rem; letter-spacing: .12em; color: #ecff65; text-shadow: 0 0 22px rgba(236, 255, 101, .45); margin: 18px 0 14px; font-weight: 300; }
.fresh .f-demo .nums { display: flex; gap: 26px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 16px; }
.fresh .f-demo .nums b { display: block; font-size: 1.6rem; color: #fff; font-weight: 700; }
.fresh .f-demo .nums div:first-child b { color: #ecff65; }
.fresh .f-demo .nums span { font-size: .78rem; color: #9fa89c; }

/* maker note */
.fresh .f-note { max-width: 640px; margin: 0 auto; text-align: center; }
.fresh .f-note img.av { width: 92px; height: 92px; border-radius: 26px; box-shadow: 0 10px 30px rgba(45, 45, 58, .16); }
.fresh .f-note .f-pill { margin-top: 18px; }
.fresh .f-note h2 { margin-top: 20px; }
.fresh .f-note p { text-align: left; color: var(--ink-2); font-size: 1.08rem; margin-top: 18px; }
.fresh .f-note p b { color: var(--ink); }

/* faq */
.fresh .f-faq { max-width: 720px; margin: 40px auto 0; display: grid; gap: 12px; }
.fresh .f-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: 0 2px 12px rgba(45, 45, 58, .04); }
.fresh .f-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fresh .f-faq summary::-webkit-details-marker { display: none; }
.fresh .f-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; transition: transform .2s ease; }
.fresh .f-faq details[open] summary::after { transform: rotate(45deg); }
.fresh .f-faq details p { padding: 0 0 20px; color: var(--ink-2); }
.fresh .f-faq a { color: var(--accent); font-weight: 600; }

/* closing */
.fresh .f-close { text-align: center; padding: 90px 0; background: linear-gradient(var(--page) 0%, var(--accent-soft) 100%); }
.fresh .f-close img.av { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 10px 30px rgba(45, 45, 58, .16); }
.fresh .f-close .f-h2 { margin-top: 22px; }

/* footer */
.fresh .f-foot { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: .92rem; color: var(--ink-2); }
.fresh .f-foot-top { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.fresh .f-foot .desc { max-width: 22rem; margin-top: 12px; }
.fresh .f-foot-cols { display: flex; flex-wrap: wrap; gap: 44px; }
.fresh .f-foot h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.fresh .f-foot ul { list-style: none; display: grid; gap: 7px; }
.fresh .f-foot a { text-decoration: none; }
.fresh .f-foot a:hover { color: var(--accent); }
.fresh .f-foot-btm { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }

/* reveal */
.fresh .f-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fresh .f-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fresh .f-rv { opacity: 1; transform: none; } .fresh .f-marq, .fresh .f-float, .fresh .f-dot { animation: none; } }

/* ---------- dark variant: add class "dark" to <body class="fresh dark"> ---------- */
.fresh.dark {
  --ink: #f2f5ef; --ink-2: #b3bcb0; --ink-3: #7c8579;
  --page: #0c100f; --page-2: #111614; --card: #171d1b;
  --line: rgba(255, 255, 255, .08);
  --accent: #ecff65; --accent-ink: #0c100f; --accent-soft: rgba(236, 255, 101, .09); --accent-glow: rgba(236, 255, 101, .3);
  --mark: rgba(236, 255, 101, .2);
}
.fresh.dark .f-nav { background: rgba(12, 16, 15, .82); }
.fresh.dark .f-hero { background: radial-gradient(60rem 30rem at 50% 0%, rgba(236, 255, 101, .1), transparent 70%), linear-gradient(var(--page) 0%, var(--page-2) 100%); }
.fresh.dark .f-hero h1 em { text-shadow: 0 0 34px rgba(236, 255, 101, .35); }
.fresh.dark .f-pill, .fresh.dark .f-chip, .fresh.dark .f-btn.ghost { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.fresh.dark .f-btn.ghost { color: var(--ink) !important; }
.fresh.dark .f-strip { background: var(--page-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fresh.dark .f-card { box-shadow: none; }
.fresh.dark .f-card:hover { border-color: rgba(236, 255, 101, .35); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.fresh.dark .f-time .ic { background: var(--card); border-color: rgba(236, 255, 101, .22); }
.fresh.dark .f-time::before { background: rgba(236, 255, 101, .16); }
.fresh.dark .f-demo { background: #121716; border: 1px solid rgba(236, 255, 101, .28); box-shadow: 0 0 60px rgba(236, 255, 101, .1); }
.fresh.dark .f-faq details { background: var(--card); box-shadow: none; }
.fresh.dark .f-close { background: radial-gradient(50rem 24rem at 50% 100%, rgba(236, 255, 101, .1), transparent 70%), var(--page); }
.fresh.dark .f-foot { background: var(--page-2); }
.fresh.dark .f-note img.av, .fresh.dark .f-close img.av { box-shadow: 0 0 40px rgba(236, 255, 101, .18); }
.fresh.dark .f-skip:focus { background: var(--card); }

/* ---------- guide pages: same font and softer shapes; article styles stay in guide.css ---------- */
body.fresh-guide { --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-family: var(--font-sans); }
.fresh-guide .guide-head h1, .fresh-guide .hub-head h1 { font-weight: 800; letter-spacing: -.03em; }
.fresh-guide .guide-body h2, .fresh-guide .guide-cta h2, .fresh-guide .guide-more h2, .fresh-guide .hub-card h2 { font-weight: 800; letter-spacing: -.02em; }
.fresh-guide .guide-body h3 { font-weight: 700; }
.fresh-guide .guide-body > p:first-child { border-left: 0; border-radius: 22px; }
.fresh-guide .guide-early-cta { border-radius: 22px !important; }
.fresh-guide .guide-cta { border-radius: 28px; }
.fresh-guide .guide-more a { border-radius: 18px; }
.fresh-guide .hub-card { border-radius: 22px; }
.fresh-guide .hub-card:hover { transform: translateY(-4px) rotate(-.4deg); }
