/* calonic.com, hand-written, no build step. Fonts self-hosted (no Google Fonts request). */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #1E67B1;
  --blue-dark: #174F89;
  --sky: #5BB2E4;
  --sky-light: #D7E6F5;
  --highlight: #A9E4FF;
  --ink: #1C2330;
  --text: #303846;
  --muted: #6B7383;
  --line: rgba(20, 40, 70, 0.09);
  --bg: #FFFFFF;
  --bg-soft: #F4F8FC;
  --radius: 18px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.015em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.topbar .brand { display: flex; align-items: center; gap: 9px; }
.topbar .brand .tile { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; }
.topbar .brand .tile img { width: 26px; height: 26px; }
.topbar .brand .word { height: 22px; width: auto; }
.topbar.light .brand .tile { background: transparent; }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a { color: #fff; font-weight: 600; font-size: 15px; opacity: 0.92; }
.topbar nav a:hover { opacity: 1; text-decoration: none; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 2px; }
.lang-switch a { font-size: 13px !important; padding: 3px 11px; border-radius: 999px; opacity: 1 !important; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--blue) !important; }

/* light variant on sub pages */
.topbar.light { position: sticky; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar.light nav a { color: var(--text); }
.topbar.light .lang-switch { border-color: var(--line); }
.topbar.light .lang-switch a[aria-current="true"] { background: var(--blue); color: #fff !important; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, #1E67B1 0%, #2F80C8 45%, #57AEE2 100%);
  color: #fff;
  text-align: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero .wordmark { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 24px); margin: 0 auto 26px; }
.hero .wordmark .tile { width: clamp(64px, 10vw, 104px); height: clamp(64px, 10vw, 104px); border-radius: 23%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 30, 70, 0.25); }
.hero .wordmark .tile img { width: 82%; height: 82%; }
.hero .wordmark .word { height: clamp(46px, 7.4vw, 76px); width: auto; }
.hero h1 { color: #fff; font-size: clamp(30px, 5.2vw, 52px); line-height: 1.12; font-weight: 800; margin: 0 auto 18px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--highlight); }
.hero .lead { font-size: clamp(17px, 2.1vw, 21px); max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,0.92); }
.hero { padding-bottom: 0 !important; }
/* phone cut just below the input field, flush with the end of the blue area */
.hero .phone { width: min(400px, 80vw); margin: 48px auto 0; aspect-ratio: 961 / 1790; overflow: hidden; }
.hero .phone img { width: 100%; }

/* ---------- store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff !important; border: 1px solid #A6A6A6; border-radius: 12px;
  padding: 8px 18px 8px 14px; min-width: 182px; height: 56px; text-decoration: none !important;
  transition: transform .15s ease;
}
.badge:hover { transform: translateY(-1px); }
.badge svg { width: 28px; height: 28px; flex: none; }
.badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.badge strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.badges.left { justify-content: flex-start; }
.badges { align-items: center; }
.badge-link { display: inline-block; transition: transform .15s ease; }
.badge-link:hover { transform: translateY(-1px); }
.badge-img { height: 52px; width: auto; }

/* ---------- features ---------- */
section { padding: 84px 0; }
.section-title { text-align: center; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; font-weight: 800; margin: 0 0 12px; }
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 48px; font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.feature h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.feature p { margin: 0; color: var(--text); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-light); display: grid; place-items: center; margin-bottom: 14px; font-size: 21px; }
.footnote { text-align: center; color: var(--muted); font-size: 15px; margin-top: 44px; }

/* ---------- vision ---------- */
.vision blockquote { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.vision blockquote p { font-size: clamp(20px, 2.5vw, 26px); line-height: 1.45; color: var(--ink); font-weight: 600; margin: 0 0 14px; letter-spacing: -0.01em; }
.vision cite, .press-quote cite { font-style: normal; color: var(--muted); font-size: 16px; font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 24px; }
.principle h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--blue); }
.principle p { margin: 0; }
.press-quote { margin: 26px 0 8px; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 0 14px 14px 0; }
.press-quote p { margin: 0 0 8px !important; font-size: 18px; color: var(--ink); font-weight: 600; }

/* ---------- screenshot strip ---------- */
.shots-section { background: var(--bg-soft); }
.shots { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.shots figure { flex: none; width: 236px; margin: 0; scroll-snap-align: center; }
.shots img { width: 100%; filter: drop-shadow(0 14px 22px rgba(0, 30, 70, 0.18)); }
.shots figcaption { text-align: center; font-weight: 700; color: var(--ink); margin-top: 14px; font-size: 16px; line-height: 1.3; }
@media (min-width: 1100px) { .shots { padding-left: calc((100vw - 1040px) / 2); padding-right: calc((100vw - 1040px) / 2); } }

/* ---------- pricing / indie ---------- */
.cta { text-align: center; }
.cta p { max-width: 620px; margin: 0 auto 28px; font-size: 18px; }
.indie { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; max-width: 760px; margin: 0 auto; background: var(--bg-soft); border-radius: var(--radius); padding: 30px; }
.indie img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 8px 22px rgba(0,30,70,0.15); }
.indie h3 { margin: 0 0 6px; font-size: 20px; }
.indie p { margin: 0; }

/* ---------- sub pages ---------- */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; font-weight: 800; margin: 0 0 10px; }
.page .intro { font-size: 19px; color: var(--muted); margin: 0 0 36px; }
.page h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 12px; font-weight: 800; }
.page h3 { font-size: 18px; margin: 26px 0 6px; font-weight: 700; }
.page p { margin: 0 0 14px; }
.page ul { padding-left: 22px; margin: 0 0 14px; }
.page li { margin: 0 0 6px; }
.card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 16px; }
.card p:last-child { margin-bottom: 0; }

details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 18px; padding: 14px 32px 14px 0; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 24px; font-weight: 400; color: var(--blue); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 0 16px; }

.facts { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 34%; color: var(--muted); font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; margin: 10px 0 18px; }
.gallery a { display: block; text-align: center; font-size: 13px; font-weight: 600; }
.gallery img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 30, 70, 0.16)); margin-bottom: 6px; }
.promo-img { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,30,70,0.15); margin: 6px 0 12px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff !important; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.btn.ghost { background: var(--sky-light); color: var(--blue) !important; }
.brand-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 10px 0 18px; }
.brand-row .tile { background: var(--bg-soft); border-radius: 14px; padding: 18px; display: grid; place-items: center; height: 110px; }
.brand-row .tile.dark { background: var(--blue); }
.brand-row .tile img { max-height: 60px; width: auto; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site nav a { color: var(--text); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .principles { grid-template-columns: 1fr; }
  .topbar nav { gap: 14px; }
  .topbar nav .hide-sm { display: none; }
  .hero { padding-top: 100px; }
  .indie { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; }
  .facts th { width: 40%; }
}
