:root{
  --svg-bg:#fbfaf7;
  --svg-panel:#fffdfa;
  --svg-ink:#151712;
  --svg-green:#344C34;
  --svg-green-dark:#344C34;
  --svg-line:#ded6cc;
  --svg-soft:#f8f5f0;
  --svg-gold:#c28a42;
}

.svg-page,
.svg-page *{
  box-sizing:border-box;
}

.svg-page{
  position:relative;
  width:1640px;
  margin:0 auto;
  padding:14px 36px 24px;
  overflow:hidden;
  background:var(--svg-bg);
  color:var(--svg-ink);
  font-family:Roboto,Arial,Helvetica,sans-serif;
}

.svg-page::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:640px;
  height:988px;
  background:url("../images/Fern_Artwork.png") left top / auto 988px no-repeat;
  opacity:.28;
  pointer-events:none;
}

.svg-page > *{
  position:relative;
  z-index:1;
}

.svg-header-card,
.svg-column,
.side-tool-card,
.conversion-card{
  border:1px solid var(--svg-line);
  background:rgba(255,253,250,.94);
}

.svg-header-card{
  width:1568px;
  height:106px;
  margin:0 auto 14px;
  padding:0 20px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.svg-header-left{
  display:flex;
  align-items:center;
  gap:15px;
}

.svg-header-icon{
  width:65px;
  height:65px;
  flex:0 0 65px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:#fff0f6;
}

.svg-header-icon img{
  width:65px;
  height:65px;
  object-fit:contain;
}

.svg-header-card h1{
  margin:0 0 6px;
  font-size:22px;
  line-height:1;
  font-weight:700;
  color:#344C34;
}

.svg-header-card p{
  margin:0;
  font-size:14px;
  color:#444;
}

.how-button{
  height:39px;
  padding:0 15px;
  border:1px solid var(--svg-line);
  border-radius:8px;
  background:#fff;
  color:#111;
  font:700 14px Roboto,Arial,sans-serif;
  cursor:pointer;
}

.svg-main-grid{
  width:1568px;
  margin:0 auto 14px;
  display:grid;
  grid-template-columns:342px 1fr 310px;
  gap:14px;
  align-items:stretch;
}

.svg-column{
  min-height:690px;
  border-radius:10px;
  padding:20px 18px;
}

.step-heading h2{
  margin:0 0 7px;
  color:var(--svg-green-dark);
  font-size:17px;
  line-height:1.15;
  font-weight:700;
  color:#344C34;
}

.step-heading p{
  margin:0;
  color:#50514c;
  font-size:14px;
  line-height:1.4;
}

.upload-box{
  width:100%;
  height:176px;
  margin-top:18px;
  border:2px dashed #d8d0c7;
  border-radius:8px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
  cursor:pointer;
  transition:.15s ease;
}

.upload-box:hover,
.upload-box.drag-active{
  border-color:var(--svg-green);
  background:#fbfdf9;
}

.upload-box img{
  width:45px;
  height:45px;
  object-fit:contain;
}

.upload-box strong{
  color:var(--svg-green-dark);
  font-size:17px;
}

.upload-box span{
  font-size:14px;
  color:#333;
}

.upload-box small{
  font-size:14px;
  color:#666;
}

.selected-file{
  margin:14px 0 16px;
  padding:9px;
  border:1px solid #e2dbd3;
  border-radius:7px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
}

.selected-file img{
  width:46px;
  height:46px;
  flex:0 0 46px;
  object-fit:cover;
  border-radius:4px;
  background:#f3eee8;
}

.selected-file div{
  min-width:0;
}

.selected-file strong,
.selected-file span{
  display:block;
}

.selected-file strong{
  margin-bottom:4px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:14px;
}

.selected-file span{
  font-size:14px;
  color:#555;
}

.convert-step{
  margin-top:18px;
}

.primary-button{
  width:100%;
  height:42px;
  border:0;
  border-radius:5px;
  background:var(--svg-green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font:700 14px Roboto,Arial,sans-serif;
  cursor:pointer;
}

.primary-button:hover{
  background:#2f5134;
}

.primary-button img{
  width:18px;
  height:18px;
  object-fit:contain;
}

#convert-button{
  margin:15px 0 30px;
}

.left-copy h3,
.output-copy h3{
  margin:0 0 10px;
  color:var(--svg-green-dark);
  font-size:17px;
}

.left-copy h4{
  margin:16px 0 8px;
  color:var(--svg-green-dark);
  font-size:17px;
  letter-spacing:.15px;
}

.left-copy p,
.output-copy p{
  margin:0 0 13px;
  font-size:14px;
  line-height:1.5;
  color:#333;
}

.preview-header{
  min-height:53px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.zoom-controls{
  display:flex;
  align-items:center;
  gap:8px;
  padding-top:3px;
  white-space:nowrap;
  font-size:14px;
}

.zoom-controls input{
  width:112px;
  accent-color:var(--svg-green);
}

.zoom-controls b{
  min-width:36px;
  font-weight:400;
}

.zoom-controls button{
  width:36px;
  height:28px;
  border:1px solid #d8d0c7;
  border-radius:5px;
  background:#fff;
  font:400 14px Roboto,Arial,sans-serif;
  cursor:pointer;
}

.preview-stage{
  --preview-zoom:1;
  position:relative;
  height:596px;
  margin-top:8px;
  overflow:hidden;
  border:2px dashed #ddd5cc;
  border-radius:20px;
  background:#fff;
  user-select:none;
  touch-action:none;
  cursor:ew-resize;
}

.empty-preview{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#666;
  text-align:center;
  z-index:1;
}

.empty-preview img{
  width:62px;
  height:62px;
  object-fit:contain;
  opacity:.7;
}

.empty-preview strong{
  font-size:17px;
  color:#344C34;
}

.empty-preview span{
  font-size:14px;
}

.preview-layer{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.preview-layer img{
  display:block;
  width:auto;
  height:auto;
  max-width:88%;
  max-height:88%;
  object-fit:contain;
  transform:scale(var(--preview-zoom));
  transform-origin:center;
  pointer-events:none;
}

.preview-original{
  background:#fff;
}

.preview-svg{
  clip-path:inset(0 0 0 50%);
  background:#fff;
}

.compare-divider{
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:2px;
  background:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.12);
  transform:translateX(-50%);
  pointer-events:none;
}

.compare-knob{
  position:absolute;
  left:50%;
  top:50%;
  width:36px;
  height:36px;
  border:1px solid #d3cbc2;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  transform:translate(-50%,-50%);
  box-shadow:0 2px 7px rgba(0,0,0,.12);
  color:#333;
  font-size:17px;
  pointer-events:none;
}

.svg-output-card{
  height:175px;
  margin:18px 0 15px;
  border:1px solid #d8d0c7;
  border-radius:8px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.svg-output-card img{
  width:78px;
  height:78px;
  object-fit:contain;
}

.svg-output-card strong{
  font-size:14px;
}

.svg-output-card span{
  font-size:14px;
  color:#555;
}

.output-action{
  height:39px;
  margin-bottom:9px;
}

.code-symbol{
  font-size:14px;
  font-weight:700;
}

.output-copy{
  margin-top:24px;
}

.output-copy ul{
  list-style:none;
  margin:0 0 24px;
  padding:0;
}

.output-copy li{
  position:relative;
  margin-bottom:6px;
  padding-left:15px;
  font-size:14px;
  line-height:1.35;
}

.output-copy li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--svg-green);
  font-weight:700;
}

.svg-info-row{
  width:1510px;
  margin:0 auto 17px;
  display:grid;
  grid-template-columns:255px 1fr 255px;
  gap:42px;
}

.side-tool-card,
.conversion-card{
  min-height:94px;
  border-radius:9px;
}

.side-tool-card{
  padding:15px 17px;
  display:flex;
  align-items:center;
  gap:13px;
  color:inherit;
  text-decoration:none;
}

.side-tool-icon{
  width:60px;
  height:60px;
  flex:0 0 60px;
  border-radius:8px;
  display:grid;
  place-items:center;
}

.remove-bg-icon{
  background:#eef6ed;
}

.upscale-bg-icon{
  background:#edf4ff;
}

.side-tool-icon img{
  width:52px;
  height:52px;
  object-fit:contain;
}

.side-tool-card strong,
.side-tool-card span{
  display:block;
}

.side-tool-card strong{
  margin-bottom:6px;
  font-size:14px;
}

.side-tool-card span{
  font-size:14px;
  color:#555;
}

.conversion-card{
  padding:14px 16px;
}

.conversion-card h3{
  margin:0 0 12px;
  font-size:14px;
}

.conversion-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.info-item{
  display:flex;
  align-items:center;
  gap:9px;
}

.info-icon{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border:1px solid #ded6cc;
  border-radius:7px;
  background:#fff;
  display:grid;
  place-items:center;
}

.info-icon img{
  width:36px;
  height:36px;
  object-fit:contain;
}

.info-item strong,
.info-item span{
  display:block;
  font-size:14px;
  line-height:1.4;
}

.svg-benefits{
  width:1380px;
  margin:0 auto;
  padding:2px 0 11px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:48px;
}

.benefit-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
}

.benefit-item > img{
  width:54px;
  height:54px;
  flex:0 0 54px;
  object-fit:contain;
}

.benefit-item strong,
.benefit-item span{
  display:block;
}

.benefit-item strong{
  margin-bottom:3px;
  font-size:14px;
}

.benefit-item span{
  font-size:14px;
  color:#555;
}
