/* Mendoan site: light and simple. Gold from the app icon as the only accent. */
:root {
  --batter: #F2C66F;
  --accent: #9A6316;      /* golden brown text and links (readable on white) */
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --line: #E5E5EA;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; }
h1, h2 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--batter); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 650; }
.brand img { border-radius: 7px; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menu a { color: var(--ink); text-decoration: none; font-size: 0.92rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--batter); color: var(--ink); }
.btn-primary:hover { background: #F7D88F; }
.btn-small { padding: 6px 14px; font-size: 0.88rem; background: var(--batter); color: var(--ink) !important; }
.btn-large { padding: 14px 28px; font-size: 1.08rem; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; transform: none; }

/* hero */
.hero { text-align: center; padding: 64px 0 0; background: linear-gradient(#FFFFFF 40%, var(--bg-2)); }
.hero-icon { border-radius: 26px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-top: 18px; }
.tagline { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; margin: 6px 0 4px; }
.sub { color: var(--muted); margin: 0 0 26px; }
.fine { color: var(--muted); font-size: 0.86rem; margin: 12px 0 0; }
.hero-shot { margin: 48px auto 0; max-width: 980px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* feature rows */
#features { padding: 40px 0 24px; }
.row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 56px 0; }
.row.flip .copy { order: 2; }
.copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.copy p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.also { text-align: center; color: var(--muted); padding: 24px 0 40px; font-size: 0.98rem; }

/* download */
.download { text-align: center; padding: 72px 0 80px; background: var(--bg-2); }
.download h2 { font-size: 2rem; margin: 18px 0 22px; }

.footer { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.86rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ───────── drawn previews of the app ───────── */
.mac { border-radius: 12px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; font-size: 13px; color: #1E2A22; min-width: 0; }
.mac-bar { display: flex; align-items: flex-end; height: 38px; padding: 0 12px; background: #F1EFEA; border-bottom: 1px solid var(--line); }
.d { width: 12px; height: 12px; border-radius: 50%; align-self: center; margin-right: 7px; }
.d.r { background: #FF5F57; } .d.y { background: #FEBC2E; } .d.g { background: #28C840; }
.tabs { display: flex; margin-left: 10px; overflow: hidden; }
.tabs span { display: flex; align-items: center; gap: 6px; padding: 7px 14px; color: #6E6E73; white-space: nowrap; }
.tabs span.on { background: #FFFFFF; color: #1D1D1F; border-radius: 8px 8px 0 0; border: 1px solid var(--line); border-bottom-color: #FFFFFF; margin-bottom: -1px; }
.tabs b { width: 6px; height: 6px; border-radius: 50%; background: #34A853; }
.mac-body { min-height: 260px; position: relative; }
.with-side { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.side { background: #F8F5EE; border-right: 1px solid var(--line); padding: 12px 10px; }
.side .qc { border: 1px solid rgba(198, 134, 31, 0.45); background: rgba(242, 198, 111, 0.22); border-radius: 7px; padding: 5px 9px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.side kbd { font: inherit; color: #6E6E73; }
.side .h { margin: 12px 4px 3px; color: #8E8E93; font-size: 11px; font-weight: 700; }
.side .i { margin: 0; padding: 4px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.side .n { padding-left: 22px; } .side .b { font-weight: 600; } .side .sel { background: #F2DDA8; }
.term { margin: 0; padding: 16px 18px; background: #FBFAF7; font: 13px/1.7 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; overflow: hidden; color: #1E2A22; }
.term .p { color: #2F7D4F; } .term .w { color: #2D6496; }
.cur { background: #C6861F; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .cur { animation: none; } }

.split { display: grid; grid-template-columns: 1fr 6px 1fr; }
.split > :first-child { grid-column: 1; } .split > :last-child { grid-column: 3; }
.split::before { content: ""; grid-column: 2; grid-row: 1; background: #ECEAE4; }
.split .term { grid-row: 1; }
.term.focus { box-shadow: inset 0 2px 0 #C6861F; }

/* Remote Desktop: a Windows-like desktop */
.desk { background: linear-gradient(135deg, #2D6EB4, #6FA6D8); min-height: 280px; }
.win-app { position: absolute; left: 12%; top: 14%; width: 60%; background: #FFFFFF; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); overflow: hidden; }
.win-title { background: #F3F3F3; padding: 6px 10px; font-size: 12px; color: #333; }
.win-lines { padding: 12px; display: grid; gap: 8px; }
.win-lines i { height: 8px; border-radius: 4px; background: #E6E9EE; } .win-lines i.s { width: 60%; background: #CFE0F5; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: rgba(240, 243, 247, 0.9); display: flex; align-items: center; justify-content: center; gap: 8px; }
.taskbar span { width: 18px; height: 18px; border-radius: 4px; background: #C9D3DF; } .taskbar .start { background: #2D6EB4; }
.taskbar em { position: absolute; right: 12px; font-style: normal; font-size: 11px; color: #333; }

/* File Transfer */
.files .pane { padding: 10px 0; }
.files .pane p { margin: 0; padding: 5px 16px; }
.files .ph { color: #8E8E93; font-size: 11.5px; padding-bottom: 8px !important; border-bottom: 1px solid #F0EEE9; margin-bottom: 4px !important; }
.files .pick { background: #F2DDA8; }
.files .drop { background: #E7F2EA; color: #1F6A3D; }

/* Touch ID sheet */
.lock { background: #F5F5F7; display: grid; place-items: center; min-height: 280px; }
.sheet { width: min(300px, 86%); background: #FFFFFF; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16); padding: 22px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.sheet span { color: #6E6E73; font-size: 12.5px; }
.touch { width: 52px; height: 52px; border-radius: 50%; background: #FDF3DC; display: grid; place-items: center; }
.touch svg { width: 30px; height: 30px; fill: none; stroke: #C6861F; stroke-width: 1.6; stroke-linecap: round; }
.sheet-btns { display: flex; gap: 8px; margin-top: 8px; }
.sheet-btns em { font-style: normal; padding: 4px 14px; border-radius: 6px; background: #EDEDF0; font-size: 12.5px; }
.sheet-btns em.go { background: var(--batter); }

/* Plugins */
.addons { padding: 10px 0; min-height: 0; }
.ad { display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #F0EEE9; }
.ad:last-child { border-bottom: 0; }
.ad small { color: #8E8E93; }
.ad em { font-style: normal; font-size: 12px; color: #6E6E73; }
.ad em.ok { color: #1F8A4C; }
.btn-mini { background: var(--batter); color: #1D1D1F !important; padding: 3px 10px; border-radius: 999px; }
.bar { width: 120px; height: 6px; border-radius: 3px; background: #ECEAE4; overflow: hidden; }
.bar i { display: block; height: 100%; background: #C6861F; }
.bar .w64 { width: 64%; }

/* narrow screens */
@media (max-width: 860px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; text-align: center; }
  .row.flip .copy { order: 0; }
  .with-side { grid-template-columns: 1fr; }
  .side { display: none; }
  .ad { grid-template-columns: 80px 1fr auto; } .ad small { display: none; }
}
