/* Blue Digital Flowers Ltd — site styles */
:root {
  --ink: #0b1533;
  --ink-2: #33415f;
  --muted: #5b6886;
  --line: #e2e8f4;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --blue: #1d5bff;
  --blue-600: #1d4ed8;
  --blue-700: #1739b0;
  --sky: #38bdf8;
  --navy: #060f2e;
  --navy-2: #0d1a45;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 21, 51, .04), 0 8px 24px rgba(11, 21, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 21, 51, .04), 0 24px 48px rgba(29, 78, 216, .12);
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(29, 91, 255, .45); outline-offset: 2px; border-radius: 6px; }

/* Icons */
.ic { width: 22px; height: 22px; flex: none; }
.ic-lg { width: 30px; height: 30px; color: var(--blue-600); margin-bottom: 14px; }
.ic-arrow { width: 16px; height: 16px; vertical-align: -3px; transition: transform .2s; }
a:hover .ic-arrow { transform: translateX(3px); }

/* Top bar */
.topbar { background: var(--navy); color: #c9d5f5; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #7dd3fc; font-weight: 600; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue-600); background: #eef3ff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .98rem; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s, border-color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29, 91, 255, .3); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 10px 24px rgba(29, 91, 255, .38); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c6d3ee; background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 72px 56px; background:
  radial-gradient(900px 500px at 85% -10%, rgba(56, 189, 248, .18), transparent 60%),
  radial-gradient(800px 600px at -10% 10%, rgba(29, 91, 255, .10), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--blue-700); background: #eaf1ff; border: 1px solid #d3e1ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 255, .18); }
.grad { background: linear-gradient(90deg, var(--blue) 0%, #2fa4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ic { width: 18px; height: 18px; color: var(--blue); }
.hero-art { position: relative; }
.netmap { width: 100%; height: auto; display: block; }
.pulses path { stroke-dasharray: 18 400; stroke-dashoffset: 0; animation: pulse 2.4s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -418; } }
@media (prefers-reduced-motion: reduce) { .pulses { display: none; } html { scroll-behavior: auto; } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); background: var(--bg-soft); }
.ticker-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding-block: 18px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.ticker-in span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 10px; vertical-align: 2px; }

