/* Ejoshi Brand tokens (generated from tokens.json; light theme). Do not edit by hand. */
:root {
  --surface: #F5EDDC;
  --surface-raised: #FBF7EC;
  --surface-sand: #E9DEC6;
  --ink: #2B2218;
  --ink-muted: #5C4F3F;
  --accent: #A63A17;
  --on-accent: #FFF8EC;
  --hairline: #D9CCB0;
  --edge: #8C7B61;
  --focus: var(--accent);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px #2b22181f, 0 4px 12px #2b22180f;
  --shadow-2: 0 2px 4px #2b221829, 0 12px 32px #2b221824;
}

/* The shop pages (ejoshi.ai/studio): the Porch light look of ejoshi.ai. Colours are the Ejoshi Brand tokens above,
   copied unchanged from ejoshi-site/style.css; the shop's own (older) names map to them exactly as ejoshi.ai maps them.
   No colour is typed below this line. System fonts only (Georgia for headings, as on ejoshi.ai). */
:root {
  --green: var(--accent);
  --green-deep: var(--ink);
  --leaf: var(--accent);
  --leaf-soft: var(--surface-sand);
  --bg: var(--surface);
  --bg-alt: var(--surface-sand);
  --line: var(--hairline);
  --card: var(--surface-raised);
  --muted: var(--ink-muted);
  --shadow: var(--shadow-1);
  --radius: var(--radius-lg);
  --max: 1120px;
  --display: Georgia, "Noto Serif", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.nw { white-space: nowrap; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); background: var(--leaf-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface-raised); padding: 8px 12px; z-index: 100; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
footer a:focus-visible { outline-color: var(--surface); } /* the persimmon ring would not show on the ink footer */

/* header */
header.top { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
nav.main { display: flex; gap: 22px; margin-left: auto; order: 1; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
nav.main a:hover { color: var(--green); }
.lang { order: 2; display: inline-flex; align-items: center; text-decoration: none; border: 1px solid var(--edge); background: var(--surface-raised); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; min-height: 40px; white-space: nowrap; }
.lang:hover { border-color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; min-height: 48px; text-align: center; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--ink); color: var(--surface); }
.btn.ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn.ghost:hover { background: var(--leaf-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* hero */
.hero { padding: 64px 0 60px; background: radial-gradient(1200px 500px at 85% -10%, var(--leaf-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.quick { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.quick li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; font-weight: 600; color: var(--green-deep); }
.hero-art { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.hero-art figcaption { font-size: 0.9rem; color: var(--muted); padding: 14px 4px 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.flow li { border-radius: 14px; padding: 14px 16px; background: var(--bg-alt); border: 1px solid var(--line); position: relative; }
.flow li + li::before { content: "\2193"; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); color: var(--green); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.flow li strong { display: block; color: var(--green-deep); font-size: 1.02rem; }
.flow li span { color: var(--muted); font-size: 0.95rem; }
.flow li.ai { background: var(--surface-raised); border: 2px solid var(--accent); }

section { padding: 72px 0; scroll-margin-top: 68px; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }

/* grids and cards */
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--leaf-soft); color: var(--green); margin-bottom: 10px; align-self: flex-start; }

/* packages */
.pkg h3 { margin-bottom: 2px; }
.pkg .alt-name { display: block; font-size: 0.92rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.card .price { font-size: 2.2rem; font-weight: 800; color: var(--green); line-height: 1.1; margin: 0; }
.card .price small { font-size: 1rem; font-weight: 700; margin-right: 4px; }
.card .price .per { font-size: 1.05rem; font-weight: 700; }
.price-note { font-size: 0.9rem; color: var(--muted); margin: 4px 0 16px; }
.includes { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.includes li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.98rem; }
.includes li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--green); }
.pkg .tip { font-size: 0.9rem; background: var(--leaf-soft); color: var(--green-deep); border-radius: 10px; padding: 8px 12px; margin: 0 0 16px; }
.pkg .btn { margin-top: auto; width: 100%; }
.after-pkgs { margin-top: 28px; display: grid; gap: 10px; max-width: 860px; }
.after-pkgs p { margin: 0; color: var(--muted); }
.after-pkgs strong { color: var(--ink); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 12px; }
.steps li h3 { font-size: 1.1rem; }
.steps li p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* who it is for */
.who h3 { margin-bottom: 4px; }

/* rules */
.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rules li { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 12px; padding: 18px 20px; }
.rules h3 { font-size: 1.08rem; margin-bottom: 4px; }
.rules p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 860px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.qa h3 { font-size: 1.08rem; margin-bottom: 6px; }
.qa p { margin: 0; color: var(--muted); }

/* contact */
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px; max-width: 760px; }
.ways { list-style: none; padding: 0; margin: 0; }
.ways li { padding: 14px 0; border-top: 1px solid var(--line); }
.ways li:first-child { border-top: 0; }
.ways strong { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.ways .val { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.ways a.val { color: var(--green); text-decoration: none; }
.ways a.val:hover { text-decoration: underline; }
.ways .note { display: block; margin-top: 4px; font-size: 0.95rem; color: var(--muted); }

/* policy pages */
.crumbs { font-size: 0.9rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); display: inline-block; min-height: 24px; padding: 2px 0; }
.prose { padding: 28px 0 72px; }
.narrow { max-width: 780px; }
.version { display: inline-block; font-size: 0.88rem; font-weight: 700; color: var(--green-deep); background: var(--leaf-soft); border-radius: 999px; padding: 3px 12px; margin: 0 0 20px; }
.summary { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.prose .summary h2 { font-size: 1.1rem; margin: 0 0 8px; }
.summary ul { margin: 0; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.55em; }
.other-policies { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.other-policies ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-policies a { display: inline-block; border: 1px solid var(--edge); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.other-policies a:hover { border-color: var(--green); }

/* footer */
footer { background: var(--ink); color: var(--surface-sand); padding: 32px 0 28px; font-size: 0.95rem; }
footer a { color: var(--surface); }
footer nav ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .mail { margin: 0 0 14px; }
footer .foot-find { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
footer .foot-find ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .foot-qr { width: 120px; height: 120px; flex: none; border-radius: 8px; background: var(--surface-raised); }
footer .legal { margin: 0; padding-top: 14px; border-top: 1px solid var(--ink-muted); font-size: 0.88rem; color: var(--surface-sand); }

/* tablet and phone */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr; }
  header.top { position: static; }
  header.top .wrap { flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .lang { margin-left: auto; order: 1; }
  nav.main { order: 3; width: 100%; margin: 0; gap: 0 16px; flex-wrap: wrap; }
  nav.main a { padding: 8px 0; min-height: 40px; display: inline-flex; align-items: center; }
  section { scroll-margin-top: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .brand img { height: 34px; }
  nav.main { gap: 0 14px; }
  nav.main a { font-size: 0.92rem; }
  .hero { padding: 36px 0 40px; }
  section { padding: 52px 0; }
  .grid.four, .steps { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero-art { padding: 16px; }
  .contact-card { padding: 4px 18px; }
}
/* Porch light: the front door (the same finishing rules as ejoshi.ai round 3) */
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; }
.hero { background: radial-gradient(900px 480px at 82% 8%, var(--surface-sand), transparent 72%); }
.eyebrow { color: var(--accent); background: var(--surface-sand); }
/* the arch: a 180 px top radius with 80 px / 28 px padding keeps the step boxes inside the curve at every width (a full
   semicircle, as on ejoshi.ai, would cut the corners of the first box here) */
.hero-art { position: relative; border-radius: 180px 180px var(--radius-lg) var(--radius-lg); padding: 80px 28px 22px; border: 3px solid var(--ink); background: var(--surface-raised); box-shadow: var(--shadow-2); }
.hero-art::before { content: ""; position: absolute; left: 50%; top: 30px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--accent); }
section.alt .eyebrow { background: var(--surface-raised); } /* the sand pill would vanish on a sand section */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
