/* akorshon.com: calm, roomy, warm. One brand colour (indigo) and one accent per product. */
:root {
  --ink: #16152b;
  --text: #3d3b52;
  --muted: #6e6c84;
  --faint: #a19fb3;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #ebe7df;
  --brand: #4338ca;
  --brand-dark: #3730a3;
  --brand-soft: #eef0ff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 21, 43, .04), 0 12px 32px rgba(22, 21, 43, .06);

  /* Product accents: --a strong, --s soft */
  --a1: #4338ca; --s1: #eef0ff;
  --a2: #0f766e; --s2: #e6f6f3;
  --a3: #be185d; --s3: #fdecf3;
  --a4: #b45309; --s4: #fdf3e3;

  --font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.accent-1 { --a: var(--a1); --s: var(--s1); }
.accent-2 { --a: var(--a2); --s: var(--s2); }
.accent-3 { --a: var(--a3); --s: var(--s3); }
.accent-4 { --a: var(--a4); --s: var(--s4); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 16px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: #d9d5cc; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; padding: 11px 20px; font-size: 15px; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1efe9; color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.actions.center { justify-content: center; }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-logo { height: 36px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: 15.5px; }
.nav-link:hover { color: var(--ink); background: rgba(22, 21, 43, .05); }
.caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.has-menu { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-menu:hover .sub-menu, .has-menu:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 15px; }
.sub-menu a:hover { background: var(--bg); color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Sections */
.section { padding: 104px 0; }
.section + .section { padding-top: 24px; }
.section.tinted { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 104px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }

.page-title { font-size: clamp(36px, 5vw, 54px); font-weight: 800; }
.lead { margin-top: 22px; font-size: 21px; line-height: 1.55; color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 112px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.hero-title { font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero-lead { margin-top: 26px; max-width: 560px; font-size: 21px; line-height: 1.55; color: var(--muted); }
.center .hero-lead { margin-left: auto; margin-right: auto; }

.hero-visual img { border-radius: 24px; box-shadow: var(--shadow); }
.window { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transform: rotate(-1.5deg); }
.window-bar { display: flex; gap: 7px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e7e3da; }
.window-body { display: grid; grid-template-columns: 92px 1fr; min-height: 330px; }
.window-side { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border-right: 1px solid var(--line); background: var(--bg); }
.window-side b { display: block; height: 10px; border-radius: 6px; background: #e7e3da; }
.window-side b:first-child { background: var(--brand); opacity: .75; }
.window-main { padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tiles span { height: 74px; border-radius: 14px; background: var(--s); position: relative; }
.tiles span::after { content: ""; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 9px; background: var(--a); opacity: .9; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 12px; min-height: 120px; padding: 14px; border-radius: 14px; background: var(--bg); }
.bars s { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--brand), #7c75f0); opacity: .85; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-card:hover { color: var(--text); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card h3 { margin-top: 26px; font-size: 26px; }
.product-card p { margin-top: 12px; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 26px; font-weight: 600; color: var(--a, var(--brand)); }

.product-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--s, var(--brand-soft)); color: var(--a, var(--brand));
  font-size: 24px; font-weight: 800;
}
.product-mark.large { display: flex; width: 76px; height: 76px; border-radius: 22px; font-size: 34px; margin: 28px auto 0; }
.product-logo { width: 56px; height: 56px; object-fit: contain; }
.product-hero .product-logo { display: block; width: 76px; height: 76px; margin: 28px auto 0; }

.product-hero { padding: 64px 0 96px; background: radial-gradient(1200px 420px at 50% -10%, var(--s, var(--brand-soft)), transparent 70%); }
.product-hero .hero-title { margin-top: 26px; }
.back-link { display: inline-block; color: var(--muted); font-size: 15px; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.product-hero .btn-primary { background: var(--a, var(--brand)); }
.product-hero .back-link + .product-mark, .product-hero .back-link + .product-logo { margin-top: 28px; }
.product-hero .btn-primary:hover { filter: brightness(.92); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { margin-top: 20px; font-size: 20px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--s); color: var(--a); }
.link-card { display: flex; flex-direction: column; color: var(--text); }
.link-card:hover { color: var(--text); box-shadow: var(--shadow); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.about-grid .lead { margin-top: 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 44px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.contact-card span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.contact-card strong { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
a.contact-card:hover { border-color: var(--brand); color: var(--brand); }

/* Contact page (contact-section): the page's opening as elsewhere, then the ways to reach you beside the form */
.contact-head { max-width: 760px; margin-bottom: 48px; }
.contact-layout { display: grid; gap: 32px; align-items: start; }
.contact-layout.has-both { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-layout.form-only { max-width: 720px; margin: 0 auto; }
.contact-layout.cards-only .contact-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-side { display: grid; gap: 20px; }
.contact-method {
  display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.contact-method:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.contact-method-icon { flex: 0 0 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.contact-method-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-method-text strong { font-size: 20px; font-weight: 700; }
.contact-method-value { font-size: 19px; font-weight: 500; color: var(--brand); overflow-wrap: anywhere; }
.contact-method-text small { font-size: 14px; color: var(--muted); }
.contact-picture { width: 100%; border-radius: var(--radius); }
.contact-main .contact-form { margin-top: 0; }
.contact-form-head { margin-bottom: 24px; }
.contact-form-head h2 { font-size: 26px; }
.contact-form-head p { margin-top: 8px; color: var(--muted); }
.contact-body { max-width: 720px; margin: 48px auto 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.btn-block { width: 100%; justify-content: center; margin-top: 18px; }
@media (max-width: 900px) { .contact-layout.has-both { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .contact-method { padding: 20px; gap: 16px; } .contact-method-icon { flex-basis: 52px; height: 52px; } }

/* Contact form (partial/contact-form.ftl) */
.contact-form { margin-top: 36px; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; }
.form-hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.contact-status { margin: 14px 0 0; font-size: 15px; text-align: center; }
.contact-status-ok { color: #0f766e; font-weight: 600; }
.contact-status-error { color: #b91c1c; }
/* The trap field: out of sight and out of reach, but not display:none (some scripts skip those) */
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .contact-form { padding: 22px; } .form-grid { grid-template-columns: 1fr; } }

/* Call to action */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 64px; border-radius: 28px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(124, 117, 240, .45), transparent 70%), var(--ink);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); max-width: 640px; }
.cta-band p { margin-top: 14px; color: #c9c7dc; font-size: 18px; max-width: 600px; }

/* Rich text */
.prose { margin-top: 36px; font-size: 18px; }
.prose.left { text-align: left; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: 14px; }
.article-image { margin-top: 40px; border-radius: 20px; }

/* Footer */
.site-footer { margin-top: 64px; padding: 72px 0 36px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(160px, 1fr)); gap: 48px; }
.footer-about p { margin-top: 18px; max-width: 380px; color: var(--muted); font-size: 16px; }
.footer-mail { display: inline-block; margin-top: 16px; font-weight: 600; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer-col ul { list-style: none; margin: 18px 0 0; padding: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--text); font-size: 16px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14.5px; }
.socials { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.socials a { color: var(--muted); }
.socials a:hover { color: var(--ink); }

/* Narrow screens */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding-top: 48px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 28px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 14px 8px; font-size: 17px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; background: transparent; }
  .caret { display: none; }
  .site-nav .btn { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-card { padding: 28px; }
  .cta-band { padding: 40px 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .window-body { grid-template-columns: 64px 1fr; min-height: 260px; }
}

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