:root{
  --bg:#efe5cf;
  --paper:#fff9ec;
  --ink:#2b2418;
  --muted:#6b5f4d;
  --line:#d3bd8f;
  --blue: #1f67d2;
  --blue2: #0d9bd7;

  --dark:#1f2f2f;
  --dark2:#365e62;

  --accent:#ad4707;
  --accent2:#c59645;

  --radius:8px;
  --radius2:8px;
  --shadow: 0 10px 30px rgba(54,39,20,.14);
  --max: 980px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height:1.65;
  padding-top: var(--topbar-h, 0px);
}

a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }
a:hover{ opacity:.9; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(219, 140, 37, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(197,150,69,.45);
  backdrop-filter: blur(10px);
}

/* Fixed header offset for in-page anchors */
section[id], main[id]{
  scroll-margin-top: calc(var(--topbar-h, 0px) + 12px);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  color:#fff;
  text-decoration:none;
  min-width: 240px;
}
.brand__logo{
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(226,196,137,.45);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.7; }
.brand__name{ font-weight: 800; font-size: 24px; letter-spacing:.2px; }
.brand__sub{ font-weight: 650; opacity:.9; }
.brand__tag{ font-size: 16px; opacity: .82; }

.topnav{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.topnav a{
  color: rgba(255,255,255,.86);
  text-decoration:none;
  font-size: 18px;
  padding: 8px 10px;
  border-radius: 10px;
}
.topnav a:hover{
  background: rgba(197,150,69,.22);
  color: #fff;
}

.topbar__cta{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(197,150,69,.55);
  background: rgba(197,150,69,.18);
  color: #fff;
  text-decoration:none;
  font-weight: 750;
  font-size: 16px;
  cursor:pointer;
}
.btn:hover{ background: rgba(197,150,69,.28); }
.btn--primary{
  background: var(--accent);
  border-color: rgba(226,196,137,.70);
  color: #fff;
}
.btn--primary:hover{ filter: brightness(.98); }
.btn--ghost{
  background: transparent;
}

/* Hero */
.hero{
  position: relative;
  min-height: 500px;
  color: #fff;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(5,18,44,.9) 0%, rgba(8,26,58,.78) 34%, rgba(8,26,58,.28) 66%, rgba(8,26,58,.2) 100%),
    url("../assets/img/atlas-hero.png");
  background-size: cover;
  background-position: center;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(31,47,47,.74) 0%, rgba(61,46,27,.54) 54%, rgba(47,111,115,.28) 100%);
}

.hero__inner{
  position: relative;
  padding: 60px 0px 80px 24px;
}
.hero__headline{
  max-width: 800px;
}
.eyebrow{
  color:var(--accent2);
  font-size:16px;
  font-weight:900;
  letter-spacing:.08em;
}
.pill{
  display:inline-block;
  background: rgba(47,111,115,.92);
  border: 1px solid rgba(226,196,137,.72);
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: .2px;
}
.hero h1{
  margin: 30px 0 40px;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: .4px;
}
.hero h2 {
  margin: 30px 20px 0;
  font-weight: 650;
  font-size: 24px;
  letter-spacing: .2px;
}

.hero .jp{ font-weight: 800; }
.hero__lead{
  margin: 0;
  font-size: 16px;
}
.hero__badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.badge{
  display:inline-block;
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.badge--light{
  background: rgba(255,255,255,.16);
  color:#fff;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700;
}
.hero__actions{
  display:flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero__actions .btn{
  border-color: rgba(255,255,255,.22);
}

/* Sections */
.section{
  padding: 32px 0;
}
.section--soft{
  background: #e5d6b8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--paper{
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__title{
  margin: 30px 0 6px;
  font-size: 24px;
  letter-spacing: .2px;
}
.section__desc{
  margin: 0 0 0 10px;
  font-size: 16px;
}

/* Block split */
.block{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
  margin: 8px 0 18px;
}
.block--split{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.media{
  overflow:hidden;
  border: 1px solid var(--line);
  background: #efe1c2;
  position:relative;
  min-height: 240px;
}
.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Prefer showing the whole image (no crop) when needed */
.media--contain img{
  object-fit: contain;
}
.media__cap{
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  color: var(--ink);
}

.listbox{
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fbf1dc;
}
.listbox__title{
  margin: 0 0 8px;
  font-size: 15px;
}
.check{
  margin: 0;
  padding-left: 18px;
}
.check li{ margin: 6px 0; }
.note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7ecd4;
  border: 1px dashed rgba(129,88,34,.35);
  font-size: 12px;
  color: #4f3920;
}

.notice {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  font-size: 13px;
}
/* Campaign */
.headlineRow{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.campaign{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}
.campaign__main, .campaign__side{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.campaign__pill{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.campaign__lead{ margin: 10px 0 8px; color: var(--muted); font-size: 13px; }
.priceRow{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}
.priceBox{
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 10px;
  background: #fbf0d8;
}
.priceBox__label{ font-size: 20px; font-weight: 800; color: var(--accent)}
.priceBox__value{ font-size: 20px; font-weight: 900; letter-spacing: .2px; margin-top: 2px; }
.metaRow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.meta{
  font-size: 12px;
  color: #4f3920;
  background: #fff6e4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.smallLine{
  margin: 10px 0 0 10px;
  font-size: 13px;
  color: var(--ink);
}
.campaign__sideTitle{ margin: 0 0 10px; font-size: 14px; }
.dot{
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13px;
}
.dot li{ margin: 6px 0; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
  background: #efe1c2;
  border-bottom: 1px solid var(--line);
}
.card img.card__icon{
  object-fit: contain;
  padding: 24px;
}
.card h3{
  margin: 12px 12px 6px;
  font-size: 14px;
}
.card p{
  margin: 0 12px 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Accordion */
.accordionWrap{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 8px;
  box-shadow: var(--shadow);
}
.accordion{
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--paper);
  overflow:hidden;
}
.accordion + .accordion{ margin-top: 8px; }
.accordion summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 12px;
  font-weight: 850;
  background: #f6ebd2;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion summary::after{
  content: "▾";
  position:absolute;
  right: 12px;
  top: 10px;
  font-size: 16px;
  opacity: .75;
  transform: rotate(0deg);
  transition: transform .14s ease;
}
.accordion[open] summary::after{
  transform: rotate(180deg);
}
.accordion__body{
  padding: 12px 12px 14px;
  color: var(--ink);
}
.accordion__body h4{
  margin: 12px 0 6px;
  font-size: 13px;
}
.plain{
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 12px;
}
.plain li{ margin: 6px 0; }

.muted{ color: var(--muted); }

/* Contact */
.contact {
  text-align: center;
  margin: 32px 0 0 50px;
}

.section--contact {
  padding: 54px 0;
  background: var(--dark);
}

.contact__logo {
  width: min(240px, 70%);
  margin: 80px 0 6px 40px;
  display: block;
}

.contact__name {
  font-size: 28px;
  font-weight: 900;
}

.contact__link {
  color: rgba(255, 255, 255, .86);
}

.contact__row {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, .86fr);
  gap: 44px;
  align-items: start;
}

.contact-copy {
  display: grid;
  align-content: start;
}

.contact-copy .eyebrow {
  color: var(--yellow);
}

.contact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

.contact-copy p {
  margin: 16px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
}

.contact-copy .contact-accordion {
  margin-top: 28px;
}

.contact-layout>.contact {
  margin-top: 0;
}

.contact-accordion {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.contact-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.contact-accordion summary::-webkit-details-marker {
  display: none;
}

.contact-accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.contact-accordion[open] summary::after {
  content: "-";
}

.contact-accordion summary strong,
.contact-accordion summary small {
  display: block;
}

.contact-accordion summary strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.contact-accordion summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: #f7faff;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #f9fbfe;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 155, 215, .16);
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__submit {
  justify-self: start;
  min-width: 150px;
  border: 0;
}

/* Footer */
.footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap:wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer__left strong{ color: var(--ink); }

/* Downloads page: make buttons readable on light background */
.downloads .btn{
  color: #fff;
  border-color: rgba(197,150,69,.45);
  background: var(--dark);
}
.downloads .btn:hover{ background: var(--dark2); }
.downloads .btn--primary{
  background: var(--accent);
  color: #fff;
}
.downloads .btn--ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.downloads .btn--ghost:hover{ background: rgba(197,150,69,.14); }

.downloads__cardMeta{
  margin: 0 12px 10px;
  font-size: 12px;
}
.downloads__cardActions{
  margin: 0 12px 12px;
}
.downloads__cardList{
  margin: 0 12px 12px;
}

/* Responsive */
@media (max-width: 920px){
  .topnav{ display:none; }
  .hero h1{ font-size: 34px; }
  .block--split{ grid-template-columns: 1fr; }
  .campaign{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
}
