/* Copyright (c) 2026 matoio.com. All rights reserved. */
/* Draft C「活力」: bright and lively, for owners who like a busy page — but ordered. Violet-blue from the
   MyAITeam logo, soft lavender ground, rounded white tiles, a bento of real client screens. Outfit for figures. */
:root {
  --bg: #f5f3ff; --paper: #ffffff; --ink: #17153a; --ink-2: #5c5985; --ink-3: #9a97bd; --line: #e6e2fa;
  --violet: #6c4dff; --blue: #3b6cff; --pink: #ff5fa2; --mint: #17bfa0; --sun: #ffc23d;
  --grad: linear-gradient(110deg, #3b6cff 0%, #6c4dff 55%, #b44dff 100%);
  --num: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --r: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.i { width: 1.1em; height: 1.1em; flex: none; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 45%, transparent); outline-offset: 2px; border-radius: 10px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font: 700 15.5px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 16px 34px -14px rgba(108, 77, 255, .8); }
.btn-soft { background: var(--paper); color: var(--violet); border-color: #ddd5ff; }
.btn-white { background: #fff; color: var(--violet); }
.btn-line-w { border-color: rgba(255, 255, 255, .6); color: #fff; }

/* Header: floating pill */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px 0; }
.bar { display: flex; align-items: center; gap: 30px; height: 62px; padding: 0 12px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 12px 30px -20px rgba(60, 40, 160, .35); }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { background: var(--bg); color: var(--violet); }
.link { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menu { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 46px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(35% 45% at 25% 30%, rgba(59, 108, 255, .22), transparent 70%), radial-gradient(30% 40% at 78% 25%, rgba(180, 77, 255, .22), transparent 70%), radial-gradient(25% 30% at 60% 70%, rgba(255, 95, 162, .14), transparent 70%); pointer-events: none; }
.hero-head { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--violet); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(23, 191, 160, .18); }
.hero h1 { margin-top: 20px; font: 900 clamp(40px, 6vw, 84px)/1.12 var(--body); letter-spacing: -0.04em; text-wrap: balance; }
.sub { margin-top: 20px; max-width: 32em; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.devices { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: end; }
.dev-desk [data-office] { font-size: clamp(10px, .98vw, 13.5px); --o-h: 42em; --o-radius: 22px; }
.dev-phone { width: 270px; height: 540px; padding: 10px; border-radius: 46px; background: #17153a; box-shadow: 0 40px 80px -40px rgba(23, 21, 58, .7); }
.phone-in { height: 100%; display: flex; flex-direction: column; border-radius: 37px; overflow: hidden; background: #ededf2; }
.ph-head { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 36px 14px 10px; background: #f7f7f9; border-bottom: 1px solid #e3e3ea; font-size: 14px; }
.ph-head small { font-size: 11px; color: #22a55b; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: #dcf5e4; }
.av { display: block; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--tint); flex: none; }
.av img, .ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; font-size: 13px; line-height: 1.5; }
.ph-msgs p { max-width: 86%; padding: 8px 11px; border-radius: 12px; }
.ph-msgs .me { align-self: flex-end; background: #95ec69; border-bottom-right-radius: 4px; }
.ph-msgs .it { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.ph-msgs .card { display: grid; border-left: 3px solid var(--violet); }
.ph-msgs .card span { color: var(--ink-2); font-size: 12px; }
.ph-input { margin: 0 10px 12px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink-3); font-size: 12.5px; }
.ticks { position: relative; list-style: none; margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ticks li { display: grid; padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ticks b { font-size: 17px; color: var(--ink); }

/* Section heads */
.head { margin-bottom: 40px; }
.head-c { text-align: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #ece7ff; color: var(--violet); font-size: 13.5px; font-weight: 800; }
.head h2 { margin-top: 12px; font: 900 clamp(30px, 3.8vw, 52px)/1.2 var(--body); letter-spacing: -0.03em; text-wrap: balance; }
.head-sub { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; }

/* Bento */
.features { padding: 100px 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.t { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.t:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(60, 40, 160, .45); }
.t h3 { margin-top: auto; font-size: 19px; font-weight: 900; }
.t > p { color: var(--ink-2); font-size: 14.5px; }
.ui { margin-bottom: 18px; }
.t-ask { grid-column: span 2; background: linear-gradient(160deg, #fff, #f3efff); }
.t-status { grid-column: span 2; background: linear-gradient(160deg, #fff, #eef3ff); }
.t-phone { background: linear-gradient(160deg, #fff, #eafaf5); }
.t-recruit { grid-column: span 2; background: linear-gradient(160deg, #fff, #fff1f7); }
.ask { display: grid; gap: 8px; }
.ask-who { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ask-who i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--sun); }
.ask-card { margin-left: 36px; padding: 14px 16px; border-radius: 4px 16px 16px 16px; border: 2px solid var(--violet); background: #fff; }
.ask-t { font-size: 12px; font-weight: 800; color: var(--violet); letter-spacing: .06em; }
.ask-q { font-size: 15px; }
.ask-q b { font: 700 19px var(--num); }
.ask-opts { display: flex; gap: 8px; margin-top: 10px; }
.ask-opts span { padding: 5px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.ask-opts .on { background: var(--violet); border-color: var(--violet); color: #fff; }
.crew { list-style: none; padding: 34px 0 0; display: flex; gap: 22px; }
.crew li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 13px; }
.crew .av { width: 64px; height: 64px; box-shadow: 0 0 0 3px #fff; }
.crew .av.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue); }
.crew .av.on-w { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink); }
.bub { z-index: 2; position: absolute; bottom: calc(100% - 22px); left: 0; transform: translateX(-6%); white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px; background: var(--blue); color: #fff; animation: bob 3s ease-in-out infinite; }
.bub.wait { background: var(--pink); transform: translateX(-50%); animation-delay: -1.5s; }
@keyframes bob { 50% { translate: 0 -4px; } }
.files { list-style: none; padding: 0; display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--bg); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files li.new { background: #e8f8f2; box-shadow: inset 0 0 0 1px #9fe3cf; }
.files .i { color: var(--violet); }
.mem { display: grid; gap: 6px; }
.mem p { padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.mem-in { display: flex; justify-content: space-between; color: var(--ink-3); border-style: dashed !important; }
.mem-in b { color: var(--violet); }
.rts { list-style: none; padding: 0; display: grid; gap: 6px; }
.rts li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; border: 1px dashed #cfc6ff; font-size: 13px; color: var(--ink-2); }
.rts b { color: var(--ink); }
.rts .i { color: var(--violet); }
.chans { display: flex; flex-wrap: wrap; gap: 6px; }
.chans span { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #c8eee2; font-size: 13px; font-weight: 700; color: #138a73; }
.stop { display: grid; gap: 6px; margin-bottom: 18px; font-size: 13px; }
.stop span { max-width: 90%; padding: 7px 11px; border-radius: 12px; }
.stop .me { justify-self: end; background: #95ec69; }
.stop .it { justify-self: start; background: #fff; border: 1px solid var(--line); }
.looks { display: flex; gap: 10px; }
.lk { flex: 1; display: grid; grid-template-columns: 26% 1fr; grid-template-rows: 22% 1fr; gap: 3px; aspect-ratio: 4 / 3; padding: 5px; border-radius: 12px; }
.lk i:first-child { grid-column: 1 / -1; border-radius: 5px; }
.lk i { border-radius: 4px; }
.lk-paper { background: #fff; border: 1px solid #e3e3e3; }
.lk-paper i { background: #f1f1f1; } .lk-paper i:nth-child(3) { background: #fafafa; box-shadow: inset 0 0 0 1px #e8e8e8; }
.lk-night { background: #1e1c3b; }
.lk-night i { background: #2c2a55; } .lk-night i:nth-child(3) { background: #24224a; }
.lk-brand { background: linear-gradient(160deg, #f7f6ff, #ece6ff); border: 1px solid var(--line); }
.lk-brand i { background: #fff; } .lk-brand i:first-child { background: var(--grad); }
.cards { position: relative; height: 120px; }
.cd { position: absolute; top: 10px; display: grid; justify-items: center; align-content: center; gap: 6px; width: 110px; height: 96px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(60, 40, 160, .5); font-size: 14px; font-weight: 700; transition: transform .3s; }
.cd .i { width: 26px; height: 26px; color: var(--violet); }
.c1 { left: 2%; transform: rotate(-8deg); } .c2 { left: 24%; transform: rotate(-2deg); top: 2px; } .c3 { left: 46%; transform: rotate(4deg); } .c4 { left: 68%; transform: rotate(9deg); top: 16px; }
.apps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.apps li { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; background: var(--bg); font-size: 13px; font-weight: 700; }
.apps .i { width: 22px; height: 22px; color: var(--violet); }
.t-recruit:hover .c1 { transform: rotate(-12deg) translateY(-6px); } .t-recruit:hover .c4 { transform: rotate(13deg) translateY(-6px); }

/* Team strip */
.team { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crew-strip { list-style: none; margin: 0 auto; padding: 0 max(24px, calc((100vw - 1240px) / 2 + 24px)); display: grid; grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 1440px; }
.crew-strip li { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--c) 9%, #fff); transition: transform .3s; }
.crew-strip li:hover { transform: translateY(-6px); }
.ph { display: block; aspect-ratio: 3 / 3.6; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, #fff), color-mix(in srgb, var(--c) 30%, #fff)); }
.ph img { object-position: 50% 0; }
.crew-strip li.gm .ph { aspect-ratio: auto; flex: 1; min-height: 200px; }
.crew-strip p { display: grid; padding: 12px 14px 16px; line-height: 1.4; }
.crew-strip b { font-size: 16px; }
.crew-strip span:not(.ph) { font-size: 12.5px; color: var(--ink-2); }

/* Why */
.why { padding: 100px 0; }
.why h2 { margin-top: 12px; font: 900 clamp(28px, 2.9vw, 42px)/1.3 var(--body); letter-spacing: -0.03em; }
.why-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 56px; padding: 56px; border-radius: 36px; background: var(--ink); color: #fff; }
.why .eyebrow { background: rgba(255, 255, 255, .12); color: #cfc4ff; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pains li { display: grid; gap: 4px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); }
.pains .i { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--c); color: #fff; margin-bottom: 6px; }
.pains b { font-size: 17px; }
.pains span { font-size: 14px; color: #b9b5dc; }
.mission { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: #d6d2f5; font-size: 18px; }
.mission b { color: #fff; }

/* Pricing */
.pricing { padding: 30px 0 100px; }
.price { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
.free { display: flex; flex-direction: column; gap: 12px; padding: 34px; border-radius: var(--r); background: var(--grad); color: #fff; box-shadow: 0 30px 60px -34px rgba(108, 77, 255, .9); }
.free-k { font-weight: 700; opacity: .85; }
.free-p { font: 800 84px/1 var(--num); letter-spacing: -0.03em; }
.free-p small { font: 600 16px var(--body); margin-left: 8px; opacity: .85; letter-spacing: 0; }
.free ul { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 8px; }
.free li::before { content: "✓"; margin-right: 10px; font-weight: 800; }
.free .btn { margin-top: auto; }
.usage { display: grid; gap: 4px; padding: 28px 30px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.usage-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.usage-h b { font-size: 20px; }
.usage-h span { font-size: 13.5px; color: var(--ink-3); }
.usage label { display: grid; grid-template-columns: 230px minmax(0, 1fr) 36px 70px; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.usage label span { display: flex; align-items: center; gap: 8px; }
.usage label .i { color: var(--violet); }
.usage small { color: var(--ink-3); font-size: 12.5px; }
.usage input { width: 100%; accent-color: var(--violet); }
.usage b { font-family: var(--num); text-align: right; }
.usage em { font-style: normal; font: 700 16px var(--num); text-align: right; color: var(--violet); }
.usage-sum { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.usage-sum span { color: var(--ink-2); }
.usage-sum b { font: 800 46px/1 var(--num); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.usage-sum small { color: var(--ink-3); }
.usage-sum em { font-style: normal; color: var(--ink); font-family: var(--num); }
.fine { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* Final */
.final { padding: 0 0 90px; }
.final-box { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 80px 24px; border-radius: 40px; background: var(--grad); color: #fff; }
.final-box::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.final h2 { position: relative; font: 900 clamp(32px, 4.6vw, 62px)/1.2 var(--body); letter-spacing: -0.035em; }
.final p { position: relative; opacity: .9; }
.final .cta { position: relative; margin-top: 18px; }

.site-footer { padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--ink-3); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { height: 24px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; color: var(--ink-2); }

@media (max-width: 1080px) {
  .devices { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .dev-desk { width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crew-strip li.gm { grid-column: span 2; grid-row: span 2; }
  .why-box, .price { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav, .link { display: none; }
  .menu { display: inline-flex; }
  .site-header.nav-open .nav { display: flex; flex-direction: column; position: absolute; top: calc(100% - 4px); left: max(24px, env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
  .head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .bar { padding: 0 8px 0 16px; gap: 10px; }
  .hero h1 { font-size: 38px; }
  .dev-desk [data-office] { font-size: 12px; --o-h: 36em; }
  .dev-phone { width: 250px; height: 500px; }
  .ticks, .bento { grid-template-columns: minmax(0, 1fr); }
  .t-ask, .t-status, .t-recruit { grid-column: auto; }
  .crew { gap: 14px; }
  .crew .av { width: 52px; height: 52px; }
  .cd { width: 86px; height: 80px; font-size: 12.5px; }
  .crew-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  .crew-strip li.gm { grid-column: span 2; grid-row: auto; }
  .crew-strip li.gm .ph { min-height: 0; aspect-ratio: 4 / 3; }
  .features, .team, .why { padding: 70px 0; }
  .why-box { padding: 28px 20px; border-radius: 28px; }
  .pains { grid-template-columns: minmax(0, 1fr); }
  .usage { padding: 22px 18px; }
  .usage label { grid-template-columns: minmax(0, 1fr) 30px 60px; gap: 4px 10px; }
  .usage label span { grid-column: 1 / -1; }
  .free-p { font-size: 64px; }
  .final-box { padding: 56px 20px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