/* Sections */
.section { padding-block: 96px; }
.section-tight { padding-block: 48px 96px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow-light { color: #7dd3fc; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card-plain { box-shadow: none; padding: 40px; }
.card-feature { display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cddbf8; }
.card-feature .link { margin-top: auto; }
.card-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #e6efff, #d4e6ff); color: var(--blue-600); margin-bottom: 20px; }
.card-ic .ic { width: 26px; height: 26px; }
.card-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: #fff; border: 0; }
.card-blue p, .card-blue .ic-lg { color: #dbe7ff; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #e3edff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%231d4ed8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* Dark section */
.section-dark { background: radial-gradient(800px 400px at 100% 0%, rgba(56, 189, 248, .14), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead-light { color: #b8c6ea; font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; }
.feature .ic { color: #7dd3fc; margin-bottom: 10px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: #a9b8e0; font-size: .93rem; margin: 0; }
.code-card { background: #0a1438; border: 1px solid rgba(125, 211, 252, .18); border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.code-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-top span { width: 11px; height: 11px; border-radius: 50%; background: #2a3a6b; }
.code-top em { margin-left: 8px; font-style: normal; color: #8191bf; font-size: .82rem; font-family: var(--mono); }
.code-card pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: .9rem; line-height: 1.75; color: #dbe5ff; }
.code-card b { color: #7dd3fc; font-weight: 500; }
.code-card i { color: #6475a8; font-style: normal; }
.code-card .ok { color: #4ade80; font-weight: 700; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.steps li::after { content: ""; position: absolute; top: 34px; right: -17px; width: 18px; height: 2px; background: #c9d8f7; }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); font-size: .9rem; margin: 0; }
.num { display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--blue-600); background: #eaf1ff; padding: 3px 9px; border-radius: 999px; margin-bottom: 14px; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(125, 211, 252, .35), transparent 60%), linear-gradient(120deg, var(--blue-700) 0%, var(--blue) 60%, #2c8dff 100%); box-shadow: var(--shadow-lg); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #dce8ff; margin: 0; max-width: 560px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero */
.page-hero { padding-block: 80px 64px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 360px at 90% 0%, rgba(56, 189, 248, .16), transparent 60%), radial-gradient(600px 400px at 0% 0%, rgba(29, 91, 255, .08), transparent 60%), #fff; }
.page-hero h1 { max-width: 860px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero-sm { padding-block: 64px 40px; }
.jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.jump a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; }
.jump a:hover { border-color: var(--blue); color: var(--blue-600); text-decoration: none; }
.center-actions { justify-content: center; }
.page-hero .center .lead { margin-inline: auto; }

/* Services */
.svc-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.svc-intro { position: sticky; top: 100px; }
.svc-intro p { color: var(--muted); font-size: 1.05rem; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: #c9d8f7; box-shadow: var(--shadow); }
.svc > .ic { color: var(--blue-600); margin-top: 2px; }
.svc h3 { font-size: 1rem; margin-bottom: 4px; }
.svc p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 25px; top: 40px; bottom: 4px; width: 2px; background: linear-gradient(var(--line), #d2e0fb); }
.timeline li:last-child::before { display: none; }
.timeline .num { width: 52px; height: 52px; display: grid; place-items: center; padding: 0; font-size: .95rem; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #fff; margin: 0; }
.timeline p { color: var(--muted); }
.note { text-align: center; color: var(--muted); margin-top: 32px; font-size: .95rem; }

/* Profile / key-values */
.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.profile div { padding: 22px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.profile dt, .kv dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.profile dd, .kv dd { margin: 0; font-weight: 500; }
.kv { margin: 0 0 1em; display: grid; gap: 16px; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 24px; }
.form-card { padding: 36px; }
form { display: grid; gap: 16px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #d5ddee; border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 255, .15); }
textarea { resize: vertical; }
form .btn { justify-self: start; }
.form-status { display: none; margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #eef3ff; color: var(--blue-700); font-size: .92rem; }
.form-status.show { display: block; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { color: var(--muted); font-size: .88rem; padding: 5px 0 5px 16px; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--blue-600); border-left-color: var(--blue); text-decoration: none; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose section { padding-top: 12px; scroll-margin-top: 90px; }
.prose h2 { font-size: 1.35rem; color: var(--ink); margin-top: 28px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .kv { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b8e0; padding-block: 72px 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer a { display: block; color: #c9d5f5; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 340px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #7d8bb4; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-cta .btn-ghost { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3)::after { display: none; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav { flex-wrap: wrap; height: auto; padding-block: 14px; }
  .site-header.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; padding-top: 8px; }
  .site-header.open .nav-cta { display: flex; width: 100%; order: 4; padding-bottom: 8px; }
  .site-header.open .nav-cta .btn { flex: 1; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .split, .svc-block, .contact-grid, .legal-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .svc-intro, .toc { position: static; }
  .toc { display: none; }
  .section { padding-block: 72px; }
}
@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .topbar-in span { display: none; }
  .topbar-in { justify-content: center; }
  .steps, .cards-4, .svc-list, .feature-grid, .form-row { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .cta-band { padding: 36px 26px; }
  .card-plain, .form-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-block: 48px 40px; }
  .btn { white-space: normal; }
}
.pulses path:nth-child(2) { animation-delay: -.8s; }
.pulses path:nth-child(3) { animation-delay: -1.6s; }
.pulses path:nth-child(4) { animation-delay: -.4s; }
.pulses path:nth-child(5) { animation-delay: -1.2s; }
.pulses path:nth-child(6) { animation-delay: -2s; }
.section:not(.section-soft):not(.section-dark) + .section-cta { padding-top: 0; }
