/* Makatools site. Light and dark follow the visitor's system setting. */
:root {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink2: #6e6e73;
  --line: #e3e3e8;
  --accent: #0a84ff;
  --accent2: #5e5ce6;
  --shadow: 0 30px 80px rgba(16, 24, 64, .18), 0 6px 18px rgba(16, 24, 64, .08);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-alt: #18181b;
    --card: #1f1f23;
    --ink: #f5f5f7;
    --ink2: #a1a1aa;
    --line: #2c2c31;
    --shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--line); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 18px; font-weight: 650; }
.sprite { display: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; border-radius: 999px; padding: 10px 18px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.big { font-size: 17px; padding: 15px 26px; }
.btn.small { font-size: 14px; padding: 7px 15px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(10, 132, 255, .35); }
.btn.primary:hover { background: #0077ed; }
.btn.ghost { color: var(--ink); background: var(--card); border: 1px solid var(--line); }
.btn.light { background: #fff; color: #1d1d1f; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
.nav-bar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink2); font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.hero { padding: 72px 0 0; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 40% 0; z-index: -1;
  background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(40% 50% at 80% 20%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 70%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { border-radius: 22px; box-shadow: 0 12px 30px rgba(10, 132, 255, .3); margin-bottom: 22px; }
.kicker { margin: 0 0 12px; font-weight: 600; color: var(--accent); font-size: 15px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(38px, 6.6vw, 72px); line-height: 1.04; font-weight: 750; text-wrap: balance; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink2); max-width: 640px; margin: 22px 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fine { color: var(--ink2); font-size: 14px; margin: 16px 0 0; }
.shot-wrap { margin-top: 56px; }
.shot { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }

/* strip */
.strip { padding: 64px 0 24px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.strip-grid b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 750; letter-spacing: -.02em; }
.strip-grid span { color: var(--ink2); font-size: 15px; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section > .wrap > h2, .section > .wrap.narrow > h2 { text-align: center; }
.sub { text-align: center; color: var(--ink2); font-size: 19px; max-width: 660px; margin: 16px auto 48px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 24, 64, .1); }
.card h3 { margin: 14px 0 6px; }
.card p { margin: 0; color: var(--ink2); font-size: 15px; }
.tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.tile svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-green { background: #34c759; } .t-orange { background: #ff9500; } .t-purple { background: #af52de; }
.t-pink { background: #ff2d55; } .t-indigo { background: #5856d6; } .t-teal { background: #32ade6; }
.t-slate { background: #64748b; } .t-cyan { background: #30b0c7; } .t-red { background: #ff3b30; }
.t-brown { background: #a2845e; } .t-gray { background: #636366; } .t-blue { background: #0a84ff; }

/* showcase rows */
.showcase { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.showcase.flip .copy { order: 2; }
.eyebrow { margin: 0 0 10px; font-weight: 650; color: var(--accent); font-size: 15px; }
.copy p { color: var(--ink2); font-size: 18px; margin: 18px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, #34c759 18%, transparent); fill: none; stroke: #28a745; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* install */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--ink2); margin: 6px 0 0; font-size: 15px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 700; margin-bottom: 14px; }
.notice { margin-top: 24px; border-radius: var(--radius); padding: 24px 26px; border: 1px solid color-mix(in srgb, #ff9500 40%, var(--line)); background: color-mix(in srgb, #ff9500 8%, var(--card)); }
.notice p { color: var(--ink2); margin: 8px 0 12px; font-size: 15px; }
.notice ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; padding: 0 22px; }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink2); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--ink2); }

/* final call */
.final { padding: 24px 0 96px; }
.final-inner {
  text-align: center; color: #fff; border-radius: 28px; padding: 64px 24px;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  display: flex; flex-direction: column; align-items: center;
}
.final-inner img { border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); margin-bottom: 20px; }
.final-inner p { opacity: .9; font-size: 19px; margin: 12px 0 28px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--ink2); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-note { margin-top: 14px; font-size: 12.5px; }

/* smaller screens */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.flip .copy { order: 0; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 48px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .grid, .grid.three { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
