/* Warm light is decorative; text and form controls remain steady and readable. */
.tomori-theme{--glow-ink:#34312b;--glow-muted:#68594b;--glow-line:#ae8b66;--glow-warm:#f6e2c3}
.home-page .hero-grid{grid-template-columns:.88fr 1.12fr;gap:48px;align-items:center}
.hero-inquiry{position:relative;isolation:isolate;padding:30px 32px;background:#fbfaf6;border:1px solid #dedbd2;border-radius:20px;box-shadow:none}
.hero-inquiry-label{font-size:.875rem;color:var(--amber);font-weight:700;letter-spacing:.08em;margin:0 0 6px}
.hero-inquiry h2{font-size:1.5rem;font-weight:700;line-height:1.5}
.hero-form-preview{font-size:.8125rem;color:var(--glow-muted);line-height:1.65;margin:8px 0 20px}
.hero-contact-form fieldset{border:0;min-width:0;padding:0;margin:0}
.hero-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.hero-form-grid label{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:.875rem;line-height:1.6;margin-bottom:5px;font-weight:500}
.hero-form-grid .field-badge,.hero-form-consent .field-badge{font-size:.75rem;margin-left:0;padding:0 5px}
.hero-form-grid .form-control input,.hero-form-grid .form-control select,.hero-form-grid .form-control textarea{width:100%;min-height:44px;padding:9px 10px;background:#fffdf9;border:1px solid #a48b6e;border-radius:5px;font-size:1rem;line-height:1.5}
.hero-form-grid .form-control textarea{min-height:88px;resize:vertical}
.hero-form-full{grid-column:1/-1}
.hero-form-consent{font-size:.875rem;margin:17px 0;line-height:1.7}
.hero-form-consent label{display:flex;gap:10px;align-items:flex-start}
.hero-form-consent input{width:19px;height:19px;flex-shrink:0;margin-top:3px;accent-color:var(--amber)}
.hero-form-consent a{text-decoration:underline;text-underline-offset:3px}
.hero-form-consent .field-badge{margin-left:6px}
.hero-form-submit{width:100%;justify-content:center;min-height:48px;padding:12px 18px}
.hero-inquiry .contact-complete{padding:30px 0;background:transparent;border:0}
.home-page .hero[data-paused="true"] .hero-number,.home-page .hero[data-paused="true"] .hero-number::before{animation-play-state:paused}
@media(max-width:1000px){.home-page .hero-grid{gap:26px;grid-template-columns:.85fr 1.15fr}.hero-inquiry{padding:25px 22px}.hero-form-grid{column-gap:10px}}
@media(max-width:800px){.home-page .hero-grid{grid-template-columns:1fr;gap:32px}.hero-inquiry{width:100%;max-width:620px;margin-inline:auto}.home-page .hero-actions{flex-direction:row}}
@media(max-width:420px){.hero-inquiry{padding:25px 18px}.hero-form-grid{grid-template-columns:1fr;gap:13px}.hero-inquiry h2{font-size:1.25rem}}

/* Diffused lamplight outlines the content; it is not an illustration behind it. */
.tomori-theme main{overflow:clip}
.tomori-theme .light-card{position:relative;isolation:isolate;background:#fffcf680;border:1px solid #e8d7bf55;border-radius:42px 50px 38px 46px;box-shadow:inset 0 0 32px #efd9b91a,0 0 24px #e5bc8310;color:var(--glow-ink)}
.tomori-theme .light-card::before{content:"";position:absolute;inset:-3px;z-index:-1;pointer-events:none;border:7px solid #ebc58d55;border-radius:inherit;filter:blur(7px);background:none;opacity:.65;transform-origin:50% 50%}
.tomori-theme .included-item,.tomori-theme .flow-list li,.tomori-theme .plan-service{border-radius:46% 46% 32px 32px / 58px 58px 32px 32px}
.tomori-theme .light-arriving.light-card::before{animation:light-frame-arrive 1.9s ease-out both}
@keyframes light-frame-arrive{0%{opacity:.25}40%{opacity:.8}100%{opacity:.65}}
.tomori-theme .hero-inquiry{padding:38px 34px 32px}
.tomori-theme .hero-inquiry::before,.tomori-theme .contact-form-shell::before,.tomori-theme .contact-complete::before{content:none}
.tomori-theme .contact-form-section>.section-light{display:none}
.tomori-theme .hero-form-preview{color:var(--glow-muted)}
.tomori-theme .included-section,.tomori-theme .faq-section,.tomori-theme .plan-section-soft,.tomori-theme .about-contact,.tomori-theme .contact-section{background:transparent;border:0}
.tomori-theme .hero-bottom,.tomori-theme .flow-section,.tomori-theme .site-footer{border:0}
.tomori-theme .light-boundary{position:relative}
.tomori-theme .light-wave{position:absolute;left:0;right:0;top:-38px;height:100px;background:url('assets/light-wave.svg') center/100% 100% no-repeat;pointer-events:none;z-index:0;opacity:.8;transform-origin:center}
.tomori-theme .light-boundary:nth-child(even)>.light-wave{transform:scaleX(-1)}
.tomori-theme .light-arriving>.light-wave{animation:light-wave-sway 2.2s ease-out both}
@keyframes light-wave-sway{0%{opacity:.3;translate:0 5px;scale:1 .85}40%{opacity:.9;translate:0 -3px;scale:1 1.07}100%{opacity:.8;translate:0 0;scale:1 1}}
.tomori-theme .included-grid{gap:25px;align-items:stretch;margin-top:64px}
.tomori-theme .included-item{padding:46px 32px 38px;text-align:center;min-height:372px}
.tomori-theme .included-number{position:static;display:block;font-size:1.25rem;font-weight:700;color:var(--amber);margin-bottom:12px}
.tomori-theme .service-icon{position:static;width:42px;height:42px;color:var(--amber);margin:0 auto 16px}
.tomori-theme .included-item h3{padding:0;font-size:1.25rem;font-weight:700;margin-bottom:13px}
.tomori-theme .included-item p{text-align:left;line-height:1.9}
.tomori-theme .update-limit{border:0;font-size:.875rem;line-height:1.7;margin-top:14px;color:var(--glow-muted)}
.tomori-theme .section-footnote{margin-top:48px}
.tomori-theme .price-sheet{padding:44px}
.tomori-theme .price-topline{border:0;color:var(--glow-muted);padding-bottom:14px}
.tomori-theme .price-amount strong{font-weight:700;color:var(--amber)}
.tomori-theme .price-facts{border-color:#b58d6155}
.tomori-theme .flow-section{padding-top:95px}
.tomori-theme .flow-list{gap:18px;margin-top:55px}
.tomori-theme .flow-list li{padding:44px 25px 35px;min-height:284px}
.tomori-theme .flow-list li::after{display:none}
.tomori-theme .flow-step{position:static;font-size:1.7rem;font-weight:700;display:block;text-align:center}
.tomori-theme .flow-list h3{text-align:center;font-size:1.125rem;font-weight:700;margin:20px 0 15px}
.tomori-theme .flow-list p{color:var(--glow-muted)}
.tomori-theme .faq-list,.tomori-theme .faq-list details{border-color:#ad8b624d}
.tomori-theme .mini-sample-wrap{width:100%;max-width:320px;justify-self:end;min-width:0}
.tomori-theme .mini-sample-rotator{display:block;width:100%;padding:5px;border:1px solid #d8c5aa;border-radius:7px;background:#fffdf8;box-shadow:0 12px 25px #7c54251a;transform:rotate(-3deg);cursor:pointer}
.tomori-theme .mini-sample-rotator:focus-visible{outline:2px solid var(--amber);outline-offset:5px}
.tomori-theme .mini-sample-rotator[data-paused="true"] .hero-preview-screen img{transition:none}
.tomori-theme .mini-sample-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:.875rem;color:var(--glow-muted);text-decoration:underline;text-underline-offset:5px}
.tomori-theme .plan-intro{padding-bottom:75px}
.tomori-theme .plan-price-panel{padding:44px 64px;margin-top:65px}
.tomori-theme .plan-panel-label{background:transparent;color:var(--amber);padding:0;font-size:1rem;font-weight:700}
.tomori-theme .plan-domain-summary{background:transparent;border-radius:0;padding:18px 0 0;border-top:1px solid #b58d6155}
.tomori-theme .plan-domain-summary .plan-caption{color:var(--glow-muted)}
.tomori-theme .plan-services{gap:32px 22px;margin-top:25px}
.tomori-theme .plan-service{padding:44px 30px 35px;text-align:center;display:block}
.tomori-theme .plan-service-icon{margin:0 auto 15px;width:46px;height:46px;padding:4px;background:transparent;color:var(--amber)}
.tomori-theme .plan-service-icon svg>rect{fill:#f1d8b5}
.tomori-theme .plan-service p{text-align:left;margin:0;color:var(--glow-ink)}
.tomori-theme .plan-updates{padding:40px;margin-top:55px}
.tomori-theme .plan-updates h3 strong,.tomori-theme .plan-update-limit strong{color:var(--amber)}
.tomori-theme .plan-update-note{border-color:#b58d6155;color:var(--glow-muted)}
.tomori-theme .plan-rows>div{padding:45px 34px;margin-bottom:26px;grid-template-columns:1fr;gap:14px}
.tomori-theme .plan-rows>div:first-child{padding-top:45px}
.tomori-theme .plan-rows>div:last-child{padding-bottom:45px;margin-bottom:0}
.tomori-theme .domain-budget{background:transparent;border:0;padding:0;margin:18px 0;color:var(--amber)}
.tomori-theme .plan-agreement{padding:35px 30px}
.tomori-theme .plan-payment{padding:40px;gap:25px}
.tomori-theme .plan-payment-label{padding:0;background:transparent;color:var(--amber)}
.tomori-theme .plan-payment-label>span{color:var(--glow-muted)}
.tomori-theme .plan-contract-summary{padding:45px 32px}
.tomori-theme .plan-contract-check{background:var(--amber)}
.tomori-theme .about-story{padding-top:50px;padding-bottom:110px}
.tomori-theme .about-story-panel{padding:44px 55px;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(32px,4vw,56px)}
.tomori-theme .about-story-content{min-width:0}
.tomori-theme .about-story-heading{padding-right:0;min-height:0}
.tomori-theme .about-story-copy{margin-top:26px}
.tomori-theme .about-story .mini-sample-wrap{max-width:420px;margin:0;justify-self:center;align-self:center}
.tomori-theme .about-story .mini-sample-rotator{transform:none}
.tomori-theme .about-profile{padding-top:65px}
.tomori-theme .about-facts{padding:40px 20px}
.tomori-theme .about-facts>div{border-color:#b58d6155}
.tomori-theme .about-facts>div:last-child{border:0}
.tomori-theme .about-facts dt,.tomori-theme .about-facts dd{background:transparent}
.tomori-theme .contact-form-section{padding-top:55px}
.tomori-theme .contact-form-shell{padding:55px 45px;background:#fbfaf6;border:1px solid #dedbd2;border-radius:20px;box-shadow:none}
.tomori-theme .contact-complete{background:transparent;border:0;box-shadow:none}
.tomori-theme .contact-demo-note,.tomori-theme .policy-preview-note{padding:30px}
.tomori-theme .contact-email-box{padding:36px 30px}
.tomori-theme .contact-consent{background:#fffaf0b3;border:0;border-radius:12px}
.tomori-theme .field-badge{background:#925627;color:#fffdf9}
.tomori-theme .field-badge-optional{background:#eee4d4;color:#68594b}
.tomori-theme .policy-section{border:0;padding-top:50px;margin-top:30px}
@media(max-width:1000px){
  .tomori-theme .included-item{padding:44px 22px 32px}.tomori-theme .included-item h3{font-size:1.125rem}
  .tomori-theme .flow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px}.tomori-theme .flow-list li{padding:44px 40px 40px;min-height:274px}
  .tomori-theme .price-layout{gap:40px}.tomori-theme .price-sheet{padding:40px 30px}
  .tomori-theme .plan-price-panel{padding:40px}.tomori-theme .plan-service{padding-inline:24px}
}
@media(max-width:800px){
  .tomori-theme .about-story-panel{grid-template-columns:1fr;gap:32px}
  .tomori-theme .about-story .mini-sample-wrap{max-width:360px}
}
@media(max-width:700px){
  .tomori-theme .included-grid{grid-template-columns:1fr;gap:35px;margin-top:40px}
  .tomori-theme .included-item{max-width:430px;width:100%;margin:auto;padding:44px 36px 36px;min-height:0}
  .tomori-theme .price-layout{grid-template-columns:1fr;gap:55px}.tomori-theme .price-sheet{padding:36px 28px}
  .tomori-theme .flow-list{grid-template-columns:1fr;gap:35px}.tomori-theme .flow-list li{width:100%;max-width:430px;margin:auto;padding:44px 36px 36px;min-height:0}
  .tomori-theme .light-wave{height:75px;top:-26px}
  .tomori-theme .plan-intro-copy{display:grid;grid-template-columns:1fr;gap:25px}
  .tomori-theme .plan-intro-copy h1{padding:0;min-height:0}
  .tomori-theme .mini-sample-wrap{max-width:255px;justify-self:center}
  .tomori-theme .plan-price-panel{padding:36px 24px;margin-top:55px}
  .tomori-theme .plan-services{grid-template-columns:1fr;gap:32px}
  .tomori-theme .plan-service{max-width:430px;width:100%;margin:auto;padding:44px 36px 36px}
  .tomori-theme .plan-updates{padding:36px 28px}
  .tomori-theme .plan-rows>div,.tomori-theme .plan-rows>div:first-child,.tomori-theme .plan-rows>div:last-child{padding:40px 26px}
  .tomori-theme .plan-payment{padding:36px 28px;grid-template-columns:1fr}
  .tomori-theme .plan-contract-summary{padding:40px 24px;font-size:1.25rem}
  .tomori-theme .about-story{padding-top:45px;padding-bottom:75px}.tomori-theme .about-story-panel{padding:36px 28px}
  .tomori-theme .about-facts{padding:30px 8px}
  .tomori-theme .contact-form-shell{padding:35px 22px}
  .tomori-theme .hero-inquiry{padding:32px 22px}
}
@media(max-width:380px){
  .tomori-theme .included-item,.tomori-theme .flow-list li,.tomori-theme .plan-service{padding-inline:28px}
  .tomori-theme .price-sheet{padding-inline:24px}.tomori-theme .plan-price-panel{padding-inline:20px}
  .tomori-theme .hero-inquiry{padding-inline:17px}
}
@media(prefers-reduced-motion:reduce){
  .tomori-theme .light-arriving.light-card::before,.tomori-theme .light-arriving>.light-wave{animation:none}
  .tomori-theme .hero-preview-screen img{transition:none}
}
