/* Shimwise site. System fonts, no JS. Brand green #2F6B4F; wood accent from the app icon. */
:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f2f4ef;
  --text: #17201b;
  --muted: #4b5751;
  --border: #dfe3dc;
  --brand: #2f6b4f;          /* links, headings accents */
  --brand-strong: #245841;
  --btn: #2f6b4f;
  --btn-text: #ffffff;
  --brand-soft: #e5efe9;
  --wood: #e0ae5e;
  --wood-soft: #f8e4b8;
  --wood-text: #6b4718;
  --draft-bg: #fff4d6;
  --draft-border: #e0ae5e;
  --mark: #fde68a;
  --shadow: 0 1px 2px rgb(20 40 30 / 6%), 0 8px 24px rgb(20 40 30 / 8%);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system-headline, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1512;
    --surface: #151f1a;
    --surface-2: #1b2721;
    --text: #e7ede9;
    --muted: #a9b7af;
    --border: #2a3832;
    --brand: #82c9a5;
    --brand-strong: #a3dcbf;
    --btn: #3a7d5d;
    --btn-text: #ffffff;
    --brand-soft: #1c2f26;
    --wood-soft: #3a2e1a;
    --wood-text: #f3d39a;
    --draft-bg: #33280f;
    --draft-border: #a77b2e;
    --mark: #6b5310;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
.muted { color: var(--muted); }
mark.todo { background: var(--mark); color: inherit; padding: 0 0.2em; border-radius: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
@media (max-width: 380px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { border-radius: 22%; display: block; }
.site-header nav ul, .site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 6px 0; display: inline-block; }
.site-header nav a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 520px) {
  .site-header nav ul { gap: 2px 14px; }
  .site-header nav li:first-child { display: none; }
}

/* Buttons and badge */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--brand-strong); color: var(--btn-text); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #2f6b4f; } }
.btn-secondary { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 12px; background: #111; color: #fff; border: 1px solid #444; line-height: 1.2;
}
.store-badge svg { flex: none; }
.store-badge small { display: block; font-size: 0.75rem; opacity: 0.85; }
.store-badge strong { font-size: 1.15rem; letter-spacing: -0.01em; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--brand); margin-bottom: 0.6em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.section-head { max-width: 44em; margin-bottom: 36px; }

/* Hero */
.hero { padding: 64px 0 72px; background:
  radial-gradient(900px 400px at 85% 0%, var(--brand-soft), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Phone mockup */
.phone {
  justify-self: center; width: min(320px, 100%); border-radius: 44px; padding: 12px;
  background: #1a1f1c; box-shadow: var(--shadow), inset 0 0 0 2px #333;
}
.screen { background: #f7f8f5; color: #17201b; border-radius: 34px; padding: 22px 18px 20px; font-size: 0.86rem; line-height: 1.4; }
.screen .bar { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.78rem; color: #4b5751; margin-bottom: 14px; }
.screen h3 { font-size: 1.05rem; margin: 0 0 2px; color: #17201b; }
.screen .sub { color: #4b5751; margin: 0 0 12px; }
.screen .room { background: #fff; border: 1px solid #e3e6e0; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.screen .room b { display: block; font-size: 0.8rem; color: #2f6b4f; margin-bottom: 4px; }
.screen .line { display: flex; justify-content: space-between; gap: 8px; }
.screen .line span:last-child { font-variant-numeric: tabular-nums; }
.screen .flag { color: #8a5a12; }
.screen .total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; padding: 10px 2px 12px; border-top: 1px solid #e3e6e0; margin-top: 4px; }
.screen .status { display: flex; gap: 6px; flex-wrap: wrap; }
.screen .pill { background: #e5efe9; color: #245841; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 0.76rem; }
.screen .pill.wood { background: #f8e4b8; color: #6b4718; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--wood-soft); color: var(--wood-text); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: 10px; }
.feature h3 { margin-bottom: 0.35em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Differences */
.diff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.diff li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--border); position: relative; }
.diff li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.diff strong { display: block; }
.diff span { color: var(--muted); }
@media (max-width: 760px) { .diff { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--btn); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--btn); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.1rem; color: var(--muted); font-weight: 600; margin-bottom: 0.4em; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0 0 6px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.plan ul { padding-left: 1.2em; margin: 0; }
.plan li { margin-bottom: 6px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.pricing-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.box { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.box h3 { margin-bottom: 0.6em; }
.box ul { margin: 0; padding-left: 1.2em; }
.box li { margin-bottom: 6px; }
@media (max-width: 760px) { .pricing-notes { grid-template-columns: 1fr; } }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 20px; max-width: 52em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* Documents (legal, support) */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2em; padding-top: 0.2em; }
.doc h3 { margin-top: 1.4em; }
.doc li { margin-bottom: 0.4em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.doc th { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.doc .toc { background: var(--surface-2); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; }
.doc .toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .doc .toc ol { columns: 1; } }
.draft { background: var(--draft-bg); border: 1px solid var(--draft-border); border-left-width: 6px; border-radius: 10px; padding: 14px 18px; margin: 0 0 28px; }
.callout { background: var(--brand-soft); border-radius: 10px; padding: 14px 18px; margin: 0 0 1.2em; }
.caps { text-transform: uppercase; font-size: 0.93rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); padding: 40px 0 24px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer-grid .muted { margin: 10px 0 0; max-width: 30em; }
.site-footer nav ul { flex-direction: column; gap: 6px; }
.site-footer nav a { color: var(--text); }
.fineprint { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.fineprint p { margin: 0 0 4px; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .site-footer nav ul { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; } }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound .actions { justify-content: center; }
.notfound .lede { margin-inline: auto; }
@media (max-width: 600px) { section { padding: 52px 0; } .hero { padding: 32px 0 52px; } .feature { padding: 18px 20px; } }
.hero h1 span { white-space: nowrap; }
