/* Wise Caretaker - product site. Same palette as the app: paper, ink, one orange. */

:root
{
	--ink: #16302b;
	--ink-2: #2c4a43;
	--muted: #5f6f69;
	--paper: #f5f2ea;
	--band: #efeadf;
	--card: #ffffff;
	--line: #e4dfd3;
	--accent: #e8743a;
	--accent-d: #cf5f27;
	--teal: #1f6f5c;
	--teal-soft: #e3f0ec;
	--r: 20px;
	--shadow: 0 1px 2px rgba(22, 48, 43, .05), 0 6px 22px rgba(22, 48, 43, .07);
	--drop: drop-shadow(0 22px 34px rgba(22, 48, 43, .22));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 780; margin-bottom: 10px; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 18px; }
.sub { color: var(--muted); font-size: 19px; max-width: 680px; margin-bottom: 34px; }
.center .sub, .center .lead { margin-left: auto; margin-right: auto; }
section { padding: 84px 0; }
section.tight { padding-top: 10px; }
.band { background: var(--band); }
.small { font-size: 14.5px; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; margin-bottom: 6px; }
.mono, .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-ligatures: none; }
.note { color: var(--muted); font-size: 15px; }
figure { margin: 0; }
figcaption { text-align: center; color: var(--muted); font-size: 15px; font-weight: 600; margin-top: 10px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 242, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(22, 48, 43, .07); }
.top .row { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; white-space: nowrap; }
.brand.light { color: #fff; }
.logo { width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover { color: var(--accent-d); }
.nav > a[aria-current] { border-bottom-color: var(--accent); }
.langs { display: flex; gap: 2px; }
.langs a { font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 5px 6px; border-radius: 8px; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; place-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 15px; font-weight: 700; text-decoration: none; font-size: 17px; transition: transform .1s, background .15s; border: 0; cursor: pointer; font-family: inherit; }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(232, 116, 58, .3); }
.btn.primary:hover { background: var(--accent-d); }
.btn.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: rgba(22, 48, 43, .05); }
.btn.ghost.light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn[disabled] { opacity: .6; cursor: default; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 16px; }
.btns.center { justify-content: center; }

