/* minyapps.com — one stylesheet for every page. Colours follow the app family (blue #076EFF). */
:root {
  --blue: #076eff;
  --blue-ink: #0f66f0;
  --ink: #111827;
  --muted: #4d5e75;
  --faint: #98a2b1;
  --line: rgba(15, 23, 42, 0.1);
  --page: #f4f7fb;
  --card: #ffffff;
  --tint: #e7f0ff;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue-ink: #99d1ff;
    --ink: #f3f5f8;
    --muted: #b4bfcd;
    --faint: #5f6c80;
    --line: rgba(255, 255, 255, 0.12);
    --page: #0e141d;
    --card: #161e2a;
    --tint: #142033;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--page) 78%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.brand span { color: inherit; }
.brand .suffix { color: var(--faint); font-weight: 700; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 80px 0 48px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto; }

/* The three apps, side by side */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 22px; }
.apps a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 26px 24px 22px; box-shadow: var(--shadow); color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.apps a:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 20px 44px rgba(7, 110, 255, 0.16); }
.apps img { width: 76px; height: 76px; filter: drop-shadow(0 8px 14px rgba(7, 110, 255, 0.22)); }
.apps h3 { margin: 6px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.apps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.apps .problem { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.apps .more { margin-top: auto; padding-top: 8px; color: var(--blue-ink); font-weight: 600; font-size: 15px; }

/* Promise strip */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 64px; text-align: center; }
.promise div { padding: 4px 18px; }
.promise div + div { border-left: 1px solid var(--line); }
.promise strong { display: block; font-size: 16px; margin-bottom: 2px; }
.promise strong::before { content: ""; display: block; width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--tint) var(--icon) center / 18px no-repeat; }
.promise .private { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076EFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.promise .trial { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076EFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.promise .both { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076EFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.promise span { color: var(--muted); font-size: 14.5px; }

/* App sections */
.app { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.app:nth-of-type(even) .shot { order: -1; }
.app header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app header img { width: 72px; height: 72px; }
.app h2 { font-size: 32px; letter-spacing: -0.025em; margin: 0; line-height: 1.1; }
.app .tagline { color: var(--muted); margin: 4px 0 0; font-size: 16px; }
.app .lead { font-size: 18px; margin: 0 0 18px; }
.app ul { margin: 0 0 26px; padding: 0; list-style: none; }
.app li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--muted); }
.app li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23076EFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.app li b { color: var(--ink); font-weight: 600; }
.price { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.shot { background: linear-gradient(160deg, var(--tint), transparent 70%); border-radius: 28px; padding: 28px; }

/* App demos: real app screens in sequence, files dropping in, a click, the result. 9 s loop. */
.demo { position: relative; width: min(100%, 460px); margin: 0 auto; aspect-ratio: var(--ratio, 680 / 882); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.demo picture, .demo picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo picture { opacity: 0; animation: 9s infinite both; }
.demo .s1 { animation-name: s1; } .demo .s2 { animation-name: s2; } .demo .s3 { animation-name: s3; } .demo .s4 { animation-name: s4; } .demo .s5 { animation-name: s5; }
@keyframes s1 { 0%, 18% { opacity: 1; } 21%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes s2 { 0%, 18% { opacity: 0; } 21%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes s3 { 0%, 38% { opacity: 0; } 41%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes s4 { 0%, 60% { opacity: 0; } 63%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes s5 { 0%, 72% { opacity: 0; } 75%, 96% { opacity: 1; } 100% { opacity: 0; } }
.chip { position: absolute; left: 50%; top: 25%; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; white-space: nowrap;
  background: #fff; color: #1f2937; border-radius: 9px; font-size: 11.5px; font-weight: 600; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
  opacity: 0; animation: drop 9s infinite both; }
.chip i { width: 16px; height: 20px; border-radius: 3px; background: var(--c, #e5484d); flex: none; }
.chip:nth-of-type(2) { animation-delay: 0.22s; } .chip:nth-of-type(3) { animation-delay: 0.44s; }
@keyframes drop {
  0%, 5% { opacity: 0; transform: translate(70%, -230%) rotate(8deg); }
  8% { opacity: 1; }
  15% { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
  19%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
/* --bx/--by: the app's main button, as a share of the frame. */
.cursor, .tap { position: absolute; left: var(--bx); top: var(--by); pointer-events: none; }
.cursor { width: 22px; height: 22px; margin: -3px 0 0 -3px; opacity: 0; animation: cursor 9s infinite both; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
@keyframes cursor {
  0%, 42% { opacity: 0; transform: translate(-150px, 70px); }
  45% { opacity: 1; }
  55% { transform: translate(0, 0); }
  57% { transform: scale(0.82); }
  59% { transform: scale(1); opacity: 1; }
  66%, 100% { opacity: 0; transform: translate(0, 0); }
}
.tap { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); opacity: 0; animation: tap 9s infinite both; }
@keyframes tap { 0%, 56% { opacity: 0; transform: scale(0.2); } 58% { opacity: 1; } 64%, 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) {
  .demo picture, .chip, .cursor, .tap { animation: none; }
  .demo .s3 { opacity: 1; }
}

/* Store buttons (real links replace "Coming soon" once the apps are approved) */
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 14px; color: #fff;
  background: linear-gradient(180deg, #2b87ff 0%, var(--blue) 55%, #0560e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(7, 110, 255, 0.35), 0 10px 22px -8px rgba(7, 110, 255, 0.6);
  font-weight: 600; font-size: 15px; line-height: 1.15; min-height: 50px;
  transition: transform 0.18s ease, box-shadow 0.18s ease; }
.store:hover { text-decoration: none; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(7, 110, 255, 0.3), 0 16px 30px -10px rgba(7, 110, 255, 0.7); }
.store:active { transform: translateY(0) scale(0.98); }
.store:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 3px; }
.store svg { width: 22px; height: 22px; flex: none; }

/* Badge layout: logo, a small "Coming soon to the" line, then the store name. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores .store { gap: 12px; min-height: 58px; min-width: 216px; padding: 9px 22px 9px 16px; }
.stores .store svg { width: 27px; height: 27px; }
.stores .store span { display: flex; flex-direction: column; gap: 3px; }
.stores .store small { font-weight: 500; font-size: 11.5px; letter-spacing: 0.01em; opacity: 0.85; }
.stores .store b { font-weight: 650; font-size: 17.5px; letter-spacing: -0.015em; }

/* Text pages (privacy, support) */
.page { padding: 64px 0 80px; }
.page article { max-width: 720px; }
.page h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 6px; }
.page .meta { color: var(--muted); margin: 0 0 36px; }
.page h2 { font-size: 21px; margin: 36px 0 8px; }
.page p, .page li { color: var(--muted); }
.page li { margin: 6px 0; }
.page p b, .page li b { color: var(--ink); }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); margin: 24px 0; }
.contact { scroll-margin-top: 90px; }
.contact-address { margin: 10px 0 14px !important; font-size: 20px; font-weight: 700; color: var(--ink) !important; user-select: all; word-break: break-all; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .store { font-weight: 600; }
.copy { border: 1px solid var(--line); background: var(--tint); color: var(--blue-ink); font: inherit; font-weight: 600; padding: 10px 18px;
  border-radius: 12px; cursor: pointer; }
.copy:hover { border-color: var(--blue); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .apps { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; gap: 26px; margin: 26px 0 40px; }
  .promise div + div { border-left: 0; }
  .app { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .app:nth-of-type(even) .shot { order: 0; }
  .shot { padding: 16px; }
  .shot img { max-height: 460px; }
  .hero { padding: 60px 0 40px; }
  .top nav { gap: 16px; font-size: 14px; }
}

/* "Coming soon" note */
button.store { border: 0; font: inherit; cursor: pointer; text-align: left; }
dialog#soon { width: min(440px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 24px;
  background: var(--card); color: var(--ink); box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28); text-align: center; }
dialog#soon::backdrop { background: rgba(15, 23, 42, 0.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog#soon[open] { animation: pop 0.22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.soon-icon img { width: 64px; height: 64px; margin: 0 auto 10px; filter: drop-shadow(0 8px 14px rgba(7, 110, 255, 0.25)); }
dialog#soon h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
dialog#soon p { margin: 0 0 12px; color: var(--muted); }
dialog#soon p b { color: var(--ink); }
.soon-save { background: var(--tint); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
kbd { font: 600 13px/1 inherit; font-family: inherit; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); white-space: nowrap; }
.soon-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.soon-actions .store { justify-content: center; min-height: 46px; }
.soon-close { border: 0; background: none; color: var(--blue-ink); font: inherit; font-weight: 600; padding: 10px; cursor: pointer; border-radius: 10px; }
.soon-close:hover { background: var(--tint); }
