:root { --ink:#17312c; --muted:#65736f; --paper:#f7f4ed; --card:#fffefa; --line:#d9ded8; --green:#176c55; --green-dark:#10513f; --mint:#e3f2ea; --cream:#fff9e8; --gold:#d8a72c; --danger:#a93f3f; }
* { box-sizing:border-box; }
html { background:var(--paper); scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:radial-gradient(circle at 50% -10%, #fffef8 0, var(--paper) 52%); font-family:"Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif; font-size:18px; line-height:1.75; }
button,textarea { font:inherit; }
button { cursor:pointer; }
button:focus-visible,textarea:focus-visible { outline:3px solid #e2b33f; outline-offset:3px; }
.app-shell { min-height:100vh; }
.brand-header { height:78px; display:flex; align-items:center; justify-content:space-between; max-width:1120px; margin:auto; padding:0 28px; border-bottom:1px solid rgba(23,49,44,.08); }
.brand { border:0; background:transparent; display:flex; align-items:center; gap:12px; color:var(--ink); font-weight:800; padding:8px 0; }
.brand-mark { width:38px; height:38px; border-radius:12px; display:flex; align-items:end; justify-content:center; gap:3px; padding:8px; background:var(--green); }
.brand-mark i { display:block; width:5px; border-radius:4px 4px 1px 1px; background:white; }.brand-mark i:nth-child(1){height:12px}.brand-mark i:nth-child(2){height:21px}.brand-mark i:nth-child(3){height:16px}
.text-button,.danger-link { border:0; background:transparent; color:var(--green); font-weight:700; min-height:44px; padding:8px 10px; text-decoration:underline; text-underline-offset:4px; }
.content-wrap { width:min(100% - 32px, 980px); margin:52px auto 100px; }
.panel { background:rgba(255,254,250,.94); border:1px solid var(--line); border-radius:28px; padding:clamp(28px,5vw,64px); box-shadow:0 20px 60px rgba(38,57,50,.08); }
.narrow { max-width:760px; margin-inline:auto; }
.hero { max-width:800px; margin-inline:auto; text-align:center; }
.eyebrow { margin:0 0 12px; color:var(--green); font-size:.82rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1 { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(2rem,6vw,3.4rem); line-height:1.35; letter-spacing:.01em; margin-bottom:22px; }
h2 { font-size:1.45rem; line-height:1.45; }
h3 { font-size:1.05rem; line-height:1.5; }
.lead { max-width:620px; margin:0 auto 38px; color:var(--muted); }.lead.compact{margin-left:0}
label { display:block; text-align:left; font-weight:800; margin:0 0 10px; }
textarea { display:block; width:100%; border:2px solid #cfd7d2; border-radius:14px; background:white; color:var(--ink); padding:18px; resize:vertical; min-height:112px; }
textarea::placeholder { color:#89948f; }
.privacy-note { display:flex; gap:9px; align-items:flex-start; margin:12px 0 24px; color:var(--muted); font-size:.78rem; text-align:left; }
.primary-button,.secondary-button { border-radius:12px; min-height:52px; padding:12px 22px; font-weight:800; border:2px solid var(--green); transition:.18s ease; }
.primary-button { background:var(--green); color:white; box-shadow:0 8px 20px rgba(23,108,85,.2); }.primary-button:hover{background:var(--green-dark);transform:translateY(-1px)}
.secondary-button { background:white; color:var(--green); }.secondary-button:hover{background:var(--mint)}
.hero>.primary-button { width:min(100%,360px); }
.how-it-works { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:38px; padding-top:28px; border-top:1px solid var(--line); color:var(--muted); font-size:.76rem; }
.how-it-works div { display:flex; align-items:center; gap:7px; }.how-it-works b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--mint);color:var(--green)}.how-it-works i{font-style:normal;color:#a1aaa5}
.notice { border-radius:12px; padding:13px 16px; margin:0 auto 18px; max-width:800px; font-size:.88rem; }.notice.success{background:#e4f4ea;color:#185941}.notice.error{background:#fae9e7;color:#8a302f}.notice.info{background:#edf3ef;color:#49635b}
.progress-wrap { margin-bottom:34px; }.progress-label{display:flex;justify-content:space-between;color:var(--muted);font-size:.78rem;margin-bottom:7px}.progress-track{height:7px;border-radius:9px;background:#e6e9e5;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--green);border-radius:9px}
.choice-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:24px 0; }
.choice-card { min-height:120px; border:1px solid var(--line); border-radius:14px; background:white; padding:18px; text-align:left; color:var(--ink); }.choice-card:hover{border-color:var(--green);background:#f3faf6}.choice-card strong,.choice-card span{display:block}.choice-card span{font-size:.78rem;color:var(--muted);margin-top:6px;line-height:1.6}
.button-row,.result-actions { display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.result-area { max-width:920px; margin:auto; }.result-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}.result-heading h1{margin-bottom:0}.category-badge{white-space:nowrap;background:var(--mint);color:var(--green);border-radius:999px;padding:7px 14px;font-size:.78rem;font-weight:800}
.summary-card,.result-card { display:flex; gap:22px; background:var(--card); border:1px solid var(--line); border-radius:20px; padding:28px; margin-bottom:18px; box-shadow:0 10px 30px rgba(38,57,50,.05); }.section-number{color:#9da9a4;font-size:.75rem;font-weight:800;letter-spacing:.1em;min-width:28px}.wide{width:100%}.problem-quote{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:1.25rem;font-weight:700;color:var(--ink);margin-bottom:8px}.summary-card p:last-child,.section-intro{color:var(--muted);margin-bottom:0}
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-top:20px; }.role-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:white}.role-card p{color:var(--muted);font-size:.78rem;line-height:1.65;margin-bottom:0}.role-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;margin-bottom:12px;font-size:.68rem;font-weight:800}.tone-1{background:#dceee6;color:#176c55}.tone-2{background:#e7e5f5;color:#55508b}.tone-3{background:#fae7d5;color:#9a5f28}.tone-4{background:#e1ebf6;color:#436887}.tone-5{background:#f5e5eb;color:#89566a}
.steps-list { list-style:none; padding:0; margin:18px 0 0; }.steps-list li{display:flex;gap:14px;position:relative;padding:0 0 20px}.steps-list li:not(:last-child)::after{content:"";position:absolute;left:15px;top:34px;bottom:0;border-left:2px dotted #c8d1cc}.steps-list b{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:var(--green);color:white;font-size:.78rem}.steps-list strong,.steps-list span{display:block}.steps-list span{color:var(--muted);font-size:.82rem;margin-top:2px}
.first-action { display:flex; gap:20px; align-items:flex-start; background:linear-gradient(135deg,#155f4c,#1d755d); color:white; border-radius:20px; padding:30px; margin:24px 0; box-shadow:0 16px 36px rgba(23,108,85,.2); }.first-action .spark{font-size:1.6rem;color:#f4cf68}.first-action p{font-size:.74rem;font-weight:800;letter-spacing:.1em;margin-bottom:7px;color:#d8eee6}.first-action h2{margin:0;font-size:1.35rem}
.two-column { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.insight-card,.done-card{display:flex;gap:15px;border-radius:18px;padding:24px}.insight-card{background:var(--cream);border:1px solid #edddad}.done-card{background:#edf5f1;border:1px solid #c9dfd5}.insight-card>span{color:#b78217}.done-card>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:var(--green);color:white}.insight-card h2,.done-card h2{font-size:1rem;margin-bottom:7px}.insight-card p,.done-card p{font-size:.86rem;margin-bottom:0}
.ai-handoff { display:flex;justify-content:space-between;gap:28px;align-items:center;background:#f1efe8;border:1px solid var(--line);border-radius:20px;padding:30px}.ai-handoff>div:first-child{max-width:560px}.ai-handoff h2{margin-bottom:8px}.ai-handoff p:not(.eyebrow){color:var(--muted);font-size:.86rem;margin-bottom:6px}.ai-handoff .safety-copy{font-size:.72rem!important}.ai-actions{display:flex;flex-direction:column;gap:10px;min-width:220px}.manual-copy{margin-top:18px}.result-actions{justify-content:center;margin-top:28px}
.saved-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.danger-link{color:var(--danger)}.empty-state{text-align:center;padding:50px 12px;color:var(--muted)}.empty-state>span{font-size:2rem}.saved-list{display:grid;gap:10px;margin:24px 0}.saved-list article{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.saved-main{flex:1;border:0;background:white;text-align:left;padding:16px;color:var(--ink)}.saved-main strong,.saved-main span{display:block}.saved-main span{color:var(--muted);font-size:.76rem;margin-top:4px}.delete-button{border:0;border-left:1px solid var(--line);background:white;color:var(--danger);padding:12px 16px}
footer { text-align:center; border-top:1px solid rgba(23,49,44,.1); padding:34px 20px 42px; color:var(--muted); font-size:.76rem; }footer p{margin-bottom:2px}footer p:first-child{font-weight:800;color:var(--ink)}
@media (max-width:700px){body{font-size:17px}.brand-header{height:68px;padding:0 16px}.brand span:last-child{font-size:.82rem}.content-wrap{width:min(100% - 20px,980px);margin-top:24px}.panel{border-radius:20px;padding:24px 18px}.how-it-works{align-items:flex-start;gap:7px}.how-it-works div{flex-direction:column;text-align:center;gap:4px}.how-it-works i{margin-top:4px}.choice-grid,.two-column{grid-template-columns:1fr}.result-heading{display:block}.category-badge{display:inline-block;margin-top:14px}.summary-card,.result-card{padding:22px 17px;gap:9px}.team-grid{grid-template-columns:1fr 1fr}.role-card{padding:13px}.role-icon{width:40px;height:40px}.first-action{padding:24px 20px}.ai-handoff{display:block;padding:24px 18px}.ai-actions{min-width:0;margin-top:18px}.ai-actions button{width:100%}.button-row>*{width:100%}.result-actions{flex-direction:column}.saved-heading{align-items:flex-start}.saved-list article{display:block}.delete-button{width:100%;border-left:0;border-top:1px solid var(--line);min-height:44px}}
@media (max-width:380px){.team-grid{grid-template-columns:1fr}.brand span:last-child{display:none}h1{font-size:1.85rem}.content-wrap{width:min(100% - 12px,980px)}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