/* Hero */
.hero { padding: 56px 0 30px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13.5px; font-weight: 700; color: var(--accent-d); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--ink-2); margin-top: 20px; max-width: 580px; }
.trust { color: var(--muted); font-size: 15px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-art { position: relative; height: 640px; }
.hero-art .ph { position: absolute; width: 300px; }
.hero-art .front { left: 8%; top: 20px; z-index: 2; }
.hero-art .back { right: 2%; top: 70px; transform: rotate(4deg); opacity: .97; }
.ph img { filter: var(--drop); margin: 0 auto; }

/* Page head for the inner pages */
.phead { padding: 64px 0 40px; }
.phead .lead { margin-top: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); position: relative; }
.steps li b { position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 800; color: #eee6d6; line-height: 1; }
.si, .ri { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.steps p, .role p, .feat p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots .ph img { width: 300px; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.role:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(22, 48, 43, .06), 0 14px 34px rgba(22, 48, 43, .12); }
.role .more { margin-top: auto; padding-top: 16px; color: var(--accent-d); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.role:nth-child(2) .ri, #caretakers .ri { background: #fdeee5; color: var(--accent-d); }
.role:nth-child(3) .ri, #managers .ri { background: var(--ink); color: #fff; }

/* Browser screenshots */
.wb img { filter: drop-shadow(0 24px 40px rgba(22, 48, 43, .2)); }
.wb { margin-top: 10px; }
.two-web { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.split { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 16px; }

/* Feature page sections */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.feature.flip .fcopy { order: 2; }
.fpics { display: flex; gap: 22px; justify-content: center; }
.fpics .ph img { width: 280px; }
.fcopy.wide { max-width: 760px; margin-bottom: 26px; }
.fcopy .sub { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ticks svg { flex: none; color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }
.fcopy.wide .ticks { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { display: flex; gap: 14px; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.feat svg { flex: none; color: var(--accent-d); margin-top: 2px; }

/* Price teaser */
.tease { display: flex; gap: 30px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; border-radius: 26px; padding: 40px 44px; }
.tease p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 640px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--card); border-radius: 22px; padding: 30px 26px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: center; }
.plan.pop { box-shadow: inset 0 0 0 2.5px var(--accent), 0 14px 36px rgba(232, 116, 58, .18); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan .units { color: var(--muted); margin-top: 4px; }
.plan .price { margin: 20px 0 24px; display: flex; flex-direction: column; }
.plan .price b { font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .btn { margin-top: auto; }
.more { text-align: center; font-size: 18px; margin: 30px 0 8px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.calc { background: var(--card); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.calc label { font-weight: 600; color: var(--ink-2); display: block; margin-top: 14px; }
.crow { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.crow input[type=range] { flex: 1; accent-color: var(--accent); }
.crow input[type=number] { width: 100px; }
.cres { margin-top: 24px; display: flex; flex-direction: column; }
.cres b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.cres span { color: var(--muted); font-weight: 600; }

/* Demo */
.demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.d { background: var(--card); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.d .dh { display: flex; gap: 12px; align-items: center; }
.d .dh svg { color: var(--accent-d); }
.d p { color: var(--muted); }
.d .btn { margin-top: auto; align-self: flex-start; }
.d .ph img { width: 210px; }
.qrbox { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--paper); border-radius: 18px; padding: 22px; }
.qrbox span { color: var(--muted); font-size: 14px; font-weight: 600; }
.dweb { border-radius: 10px; filter: drop-shadow(0 12px 22px rgba(22, 48, 43, .16)); margin: 20px 0; }
.tip { margin-top: 26px; text-align: center; color: var(--ink-2); font-size: 17px; }
.code { background: var(--ink); color: #fff; padding: 2px 9px; border-radius: 8px; letter-spacing: .12em; }

/* Contact */
.cgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.form, .sent { background: var(--card); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.form legend { font-weight: 700; margin-bottom: 10px; }
.want label { cursor: pointer; }
.want input { position: absolute; opacity: 0; }
.want span { display: inline-block; padding: 10px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15.5px; }
.want input:checked + span { background: var(--teal-soft); box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal); }
.want input:focus-visible + span { outline: 3px solid rgba(31, 111, 92, .35); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 111, 92, .15); }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.field.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -5000px; }
.err { background: #fdecea; color: #a13a2c; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.legal { color: var(--muted); font-size: 13px; margin-top: 14px; }
.sent { text-align: center; padding: 50px 32px; }
.sent .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.sent p { color: var(--muted); font-size: 18px; margin-top: 8px; }
.direct h3 { margin-bottom: 14px; }
.direct p { margin-bottom: 10px; }
.direct a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; }
.direct .ph { margin-top: 26px; }
.direct .ph img { width: 240px; }

/* FAQ */
.faq details { background: var(--card); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faq p { color: var(--muted); margin-top: 10px; }

/* Closing band and footer */
.end { background: var(--ink); color: #fff; }
.end .sub { color: rgba(255, 255, 255, .75); }
.end .note { color: rgba(255, 255, 255, .6); margin-top: 8px; }
.foot { background: #10241f; color: rgba(255, 255, 255, .7); padding: 36px 0 30px; font-size: 15px; }
.foot a { color: rgba(255, 255, 255, .85); }
.foot .muted { color: rgba(255, 255, 255, .5); }
.foot .frow { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; padding: 10px 0; }
.foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.foot nav a, .foot .frow > a { text-decoration: none; }

@media (max-width: 1060px)
{
	.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(22, 48, 43, .1); }
	.menu-open .nav { display: flex; }
	.nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav > a[aria-current] { color: var(--accent-d); border-bottom-color: var(--line); }
	.nav .btn { margin-top: 14px; }
	.burger { display: grid; margin-left: 6px; }
	.langs { margin-left: auto; }
	.hero-in, .feature, .pgrid, .cgrid { grid-template-columns: 1fr; }
	.feature.flip .fcopy { order: 0; }
	.hero-art { height: 660px; max-width: 520px; margin: 0 auto; width: 100%; }
	.hero-art .ph { width: 260px; }
	.steps, .plans { grid-template-columns: 1fr 1fr; }
	.plans { gap: 26px 18px; }
	.roles, .feats, .demos, .two-web { grid-template-columns: 1fr; }
	.tease, .split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px)
{
	section { padding: 56px 0; }
	.brand { font-size: 16px; }
	.langs a { padding: 4px 4px; font-size: 11.5px; }
	.steps, .shots, .plans, .g2, .fcopy.wide .ticks { grid-template-columns: 1fr; }
	.hero-art { height: 560px; }
	.hero-art .ph { width: 220px; }
	.hero-art .front { left: 0; }
	.fpics { flex-direction: column; align-items: center; }
	.tease { padding: 30px 24px; }
	.form, .sent { padding: 22px; }
}
.foot .fprod { padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 6px; }

/* Downloads */
.guides { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.guide { background: var(--card); border-radius: 18px; padding: 14px 14px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; transition: transform .15s; }
.guide:hover { transform: translateY(-3px); }
.guide.mine { box-shadow: inset 0 0 0 2.5px var(--accent), var(--shadow); }
.guide img { border-radius: 8px; box-shadow: 0 6px 16px rgba(22, 48, 43, .18); margin-bottom: 6px; }
.gl { font-weight: 750; }
.gm { color: var(--muted); font-size: 13.5px; }
.guide .btn { margin-top: 4px; }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 10px; }
.app { display: flex; gap: 16px; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.app svg { flex: none; color: var(--accent-d); }
.app p { color: var(--muted); margin-top: 4px; }
@media (max-width: 1060px) { .guides { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .guides { grid-template-columns: 1fr 1fr; } .apps { grid-template-columns: 1fr; } }
