/* ezly — official website */
:root {
  --accent: #0A6CDF;
  --accent-hover: #0856B3;
  --ink: #0B1220;
  --text: #111827;
  --body: #4B5563;
  --muted: #6B7280;
  --subtle: #8A93A0;
  --line: #ECEEF1;
  --surface: #F7F8FA;
  --tint: #EAF2FD;
  --bezel: #111827;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --pad: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; font-size: 17px; font-weight: 500; transition: background-color .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-light { background: #fff; color: var(--text); font-weight: 600; }
.btn-light:hover { background: #F3F4F6; color: var(--text); }
.link-more { display: inline-flex; align-items: center; gap: 6px; height: 54px; font-size: 17px; font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.nav { display: flex; gap: 36px; font-size: 15px; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--text); }
.header-cta { height: 40px; padding: 0 20px; border-radius: 999px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.glow { position: absolute; inset: 0; pointer-events: none; }
.glow span { position: absolute; border-radius: 50%; }
.glow .g1 { background: #F9A8D4; opacity: .45; }
.glow .g2 { background: #A5B4FC; opacity: .45; }
.glow .g3 { background: #7DD3FC; opacity: .40; }
.glow .g4 { background: #86EFD6; opacity: .40; }
.hero-glow .g1 { left: calc(50% - 420px); top: 40px;  width: 420px; height: 420px; background: #F9A8D4; opacity: .45; filter: blur(117px); }
.hero-glow .g2 { left: calc(50% - 20px);  top: -20px; width: 440px; height: 440px; background: #A5B4FC; opacity: .45; filter: blur(123px); }
.hero-glow .g3 { left: calc(50% - 540px); top: 380px; width: 400px; height: 400px; background: #7DD3FC; opacity: .40; filter: blur(112px); }
.hero-glow .g4 { left: calc(50% + 100px); top: 360px; width: 420px; height: 420px; background: #86EFD6; opacity: .40; filter: blur(117px); }
.hero-glow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(rgba(255,255,255,0), #fff); }
.hero-inner { position: relative; padding-top: 160px; padding-bottom: 168px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 18px 36px -14px rgba(17,24,39,.28), 0 0 0 1px rgba(17,24,39,.04); }
.hero-kicker { margin-top: 36px; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-top: 20px; max-width: 1000px; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); }
.hero h1 span { color: var(--subtle); }
.hero-lead { margin-top: 32px; max-width: 620px; font-size: 21px; line-height: 1.6; color: var(--body); }
.hero-actions { margin-top: 44px; display: flex; align-items: center; gap: 28px; }
.hero-signals { margin: 80px 0 0; padding: 28px 0 0; width: 100%; max-width: 760px; border-top: 1px solid var(--line); list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.hero-signals li + li::before { content: "·"; color: #C7CCD3; margin-right: 20px; }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
.section-head p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--body); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feature h3 { margin-top: 18px; font-size: 20px; font-weight: 600; }
.feature p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--body); }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.screen { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone { width: 100%; max-width: 240px; aspect-ratio: 240 / 500; padding: 7px; border-radius: 40px; background: var(--bezel); }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #F4F4F4; }
.phone-screen img { width: 100%; height: auto; }
.screen h3 { margin-top: 24px; font-size: 17px; font-weight: 600; }
.screen p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Steps */
.steps { max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; }
.step h3 { margin-top: 16px; font-size: 20px; font-weight: 600; }
.step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--body); }

/* Closing — dark finale */
.closing { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.closing-inner { padding-top: 152px; padding-bottom: 144px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing-icon { position: relative; width: 104px; height: 104px; }
.closing-icon::before { content: ""; position: absolute; left: -58px; top: -58px; width: 220px; height: 220px; border-radius: 50%; background: #A5B4FC; opacity: .22; filter: blur(60px); }
.closing-icon img { position: relative; width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); }
.closing h2 { margin-top: 44px; max-width: 900px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; color: #fff; }
.closing h2 span { color: #7B8494; }
.closing .btn { margin-top: 44px; }
.closing p { margin-top: 20px; font-size: 14px; color: #8B94A3; }
.closing :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); padding: 56px 0 48px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand p { margin-top: 14px; font-size: 15px; color: #98A2B3; }
.footer-brand .brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand .brand span { font-size: 18px; }
.footer-cols { display: flex; gap: 96px; font-size: 15px; }
.footer-cols h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.footer-cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { color: #98A2B3; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 40px; font-size: 13px; line-height: 1.6; color: #98A2B3; }
.footer-bottom p:first-child { max-width: 760px; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header .wrap { height: 60px; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .brand span { font-size: 18px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 8px 20px 20px; flex-direction: column; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 16px; border-bottom: 0; color: #fff; }

  .hero-glow .g1 { left: -60px; top: 20px;  width: 260px; height: 260px; filter: blur(72px); }
  .hero-glow .g2 { left: 50%;  top: -10px; width: 260px; height: 260px; filter: blur(72px); }
  .hero-glow .g3 { left: -80px; top: 300px; width: 260px; height: 260px; filter: blur(72px); }
  .hero-glow .g4 { left: 45%;  top: 280px; width: 260px; height: 260px; filter: blur(72px); }
  .hero-inner { padding: 80px 24px 88px; }
  .hero-icon { width: 72px; height: 72px; border-radius: 16px; }
  .hero-kicker { margin-top: 28px; font-size: 12px; }
  .hero h1 { margin-top: 16px; font-size: 44px; line-height: 1.04; letter-spacing: -0.04em; }
  .hero-lead { margin-top: 24px; font-size: 17px; }
  .hero-actions { margin-top: 36px; width: 100%; flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; height: 52px; }
  .hero-actions .link-more { height: 44px; font-size: 16px; }
  .hero-signals { margin-top: 48px; padding-top: 24px; font-size: 13px; gap: 6px 18px; }
  .hero-signals li + li::before { content: none; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
  .section-head p { margin-top: 12px; font-size: 16px; }

  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 24px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .feature-icon { width: 44px; height: 44px; grid-row: span 2; }
  .feature h3 { margin-top: 0; font-size: 17px; }
  .feature p { margin-top: 6px; font-size: 15px; line-height: 1.55; }

  .screens { gap: 28px 16px; }
  .phone { max-width: 165px; padding: 5px; border-radius: 28px; }
  .phone-screen { border-radius: 23px; }
  .screen h3 { margin-top: 12px; font-size: 15px; }
  .screen p { display: none; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-num { width: 48px; height: 48px; font-size: 19px; }
  .step h3 { margin-top: 12px; font-size: 18px; }
  .step p { margin-top: 8px; font-size: 15px; }

  .closing-inner { padding: 96px 24px 88px; }
  .closing-icon, .closing-icon img { width: 84px; height: 84px; }
  .closing-icon img { border-radius: 19px; }
  .closing-icon::before { left: -48px; top: -48px; width: 180px; height: 180px; filter: blur(48px); }
  .closing h2 { margin-top: 32px; line-height: 1.08; letter-spacing: -0.035em; }
  .closing .btn { margin-top: 32px; width: 100%; height: 52px; }
  .closing p { margin-top: 16px; font-size: 13px; }

  .site-footer { padding: 40px 0; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-cols { gap: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-cols ul { gap: 0; }
  .footer-cols a { display: block; padding: 6px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
