@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600&display=swap');

:root {
  --fog: #eef2f7;
  --paper: #ffffff;
  --ink: #14213d;
  --ink-soft: #4a5672;
  --line: #d6dde8;
  --blue: #2f5bea;
  --blue-deep: #1d3fb8;
  --amber: #ffb020;
  --red: #e5383b;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; line-height: 1.08; margin: 0; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.03em; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 34ch; margin: 22px 0 32px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.btn:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); margin-left: 10px; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Phone launcher – the signature element */
.phone {
  width: min(300px, 100%);
  aspect-ratio: 9 / 18.5;
  margin: 0 auto;
  border-radius: 44px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(20, 33, 61, 0.55);
  transform: rotate(4deg);
}
.screen {
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(165deg, #3a66f0 0%, #2448c7 55%, #172f8a 100%);
  padding: 46px 20px 22px;
  display: flex; flex-direction: column;
  color: #fff;
}
.screen .clock { font-family: 'Bricolage Grotesque', sans-serif; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.screen .date { font-size: 13px; opacity: .8; margin-top: 6px; }
.grid { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; text-align: center; opacity: 0; animation: pop .5s cubic-bezier(.2,.9,.3,1.3) forwards; }
.icon i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 20px; background: rgba(255,255,255,.18); }
.icon.app-pdf i { font-size: 13px; }
.icon.app-home i { background: #fff; color: var(--blue); }
.icon.app-pdf i { background: var(--red); color: #fff; font-size: 13px; }
.icon.app-soon i { background: var(--amber); color: var(--ink); }
.dock { margin-top: 18px; height: 54px; border-radius: 18px; background: rgba(255,255,255,.14); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .icon { animation: none; opacity: 1; } }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.02em; font-weight: 700; }
.section-head p { color: var(--ink-soft); margin: 14px 0 0; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about-grid p { margin: 0 0 16px; max-width: 60ch; }
.values { list-style: none; padding: 0; margin: 0; }
.values li { padding: 20px 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; margin-bottom: 4px; }
.values span { color: var(--ink-soft); }

/* Apps */
.app-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.app-row:last-child { border-bottom: 1px solid var(--line); }
.app-icon { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; }
.app-icon.home { background: var(--blue); color: #fff; font-size: 48px; }
.app-icon.pdf { background: var(--red); color: #fff; }
.app-icon.more { background: transparent; border: 2px dashed var(--ink-soft); color: var(--ink-soft); }
.app-row h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.app-row p { margin: 6px 0 0; color: var(--ink-soft); max-width: 58ch; }
.status { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .section-head p { color: #b9c3da; }
.contact a { color: #fff; }
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin: 0; }
.details div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.details dt { font-size: 14px; color: #b9c3da; }
.details dd { margin: 4px 0 0; font-size: 18px; }

/* Footer */
.site-footer { padding: 28px 0; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Policy page */
.policy { background: var(--paper); padding: 64px 0 88px; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
.policy .meta { color: var(--ink-soft); margin: 12px 0 40px; }
.policy h2 { font-size: 24px; margin: 40px 0 12px; }
.policy p, .policy li { max-width: 68ch; }
.policy ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-bottom: 64px; }
  .phone { transform: none; width: 260px; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { display: none; }
  section { padding: 64px 0; }
  .app-row { grid-template-columns: 64px 1fr; gap: 18px; }
  .app-icon { width: 64px; height: 64px; border-radius: 18px; font-size: 18px; }
  .app-row .status { grid-column: 2; justify-self: start; }
  .btn-ghost { margin: 12px 0 0; }
}
